/* ════════════════════════════════════════════════════════════════
   JIL SOVEREIGN V17 DESIGN SYSTEM
   Graphite + off-white theme with metallic gold accents
   ════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  --bg-0: #F0F0EC;
  --bg-1: #F0F0EC;
  --bg-2: #F0F0EC;
  --bg-soft: #F0F0EC;
  --bg-muted: #F0F0EC;
  --bg: #F0F0EC;
  --bg-graphite: #1A1A1A;
  --glow: 0 0 40px rgba(42,107,255,0.15);
  --text: #1C1C1E;
  --text-heading: #1C1C1E;
  --text-muted: #6E6E73;
  --text-secondary: #3A3A3C;
  --gold: #2A6BFF;
  --gold-hover: #1E5AE6;
  --gold-light: rgba(42,107,255,0.25);
  --blue: #2A6BFF;
  --blue-hover: #1E5AE6;
  --blue-light: rgba(42,107,255,0.15);
  --navy: #1A1A1A;
  --navy-mid: #232323;
  --white: #F5F5F5;
  --border: #DCDCD8;
  --border-light: #E8E8E4;
  --border-0: #DCDCD8;
  --border-1: #C8C8C4;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: 0.25s ease;
  --surface: #F0F0EC;
  --muted: #6E6E73;
  --dark-gray: #3A3A3C;
  --line: #DCDCD8;
  --accent: #2A6BFF;
  --accent-a: #2A6BFF;
  --accent-b: #2A6BFF;
  --accent-c: #6E6E73;
  --teal: #2A6BFF;
  --glass: #F0F0EC;
  --glass-border: #DCDCD8;
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }

body {
  font-family: 'Helvetica Neue', Helvetica, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-0);
  padding-top: 64px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Typography ───────────────────────────────────────────────── */
.v2-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text-heading);
  letter-spacing: -0.025em;
}
.v2-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-heading);
  letter-spacing: -0.015em;
}
.v2-section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 680px;
}
.v2-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.v2-body { font-size: 1rem; line-height: 1.7; color: var(--text); }
.v2-body-lg { font-size: 1.125rem; line-height: 1.7; color: var(--text); }
.v2-small { font-size: 0.875rem; color: var(--text-muted); }

/* ── Layout ───────────────────────────────────────────────────── */
.v2-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.v2-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}
.v2-section {
  padding: 7.5rem 0;
}
.v2-section-lg {
  padding: 7.5rem 0;
}
.v2-section-alt {
  background: linear-gradient(160deg, #1A1A1A 0%, #232323 50%, #133A8A 100%);
  color: var(--white);
}
.v2-section-alt .v2-section-title,
.v2-section-alt .v2-hero-title { color: var(--white); }
.v2-section-alt .v2-section-subtitle,
.v2-section-alt .v2-body,
.v2-section-alt .v2-small,
.v2-section-alt .v2-label { color: #B8B8B8; }
.v2-section-alt .v2-label { color: #D4AF37; }
/* Dark section: all standard HTML elements must use light text */
.v2-section-alt h2,
.v2-section-alt h3,
.v2-section-alt h4 { color: #F5F5F5; }
.v2-section-alt p,
.v2-section-alt li,
.v2-section-alt td,
.v2-section-alt dd,
.v2-section-alt dt,
.v2-section-alt blockquote,
.v2-section-alt figcaption,
.v2-section-alt span,
.v2-section-alt div { color: rgba(245,245,245,0.78); }
.v2-section-alt th { color: rgba(245,245,245,0.85); background: rgba(245,245,245,0.06); }
.v2-section-alt strong,
.v2-section-alt b { color: #F5F5F5; }
.v2-section-alt a { color: #00D4AA; }
.v2-section-alt a:hover { color: #33E0BB; }
.v2-section-alt a.btn-primary,
.v2-section-alt a.btn-gold,
.v2-section-alt a.btn-white { color: #111113; }
.v2-section-alt a.btn-outline { color: #F5F5F5; border-color: #F5F5F5; }
.v2-section-alt a.btn-outline:hover { background: #F5F5F5; color: #111113; }
.v2-section-alt code { color: #e2e8f0; background: rgba(0,0,0,0.35); }
.v2-section-alt table { border-color: rgba(245,245,245,0.1); }
.v2-section-alt td,
.v2-section-alt th { border-color: rgba(245,245,245,0.1); }
.v2-section-alt .v2-card { background: rgba(245,245,245,0.06); border-color: rgba(245,245,245,0.1); }
.v2-section-alt .v2-card h3 { color: #F5F5F5; }
.v2-section-alt .v2-card p { color: rgba(245,245,245,0.65); }
.v2-section-navy,
.v2-section-graphite {
  background: linear-gradient(160deg, #1A1A1A 0%, #232323 50%, #133A8A 100%);
  color: var(--white);
}
.v2-section-navy .v2-section-title,
.v2-section-navy .v2-hero-title,
.v2-section-graphite .v2-section-title,
.v2-section-graphite .v2-hero-title { color: var(--white); }
.v2-section-navy .v2-section-subtitle,
.v2-section-navy .v2-body,
.v2-section-navy .v2-small,
.v2-section-graphite .v2-section-subtitle,
.v2-section-graphite .v2-body,
.v2-section-graphite .v2-small { color: #B8B8B8; }
/* Dark section: all standard HTML elements (navy/graphite) */
.v2-section-navy h2, .v2-section-graphite h2,
.v2-section-navy h3, .v2-section-graphite h3,
.v2-section-navy h4, .v2-section-graphite h4 { color: #F5F5F5; }
.v2-section-navy p, .v2-section-graphite p,
.v2-section-navy li, .v2-section-graphite li,
.v2-section-navy td, .v2-section-graphite td,
.v2-section-navy dd, .v2-section-graphite dd,
.v2-section-navy span, .v2-section-graphite span,
.v2-section-navy div, .v2-section-graphite div { color: rgba(245,245,245,0.78); }
.v2-section-navy th, .v2-section-graphite th { color: rgba(245,245,245,0.85); background: rgba(245,245,245,0.06); }
.v2-section-navy strong, .v2-section-graphite strong,
.v2-section-navy b, .v2-section-graphite b { color: #F5F5F5; }
.v2-section-navy a, .v2-section-graphite a { color: #00D4AA; }
.v2-section-navy a.btn-primary, .v2-section-graphite a.btn-primary,
.v2-section-navy a.btn-gold, .v2-section-graphite a.btn-gold,
.v2-section-navy a.btn-white, .v2-section-graphite a.btn-white { color: #111113; }
.v2-section-navy a.btn-outline, .v2-section-graphite a.btn-outline { color: #F5F5F5; border-color: #F5F5F5; }
.v2-section-navy a.btn-outline:hover, .v2-section-graphite a.btn-outline:hover { background: #F5F5F5; color: #111113; }
.v2-section-navy code, .v2-section-graphite code { color: #e2e8f0; background: rgba(0,0,0,0.35); }
.v2-section-navy table, .v2-section-graphite table,
.v2-section-navy td, .v2-section-graphite td,
.v2-section-navy th, .v2-section-graphite th { border-color: rgba(245,245,245,0.1); }

.v2-text-center { text-align: center; }
.v2-mx-auto { margin-left: auto; margin-right: auto; }

/* ── Grid ─────────────────────────────────────────────────────── */
.v2-grid { display: grid; gap: 2rem; }
.v2-grid-2 { grid-template-columns: repeat(2, 1fr); }
.v2-grid-3 { grid-template-columns: repeat(3, 1fr); }
.v2-grid-4 { grid-template-columns: repeat(4, 1fr); }
.v2-grid-6 { grid-template-columns: repeat(6, 1fr); }
.v2-flex { display: flex; }
.v2-flex-center { display: flex; align-items: center; justify-content: center; }
.v2-flex-between { display: flex; align-items: center; justify-content: space-between; }
.v2-flex-col { flex-direction: column; }
.v2-gap-1 { gap: 0.5rem; }
.v2-gap-2 { gap: 1rem; }
.v2-gap-3 { gap: 1.5rem; }
.v2-gap-4 { gap: 2rem; }

/* ── Navigation ───────────────────────────────────────────────── */
.v2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42, 107, 255, 0.12);
  transition: box-shadow var(--transition), background var(--transition);
}
.v2-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  background: rgba(26, 26, 26, 0.98);
}
.v2-nav {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.v2-nav-item:has(.v2-mega-dropdown-full) {
  position: static;
}
.v2-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  height: 100%;
}
.v2-nav-logo img {
  display: block;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.v14-logo-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #F5F5F5;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.v2-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.v2-nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.v2-nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.85rem;
  height: 100%;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245,245,245,0.75);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}
.v2-nav-link:hover { color: #F5F5F5; }
.v2-nav-link.active { color: var(--gold); }
.v2-mobile-link.active h4 { color: var(--gold); }
.v2-nav-link .chevron {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.3s;
  margin-top: 1px;
}
.v2-nav-item:hover .chevron { transform: rotate(180deg); }

/* ── Nav Mega Dropdown ───────────────────────────────────────── */
.v2-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  min-width: 720px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
}
.v2-nav-item:hover .v2-mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.v2-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.v2-mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition);
}
.v2-mega-item:hover { background: var(--bg-1); }
.v2-mega-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(42,107,255,0.10);
}
.v2-mega-text h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.15rem;
}
.v2-mega-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── 6-Column Docs Mega Dropdown ─────────────────────────────── */
.v2-mega-dropdown-full {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  width: 960px;
  max-width: calc(100vw - 2rem);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
}
.v2-nav-item:hover .v2-mega-dropdown-full {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.v2-mega-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 0.75rem 1rem;
}
.v2-mega-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.v2-mega-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-light);
}
.v2-mega-link {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.v2-mega-link:hover { color: var(--gold); }

/* Simple dropdown (non-mega) */
.v2-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
}
.v2-nav-item:hover .v2-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.v2-dropdown-item {
  display: block;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition);
}
.v2-dropdown-item:hover { background: var(--bg-1); color: var(--gold); }

/* ── Nav Actions (right side) ────────────────────────────────── */
.v2-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
}

/* ── Nav CTA Buttons ───────────────────────────────────────── */
.v14-btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  color: rgba(245,245,245,0.75);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(245,245,245,0.2);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.v14-btn-demo:hover {
  border-color: rgba(245,245,245,0.5);
  color: #F5F5F5;
}
.v14-btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gold);
  color: #111113;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.v14-btn-buy:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* ── Hamburger (Mobile) ──────────────────────────────────────── */
.v2-hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(245,245,245,0.2);
  border-radius: 6px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 10001;
  padding: 12px 10px;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.v2-hamburger:active {
  background: rgba(245,245,245,0.1);
}
.v2-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #F5F5F5;
  position: absolute;
  left: 10px;
  right: 10px;
  width: calc(100% - 20px);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.v2-hamburger span:nth-child(1) { top: 12px; }
.v2-hamburger span:nth-child(2) { top: 21px; }
.v2-hamburger span:nth-child(3) { top: 30px; }
.v2-hamburger.open { background: rgba(245,245,245,0.1); }
.v2-hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.v2-hamburger.open span:nth-child(2) { opacity: 0; }
.v2-hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ── Mobile Menu ─────────────────────────────────────────────── */
.v2-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 10000;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.v2-mobile-menu.open { display: block; }
body.v2-menu-open { overflow: hidden; }
.v2-mobile-section { margin-bottom: 1.5rem; }
.v2-mobile-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(245,245,245,0.1);
}
.v2-mobile-link {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(245,245,245,0.06);
}
.v2-mobile-link h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #F5F5F5;
}
.v2-mobile-link p {
  font-size: 0.8rem;
  color: rgba(245,245,245,0.5);
  margin-top: 0.1rem;
}
.v2-mobile-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.875rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
  background: var(--gold);
  color: #111113;
  text-decoration: none;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #111113;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,175,55,0.2);
}
.btn-primary-lg {
  font-size: 1.05rem;
  padding: 16px 32px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 980px;
  border: 1px solid var(--text-heading);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--text-heading);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #111113;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,175,55,0.2);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--text-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-sm { font-size: 0.82rem; padding: 8px 16px; }

/* ── Cards ────────────────────────────────────────────────────── */
.v2-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition);
}
.v2-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-1);
}
.v2-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  background: rgba(42,107,255,0.10);
}
.v2-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.v2-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.v2-card-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
  margin-top: 0.5rem;
}
.v2-card-feature::before {
  content: '\2713';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Stats Row ────────────────────────────────────────────────── */
.v2-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.v2-stat { text-align: center; }
.v2-stat-value {
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-heading);
  line-height: 1.2;
}
.v2-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.v2-section-navy .v2-stat-value,
.v2-section-graphite .v2-stat-value { color: var(--white); }
.v2-section-navy .v2-stat-label,
.v2-section-graphite .v2-stat-label { color: #B8B8B8; }

/* ── Timeline ─────────────────────────────────────────────────── */
.v2-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  padding: 2rem 0;
}
.v2-timeline::before {
  content: '';
  position: absolute;
  top: 2.75rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}
.v2-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}
.v2-timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-0);
  box-shadow: 0 0 0 2px var(--gold);
  margin-bottom: 0.75rem;
}
.v2-timeline-dot.gold {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}
.v2-timeline-dot.muted {
  background: var(--border);
  box-shadow: 0 0 0 2px var(--border);
}
.v2-timeline-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.v2-timeline-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 0.25rem;
}
.v2-timeline-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  max-width: 160px;
}

/* ── FAQ Accordion ────────────────────────────────────────────── */
.v2-faq-list { max-width: 720px; margin: 0 auto; }
.v2-faq-item {
  border-bottom: 1px solid var(--border);
}
.v2-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.v2-faq-q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.v2-faq-q.open::after {
  content: '\2212';
}
.v2-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.v2-faq-a.open {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.v2-faq-a p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.v2-section-alt .v2-faq-item,
.v2-section-graphite .v2-faq-item { border-color: rgba(245,245,245,0.1); }
.v2-section-alt .v2-faq-q,
.v2-section-graphite .v2-faq-q { color: #F5F5F5; }
.v2-section-alt .v2-faq-q::after,
.v2-section-graphite .v2-faq-q::after { color: #B8B8B8; }
.v2-section-alt .v2-faq-a p,
.v2-section-graphite .v2-faq-a p { color: #B8B8B8; }

/* ── Callout / Highlight Box ─────────────────────────────────── */
.v2-callout {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  text-align: center;
}
.v2-callout-gold {
  background: rgba(212,175,55,0.06);
  border-color: rgba(212,175,55,0.2);
}

/* ── Badges ───────────────────────────────────────────────────── */
.v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(42,107,255,0.10);
  color: var(--blue);
}
.v2-badge-gold {
  background: rgba(212,175,55,0.08);
  color: var(--gold);
}
.v2-badge-green {
  background: rgba(42,107,255,0.08);
  color: #2A6BFF;
}

/* ── Divider ──────────────────────────────────────────────────── */
.v2-divider {
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* ── Footer ───────────────────────────────────────────────────── */
.v2-footer {
  background: var(--white);
  color: var(--text);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.v2-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.v2-footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.6;
  max-width: 280px;
}
.v2-footer-brand img { height: 40px; margin-bottom: 0.5rem; }
.v2-footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.v2-footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.v2-footer-col a:hover { color: var(--gold); }
.v2-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.v2-footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.v2-footer-bottom a:hover { color: var(--text-heading); }
.v2-footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ── Scroll Fade-In Animations ────────────────────────────────── */
.v2-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.v2-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.v2-fade-in-delay-1 { transition-delay: 0.1s; }
.v2-fade-in-delay-2 { transition-delay: 0.2s; }
.v2-fade-in-delay-3 { transition-delay: 0.3s; }
.v2-fade-in-delay-4 { transition-delay: 0.4s; }

/* ── "Not" Block (Credibility) ────────────────────────────────── */
.v2-not-block {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: var(--text);
}
.v2-not-block::before {
  content: '\2715';
  color: #EF4444;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Countdown Timer ─────────────────────────────────────────── */
.v2-countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.v2-countdown-unit {
  text-align: center;
}
.v2-countdown-value {
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-heading);
  line-height: 1;
  min-width: 60px;
  display: block;
}
.v2-countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Form Styles ─────────────────────────────────────────────── */
.v2-form-group { margin-bottom: 1.25rem; }
.v2-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
}
.v2-form-input,
.v2-form-textarea,
.v2-form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.v2-form-input:focus,
.v2-form-textarea:focus,
.v2-form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
.v2-form-textarea { min-height: 120px; resize: vertical; }

/* ── Table Styles ─────────────────────────────────────────────── */
.v2-table {
  width: 100%;
  border-collapse: collapse;
}
.v2-table th,
.v2-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.v2-table th {
  font-weight: 600;
  color: var(--text-heading);
  background: var(--bg-1);
}
.v2-table td { color: var(--text); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .v2-nav-links,
  .v2-nav-actions { display: none; }
  .v2-hamburger { display: block; }
  .v2-mega-dropdown,
  .v2-mega-dropdown-full,
  .v2-dropdown { display: none; }
  .v2-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .v2-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .v2-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  body { padding-top: 56px !important; }
  .v2-nav { height: 56px; padding: 0 1rem; }
  .v2-nav-logo img { height: 28px; width: 28px; }
  .v14-logo-text { font-size: 1rem; }
  .v2-section { padding: 4rem 0; }
  .v2-section-lg { padding: 4.5rem 0; }
  .v2-container,
  .v2-container-narrow { padding: 0 1.25rem; }
  .v2-grid-2,
  .v2-grid-3 { grid-template-columns: 1fr; }
  .v2-grid-4 { grid-template-columns: 1fr; }
  .v2-hero-title { font-size: 2rem; }
  .v2-section-title { font-size: 1.5rem; }
  .v2-stats { gap: 1.5rem; justify-content: center; }
  .v2-timeline { flex-direction: column; gap: 1.5rem; align-items: flex-start; padding-left: 1.5rem; }
  .v2-timeline::before { width: 2px; height: 100%; top: 0; left: 6px; right: auto; }
  .v2-timeline-item { flex-direction: row; text-align: left; gap: 1rem; }
  .v2-timeline-dot { margin-bottom: 0; flex-shrink: 0; }
  .v2-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .v2-footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .v2-countdown-value { font-size: 1.5rem; min-width: 48px; }
  .v2-mega-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .v2-mega-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .v2-container,
  .v2-container-narrow { padding: 0 1rem; }
  .v2-section { padding: 3rem 0; }
  .v2-card { padding: 1.5rem; }
  .v2-callout { padding: 1.5rem; }
  .btn-primary, .btn-outline, .btn-gold, .btn-white {
    padding: 12px 20px;
    font-size: 0.875rem;
  }
  .v2-mega-grid-4 { grid-template-columns: 1fr; }
  .v2-mega-grid-6 { grid-template-columns: 1fr; }
}

/* ── Mobile: Force inline-style grids to stack ───────────────── */
@media (max-width: 768px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(5"],
  [style*="grid-template-columns: repeat(5"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Utility ──────────────────────────────────────────────────── */
.v2-mt-1 { margin-top: 0.5rem; }
.v2-mt-2 { margin-top: 1rem; }
.v2-mt-3 { margin-top: 1.5rem; }
.v2-mt-4 { margin-top: 2rem; }
.v2-mt-6 { margin-top: 3rem; }
.v2-mb-1 { margin-bottom: 0.5rem; }
.v2-mb-2 { margin-bottom: 1rem; }
.v2-mb-3 { margin-bottom: 1.5rem; }
.v2-mb-4 { margin-bottom: 2rem; }
.v2-mb-6 { margin-bottom: 3rem; }
.v2-pt-0 { padding-top: 0; }
.v2-pb-0 { padding-bottom: 0; }
.v2-hidden { display: none; }
.v2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Doc Page Overrides (for /docs/*.html pages using v14) ────── */
.v2-doc-body {
  padding-top: 64px;
  background: var(--bg-0);
}
.v2-doc-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2.5rem 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  color: var(--text);
}
.v2-doc-content h1,
.v2-doc-content h2,
.v2-doc-content h3 { color: var(--text-heading); }
.v2-doc-content a { color: var(--blue); }
.v2-doc-content code { background: var(--bg-1); color: var(--text-heading); padding: 2px 6px; border-radius: 4px; }
.v2-doc-content pre { background: var(--bg-1); border: 1px solid var(--border); border-radius: 10px; padding: 15px; overflow-x: auto; }
.v2-doc-content pre code { background: none; padding: 0; }
@media (max-width: 768px) {
  .v2-doc-body { padding-top: 56px; }
  .v2-doc-content { margin: 1rem; padding: 1.5rem; }
}

/* ════════════════════════════════════════════════════════════════
   JIL FX - Visual Enhancements (v16 - restrained)
   ════════════════════════════════════════════════════════════════ */

/* ── 1. Hero Background (subtle) ──────────────────────────────── */
.jil-fx-hero-bg { position: relative; overflow: hidden; }
.jil-fx-hero-bg > .v2-container { position: relative; z-index: 1; }

.jil-fx-hero-grid { display: none; }
.jil-fx-hero-orb { display: none; }

/* ── 2. Gradient Text (gold accent) ──────────────────────────── */
.jil-fx-grad-text {
  color: var(--text-heading);
  -webkit-text-fill-color: var(--text-heading);
}

/* ── 4. Card Hover ───────────────────────────────────────────── */
.jil-fx-glow-hover {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.jil-fx-glow-hover:hover {
  border-color: var(--border-1);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.wedge-winner.jil-fx-glow-hover:hover {
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 8px 24px rgba(212,175,55,0.08);
}

/* ── 5. Staggered Entrance Animations ─────────────────────────── */
.jil-fx-stagger-children > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.jil-fx-stagger-children.visible > * { opacity: 1; transform: translateY(0); }
.jil-fx-stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.jil-fx-stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.jil-fx-stagger-children.visible > *:nth-child(3) { transition-delay: 0.08s; }
.jil-fx-stagger-children.visible > *:nth-child(4) { transition-delay: 0.16s; }
.jil-fx-stagger-children.visible > *:nth-child(5) { transition-delay: 0.24s; }
.jil-fx-stagger-children.visible > *:nth-child(6) { transition-delay: 0.32s; }

/* ── 6. Phone Mockup (no float) ──────────────────────────────── */
.jil-fx-float-phone { }

/* ── 7. Button Shimmer (removed) ─────────────────────────────── */
.jil-fx-shimmer { }

/* ── 8. Pulsing Dots (removed) ───────────────────────────────── */
.jil-fx-pulse-dot { }

/* ── 9. Mission Banner (no gradient shift) ───────────────────── */
.jil-fx-grad-shift { }

/* ── Accessibility: Reduced Motion ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .jil-fx-stagger-children > * {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .jil-fx-glow-hover {
    transition: none !important;
  }
  .v2-fade-in {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
