/* =================================================================
   Flipdigo Landing v3 — premium dark / 3D / SaaS B2B
   ================================================================= */

/* ─── tokens (brand guidelines) ─── */
:root {
  --ink: #0B0F1A;
  --ink-2: #11162A;
  --ink-3: #1A2140;
  --paper: #F6F7FB;
  --paper-2: #E5E7F0;
  --muted: #A6ADBE;
  --muted-2: #6E7591;
  --line: rgba(246, 247, 251, 0.08);
  --line-2: rgba(246, 247, 251, 0.14);

  --indigo: #3B5BFF;
  --indigo-2: #6C82FF;
  --cyan: #7CC4FF;
  --violet: #7C5BFF;
  --magenta: #FF4ECD;
  --amber: #FFCE00;
  --green: #22C55E;

  --grad-indigo: linear-gradient(135deg, #3B5BFF 0%, #7C5BFF 100%);
  --grad-cyan: linear-gradient(135deg, #7CC4FF 0%, #3B5BFF 100%);
  --grad-violet: linear-gradient(135deg, #7C5BFF 0%, #FF4ECD 100%);

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 4px 16px -4px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 32px rgba(59, 91, 255, 0.35);
}

/* ─── base ─── */
* { box-sizing: border-box; }
*::selection { background: rgba(59, 91, 255, 0.35); color: #fff; }

html, body {
  margin: 0; padding: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-ui);
  font-feature-settings: "ss01" 1, "ss02" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
html { scroll-padding-top: 80px; }

img, svg, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: var(--paper); color: var(--ink);
  padding: 8px 14px; border-radius: 8px; font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 12px; }

:focus-visible {
  outline: 2px solid var(--indigo-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.accent { color: var(--cyan); }

/* gradient text helpers */
.grad-indigo, .grad-cyan, .grad-violet {
  background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.grad-indigo { background-image: var(--grad-indigo); }
.grad-cyan   { background-image: var(--grad-cyan); }
.grad-violet { background-image: var(--grad-violet); }

/* ─── nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(11, 15, 26, 0.55);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--paper);
}
.nav-brand-name { font-weight: 700; }
.nav-links {
  display: inline-flex; align-items: center; gap: 26px;
  font-size: 14px; font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--paper); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; }

@media (max-width: 860px) {
  .nav { padding: 12px 16px; }
  .nav-links { display: none; }
}

/* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.18s ease,
              box-shadow 0.2s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 6px 18px -6px rgba(246, 247, 251, 0.35),
              inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -6px rgba(246, 247, 251, 0.45); }
.btn-ghost {
  background: rgba(246, 247, 251, 0.04);
  color: var(--paper);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(246, 247, 251, 0.10); border-color: rgba(246, 247, 251, 0.28); }

/* ─── eyebrow ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(124, 196, 255, 0.08);
  border: 1px solid rgba(124, 196, 255, 0.22);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(124, 196, 255, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.18); opacity: 1; }
}

/* ─── sections ─── */
.section {
  position: relative;
  padding: 110px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 768px) { .section { padding: 72px 18px; } }

.section-head {
  max-width: 760px; margin: 0 auto 56px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
.section-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 140px 28px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(59, 91, 255, 0.06) 1px, transparent 1px) 0 0/60px 60px,
    linear-gradient(90deg, rgba(59, 91, 255, 0.06) 1px, transparent 1px) 0 0/60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 75%);
  z-index: 0;
}
.hero-orbs { position: absolute; inset: 0; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.orb-1 { width: 480px; height: 480px; left: -160px; top: -120px; background: var(--indigo); }
.orb-2 { width: 380px; height: 380px; right: -120px; bottom: -100px; background: var(--violet); opacity: 0.45; }
.orb-3 { width: 280px; height: 280px; right: 35%; top: 30%; background: var(--cyan); opacity: 0.25; }

.hero-content {
  position: relative; z-index: 3;
  max-width: 880px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 660px;
  margin: 0;
}
.hero-sub strong { color: var(--paper); font-weight: 600; }
.hero-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.hero-meta {
  display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  font-size: 12.5px; color: var(--muted-2);
  margin-top: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.hero-meta strong { color: var(--paper); font-weight: 600; font-family: var(--font-ui); }
.hero-meta .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2);
}

/* ─── grids ─── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .grid-cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-cases { grid-template-columns: 1fr; } }

.grid-pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1100px) { .grid-pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-pricing { grid-template-columns: 1fr; } }

/* ─── cards ─── */
.card, .case-card, .plan {
  position: relative;
  background: linear-gradient(180deg, rgba(246,247,251,0.04) 0%, rgba(246,247,251,0.015) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover, .case-card:hover {
  border-color: rgba(124, 196, 255, 0.32);
  box-shadow: var(--shadow-md), 0 0 36px rgba(59, 91, 255, 0.18);
}
.card-glow {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(124, 196, 255, 0.16) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover .card-glow { opacity: 1; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-indigo);
  color: var(--paper);
  margin-bottom: 16px;
  box-shadow: 0 8px 22px -10px rgba(59, 91, 255, 0.6);
}
.card h3, .case-card h3, .plan h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.card p, .case-card p {
  font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0;
}

.case-num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--cyan);
  display: block; margin-bottom: 14px;
}

/* ─── modes ─── */
.section-modes { padding-bottom: 140px; }
.modes-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .modes-stage { grid-template-columns: 1fr; gap: 24px; }
}
#modes-canvas {
  width: 100%; aspect-ratio: 1 / 1; max-height: 520px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 30%, rgba(59,91,255,0.18) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(124,91,255,0.14) 0%, transparent 55%),
    var(--ink-2);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}
.modes-list { display: flex; flex-direction: column; gap: 10px; }
.mode-btn {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  background: rgba(246,247,251,0.03);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
  width: 100%;
}
.mode-btn:hover { background: rgba(246,247,251,0.06); border-color: rgba(124, 196, 255, 0.35); }
.mode-btn.is-active {
  background: linear-gradient(135deg, rgba(59,91,255,0.16) 0%, rgba(124,91,255,0.08) 100%);
  border-color: rgba(59, 91, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(59, 91, 255, 0.12);
  transform: translateX(4px);
}
.mode-num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  flex-shrink: 0; padding-top: 2px;
}
.mode-info { display: flex; flex-direction: column; gap: 4px; }
.mode-title {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--paper);
}
.mode-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ─── AI ─── */
.section-ai { padding: 140px 28px; }
.ai-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) { .ai-grid { grid-template-columns: 1fr; gap: 40px; } }

.ai-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ai-copy .section-title { text-align: left; font-size: clamp(28px, 4vw, 46px); }
.ai-copy .section-sub { text-align: left; max-width: 540px; color: var(--muted); }
.ai-copy .section-sub strong { color: var(--paper); }

.ai-features { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-direction: column; gap: 10px; }
.ai-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--paper);
}
.check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-indigo);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px;
  flex-shrink: 0;
}
.ai-ctas { display: inline-flex; gap: 10px; flex-wrap: wrap; }

.ai-visual {
  position: relative;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.ai-orb-wrap {
  position: relative;
  width: 260px; height: 260px;
  display: grid; place-items: center;
}
.ai-orb {
  width: 180px; height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #fff 0%, var(--cyan) 18%, var(--indigo) 55%, var(--violet) 100%);
  box-shadow:
    0 0 60px rgba(124, 196, 255, 0.45),
    0 0 120px rgba(59, 91, 255, 0.35),
    inset 0 0 40px rgba(255,255,255,0.18);
  animation: orb-float 6s ease-in-out infinite;
}
@keyframes orb-float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.04); }
}
.ai-orb-glow {
  position: absolute; inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 91, 255, 0.45) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.ai-orb-rings { position: absolute; inset: -40%; pointer-events: none; }
.ai-orb-rings span {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(124, 196, 255, 0.25);
  animation: ring-grow 4s linear infinite;
}
.ai-orb-rings span:nth-child(2) { animation-delay: 1.3s; }
.ai-orb-rings span:nth-child(3) { animation-delay: 2.6s; }
@keyframes ring-grow {
  0% { transform: scale(0.6); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.ai-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-around;
  gap: 12px;
  padding: 8px 0;
}
.ai-bubble {
  position: absolute;
  background: rgba(246, 247, 251, 0.06);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  max-width: 240px;
  color: var(--paper);
  animation: bubble-float 5s ease-in-out infinite;
}
.ai-bubble--user { top: 8%; left: -6%; background: rgba(59, 91, 255, 0.22); border-color: rgba(59, 91, 255, 0.4); border-bottom-right-radius: 4px; }
.ai-bubble--lia { top: 32%; right: -6%; border-bottom-left-radius: 4px; animation-delay: 0.6s; }
.ai-bubble--user:nth-of-type(3) { top: 60%; left: -2%; animation-delay: 1.2s; }
.ai-bubble--lia:nth-of-type(4) { bottom: 4%; right: -4%; animation-delay: 1.8s; }
@keyframes bubble-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.ai-pill {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 6px;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px;
  background: rgba(124, 196, 255, 0.18);
  color: var(--cyan);
  border: 1px solid rgba(124, 196, 255, 0.35);
}
.ai-pill--alt { background: rgba(255, 206, 0, 0.18); color: var(--amber); border-color: rgba(255, 206, 0, 0.35); }

/* ─── pricing ─── */
.section-pricing { padding-bottom: 120px; }
.billing-toggle {
  display: inline-flex; gap: 4px;
  background: rgba(246, 247, 251, 0.05);
  border: 1px solid var(--line-2);
  padding: 4px;
  border-radius: 999px;
  margin-top: 4px;
}
.bt-opt {
  padding: 8px 16px;
  border: none; background: transparent; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.bt-opt.is-active { background: var(--paper); color: var(--ink); }
.bt-badge {
  font-family: var(--font-mono); font-size: 10px;
  background: var(--green); color: #042; padding: 2px 6px; border-radius: 999px;
  font-weight: 700;
}

.plan { display: flex; flex-direction: column; gap: 18px; padding: 32px 24px; }
.plan header { display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-size: 22px; }
.plan header p { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin: 0; min-height: 38px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.plan-price .currency { font-size: 22px; opacity: 0.65; }
.plan-price .amount { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .per { color: var(--muted); font-size: 12.5px; font-family: var(--font-mono); letter-spacing: 0.05em; }
.plan-price .amount-text { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }

.plan-quota {
  display: flex; align-items: baseline; gap: 8px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(59,91,255,0.10) 0%, rgba(124,91,255,0.06) 100%);
  border: 1px solid rgba(59, 91, 255, 0.28);
  border-radius: var(--radius-md);
}
.quota-num { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.025em; color: var(--paper); }
.quota-label { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); letter-spacing: 0.04em; }

.plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.plan-features li {
  font-size: 14px; color: var(--muted);
  position: relative; padding-left: 22px;
}
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.plan-features li strong { color: var(--paper); }

.plan-featured {
  background: linear-gradient(180deg, rgba(59, 91, 255, 0.16) 0%, rgba(124, 91, 255, 0.04) 100%);
  border-color: rgba(59, 91, 255, 0.5);
  box-shadow: 0 24px 60px -20px rgba(59, 91, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-indigo);
  color: var(--paper);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(59, 91, 255, 0.6);
}

.pricing-note {
  text-align: center;
  margin-top: 36px;
  font-size: 12.5px; color: var(--muted-2);
  font-family: var(--font-mono);
}

/* ─── brand (white-label) ─── */
.section-brand { padding: 120px 28px; }
.brand-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 1024px) { .brand-grid { grid-template-columns: 1fr; } }
.brand-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.brand-copy .section-title { text-align: left; font-size: clamp(28px, 4vw, 44px); }
.brand-copy .section-sub { text-align: left; }

.brand-bullets { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--muted); }
.brand-bullets strong { color: var(--paper); margin-right: 6px; }
.brand-bullets code { font-family: var(--font-mono); font-size: 12.5px; color: var(--cyan); background: rgba(124, 196, 255, 0.10); padding: 1px 6px; border-radius: 4px; }

.brand-visual {
  position: relative; height: 380px;
  perspective: 1400px;
}
.brand-card {
  position: absolute;
  width: 280px; height: 200px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink-3) 100%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 12px; padding: 18px;
  transform-style: preserve-3d;
  animation: brand-card-float 7s ease-in-out infinite;
}
.brand-card-bar {
  width: 100%; height: 4px; border-radius: 999px; background: var(--c, var(--indigo));
}
.brand-card-tag {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
  background: rgba(246, 247, 251, 0.05);
  padding: 4px 8px; border-radius: 6px; align-self: flex-start;
  letter-spacing: 0.02em;
}
.brand-card--1 { top: 0; left: 0; transform: rotate3d(0,1,0,-12deg) translateZ(0); }
.brand-card--2 { top: 80px; left: 100px; transform: rotate3d(0,1,0,-8deg) translateZ(20px); animation-delay: 0.6s; }
.brand-card--3 { top: 160px; left: 200px; transform: rotate3d(0,1,0,-6deg) translateZ(40px); animation-delay: 1.2s; }
@media (max-width: 600px) {
  .brand-card--1 { left: 0; }
  .brand-card--2 { left: 60px; }
  .brand-card--3 { left: 120px; }
}
@keyframes brand-card-float {
  0%,100% { translate: 0 0; }
  50%     { translate: 0 -10px; }
}

/* ─── final CTA ─── */
.section-cta { padding: 80px 28px 140px; }
.cta-card {
  position: relative;
  max-width: 920px; margin: 0 auto;
  text-align: center;
  padding: 80px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(59, 91, 255, 0.12) 0%, rgba(124, 91, 255, 0.06) 100%);
  border: 1px solid rgba(59, 91, 255, 0.4);
  overflow: hidden;
}
.cta-glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 30% 50%, rgba(59,91,255,0.32) 0%, transparent 55%),
    radial-gradient(circle at 70% 50%, rgba(255, 78, 205, 0.24) 0%, transparent 55%);
  filter: blur(40px);
  z-index: 0;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .section-title { margin: 18px 0; }
.cta-card .section-sub { margin: 0 auto; }
.cta-buttons { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.cta-meta { margin-top: 22px; font-size: 13px; color: var(--muted); font-family: var(--font-mono); }
.cta-meta a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(124, 196, 255, 0.4); text-underline-offset: 3px; }

/* ─── footer ─── */
.footer {
  padding: 36px 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, var(--ink-2) 100%);
}
.footer-row {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.footer-row + .footer-row { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 17px; }
.footer-links { display: inline-flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.footer-links a:hover { color: var(--paper); }
.footer-meta { font-size: 12.5px; color: var(--muted-2); }
.footer-meta p { margin: 0; }
.footer-meta a { color: var(--cyan); }
.footer-tagline { font-style: italic; color: var(--muted); }

/* ─── reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ai-orb, .ai-orb-rings span, .ai-bubble, .brand-card, .eyebrow-dot,
  .orb { animation: none !important; }
  #hero-canvas, #modes-canvas { display: none; }
}
