:root {
  --red-950: #6B0F1A;
  --red-700: #8b1a26;
  --blue-900: #0D3B66;
  --blue-700: #1e5a8e;
  --blue-400: #4a8ec4;
  --teal-500: #2cbcc4;
  --gold: #C9A84C;
  --gold-light: #d9bc62;

  --ink: #0a1929;
  --ink-2: #4a5874;
  --ink-3: #8a93a8;
  --ink-4: #c4cad8;
  --bg: #faf6ef;
  --bg-warm: #f0e5d0;
  --bg-deep: #e6d5b6;
  --rule: rgba(13, 59, 102, 0.10);
  --rule-strong: rgba(13, 59, 102, 0.18);

  --serif: 'Lora', Georgia, serif;
  --sans: 'Inter Tight', -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.6, 0, 0.4, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg);
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

::selection { background: var(--blue-900); color: var(--bg); }

a { text-decoration: none; color: inherit; }

/* ─────────────────────────────────
   NAV — hidden until scroll begins
   ───────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 72px;
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease), border-color 0.4s, height 0.4s, background 0.4s;
}

nav.visible { transform: translateY(0); }

nav.scrolled {
  height: 64px;
  border-bottom-color: var(--rule);
  background: rgba(250, 246, 239, 0.96);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
  transition: height 0.4s var(--ease);
}

nav.scrolled .nav-logo img { height: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--blue-900); }

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--blue-900);
  transition: width 0.4s var(--ease);
}

.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta-wrap { display: none !important; }

.nav-cta {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  color: var(--bg) !important;
  background: var(--blue-900);
  padding: 11px 22px;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--red-950) !important;
  color: var(--bg) !important;
  transform: translateY(-1px);
}

/* ─────────────────────────────────
   HERO — replicates pitch book cover slide exactly
   ───────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  z-index: 2;
}

@media (max-width: 767px) {
  .hero-image {
    background-image: var(--hero-bg-xs, var(--hero-bg));
  }
}

.hero-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 110%;
  background-image: var(--hero-bg, url('https://d21i1lk8x123wo.cloudfront.net/landing_1.png'));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
  will-change: transform;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 246, 239, 0.3) 0%, transparent 40%, transparent 100%);
  z-index: 1;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent 0%, rgba(250, 246, 239, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  z-index: 5;
  width: 50%;
  padding-left: clamp(48px, 7vw, 110px);
  padding-right: 40px;
  will-change: opacity, transform;
}

.hero-brand {
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 700;
  line-height: 0.95;
  color: var(--blue-900);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}

.hero-brand-sub {
  font-family: var(--sans);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #7a4b9d 0%, #4a8ec4 50%, #2cbcc4 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.4s forwards, gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.6s forwards;
}

.hero-statement {
  font-family: var(--sans);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--blue-900);
  margin-bottom: 44px;
  letter-spacing: -0.005em;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.75s forwards;
}

.hero-statement strong { font-weight: 600; }

.hero-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.95s forwards;
}

.hero-tag-primary {
  font-family: var(--sans);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 600;
  color: var(--blue-900);
  letter-spacing: 0.005em;
}

.hero-tag-secondary {
  font-family: var(--sans);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 500;
  color: var(--blue-400);
  letter-spacing: 0.01em;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.4s forwards;
}

.scroll-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0.55;
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 32px;
  background: rgba(13, 59, 102, 0.2);
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -32px; left: 0;
  width: 100%; height: 32px;
  background: linear-gradient(180deg, transparent, var(--blue-900));
  animation: scrollDown 2s var(--ease-in) infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(64px); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─────────────────────────────────
   SLIDE — full-screen narrative section
   ───────────────────────────────── */
.slide {
  position: relative;
  min-height: 100vh;
  padding: clamp(80px, 10vh, 140px) clamp(48px, 7vw, 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  z-index: 2;
}

.slide-inner {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

.slide-text { max-width: 580px; }

.slide-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-950);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.slide-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.slide-eyebrow.dark { color: var(--gold); }

.slide-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--blue-900);
  margin-bottom: 36px;
}

.slide-title em {
  font-style: italic;
  color: var(--red-950);
}

.slide-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  font-style: normal;
  line-height: 1.4;
  color: var(--blue-900);
  margin-bottom: 24px;
  letter-spacing: -0.012em;
}

.slide-body {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.slide-body:last-child { margin-bottom: 0; }

.slide-visual {
  position: relative;
  height: clamp(360px, 55vh, 560px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.dark {
  background: #0a1929;
  color: var(--bg);
}

.slide.dark .slide-title { color: var(--bg); }
.slide.dark .slide-title em { color: var(--gold); }
.slide.dark .slide-lead { color: var(--bg); }
.slide.dark .slide-body { color: rgba(250, 246, 239, 0.65); }
.slide.dark .slide-eyebrow { color: var(--gold); }

/* ─────────────────────────────────
   SLIDE 2 — The Problem
   ───────────────────────────────── */
.slide-problem {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 50%, var(--bg-deep) 100%);
}

.slide-problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(13, 59, 102, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(107, 15, 26, 0.05), transparent 60%);
  pointer-events: none;
}

.problem-fragments {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fragment {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: rgba(13, 59, 102, 0.72);
  white-space: nowrap;
  letter-spacing: -0.005em;
  animation: dissolve 7s ease-in-out infinite;
}

@keyframes dissolve {
  0%, 100% { opacity: 0.72; transform: translate(0, 0) scale(1); filter: blur(0); }
  50% { opacity: 0.18; transform: translate(12px, -8px) scale(1.05); filter: blur(2.5px); }
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: drift 8s ease-in-out infinite;
}

@keyframes drift {
  0% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 0.6; }
  100% { opacity: 0; transform: translate(40px, -80px); }
}

/* ─────────────────────────────────
   SLIDE 3 — The Shift
   ───────────────────────────────── */
.slide-shift {
  background: #0a1929;
}

.slide-shift::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 80%);
}

.slide-shift::after {
  content: '';
  position: absolute;
  top: 50%; right: -200px;
  width: 900px; height: 900px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(13, 59, 102, 0.55), transparent 65%);
  pointer-events: none;
}

.identity-layer {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.layer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 246, 239, 0.08);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.62);
  transition: all 0.5s var(--ease);
}

.layer-row::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(44,188,196,0.04) 0%, rgba(13,59,102,0.18) 100%);
}

.layer-row:nth-child(1)::before { background: linear-gradient(90deg, rgba(44,188,196,0.03) 0%, rgba(74,142,196,0.10) 100%); }
.layer-row:nth-child(2)::before { background: linear-gradient(90deg, rgba(44,188,196,0.05) 0%, rgba(74,142,196,0.16) 100%); }
.layer-row:nth-child(3)::before { background: linear-gradient(90deg, rgba(44,188,196,0.07) 0%, rgba(74,142,196,0.22) 100%); }
.layer-row:nth-child(4)::before { background: linear-gradient(90deg, rgba(44,188,196,0.10) 0%, rgba(74,142,196,0.28) 100%); }
.layer-row:nth-child(5)::before { background: linear-gradient(90deg, rgba(44,188,196,0.13) 0%, rgba(74,142,196,0.34) 100%); }

.layer-row::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 2px;
  height: 60%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(74,142,196,0.5), transparent);
  opacity: 0.7;
}

.layer-row:nth-child(1)::after { background: linear-gradient(180deg, transparent, rgba(44,188,196,0.30), transparent); }
.layer-row:nth-child(2)::after { background: linear-gradient(180deg, transparent, rgba(44,188,196,0.35), transparent); }
.layer-row:nth-child(3)::after { background: linear-gradient(180deg, transparent, rgba(44,188,196,0.40), transparent); }
.layer-row:nth-child(4)::after { background: linear-gradient(180deg, transparent, rgba(44,188,196,0.45), transparent); }
.layer-row:nth-child(5)::after { background: linear-gradient(180deg, transparent, rgba(74,142,196,0.50), transparent); }

.layer-row.identity {
  background: linear-gradient(90deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.18) 100%);
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 0 32px rgba(201,168,76,0.08);
  color: var(--gold);
  font-weight: 600;
  padding: 22px 24px;
  position: relative;
}

.layer-row.identity::before {
  background: none;
}

.layer-row.identity::after {
  left: -1px;
  top: -1px;
  bottom: -1px;
  right: auto;
  width: 3px;
  height: auto;
  transform: none;
  background: var(--gold);
  opacity: 1;
}

.layer-row.identity .layer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 13px;
}

.layer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 12px;
  opacity: 0.6;
}

.layer-rule {
  text-align: center;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.3);
  margin: 8px 0;
}

/* ─────────────────────────────────
   SLIDE 4 — The HIDaaS Answer
   ───────────────────────────────── */
.slide-answer {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
}

.slide-answer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 75% 50%, rgba(201, 168, 76, 0.18), transparent 60%);
  pointer-events: none;
}

.trust-architecture {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(13, 59, 102, 0.15);
}

.ta-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(13, 59, 102, 0.12);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 59, 102, 0.45);
}

.ta-rule {
  flex: 1;
  height: 1px;
  background: rgba(13, 59, 102, 0.15);
}

.ta-fig {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  color: rgba(13, 59, 102, 0.55);
}

.ta-domains {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid rgba(13, 59, 102, 0.12);
}

.ta-domain {
  padding: 20px 14px;
  border-right: 1px solid rgba(13, 59, 102, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ta-domain:last-child {
  border-right: none;
}

.ta-domain-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  color: rgba(13, 59, 102, 0.35);
}

.ta-domain-name {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-900);
}

.ta-domain-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  color: rgba(13, 59, 102, 0.55);
  line-height: 1.4;
}

.ta-substrate {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--blue-900);
  color: var(--bg);
}

.ta-substrate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 246, 239, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 246, 239, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,0.3) 50%, transparent);
  pointer-events: none;
}

.ta-substrate-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.ta-substrate-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.015em;
  color: var(--bg);
}

.ta-substrate-meta {
  text-align: right;
}

.ta-substrate-meta-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  color: rgba(250, 246, 239, 0.55);
  line-height: 1.5;
}

.ta-substrate-meta-coord {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.25);
  margin-top: 4px;
}

.ta-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid rgba(13, 59, 102, 0.12);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 59, 102, 0.35);
}

.ta-footnote-mark {
  white-space: nowrap;
}

/* ─────────────────────────────────
   SLIDE 5 — VeinID
   ───────────────────────────────── */
.slide-veinid {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
}

.slide-veinid::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 40%, rgba(201, 168, 76, 0.2), transparent 55%),
    radial-gradient(ellipse 40% 40% at 25% 75%, rgba(44, 188, 196, 0.10), transparent 55%);
  pointer-events: none;
}

.vein-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vein-svg {
  width: 100%;
  height: 100%;
  max-width: 560px;
}

/* ─────────────────────────────────
   SLIDE 6 — Built for the trust economy
   ───────────────────────────────── */
.slide-trust {
  background: var(--bg);
}

.slide-trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(201, 168, 76, 0.06), transparent 70%);
  pointer-events: none;
}

.beneficiaries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  margin-top: 24px;
  border: 1px solid var(--rule);
}

.beneficiary {
  background: var(--bg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
  transition: all 0.4s var(--ease);
}

.beneficiary:hover {
  background: var(--bg-warm);
  padding-left: 36px;
}

.beneficiary-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-950);
}

.beneficiary-text {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  color: var(--blue-900);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.network-expansion {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ─────────────────────────────────
   SLIDE 7 — CTA
   ───────────────────────────────── */
.slide-cta {
  background: #0a1929;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-cta::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.18), transparent 70%);
  pointer-events: none;
}

.slide-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 80% at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at center, black 30%, transparent 75%);
}

.cta-inner {
  position: relative;
  z-index: 5;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.cta-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 600;
  line-height: 1.06;
  color: var(--bg);
  letter-spacing: -0.025em;
  margin-bottom: 56px;
}

.cta-headline em {
  font-style: italic;
  color: var(--gold);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 80px;
}

.cta-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  font-style: italic;
  color: var(--bg);
  letter-spacing: -0.015em;
  padding: 8px 0;
  position: relative;
  transition: all 0.4s var(--ease);
}

.cta-action::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.cta-action:hover { color: var(--gold); }
.cta-action:hover::before { width: 40px; }

.cta-action svg {
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.4s var(--ease);
}

.cta-action:hover svg {
  opacity: 1;
  transform: translateX(0);
}

.cta-final {
  border-top: 1px solid rgba(250, 246, 239, 0.1);
  padding-top: 56px;
  max-width: 760px;
  margin: 0 auto;
}

.cta-final-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  line-height: 1.4;
  margin-bottom: 14px;
  letter-spacing: -0.012em;
}

.cta-final-sub {
  font-family: var(--sans);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  color: var(--bg);
  line-height: 1.6;
}

/* ─────────────────────────────────
   FOOTER
   ───────────────────────────────── */
footer {
  position: relative;
  z-index: 2;
  background: rgba(250, 246, 239, 0.96);
  border-top: 1px solid var(--rule);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 20px 56px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-copy {
  color: var(--ink-3);
  justify-self: end;
}

.footer-email {
  color: var(--blue-900);
  text-decoration: none;
  justify-self: start;
  transition: color 0.2s;
}

.footer-email:hover { color: var(--teal-500); }

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0;
  justify-self: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-900);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social-link:hover { color: var(--teal-500); }

/* ─────────────────────────────────
   PROGRESS RAIL
   ───────────────────────────────── */
.progress-rail {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}

.progress-rail.visible {
  opacity: 1;
  pointer-events: auto;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(13, 59, 102, 0.2);
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
}

.progress-dot:hover {
  transform: scale(1.4);
  background: var(--blue-900);
}

.progress-dot.active {
  background: var(--gold);
  transform: scale(1.4);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

.progress-rail.on-dark .progress-dot {
  background: rgba(250, 246, 239, 0.25);
}

.progress-rail.on-dark .progress-dot:hover {
  background: var(--bg);
}

.progress-rail.on-dark .progress-dot.active {
  background: var(--gold);
}

.progress-label {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-900);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.progress-rail.on-dark .progress-label { color: var(--gold); }

.progress-dot:hover .progress-label { opacity: 1; }

/* ─────────────────────────────────
   REVEAL
   ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ─────────────────────────────────
   RESPONSIVE
   ───────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { width: 60%; padding-left: 48px; }
  .slide { padding: 80px 32px; }
  .slide-inner { grid-template-columns: 1fr; gap: 56px; }
  .slide-text { max-width: 100%; }
  .slide-visual { height: 360px; }
  nav { padding: 0 32px; }
  .progress-rail { display: none; }
}

/* ─────────────────────────────────
   HAMBURGER BUTTON (mobile only)
   ───────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue-900);
  font-size: 17px;
  padding: 6px 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { color: var(--red-950); }

/* ─────────────────────────────────
   LANGUAGE SWITCHER
   ───────────────────────────────── */
.lang-switch {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(250, 246, 239, 0.92);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(13, 59, 102, 0.15);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.flag-svg {
  display: block;
  width: 40px;
  height: 26px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}

.lang-switch:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 59, 102, 0.2);
}

nav.scrolled .lang-switch {
  position: static;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  transform: none;
  margin-left: 20px;
}

nav.scrolled .flag-svg {
  width: 28px;
  height: 18px;
}

nav.scrolled .lang-switch:hover {
  transform: scale(1.12);
  box-shadow: none;
}

/* ─────────────────────────────────
   SCROLL TO TOP
   ───────────────────────────────── */
.scroll_to_top {
  display: none;
  position: fixed;
  bottom: 92px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--blue-900);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(13, 59, 102, 0.25);
  transition: background 0.2s, transform 0.2s;
}

.scroll_to_top:hover {
  background: var(--red-950);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  nav { padding: 0 16px; height: 56px; flex-wrap: nowrap; }
  nav.scrolled { height: 56px; }
  .nav-hamburger { display: flex; align-items: center; }
  .nav-links {
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 16px;
    display: none;
    background: rgba(250, 246, 239, 0.98);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 20px rgba(13, 59, 102, 0.08);
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links li { display: list-item; }
  .nav-links a { font-size: 12px; padding: 4px 0; }
  .hero-content { width: 100%; padding-left: 24px; padding-right: 24px; }
  .hero-image::before {
    background: linear-gradient(180deg, rgba(250,246,239,0.4) 0%, rgba(250,246,239,0.6) 50%, transparent 100%);
  }
  .hero-scroll-hint { display: none; }
  .slide { padding: 64px 20px; }
  .slide-visual { height: 300px; }
  .slide-answer .slide-visual { height: auto; }
  .ta-domains { grid-template-columns: repeat(2, 1fr); }
  .ta-domain { border-right: 1px solid rgba(13, 59, 102, 0.08); border-bottom: 1px solid rgba(13, 59, 102, 0.08); }
  .ta-domain:nth-child(2n) { border-right: none; }
  .ta-domain:last-child { grid-column: 1 / -1; border-right: none; border-bottom: none; }
  .beneficiary { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom { display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 20px; gap: 12px; }
  .cta-actions { gap: 12px; }
}
