/* ══════════════════════════════════════════════════════════════
   VRAIMONY — styles-v5.css
   Global Prestige Layer — "Receiver-aware Evidence Protocol"
   Strategy: Institutional authority + operational precision
   Aesthetic: Editorial finesse · gold authority · clean depth
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── Root overrides ─────────────────────────────────────── */
:root {
  --gold:          #c89317;
  --gold-deep:     #9e6f00;
  --gold-soft:     rgba(200,147,23,0.10);
  --gold-glow:     rgba(200,147,23,0.18);
  --gold-border:   rgba(200,147,23,0.28);
  --ink:           #0b1524;
  --ink-2:         #1a2d44;
  --ink-3:         #2e4460;
  --muted:         #5e748e;
  --muted-light:   #8a9fb8;
  --surface:       #f8fafd;
  --surface-2:     #eef3fb;
  --white:         #ffffff;
  --border-subtle: rgba(15,35,65,0.08);
  --border-mid:    rgba(15,35,65,0.13);
  --border-gold:   rgba(200,147,23,0.26);
  --radius-xs:     8px;
  --radius-sm:     12px;
  --radius-md:     18px;
  --radius-lg:     26px;
  --radius-xl:     36px;
  --shadow-xs:     0 2px 8px rgba(15,35,65,0.06);
  --shadow-sm:     0 6px 20px rgba(15,35,65,0.09);
  --shadow-md:     0 16px 44px rgba(15,35,65,0.11);
  --shadow-gold:   0 8px 28px rgba(200,147,23,0.14);
}

/* ═══════════════════════════════════════════════════════════
   TOPBAR — global prestige nav
   ═══════════════════════════════════════════════════════════ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 clamp(16px, 3vw, 40px);
  height: 62px;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 rgba(200,147,23,0.10), 0 12px 32px rgba(15,35,65,0.06);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink) !important;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 10;
}
.brand:hover { color: var(--ink) !important; }
.brand-logo { width: 30px; height: 30px; display: block; }
.brand-text { color: var(--ink); }

/* nav container */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

/* nav links */
.nav > a,
.nav-item > .nav-main-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.90rem;
  font-weight: 550;
  color: var(--ink-3) !important;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.nav > a:hover,
.nav-item > .nav-main-link:hover {
  color: var(--ink) !important;
  background: var(--gold-soft);
  border-color: var(--border-gold);
}
.nav > a.active,
.nav-item.active > .nav-main-link {
  color: var(--ink) !important;
  background: var(--gold-soft);
  border-color: var(--border-gold);
}

/* nav CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white) !important;
  background: var(--ink);
  border: none;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(15,35,65,0.18);
}
.nav-cta:hover {
  background: var(--gold-deep) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200,147,23,0.28);
}
.nav-cta-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Dropdown nav item ─────────────────────────────────── */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item > .nav-main-link {
  cursor: pointer;
}
.nav-subtoggle {
  background: none;
  border: none;
  padding: 6px 4px 6px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: transform 0.18s ease, color 0.15s ease;
  border-radius: 6px;
  margin-left: -4px;
}
.nav-subtoggle:hover { color: var(--ink); }
.nav-subtoggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-caret { font-size: 0.7rem; transition: transform 0.18s ease; display: block; }

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(200,147,23,0.06);
  padding: 8px;
  display: none;
  z-index: 300;
  animation: dropIn 0.18s ease both;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-item.open .nav-submenu { display: block; }

.nav-submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2) !important;
  text-decoration: none;
  transition: all 0.12s ease;
  border: 1px solid transparent;
}
.nav-submenu a:hover {
  background: var(--gold-soft);
  color: var(--ink) !important;
  border-color: var(--border-gold);
}
.nav-submenu .submenu-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  padding: 10px 14px 4px;
  pointer-events: none;
}
.nav-submenu hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 6px 8px;
}

/* ── Mobile toggle ─────────────────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
}
.nav-toggle:hover {
  background: var(--gold-soft);
  border-color: var(--border-gold);
}
.nav-toggle-icon { font-size: 1rem; }

/* ── Mobile responsive ─────────────────────────────────── */
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 16px;
    overflow-y: auto;
    border-top: 1px solid var(--border-gold);
    z-index: 190;
    box-shadow: 0 20px 40px rgba(15,35,65,0.12);
  }
  .nav.nav-mobile-hidden { display: none !important; }
  .nav-open .nav { display: flex !important; }

  .nav > a,
  .nav-item > .nav-main-link {
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border-color: transparent;
    width: 100%;
  }
  .nav > a:hover,
  .nav-item > .nav-main-link:hover {
    background: var(--gold-soft);
    border-color: var(--border-gold);
  }
  .nav-item {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-item > .nav-main-link {
    display: flex;
    justify-content: space-between;
  }
  .nav-subtoggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
  }
  .nav-subtoggle[aria-expanded="true"] { transform: translateY(-50%) rotate(0deg); }
  .nav-subtoggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

  .nav-submenu {
    position: static;
    display: block !important;
    border: none;
    box-shadow: none;
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
    margin: 4px 0 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease;
    opacity: 0;
    animation: none;
  }
  .nav-item.open .nav-submenu {
    max-height: 400px;
    opacity: 1;
  }
  .nav-submenu a {
    padding: 11px 14px;
    font-size: 0.92rem;
  }

  /* Mobile CTA at bottom of menu */
  .nav-mobile-cta {
    display: flex;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
  }
  .nav-mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 14px;
    background: var(--ink);
    color: var(--white) !important;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s ease;
  }
  .nav-mobile-cta a:hover { background: var(--gold-deep); }
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(11,21,36,0.3);
  backdrop-filter: blur(2px);
}
.nav-open .nav-backdrop { display: block; }

/* ═══════════════════════════════════════════════════════════
   HERO V5 — Global Prestige
   ═══════════════════════════════════════════════════════════ */
.v5-hero {
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 48px);
  background:
    linear-gradient(145deg,
      rgba(255,255,255,1) 0%,
      rgba(252,249,238,0.95) 50%,
      rgba(246,251,255,0.97) 100%);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.v5-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -180px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(200,147,23,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.v5-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(60,100,200,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.v5-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* protocol badge */
.v5-proto-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 7px 16px 7px 10px;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.v5-proto-dot {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--gold), #e8a820);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(200,147,23,0.3);
}

/* headline */
.v5-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 22px;
  font-weight: 400;
}
.v5-headline em {
  font-style: italic;
  color: var(--gold-deep);
  text-decoration: underline wavy rgba(200,147,23,0.35);
  text-underline-offset: 7px;
}

/* sub */
.v5-sub {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 52ch;
  font-weight: 400;
}

/* actions */
.v5-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.v5-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  transition: all 0.18s ease;
  box-shadow: 0 6px 20px rgba(15,35,65,0.2);
  letter-spacing: 0.01em;
}
.v5-btn-primary:hover {
  background: var(--gold-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200,147,23,0.24);
  color: var(--white) !important;
}
.v5-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: transparent;
  color: var(--ink-2) !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1.5px solid var(--border-mid);
  transition: all 0.15s ease;
}
.v5-btn-secondary:hover {
  border-color: var(--border-gold);
  background: var(--gold-soft);
  color: var(--ink) !important;
}

/* trust micro-line */
.v5-trust-line {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.v5-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  color: var(--muted);
  font-weight: 500;
}
.v5-trust-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Hero visual ────────────────────────────────────────── */
.v5-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.v5-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.v5-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.v5-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.v5-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.v5-status-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0d7a54;
  background: rgba(13,122,84,0.08);
  border: 1px solid rgba(13,122,84,0.18);
  border-radius: 999px;
  padding: 3px 9px;
}
.v5-status-ok::before {
  content: '';
  width: 5px; height: 5px;
  background: #0d7a54;
  border-radius: 50%;
}
.v5-status-sealed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-deep);
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 3px 9px;
}
.v5-card-muted {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 8px;
}
.v5-card-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.v5-card-list li {
  font-size: 0.80rem;
  color: var(--ink-3);
  padding-left: 14px;
  position: relative;
}
.v5-card-list li::before {
  content: '·';
  position: absolute;
  left: 3px;
  color: var(--gold);
  font-weight: 900;
}
.v5-card-code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.74rem;
  color: var(--muted);
  background: var(--surface-2);
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 8px;
  display: inline-block;
  border: 1px solid var(--border-subtle);
}
.v5-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.v5-card-mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v5-card-mini b {
  font-size: 0.72rem;
  color: var(--ink-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v5-card-mini span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* card accent */
.v5-card-accent {
  border-color: var(--border-gold);
  background: linear-gradient(145deg, #fff 0%, rgba(252,248,235,0.5) 100%);
}
.v5-card-accent:hover {
  box-shadow: var(--shadow-gold), var(--shadow-sm);
}

/* ═══════════════════════════════════════════════════════════
   FLOW SECTION V5
   ═══════════════════════════════════════════════════════════ */
.v5-flow-section {
  padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 48px);
  max-width: 1160px;
  margin: 0 auto;
}
.v5-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.v5-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.v5-section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.v5-link-sm {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.14s ease;
  flex-shrink: 0;
}
.v5-link-sm:hover {
  border-color: var(--border-gold);
  background: var(--gold-soft);
  color: var(--ink);
}

/* flow steps grid */
.v5-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.v5-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--border-gold) 0%, var(--border-gold) 100%);
  z-index: 0;
}
.v5-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v5-step-num {
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(15,35,65,0.18);
}
.v5-step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--border-gold);
}
.v5-step h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.v5-step p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   BEFORE/AFTER V5
   ═══════════════════════════════════════════════════════════ */
.v5-ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-mid);
}
.v5-ba-before {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(240,242,248,0.5);
}
.v5-ba-after {
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(145deg, rgba(252,248,235,0.7) 0%, rgba(248,255,250,0.7) 100%);
}
.v5-ba-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-gold), transparent);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v5-ba-arrow {
  position: absolute;
  width: 32px; height: 32px;
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gold-deep);
  box-shadow: var(--shadow-xs);
}
.v5-ba-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.v5-ba-tag-before {
  background: rgba(220,60,60,0.08);
  color: #aa2020;
  border: 1px solid rgba(220,60,60,0.18);
}
.v5-ba-tag-after {
  background: rgba(13,122,84,0.08);
  color: #0d7a54;
  border: 1px solid rgba(13,122,84,0.18);
}
.v5-ba-text {
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   FEATURE GRID V5
   ═══════════════════════════════════════════════════════════ */
.v5-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.v5-feature {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}
.v5-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.v5-feature:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(200,147,23,0.08);
  transform: translateY(-2px);
}
.v5-feature:hover::before { opacity: 1; }
.v5-feature-icon {
  width: 38px; height: 38px;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.v5-feature h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.v5-feature p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   PRICING SECTION V5
   ═══════════════════════════════════════════════════════════ */
.v5-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.v5-plan {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.18s ease;
}
.v5-plan:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-sm);
}
.v5-plan-featured {
  border-color: var(--border-gold);
  background: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(252,248,235,0.5) 100%);
  box-shadow: var(--shadow-gold), var(--shadow-sm);
  position: relative;
}
.v5-plan-featured::before {
  content: 'Most popular';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.v5-plan-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0;
}
.v5-plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.v5-plan-price sup {
  font-size: 1rem;
  vertical-align: super;
  font-weight: 700;
  letter-spacing: 0;
}
.v5-plan-price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.v5-plan-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.v5-plan-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.v5-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--ink-3);
}
.v5-plan-check {
  color: #0d7a54;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.85rem;
}
.v5-plan-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1.5px solid var(--border-mid);
  color: var(--ink) !important;
}
.v5-plan-cta:hover {
  border-color: var(--border-gold);
  background: var(--gold-soft);
}
.v5-plan-cta-featured {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink);
  box-shadow: 0 4px 14px rgba(15,35,65,0.18);
}
.v5-plan-cta-featured:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white) !important;
}

/* ═══════════════════════════════════════════════════════════
   RECEIVER RAIL STRIP
   ═══════════════════════════════════════════════════════════ */
.v5-rail-strip {
  background: var(--ink);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.v5-rail-strip h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--white);
  margin: 0 0 10px;
  font-weight: 400;
}
.v5-rail-strip p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.6;
}
.v5-rail-strip-cta {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.v5-rail-strip-cta a {
  display: block;
  text-align: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.v5-rail-strip-cta .primary {
  background: var(--gold);
  color: var(--ink) !important;
  box-shadow: 0 4px 16px rgba(200,147,23,0.3);
}
.v5-rail-strip-cta .primary:hover {
  background: #e8a820;
  transform: translateY(-2px);
}
.v5-rail-strip-cta .ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(255,255,255,0.15);
}
.v5-rail-strip-cta .ghost:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white) !important;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER V5
   ═══════════════════════════════════════════════════════════ */
.v5-footer {
  border-top: 1px solid var(--border-gold);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 48px) clamp(20px, 2vw, 32px);
  max-width: 1160px;
  margin: 0 auto;
}
.v5-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.v5-footer-brand { }
.v5-footer-brand .brand {
  margin-bottom: 12px;
  display: inline-flex;
}
.v5-footer-brand p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.v5-footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.v5-footer-col a {
  display: block;
  font-size: 0.84rem;
  color: var(--muted) !important;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.12s ease;
}
.v5-footer-col a:hover { color: var(--ink) !important; }
.v5-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.v5-footer-bottom-left {
  font-size: 0.80rem;
  color: var(--muted-light);
}
.v5-footer-bottom-right {
  display: flex;
  gap: 16px;
}
.v5-footer-bottom-right a {
  font-size: 0.80rem;
  color: var(--muted-light) !important;
  text-decoration: none;
  transition: color 0.12s ease;
}
.v5-footer-bottom-right a:hover { color: var(--ink) !important; }

/* ═══════════════════════════════════════════════════════════
   SECTION WRAPPER
   ═══════════════════════════════════════════════════════════ */
.v5-section {
  padding: clamp(40px, 5vw, 72px) 0;
}
.v5-section + .v5-section {
  border-top: 1px solid var(--border-subtle);
}
.v5-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .v5-steps { grid-template-columns: repeat(2, 1fr); }
  .v5-steps::before { display: none; }
  .v5-features { grid-template-columns: repeat(2, 1fr); }
  .v5-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .v5-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .v5-hero-visual { order: -1; }
  .v5-ba-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .v5-ba-divider {
    width: 100%;
    height: 1px;
    flex-direction: row;
  }
  .v5-ba-arrow {
    position: relative;
    transform: rotate(90deg);
    margin: 0 auto;
  }
  .v5-rail-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .v5-rail-strip-cta { align-items: stretch; }
  .v5-plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .v5-steps { grid-template-columns: 1fr; }
  .v5-features { grid-template-columns: 1fr; }
  .v5-actions { flex-direction: column; }
  .v5-actions a { justify-content: center; }
  .v5-section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .v5-footer-inner { grid-template-columns: 1fr; }
  .v5-footer-bottom { flex-direction: column; text-align: center; }
}
