/* ============================================================
   VGV Cortex — Marketing Website Styles
   Brand: VGV dark-first design — Navy base, VGV Blue accents,
   Poppins typography, glass morphism cards, pill buttons
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Primary brand palette */
  --navy: #0A1530;
  --eigengrau: #16161D;
  --vgv-blue: #2A48DE;
  --vgv-blue-80: #5570E5;
  --white: #FFFFFF;

  /* Extended web palette */
  --surface-light: #FAFBFF;
  --pale-blue: #F3F6FF;
  --light-blue: #CDDAFB;
  --blue-light: #459CFF;
  --gray: #D2D5DD;
  --gray-deep: #838998;
  --vgv-purple: #6420C6;

  /* Opacity helpers (white on dark) */
  --white-90: rgba(255,255,255,0.9);
  --white-70: rgba(255,255,255,0.7);
  --white-50: rgba(255,255,255,0.5);
  --white-40: rgba(255,255,255,0.4);
  --white-20: rgba(255,255,255,0.2);
  --white-10: rgba(255,255,255,0.1);
  --white-08: rgba(255,255,255,0.08);
  --white-05: rgba(255,255,255,0.05);
  --white-04: rgba(255,255,255,0.04);

  /* Opacity helpers (dark on light) */
  --eigengrau-70: rgba(22,22,29,0.7);
  --eigengrau-55: rgba(22,22,29,0.55);
  --eigengrau-40: rgba(22,22,29,0.4);
  --eigengrau-20: rgba(22,22,29,0.2);
  --navy-08: rgba(10,21,48,0.08);

  /* Glass morphism (dark backgrounds) */
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-bg-hover: rgba(255,255,255,0.06);
  --glass-border-hover: rgba(255,255,255,0.12);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #0A1530 0%, #2A48DE 100%);
  --gradient-accent: linear-gradient(135deg, #6420C6 0%, #2A48DE 100%);
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(42,72,222,0.15) 0%, transparent 60%);
  --gradient-card: linear-gradient(180deg, rgba(42,72,222,0.08) 0%, rgba(42,72,222,0) 100%);

  /* Typography */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  --border-radius: 16px;
  --border-radius-sm: 12px;
  --border-radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-display);
  background: var(--navy);
  color: var(--white-90);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--tight {
  padding: var(--space-xl) 0;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

p {
  color: var(--white-70);
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 72ch;
}

.subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--white-70);
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}

.label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin-bottom: var(--space-sm);
}

code, .mono {
  font-family: var(--font-mono);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Primary on dark: white bg, VGV Blue text */
.btn--primary {
  background: var(--white);
  color: var(--vgv-blue);
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(42,72,222,0.08) 50%,
    transparent 75%
  );
  transition: left 0.5s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,72,222,0.2);
  color: var(--vgv-blue);
}

.btn--primary:hover::before {
  left: 100%;
}

/* Secondary on dark: transparent with light border */
.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--light-blue);
}

.btn--secondary:hover {
  border-color: var(--white);
  background: var(--white-04);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10,21,48,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-05);
  z-index: 1000;
  transition: background 0.3s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav__wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav__wordmark span {
  color: var(--white-50);
  font-weight: 400;
  margin-left: 0.25rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white-70);
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
}

.nav__cta {
  margin-left: var(--space-sm);
}

.nav__cta.btn--primary {
  color: var(--vgv-blue);
}

.nav__cta.btn--primary:hover {
  color: var(--vgv-blue);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: var(--navy) url('../assets/hero-background.png') center top / cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,21,48,0.7) 100%);
  pointer-events: none;
}

.hero__icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  margin-bottom: var(--space-lg);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(42,72,222,0.3));
}

.hero__title {
  max-width: 900px;
  margin: 0 auto var(--space-md);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--white-70);
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__proof {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--white-05);
}

.hero__proof p {
  font-size: 0.875rem;
  color: var(--white-50);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
}

/* --- Stat Bar --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}

.stat {
  text-align: center;
  padding: var(--space-md);
}

.stat__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.stat__label {
  font-size: 0.9375rem;
  color: var(--white-50);
  margin-top: 0.25rem;
}

/* --- Cards Grid --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(42,72,222,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--blue-light);
}

.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.card__text {
  font-size: 1rem;
  color: var(--white-70);
  line-height: 1.8;
}

/* --- Feature Highlight (alternating image + text) --- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
}

.feature:nth-child(even) {
  direction: rtl;
}

.feature:nth-child(even) > * {
  direction: ltr;
}

.feature__visual {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  color: var(--white-50);
  font-size: 0.875rem;
  text-align: center;
  background: var(--gradient-card);
}

.feature__content .label {
  display: block;
}

/* --- Code Window --- */
.code-window {
  background: var(--navy);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
}

.code-window__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--white-04);
  border-bottom: 1px solid var(--white-05);
}

.code-window__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-window__dot--red { background: #FF5F57; }
.code-window__dot--yellow { background: #FFBD2E; }
.code-window__dot--green { background: #28CA41; }

.code-window__body {
  padding: 1rem 1.25rem;
  overflow-x: auto;
}

.code-window__body code {
  color: var(--white-70);
}

.code-window__body .keyword { color: #C792EA; }
.code-window__body .string { color: #C3E88D; }
.code-window__body .comment { color: #546E7A; }
.code-window__body .function { color: #82AAFF; }
.code-window__body .type { color: #FFCB6B; }
.code-window__body .operator { color: #89DDFF; }

/* --- How It Works (timeline) --- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 68px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--vgv-blue), var(--blue-light));
  opacity: 0.3;
}

.timeline__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-light);
  margin: 0 auto var(--space-md);
  box-shadow: 0 0 20px rgba(42,72,222,0.2);
}

.timeline__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.timeline__text {
  font-size: 0.9375rem;
  color: var(--white-50);
  max-width: 280px;
  margin: 0 auto;
}

/* --- Pricing --- */
.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 2px solid rgba(42,72,222,0.3);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.pricing-card__badge {
  display: inline-block;
  background: rgba(42,72,222,0.15);
  color: var(--blue-light);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-md);
}

.pricing-card__name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.pricing-card__desc {
  font-size: 1.0625rem;
  color: var(--white-70);
  margin-bottom: var(--space-lg);
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--white-05);
  font-size: 1rem;
  color: var(--white-70);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features .check {
  color: var(--blue-light);
  font-size: 1.125rem;
  line-height: 1.5;
  flex-shrink: 0;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--white-10);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item__question:hover {
  color: var(--blue-light);
}

.faq-item__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white-50);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
  padding-bottom: var(--space-md);
}

.faq-item__answer p {
  font-size: 1rem;
  color: var(--white-70);
  line-height: 1.8;
}

/* FAQ on light backgrounds */
.section--light .faq-item {
  border-bottom: 1px solid var(--navy-08);
}

.section--light .faq-item__question {
  color: var(--eigengrau);
}

.section--light .faq-item__question:hover {
  color: var(--vgv-blue);
}

.section--light .faq-item__icon {
  color: var(--eigengrau-40);
}

.section--light .faq-item__answer p {
  color: var(--eigengrau-70);
}

.section--light .divider {
  background: linear-gradient(90deg, transparent, var(--navy-08), transparent);
}

/* --- Contact Layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white-70);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--white-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--vgv-blue);
  box-shadow: 0 0 0 3px rgba(42,72,222,0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23459CFF' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--pale-blue);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  position: relative;
  z-index: 1;
  color: var(--eigengrau);
}

.cta-banner p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  color: var(--eigengrau-70);
}

.cta-banner .btn-group {
  position: relative;
  z-index: 1;
  justify-content: center;
}

/* CTA banner buttons: light context — VGV Blue primary, outlined secondary */
.cta-banner .btn--primary {
  background: var(--vgv-blue);
  color: var(--white);
}

.cta-banner .btn--primary:hover {
  color: var(--white);
  box-shadow: 0 8px 24px rgba(42,72,222,0.3);
}

.cta-banner .btn--secondary {
  background: transparent;
  color: var(--vgv-blue);
  border: 1px solid var(--vgv-blue);
}

.cta-banner .btn--secondary:hover {
  background: rgba(42,72,222,0.05);
  color: var(--vgv-blue);
  border-color: var(--vgv-blue);
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--white-05);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer__brand span {
  font-weight: 600;
  color: var(--white-70);
  font-size: 0.9375rem;
}

.footer__links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--white-50);
}

.footer__link:hover {
  color: var(--white);
}

.footer__copy {
  width: 100%;
  text-align: left;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--white-05);
  font-size: 0.8125rem;
  color: var(--white-50);
}

/* --- Light Section --- */
.section--light {
  background: var(--surface-light);
}

.section--light h2,
.section--light h3,
.section--light h4 {
  color: var(--eigengrau);
}

.section--light p {
  color: var(--eigengrau-70);
}

.section--light .subtitle {
  color: var(--eigengrau-70);
}

.section--light .label {
  color: var(--gray-deep);
}

.section--light .card {
  background: var(--white);
  border: 1px solid var(--navy-08);
}

.section--light .card:hover {
  background: var(--white);
  border-color: rgba(10,21,48,0.14);
  box-shadow: 0 12px 40px rgba(10,21,48,0.08);
}

.section--light .card::before {
  background: var(--gradient-accent);
}

.section--light .card__icon {
  background: rgba(42,72,222,0.08);
  color: var(--vgv-blue);
}

.section--light .card__title {
  color: var(--eigengrau);
}

.section--light .card__text {
  color: var(--eigengrau-70);
}

/* --- Accent Section (Blue 80%) --- */
.section--accent {
  background: var(--vgv-blue-80);
}

.section--accent p {
  color: var(--white-70);
}

/* --- Background Grid Pattern --- */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(42,72,222,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,72,222,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}

/* --- Divider --- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--white-10), transparent);
  border: none;
  margin: 0;
}

/* --- Animation --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  background: var(--navy) url('../assets/hero-background.png') center top / cover no-repeat;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,21,48,0.7) 100%);
  pointer-events: none;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__icon {
    animation: none;
  }

  .btn,
  .card,
  .faq-item__icon,
  .faq-item__answer,
  .nav,
  a {
    transition: none;
  }

  .btn--primary::before {
    display: none;
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    border-bottom: 1px solid var(--white-10);
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .nav__cta {
    margin-left: 0;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature:nth-child(even) {
    direction: ltr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .timeline::before {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--large {
    width: 100%;
    justify-content: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__copy {
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-form {
    max-width: 100%;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
