/* Landing page styles */
:root {
  --section-pad: 130px;
  --block-gap: 80px;
  --para-gap: 40px;
}

html { scroll-behavior: smooth; }

body {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
}

h1, h2, h3 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--text-hi);
}

h1 { font-size: clamp(64px, 6.5vw, 92px); font-weight: 900; }
h2 { font-size: clamp(40px, 4vw, 52px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }

p { color: var(--text-lo); font-size: 17px; line-height: 1.75; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); position: relative; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-lo);
  white-space: nowrap;
}
.nav-links a {
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-hi); }

.nav-cta {
  background: var(--accent);
  color: #04120C;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  padding: 13px 22px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 18px rgba(0, 245, 160, 0.25);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0, 245, 160, 0.4); }
.nav-cta svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Hero */
.hero { padding-top: 100px; overflow: hidden; }

.aurora {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(0, 245, 160, 0.14), transparent 60%),
    radial-gradient(500px 380px at 85% 25%, rgba(0, 245, 160, 0.08), transparent 65%);
  animation: aurora-drift 16s ease-in-out infinite;
}
@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, 3%) scale(1.06); }
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 245, 160, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 160, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 30%, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; perspective: 1400px; }
.hero-inner > * { animation: fade-up 0.9s cubic-bezier(0.16, 0.84, 0.44, 1) backwards; }
.hero-inner .eyebrow { animation-delay: 0.05s; }
.hero-inner .hero-head { animation-delay: 0.2s; }
.hero-inner .hero-sub { animation-delay: 0.38s; }
.hero-inner .visual-slot { animation-delay: 0.55s; }
.hero-inner .hero-trust { animation-delay: 0.72s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-head { max-width: 920px; margin-top: 28px; }
.hero-sub { max-width: 640px; margin-top: var(--para-gap); font-size: 18px; }
.hero-sub b { color: var(--text-hi); font-weight: 600; }

.hero-trust {
  margin-top: var(--block-gap);
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--secondary-line);
  max-width: 760px;
}
.hero-trust .stat {
  font-family: 'Clash Display', sans-serif;
  font-weight: 900;
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}
.hero-trust p { font-size: 14px; letter-spacing: 0.02em; }

.visual-slot {
  margin-top: var(--block-gap);
  position: relative;
  background: var(--secondary);
  border: 1px solid var(--secondary-line);
  border-radius: 14px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.1s linear, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.visual-slot:hover { border-color: var(--accent); }
.visual-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 160, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 160, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.visual-slot .tick {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--accent);
  opacity: 0.6;
}
.tick.tl { top: 18px; left: 18px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.tick.tr { top: 18px; right: 18px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.tick.bl { bottom: 18px; left: 18px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.tick.br { bottom: 18px; right: 18px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }

.visual-label {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-lo);
  max-width: 420px;
  padding: 0 20px;
}
.visual-label strong {
  display: block;
  color: var(--text-hi);
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.reticle {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.2s ease;
  transform: translate(-50%, -50%);
}
.reticle::before, .reticle::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.reticle::before { top: 50%; left: -8px; width: 8px; height: 1px; transform: translateY(-50%); }
.reticle::after { top: -8px; left: 50%; width: 1px; height: 8px; transform: translateX(-50%); }
.visual-slot:hover .reticle { opacity: 0.8; }

/* Marquee */
.marquee-wrap {
  margin-top: var(--block-gap);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-left 46s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.viz-card {
  position: relative;
  width: 400px;
  flex-shrink: 0;
  background: var(--secondary);
  border: 1px solid var(--secondary-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.3s ease;
}
.marquee-track .viz-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.viz-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--secondary-line);
}
.viz-dots { display: flex; gap: 6px; flex-shrink: 0; }
.viz-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--secondary-line); }
.viz-dots span:last-child {
  background: var(--accent);
  box-shadow: 0 0 8px 1px rgba(0, 245, 160, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
.viz-chrome-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-lo);
  text-transform: uppercase;
  line-height: 1.5;
}

.viz-screen {
  position: relative;
  height: 260px;
  overflow: hidden;
  background:
    radial-gradient(120px 90px at 20% 25%, rgba(0, 245, 160, 0.10), transparent 70%),
    radial-gradient(160px 120px at 85% 70%, rgba(0, 245, 160, 0.06), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 26px),
    var(--primary);
}
.viz-screen::before {
  content: "";
  position: absolute;
  inset: -20% -20%;
  background-image:
    linear-gradient(rgba(0, 245, 160, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 160, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: grid-drift 22s linear infinite;
}
@keyframes grid-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(24px, 24px); }
}

.viz-callout {
  position: absolute;
  background: rgba(10, 11, 12, 0.88);
  border: 1px solid var(--secondary-line);
  border-radius: 8px;
  padding: 12px 16px;
  z-index: 1;
}
.viz-callout .cl { font-size: 10px; letter-spacing: 0.08em; color: var(--text-lo); text-transform: uppercase; margin-bottom: 6px; }
.viz-callout .cv { font-family: 'Clash Display', sans-serif; font-weight: 900; font-size: 24px; color: var(--accent); }
.viz-callout.c-a { top: 18px; left: 18px; }
.viz-callout.c-b { bottom: 18px; right: 18px; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
@media (max-width: 560px) {
  .viz-card { width: 300px; }
  .viz-screen { height: 210px; }
}

/* Section headers */
.section-head {
  max-width: 680px;
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: var(--para-gap); font-size: 17px; }

/* Bento grid */
.bento {
  margin-top: var(--block-gap);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  isolation: isolate;
  background: var(--secondary);
  border: 1px solid var(--secondary-line);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.25s ease, opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 245, 160, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.bento .card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card > * { position: relative; z-index: 1; }
.card .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 14px; }
.card p { font-size: 15.5px; }

.process-grid .c1 {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: none;
  padding: 0 0 12px 0;
}
.process-grid .c1 h3 { font-family: 'Clash Display', sans-serif; font-size: 28px; font-weight: 900; }
.process-grid .step { grid-column: span 2; }
@media (min-width: 900px) { .process-grid .step { grid-column: span 2; } }

.focus-grid { grid-template-columns: repeat(4, 1fr); }
.focus-grid .card { grid-column: span 2; }
.focus-grid .card.wide { grid-column: span 2; }

/* Stat band */
.stat-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid var(--secondary-line);
  border-radius: 14px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.stat-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(360px circle at var(--mx, 15%) var(--my, 50%), rgba(0, 245, 160, 0.10), transparent 70%);
  pointer-events: none;
}
.stat-band > * { position: relative; z-index: 1; }
.stat-band .big-num {
  font-family: 'Clash Display', sans-serif;
  font-weight: 900;
  font-size: 96px;
  color: var(--accent);
  line-height: 0.95;
}
.stat-band p { font-size: 18px; color: var(--text-hi); }

/* Tiers */
.tiers {
  margin-top: var(--block-gap);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tier {
  position: relative;
  isolation: isolate;
  background: var(--secondary);
  border: 1px solid var(--secondary-line);
  border-radius: 14px;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.tier::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 14px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 245, 160, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tier:hover::after { opacity: 1; }
.tiers .tier:hover { transform: translateY(-4px); }
.tier > * { position: relative; z-index: 1; }
.tier.featured { border-color: var(--accent); position: relative; }
.tier.featured::before {
  content: "MOST REQUESTED";
  position: absolute;
  top: -13px;
  left: 36px;
  background: var(--accent);
  color: #04120C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
}
.tier-eyebrow { font-size: 12px; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.tier h3 { font-size: 26px; margin-bottom: 16px; }
.tier > p.desc { font-size: 15px; margin-bottom: var(--para-gap); }
.tier ul { list-style: none; margin-bottom: var(--para-gap); flex-grow: 1; }
.tier ul li {
  font-size: 14.5px;
  color: var(--text-lo);
  padding: 12px 0;
  border-top: 1px solid var(--secondary-line);
  display: flex;
  gap: 10px;
}
.tier ul li:first-child { border-top: none; }
.tier ul li::before { content: "→"; color: var(--accent); flex-shrink: 0; }
.tier-cta {
  display: block;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--secondary-line);
  color: var(--text-hi);
}
.tier.featured .tier-cta { background: var(--accent); color: #04120C; border-color: var(--accent); }
.tier-cta:hover { border-color: var(--accent); }

/* Closing */
.closing { text-align: center; }
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing h2 { margin-top: 16px; }
.closing p { margin-top: var(--para-gap); font-size: 18px; }
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--block-gap);
  background: var(--accent);
  color: #04120C;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 20px 34px;
  border-radius: 8px;
}
.closing-cta:hover { transform: translateY(-2px); }

footer { padding: 56px 0; }
.footer-inner .logo { font-size: 16px; }

.closing-actions {
  margin-top: var(--block-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.simple-email-box {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 24px;
  background: var(--secondary);
  border: 1px solid rgba(0, 245, 160, 0.4);
  border-radius: 8px;
  margin-top: 28px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .simple-email-box {
  border: 1px solid rgba(37, 99, 235, 0.4);
}

.simple-email-box:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.2);
}

.simple-email-box .email-label {
  color: var(--text-lo);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  display: block;
}

.simple-email-box .email-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.simple-email-box .email-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.simple-email-box .email-link {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-hi);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.simple-email-box .email-link:hover {
  color: var(--accent);
}


/* Scroll progress */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200;
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.6);
}

/* Custom cursor */
body.custom-cursor, body.custom-cursor a, body.custom-cursor button { cursor: none; }
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px 2px rgba(0, 245, 160, 0.7);
}
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 245, 160, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}
body.cursor-hover .cursor-ring { width: 58px; height: 58px; border-color: var(--accent); }

/* Dot nav */
.dot-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dot-nav .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-line);
  border: 1px solid transparent;
  display: block;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.dot-nav .dot:hover { transform: scale(1.4); border-color: var(--accent); }
.dot-nav .dot.active {
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(0, 245, 160, 0.6);
  transform: scale(1.3);
}
@media (max-width: 1100px) { .dot-nav { display: none; } }

/* Scroll reveal */
.reveal-target { opacity: 0; transform: translateY(28px); }
.reveal-target.in-view { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1180px) and (min-width: 901px) {
  .nav-inner { padding: 14px 28px; gap: 18px; }
  .nav-links { gap: 20px; font-size: 12px; }
  .nav-cta { padding: 11px 18px; font-size: 12.5px; }
}

@media (max-width: 900px) {
  :root { --section-pad: 90px; --block-gap: 56px; }
  .nav-links { display: none; }
  .bento, .focus-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .process-grid .step { grid-column: span 2 !important; }
  .focus-grid .card { grid-column: span 2 !important; }
  .tiers { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .stat-band .big-num { font-size: 72px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav-cta span.label { display: none; }
  .nav-cta { padding: 12px; border-radius: 50%; }
}
@media (max-width: 560px) {
  .bento, .focus-grid { grid-template-columns: 1fr !important; }
  .container { padding: 0 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
  .reveal-target { opacity: 1 !important; transform: none !important; }
  .hero-inner > * { animation: none !important; opacity: 1 !important; }
}

/* Light Theme Overrides (White & Blue palette) */
[data-theme="light"] .nav-cta,
[data-theme="light"] .closing-cta,
[data-theme="light"] .tier.featured .tier-cta,
[data-theme="light"] .tier.featured::before {
  color: #FFFFFF !important;
}

[data-theme="light"] .aurora {
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(500px 380px at 85% 25%, rgba(37, 99, 235, 0.08), transparent 65%);
}

[data-theme="light"] .blueprint-grid {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
}

[data-theme="light"] .visual-slot::before {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
}

[data-theme="light"] .viz-screen {
  background:
    radial-gradient(120px 90px at 20% 25%, rgba(37, 99, 235, 0.12), transparent 70%),
    radial-gradient(160px 120px at 85% 70%, rgba(37, 99, 235, 0.08), transparent 70%),
    repeating-linear-gradient(115deg, rgba(37, 99, 235, 0.03) 0 2px, transparent 2px 26px),
    #F1F5F9;
}

[data-theme="light"] .viz-callout {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--secondary-line);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .card,
[data-theme="light"] .tier,
[data-theme="light"] .stat-band,
[data-theme="light"] .viz-card {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .card::after,
[data-theme="light"] .tier::after,
[data-theme="light"] .stat-band::after {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, 0.09), transparent 70%);
}
