/* ─── THEME VARIABLES ─────────────────────────────────────── */
:root {
  --bg:           #0a0a0f;
  --bg-surface:   #0d0d18;
  --border:       rgba(255,255,255,0.08);
  --accent:       #8a9aaa;
  --accent-light: #b8c4cc;
  --text:         #e8e6f0;
  --text-muted:   rgba(232,230,240,0.5);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius:       8px;
  --radius-lg:    12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ─── NAV ─────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('./assets/image_hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.2;
}

.hero-animation-caption {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 2;
  max-width: 280px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.38);
  text-align: left;
  font-style: italic;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 0.5px solid rgba(255,255,255,0.18);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: var(--text); }

/* ─── SUB-HERO BANNERS ───────────────────────────────────── */
.subhero-banner,
.subhero-banner2 {
  width: 100%;
  background: #000;
  overflow: hidden;
  line-height: 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.subhero-banner img {
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  transition: filter 0.4s;
}

.subhero-banner2 img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
  object-position: center 50%;
  transition: filter 0.4s;
}

.subhero-banner img:hover,
.subhero-banner2 img:hover { filter: brightness(1.05); }

/* ─── FIELD CALLOUT ───────────────────────────────────────── */
.field-callout {
  margin: 48px auto;
  max-width: 720px;
  padding: 28px 36px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  text-align: center;
}

.field-callout-primary {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.field-callout-secondary {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── FEATURES / TEAM ─────────────────────────────────────── */
.features {
  padding: 96px 48px;
  background: var(--bg-surface);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}

.section-header .section-label {
  grid-column: 1;
  grid-row: 1;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 0;
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.section-header p {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
}

.section-header .col1-text {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
  margin-top: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-surface);
  padding: 32px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: #111122; }

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(180,190,200,0.08);
  border: 0.5px solid rgba(180,190,200,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.feature-icon-sv {
  width: 100%;
  height: 180px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--radius);
}

.feature-icon-sv img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: invert(1) opacity(0.6);
}

.feature-icon-sv img.naz {
  object-fit: contain;
  filter: grayscale(1) brightness(1.1);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.how-it-works {
  padding: 96px 48px 48px;
  background: var(--bg);
}

.how-it-works figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.how-it-works img {
  width: 50%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border);
  opacity: 0.92;
}

.how-it-works figcaption {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted, #888);
  text-align: center;
}

/* ─── METRIC BANNER ──────────────────────────────────────── */
.metric-banner {
  width: 100%;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 14px 48px;
  background: var(--bg);
}

.metric-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.metric-track span {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.metric-dot {
  color: var(--accent) !important;
}

/* ─── APPLY ───────────────────────────────────────────────── */
.apply {
  padding: 96px 48px;
  background: var(--bg-surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.apply-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.apply-intro p {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.apply-intro a {
  color: var(--accent-light);
  text-decoration: none;
  font-size: 14px;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.apply-form input,
.apply-form textarea {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.apply-form input::placeholder,
.apply-form textarea::placeholder { color: var(--text-muted); }

.apply-form input:focus,
.apply-form textarea:focus { border-color: var(--accent); }

.apply-form textarea {
  resize: vertical;
  min-height: 120px;
}

.apply-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
}
.apply-form button:hover { opacity: 0.85; }
.apply-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  padding: 28px 48px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 12px;
  color: rgba(232,230,240,0.25);
}

/* ─── RESPONSIVE: TABLET (≤ 768px) ───────────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 14px 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .hero {
    min-height: 80vh;
    padding: 64px 24px;
  }

  .hero-sub {
    font-size: 18px;
  }

  .subhero-banner img,
  .subhero-banner2 img {
    height: auto;
    object-fit: fill;
  }

  .features {
    padding: 64px 24px;
  }

  .section-header {
    display: block;
  }

  .section-header h2 {
    margin-bottom: 14px;
  }

  .section-header p {
    max-width: 620px;
  }

  .how-it-works {
    padding: 64px 24px 36px;
  }

  .how-it-works img {
    width: 50%;
  }

  .metric-banner {
    padding: 14px 24px;
  }

  .apply {
    padding: 64px 24px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  footer {
    padding: 24px 24px;
  }
}

/* ─── RESPONSIVE: MOBILE (≤ 480px) ───────────────────────── */
@media (max-width: 480px) {
  nav {
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 9px 16px;
    font-size: 13px;
  }

  .hero {
    min-height: 75vh;
    padding: 48px 16px;
  }

  .hero h1 {
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .features {
    padding: 48px 16px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works {
    padding: 48px 16px 28px;
  }

  .how-it-works img {
    width: 100%;
  }

  .metric-banner {
    padding: 14px 16px;
  }

  .metric-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
  }

  .metric-dot {
    display: none;
  }

  .metric-track span {
    font-size: 11px;
  }

  .apply {
    padding: 48px 16px;
    gap: 32px;
  }

  .apply-form button {
    align-self: stretch;
  }

  footer {
    padding: 20px 16px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
