/* ============================================================
   Quantiverse. Dark, quiet, modern. Vibrant amber accents.
   ============================================================ */

:root {
  --bg:        #000000;
  --bg-2:      #000000;
  --panel:     #0a0b0d;
  --panel-2:   #0e0f12;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);
  --text:      #eef1f4;
  --muted:     #9aa3ad;
  --muted-2:   #6b727b;
  --accent:    #f5a623;
  --accent-2:  #ff7a45;
  --accent-soft: rgba(245, 166, 35, 0.12);
  --good:      #4ec98f;
  --bad:       #e2685f;
  --maxw:      1180px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
em { font-style: italic; }

/* ---- Scroll progress bar ---- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 100; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(245,166,35,0.5);
}

/* ---- Typography helpers ---- */
.eyebrow, .section-label {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.section-label { margin-bottom: 22px; }
.section-title {
  font-family: "Fraunces", Georgia, serif; font-weight: 400;
  font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08;
  letter-spacing: -0.01em; max-width: 17ch;
}
.section-intro { margin-top: 20px; max-width: 56ch; color: var(--muted); font-size: 17px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em;
  padding: 13px 26px; border-radius: 100px; text-decoration: none; cursor: pointer;
  transition: all 0.35s var(--ease); border: 1px solid transparent; white-space: nowrap;
}
.btn-solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1206; font-weight: 600; box-shadow: 0 8px 30px rgba(245, 166, 35, 0.18);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(245, 166, 35, 0.32); }
.btn-line { color: var(--text); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { color: var(--text); border-color: var(--line-2); padding: 9px 18px; font-size: 13.5px; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 17px 40px; font-size: 17px; }

/* ============================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; padding: 18px 28px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 9, 11, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); padding: 13px 28px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: "Fraunces", serif; font-weight: 500; font-size: 21px; color: var(--text);
  text-decoration: none; letter-spacing: 0.01em;
}
.brand-dot {
  width: 6px; height: 6px; border-radius: 50%; align-self: flex-end; margin: 0 0 4px 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.6);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.3s var(--ease); }
.nav-links a:hover { color: var(--text); }

/* ============================================================ HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,11,0.55) 0%, rgba(8,9,11,0.78) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8,9,11,0.85) 0%, rgba(8,9,11,0.15) 60%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2400&q=80");
  background-size: cover; background-position: center right; filter: saturate(1.05) contrast(1.02); transform: scale(1.04);
}
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background: radial-gradient(120% 80% at 80% 0%, rgba(245,166,35,0.10), transparent 55%); }
.hero-inner { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.hero-title { font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(38px, 6.4vw, 82px); line-height: 1.02; letter-spacing: -0.02em; margin: 22px 0 0; max-width: 18ch; }
.hero-title em { color: var(--accent); font-style: italic; }
.hero-sub { margin-top: 28px; max-width: 54ch; font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 46px; color: var(--muted-2); font-size: 13.5px; }
.hero-meta strong { color: var(--text); font-weight: 500; }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* ============================================================ SIGNALS */
.signals { padding: 120px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.signals-top { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px; align-items: center; }
.signals-copy .section-title { font-size: clamp(28px, 3.8vw, 46px); }
.signals-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.signals-stats div { display: flex; flex-direction: column; gap: 4px; }
.ss-num { font-family: "Fraunces", serif; font-size: 30px; color: var(--accent); line-height: 1; }
.ss-lbl { font-size: 12.5px; color: var(--muted-2); max-width: 16ch; }

/* ---- Feed wrap + glow + floating cards ---- */
.feed-wrap { position: relative; }
.feed-glow {
  position: absolute; inset: -12% -8%; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 60% 45%, rgba(245,140,40,0.30), rgba(245,140,40,0.06) 45%, transparent 72%);
  filter: blur(28px);
}
.float-card {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 3px;
  padding: 14px 18px; border-radius: 14px; background: rgba(20,24,29,0.86);
  border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}
.float-tl { top: -26px; left: -30px; }
.float-br { bottom: -26px; right: -30px; }
.fc-num { font-family: "Fraunces", serif; font-size: 26px; color: var(--accent); line-height: 1; }
.fc-lbl { font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; max-width: 17ch; }

.feed-panel {
  position: relative; z-index: 2;
  border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 90px rgba(0,0,0,0.45);
}
.feed-window {
  position: relative; height: 470px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
}
.feed-track { display: flex; flex-direction: column; animation: feedScroll 40s linear infinite; will-change: transform; }
.feed-window:hover .feed-track { animation-play-state: paused; }
@keyframes feedScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.feed-list { display: flex; flex-direction: column; }
.feed-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 17px 22px; border-bottom: 1px solid var(--line); align-items: center; transition: background 0.3s var(--ease); }
.feed-item:hover { background: rgba(245,166,35,0.05); }
.fi-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  animation: fiPulse 2.6s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.fi-ico svg { width: 18px; height: 18px; }
@keyframes fiPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
  50% { box-shadow: 0 0 0 5px rgba(245,166,35,0.09); }
}
.fi-text { font-size: 14px; color: var(--text); }

/* ============================================================ VERTICALS */
.verticals { padding: 120px 0; border-top: 1px solid var(--line); }
.vert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; }
.vert-card {
  position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 30px 30px 30px; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.vert-card:hover { transform: translateY(-4px); border-color: var(--accent); }
/* diagonal accent stripe, top-right corner */
.vert-card::after {
  content: ""; position: absolute; top: 16px; right: -34px; width: 96px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent)); transform: rotate(45deg);
  opacity: 0.5; transition: opacity 0.4s var(--ease);
}
.vert-card:hover::after { opacity: 1; }
.vert-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.vert-ico svg { width: 22px; height: 22px; }
.vert-card h3 { font-family: "Fraunces", serif; font-weight: 400; font-size: 21px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.vert-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.vert-card li { font-size: 14.5px; color: var(--muted); padding-left: 18px; position: relative; }
.vert-card li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent); font-size: 13px; }
.vert-routed {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 30px;
  font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 500;
  background: linear-gradient(180deg, rgba(16,19,23,0.2), var(--panel-2));
  border-top: 1px solid var(--line);
  transform: translateY(110%); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.vert-card:hover .vert-routed { transform: translateY(0); opacity: 1; }

/* ============================================================ PROCESS */
.process { position: relative; padding: 130px 0; border-top: 1px solid var(--line); overflow: hidden; }
.process-bg {
  position: absolute; inset: 0; opacity: 0.18;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(8,9,11,0.6) 40%, var(--bg) 100%),
    url("https://images.unsplash.com/photo-1444723121867-7a241cacace9?auto=format&fit=crop&w=2400&q=80");
  background-size: cover; background-position: center;
}
.process .container { position: relative; }
.steps { list-style: none; margin-top: 60px; display: grid; gap: 0; position: relative; }
/* connecting line + traveling pulse */
.steps-track { position: absolute; left: 21px; top: 46px; bottom: 46px; width: 2px; background: linear-gradient(180deg, var(--accent-soft), rgba(245,166,35,0.28), var(--accent-soft)); border-radius: 2px; }
.steps-pulse { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 3px rgba(245,166,35,0.7); animation: pulseDown 4.5s var(--ease) infinite; }
@keyframes pulseDown { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.step { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 34px 0; border-top: 1px solid var(--line); align-items: start; position: relative; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no { font-family: "Fraunces", serif; font-size: 44px; font-weight: 300; color: var(--accent); line-height: 1; position: relative; z-index: 1; }
.step h3 { font-family: "Fraunces", serif; font-weight: 400; font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 62ch; font-size: 16px; }
.step-filter { margin-top: 12px; font-size: 13px; color: var(--muted-2); padding-left: 16px; position: relative; }
.step-filter::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--muted-2); }

/* ============================================================ OUTCOMES */
.outcomes { padding: 120px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; }
.outcome-card {
  position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.outcome-card::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0; transition: opacity 0.4s var(--ease); }
.outcome-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.outcome-card:hover::after { opacity: 1; }
.oc-top { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.oc-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.oc-ico svg { width: 21px; height: 21px; }
.oc-head { display: flex; flex-direction: column; gap: 5px; }
.oc-kicker { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
/* niche label */
.oc-niche {
  font-family: "Fraunces", serif; font-size: 16.5px; font-weight: 500; line-height: 1.1; color: var(--text);
}
.oc-stat { font-family: "Fraunces", serif; font-weight: 500; font-size: 23px; color: var(--accent); margin-bottom: 12px; letter-spacing: -0.01em; line-height: 1.1; }
.oc-desc { font-size: 14px; color: var(--muted); transition: opacity 0.35s var(--ease); }
/* hover timeline */
.oc-timeline {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px 8px; padding: 16px 26px; background: linear-gradient(180deg, rgba(16,19,23,0.4), var(--panel-2));
  border-top: 1px solid var(--line); transform: translateY(110%); opacity: 0;
  transition: transform 0.42s var(--ease), opacity 0.42s var(--ease);
}
.outcome-card:hover .oc-timeline { transform: translateY(0); opacity: 1; }
.ot-step { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text); }
.ot-step i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.ot-gap { font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.04em; }

/* ============================================================ WHAT'S DIFFERENT */
.different { padding: 120px 0; border-top: 1px solid var(--line); }
.compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 54px; }
.compare-col { border: 1px solid var(--line); border-radius: 18px; padding: 36px; transition: transform 0.4s var(--ease); }
.compare-col.old { background: #0c0d0f; opacity: 0.92; }
.compare-col.old h3, .compare-col.old li { color: var(--muted-2); }
.compare-col.new {
  background: linear-gradient(180deg, rgba(245,166,35,0.10), rgba(245,166,35,0.02));
  border-color: rgba(245,166,35,0.34); box-shadow: 0 26px 70px rgba(245,140,40,0.12); transform: translateY(-8px);
}
.compare-col h3 { font-family: "Fraunces", serif; font-weight: 400; font-size: 23px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.compare-col.new h3 { color: var(--accent); }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.compare-col li { display: flex; gap: 14px; font-size: 15.5px; color: var(--muted); align-items: flex-start; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.compare-col.in li { opacity: 1; transform: none; }
.compare-col.old li { color: var(--muted-2); }
.compare-col.new li { color: var(--text); }
.compare-col.in li:nth-child(1) { transition-delay: 0.05s; }
.compare-col.in li:nth-child(2) { transition-delay: 0.13s; }
.compare-col.in li:nth-child(3) { transition-delay: 0.21s; }
.compare-col.in li:nth-child(4) { transition-delay: 0.29s; }
.compare-col.in li:nth-child(5) { transition-delay: 0.37s; }
.compare-col.in li:nth-child(6) { transition-delay: 0.45s; }
.x, .c { flex-shrink: 0; font-size: 14px; line-height: 1.5; font-weight: 700; transform: scale(0); transition: transform 0.4s var(--ease); }
.compare-col.in .x, .compare-col.in .c { transform: scale(1); }
.compare-col.in li:nth-child(1) .c, .compare-col.in li:nth-child(1) .x { transition-delay: 0.18s; }
.compare-col.in li:nth-child(2) .c, .compare-col.in li:nth-child(2) .x { transition-delay: 0.26s; }
.compare-col.in li:nth-child(3) .c, .compare-col.in li:nth-child(3) .x { transition-delay: 0.34s; }
.compare-col.in li:nth-child(4) .c, .compare-col.in li:nth-child(4) .x { transition-delay: 0.42s; }
.compare-col.in li:nth-child(5) .c, .compare-col.in li:nth-child(5) .x { transition-delay: 0.50s; }
.compare-col.in li:nth-child(6) .c, .compare-col.in li:nth-child(6) .x { transition-delay: 0.58s; }
.x { color: var(--bad); }
.c { color: var(--good); }
/* vs badge */
.vs-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4;
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif; font-style: italic; font-size: 18px; color: var(--accent);
  background: var(--bg); border: 1px solid rgba(245,166,35,0.4); box-shadow: 0 0 0 6px var(--bg), 0 10px 30px rgba(0,0,0,0.5);
}
.pullquote {
  margin-top: 44px; padding: 40px; border: 1px solid var(--line); border-left: 2px solid var(--accent);
  border-radius: 14px; background: var(--panel); font-family: "Fraunces", serif; font-weight: 300;
  font-size: clamp(19px, 2.4vw, 27px); line-height: 1.42; letter-spacing: -0.01em; max-width: 64ch;
}

/* ============================================================ CLOSING */
.closing { position: relative; padding: 150px 0; border-top: 1px solid var(--line); overflow: hidden; text-align: center; }
.closing-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,11,0.72) 0%, rgba(8,9,11,0.86) 100%),
    url("https://images.unsplash.com/photo-1448630360428-65456885c650?auto=format&fit=crop&w=2400&q=80");
  background-size: cover; background-position: center;
}
.closing-inner { position: relative; }
.closing-title { font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -0.01em; max-width: 20ch; margin: 18px auto 0; }
.closing-sub { margin: 24px auto 40px; max-width: 52ch; color: var(--muted); font-size: 17px; }
.closing-email { margin-top: 22px; font-size: 14.5px; color: var(--muted-2); }
.closing-email a { color: var(--accent); text-decoration: none; }
.closing-email a:hover { text-decoration: underline; }

/* ============================================================ FOOTER */
.footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 18px; }
.footer .brand-svg { width: 24px; height: 24px; }
.footer-tag { color: var(--muted-2); font-size: 14px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--accent); }

/* ============================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .signals-top { grid-template-columns: 1fr; gap: 56px; }
  .feed-window { height: 410px; }
  .float-tl { top: -20px; left: -10px; }
  .float-br { bottom: -20px; right: -10px; }
  .vert-grid, .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; gap: 40px; }
  .compare-col.new { transform: none; }
  .vs-badge { top: 50%; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .hero { padding: 110px 0 70px; }
  .signals, .verticals, .process, .outcomes, .different { padding: 84px 0; }
  .closing { padding: 110px 0; }
  .vert-grid, .outcome-grid { grid-template-columns: 1fr; }
  .signals-stats { gap: 24px; }
  .float-card { position: static; margin: 0 0 12px; }
  .float-br { margin: 12px 0 0; }
  .feed-glow { inset: 0; }
  .steps-track { display: none; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step-no { font-size: 34px; }
  .hero-meta { gap: 10px; }
  .pullquote { padding: 28px; }
  .compare-col { padding: 26px; }
  .vs-badge { display: none; }
}
