/* NL Patent AI Capital — main.css */

/* ── CSS Variables ─────────────────────────────────── */
:root {
  --accent: #3498db;
  --accent-dark: #1d6fa8;
  --bg: #0d0f18;
  --bg-surface: #13162a;
  --surface: #1a1e35;
  --surface2: #1e2440;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaf0;
  --text-muted: #8a9ab8;
  --radius: 8px;
  --nav-height: 72px;
}

/* ── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 18px !important;
  line-height: 1.9;
  background-color: var(--bg) !important;
  color: var(--text) !important;
  overflow-x: hidden;
}

#page-wrapper, #wrapper, #main {
  background-color: var(--bg) !important;
}

h1 { font-size: 61px !important; line-height: 1.1; font-weight: 700; }
h2 { font-size: 43px !important; line-height: 1.2; font-weight: 700; }
h3 { font-size: 28px !important; line-height: 1.3; font-weight: 600; }
h4 { font-size: 18px !important; font-weight: 600; line-height: 1.4; }
h5 { font-size: 16px !important; font-weight: 600; }
p { line-height: 1.85; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #5ab4e8; }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

/* ── Layout ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 80px 0; }
.section-alt { background-color: var(--surface); }

.page-top { padding-top: var(--nav-height, 72px); }

/* ── Funding Bar ────────────────────────────────────── */
#funding-bar {
  display: none;
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background-color: var(--accent-dark, #1d6fa8) !important;
  color: #ffffff !important;
  padding: 10px 5%;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 14px;
  font-weight: 500;
}
#funding-bar a, #funding-bar strong, #funding-bar span { color: #ffffff !important; }
#funding-bar button {
  color: rgba(255,255,255,0.85) !important;
  background: transparent;
  border: none;
  font-size: 18px !important;
  cursor: pointer;
  margin-left: 0.5rem;
  line-height: 1;
}
#funding-bar a.fb-link {
  text-decoration: underline;
  color: #ffffff !important;
}

/* ── Navigation ─────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,15,24,0.97);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height, 72px);
  display: flex;
  align-items: center;
  transition: top 0.3s;
}
#site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-brand img { width: 32px; height: 32px; }
.nav-brand span {
  font-size: 17px !important;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.2rem;
  margin: 0; padding: 0;
}
.nav-menu a {
  font-size: 15px !important;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 0.4rem 0.85rem;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-menu a:hover,
.nav-menu li.active a {
  color: #ffffff;
  background: rgba(52,152,219,0.18);
}
.nav-menu li.active a { color: var(--accent); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height, 72px);
    left: 0; right: 0;
    background: rgba(13,15,24,0.98);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 0.75rem 5%; }
}

/* ── Hero Section ───────────────────────────────────── */
#hero {
  min-height: 600px;
  background-image: url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(5,10,30,0.35);
  background-blend-mode: multiply;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
#hero > * { position: relative; z-index: 2; }
#hero .hero-content { max-width: 700px; }
#hero h1 { color: #ffffff; margin-bottom: 1.2rem; }
#hero p { color: rgba(255,255,255,0.88); font-size: 18px !important; margin-bottom: 2rem; max-width: 560px; }
.hero-label {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ────────────────────────── */
.page-hero {
  min-height: 340px;
  background-image: url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: rgba(5,10,30,0.35);
  background-blend-mode: multiply;
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { color: #ffffff; margin-bottom: 0.6rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 17px !important; margin-bottom: 0; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75em 2em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px !important;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #2a84c7;
  border-color: #2a84c7;
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: #ffffff;
}
.btn-sm { padding: 0.5em 1.4em; font-size: 14px !important; }

/* ── Section Headers ────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title { color: var(--text); margin-bottom: 1rem; }
.section-subtitle {
  color: var(--text-muted);
  font-size: 16px !important;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Cards ──────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.card h3, .card h4 { color: var(--text); margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ── Stats Bar ──────────────────────────────────────── */
.stats-bar {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 38px !important;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 14px !important; color: var(--text-muted); }

/* ── Portfolio Cards ────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.portfolio-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.portfolio-card .portfolio-amount {
  font-size: 26px !important;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.portfolio-card .portfolio-stage {
  font-size: 13px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.portfolio-card p { color: var(--text-muted); font-size: 15px !important; }

/* ── Team Cards ─────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.8rem;
  text-align: center;
}
.team-card img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 10%;
  display: block;
  margin: 0 auto 1.4rem;
}
.team-card h3 { color: var(--text); margin-bottom: 0.25rem; font-size: 20px !important; }
.team-card .team-role {
  color: var(--accent);
  font-size: 14px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.team-card .bio { color: var(--text-muted); font-size: 15px !important; line-height: 1.7; }

/* ── Insights Listing ───────────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.insight-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}
.insight-card-body { padding: 1.5rem; }
.insight-card-date { font-size: 13px !important; color: var(--text-muted); margin-bottom: 0.5rem; }
.insight-card-title {
  color: var(--text);
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.insight-card-title a { color: inherit; text-decoration: none; }
.insight-card-title a:hover { color: var(--accent); }
.insight-card-excerpt { color: var(--text-muted); font-size: 15px !important; line-height: 1.65; }

/* ── Contact Form ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { color: var(--text); margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item i { color: var(--accent); font-size: 18px !important; margin-top: 0.25rem; min-width: 1.2rem; }
.contact-item h4 { color: var(--text); font-size: 15px !important; margin-bottom: 0.2rem; }
.contact-item p { color: var(--text-muted); font-size: 15px !important; line-height: 1.6; margin: 0; }

.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label {
  display: block;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-size: 15px !important;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

/* ── Footer ─────────────────────────────────────────── */
#footer {
  background-color: var(--surface, #1e293b);
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
  padding: 4em 2em 2em;
  text-align: left;
  width: 100%;
}
#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3em;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4em;
  align-items: start;
  box-sizing: border-box;
}
#footer h2 {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin: 0 0 1em !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4 !important;
}
#footer p {
  color: var(--text-muted, #64748b) !important;
  font-size: 16px !important;
  line-height: 1.7;
  margin: 0;
}
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.5em; }
.footer-nav a {
  color: var(--text-muted, #64748b);
  text-decoration: none;
  font-size: 16px !important;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #ffffff; }
#footer .copyright {
  color: var(--text-muted, #64748b) !important;
  font-size: 15px !important;
  text-align: center;
  margin: 2.5em auto 0;
  padding-top: 1.5em;
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
  max-width: 1100px;
}
@media (max-width: 768px) { #footer .inner { grid-template-columns: 1fr 1fr; padding: 0 1.5em; } }
@media (max-width: 480px) { #footer .inner { grid-template-columns: 1fr; } }

/* ── Cookie Banner ──────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10003;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 1.2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text { color: var(--text-muted); font-size: 14px !important; flex: 1; min-width: 200px; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
#cookie-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#cookie-accept:hover { background: #2a84c7; }
#cookie-decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#cookie-decline:hover { border-color: var(--text-muted); }

/* ── Feature Icon Wrappers ──────────────────────────── */
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(52,152,219,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 22px !important;
}

/* ── About Page ─────────────────────────────────────── */
.spotlight-section {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4em;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4em 5%;
}
.story-text h2 { color: var(--text); margin-bottom: 1.2rem; }
.story-text p { color: var(--text-muted); }
.story-img {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}
.story-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
}
@media (max-width: 768px) {
  .spotlight-section { grid-template-columns: 1fr; }
}

/* ── CTA Section ────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: #ffffff !important; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.88) !important; margin-bottom: 2rem; font-size: 17px !important; }
.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.8);
  color: #ffffff;
}
.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border-color: #ffffff;
}

/* ── VC Anchor Badge ────────────────────────────────── */
.vc-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 13px !important;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.vc-anchor span { color: var(--text); font-weight: 600; }

/* ── Legal Pages ────────────────────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.legal-content h1 { color: var(--text); margin-bottom: 0.5rem; }
.legal-content .legal-date { font-size: 14px !important; color: var(--text-muted); margin-bottom: 2.5rem; }
.legal-content h2 { color: var(--text); font-size: 22px !important; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal-content p, .legal-content li { color: var(--text-muted); }
.legal-content a { color: var(--accent); }

/* ── Image overflow guard ───────────────────────────── */
.feature-img-wrap {
  width: 100%; max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
}
.feature-img-wrap img {
  width: 100%; max-width: 100%;
  height: auto; display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  body { font-size: 16px !important; }
  h1 { font-size: 42px !important; }
  h2 { font-size: 32px !important; }
  h3 { font-size: 24px !important; }
  .section { padding: 60px 0; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  #hero { padding: 100px 0 60px; min-height: 500px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  h1 { font-size: 34px !important; }
  h2 { font-size: 26px !important; }
}
