/* ============================================================
   AS Writing — AuthNo Aesthetic Stylesheet
   Fonts: Sora (heads) · DM Sans (body) · JetBrains Mono (mono)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,600&family=Sora:wght@300;400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg:        #060606;
  --bg2:       #0c0c10;
  --bg3:       #111118;
  --surface:   rgba(255,255,255,0.035);
  --surface-md:rgba(255,255,255,0.06);
  --surface-hi:rgba(255,255,255,0.095);
  --border:    rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.13);
  --text1: #ffffff;
  --text2: #dcddde;
  --text3: #b9bbbe;
  --text4: #72767d;
  --text5: #4f545c;
  --violet:    #5a00d9;
  --violet-l:  #8b5cf6;
  --violet-ll: #a855f7;
  --glow:      rgba(124,58,237,0.32);
  --orange:    #f97316;
  --glass:     rgba(6,6,6,0.72);
  --nav-bg:    rgba(6,6,6,0.82);
  --shadow:    0 30px 80px rgba(0,0,0,0.7);

  /* Pixel-stepped clip path (4-px grid) */
  --px-clip: polygon(
    0 12px, 4px 12px, 4px 8px, 8px 8px, 8px 4px, 12px 4px, 12px 0,
    calc(100% - 12px) 0, calc(100% - 12px) 4px, calc(100% - 8px) 4px,
    calc(100% - 8px) 8px, calc(100% - 4px) 8px, calc(100% - 4px) 12px, 100% 12px,
    100% calc(100% - 12px), calc(100% - 4px) calc(100% - 12px),
    calc(100% - 4px) calc(100% - 8px), calc(100% - 8px) calc(100% - 8px),
    calc(100% - 8px) calc(100% - 4px), calc(100% - 12px) calc(100% - 4px),
    calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 4px),
    8px calc(100% - 4px), 8px calc(100% - 8px), 4px calc(100% - 8px),
    4px calc(100% - 12px), 0 calc(100% - 12px)
  );

  --px-clip-sm: polygon(
    0 8px, 3px 8px, 3px 5px, 5px 5px, 5px 3px, 8px 3px, 8px 0,
    calc(100% - 8px) 0, calc(100% - 8px) 3px, calc(100% - 5px) 3px,
    calc(100% - 5px) 5px, calc(100% - 3px) 5px, calc(100% - 3px) 8px, 100% 8px,
    100% calc(100% - 8px), calc(100% - 3px) calc(100% - 8px),
    calc(100% - 3px) calc(100% - 5px), calc(100% - 5px) calc(100% - 5px),
    calc(100% - 5px) calc(100% - 3px), calc(100% - 8px) calc(100% - 3px),
    calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 3px),
    5px calc(100% - 3px), 5px calc(100% - 5px), 3px calc(100% - 5px),
    3px calc(100% - 8px), 0 calc(100% - 8px)
  );
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text2);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(90,0,217,.4); border-radius: 2px; }
* { scrollbar-width: thin; scrollbar-color: rgba(90,0,217,.4) transparent; }

/* ── Selection ───────────────────────────────────────────── */
::selection { background: rgba(139,92,246,.35); color: #fff; }

/* ── Focus ───────────────────────────────────────────────── */
*:focus-visible { outline: 2px solid var(--violet-l); outline-offset: 2px; border-radius: 4px; }

/* ── Scroll progress bar ─────────────────────────────────── */
#scroll-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--violet-ll));
  z-index: 9999; width: 0; transition: width .1s;
}

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes float-a { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(40px,-30px) scale(1.08)} }
@keyframes float-b { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-35px,45px) scale(.95)} }
@keyframes float-c { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(50px,30px) scale(1.05)} }
@keyframes fadeUp  { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn  { from{opacity:0} to{opacity:1} }
@keyframes blink   { 0%,49%{opacity:1} 50%,100%{opacity:0} }
@keyframes nodePulse { 0%,100%{box-shadow:0 0 0 0 rgba(90,0,217,.5)} 55%{box-shadow:0 0 0 10px rgba(90,0,217,0)} }
@keyframes ripple  { from{transform:scale(0);opacity:.35} to{transform:scale(3);opacity:0} }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

/* ── Cursor (from AuthNo index.css, verbatim) ────────────── */
body.hide-native-cursor, body.hide-native-cursor * { cursor: none !important; }

.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 100000;
  width: 16px; height: 16px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border-radius: 50%; pointer-events: none; opacity: 0;
  will-change: transform;
  box-shadow: 0 2px 6px rgba(0,0,0,.1), inset 0 0 4px rgba(255,255,255,.2);
  transition: opacity .25s ease, background .25s ease, border-color .25s ease;
}
.liquid-glass-cursor {
  position: fixed; top: 0; left: 0; z-index: 99999;
  pointer-events: none; opacity: 0;
  will-change: transform, width, height;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px) saturate(140%); -webkit-backdrop-filter: blur(6px) saturate(140%);
  box-shadow: inset 2px 0 6px rgba(255,0,80,.2), inset -2px 0 6px rgba(0,200,255,.2), 0 4px 16px rgba(0,0,0,.25);
  transition: background .25s, border-color .25s, box-shadow .25s, opacity .25s;
}
.liquid-glass-cursor.cursor-hover-active {
  background: rgba(90,0,217,.15);
  border-color: rgba(159,103,255,.6);
  box-shadow: inset 3px 0 10px rgba(255,0,80,.25), inset -3px 0 10px rgba(0,200,255,.25), 0 0 24px rgba(90,0,217,.4), inset 0 0 16px rgba(90,0,217,.15);
}

/* ── Living background blobs ─────────────────────────────── */
.bg-blobs {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(72px);
  will-change: transform;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.blob-1 { width:380px;height:380px;top:10%;left:5%;  background:radial-gradient(closest-side,rgba(90,0,217,.55),transparent);  animation-name:float-a;animation-duration:12s; }
.blob-2 { width:460px;height:460px;top:55%;right:8%; background:radial-gradient(closest-side,rgba(139,92,246,.45),transparent); animation-name:float-b;animation-duration:15s; }
.blob-3 { width:300px;height:300px;bottom:15%;left:40%;background:radial-gradient(closest-side,rgba(168,85,247,.35),transparent); animation-name:float-c;animation-duration:18s; }

/* ── Reveal animations ───────────────────────────────────── */
.reveal        { opacity:0;transform:translateY(20px); transition:opacity .6s ease,transform .6s ease; }
.reveal-l      { opacity:0;transform:translateX(-28px);transition:opacity .6s ease,transform .6s ease; }
.reveal-r      { opacity:0;transform:translateX(28px); transition:opacity .6s ease,transform .6s ease; }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity:1;transform:none; }
.delay-1 { transition-delay:.1s; }
.delay-2 { transition-delay:.2s; }
.delay-3 { transition-delay:.3s; }
.delay-4 { transition-delay:.4s; }

/* ── Gradient text ───────────────────────────────────────── */
.grad {
  background: linear-gradient(135deg, var(--violet-ll) 0%, var(--violet-l) 45%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
}

/* ── Layout helpers ──────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px,5vw,48px); }
.section   { position: relative; z-index: 1; padding: clamp(64px,8vw,100px) 0; }
.section-sm{ position: relative; z-index: 1; padding: clamp(40px,5vw,64px) 0; }
.text-center { text-align: center; }

/* ── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: 'Sora', sans-serif; color: var(--text1); line-height: 1.1; }
h1 { font-size: clamp(38px,6vw,72px); font-weight: 800; letter-spacing: -1.8px; }
h2 { font-size: clamp(28px,4vw,48px); font-weight: 800; letter-spacing: -1px; }
h3 { font-size: clamp(20px,3vw,26px); font-weight: 700; letter-spacing: -.4px; }
p  { font-size: 16px; line-height: 1.75; color: var(--text3); }
.lead { font-size: clamp(16px,2vw,19px); line-height: 1.72; color: var(--text3); }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ── Chip label ──────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
  background: rgba(90,0,217,.12); border: 1px solid rgba(90,0,217,.28);
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 10px;
  color: var(--violet-ll); letter-spacing: .1em; text-transform: uppercase;
}
.chip-dot { width:7px;height:7px;border-radius:50%;background:var(--violet-ll); animation:pulse-dot 1.4s ease-in-out infinite; }

/* ── NAVBAR ──────────────────────────────────────────────── */
#navbar {
  position: fixed; top:0; left:0; right:0; z-index: 500;
  height: 62px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
#navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(16px,4vw,48px);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--violet-l), var(--violet));
  clip-path: var(--px-clip-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px; color: #fff;
  box-shadow: 0 0 20px rgba(90,0,217,.4); flex-shrink: 0;
  transition: box-shadow .3s;
}
.nav-logo:hover .logo-mark { box-shadow: 0 0 32px rgba(90,0,217,.6); }
.logo-wordmark {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 19px;
  color: var(--text1); letter-spacing: -.4px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 7px 15px; border-radius: 8px; font-size: 14px;
  font-family: 'DM Sans', sans-serif; font-weight: 500; color: var(--text3);
  background: none; border: none; transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--surface-md); color: var(--text1); }
.nav-link.active-link { background: rgba(90,0,217,.18); color: var(--violet-ll); }

/* mobile menu toggle */
.mobile-menu-btn {
  display: none; width:36px; height:36px; border-radius:8px;
  background: var(--surface-md); border: 1px solid var(--border);
  align-items: center; justify-content: center; color: var(--text2);
  transition: background .15s;
}
.mobile-menu-btn:hover { background: var(--surface-hi); }
#mobile-menu {
  display: none; position: fixed; top:62px; left:0; right:0; z-index:499;
  background: var(--nav-bg); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border); padding: 12px 24px 24px;
  animation: fadeIn .18s ease;
}
#mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block; width:100%; padding:14px 0; font-size:16px;
  font-family: 'DM Sans',sans-serif; background:none; border:none;
  color: var(--text2); border-bottom: 1px solid var(--border);
  text-align: left;
}
.mobile-nav-link.active-link { color: var(--violet-ll); }
.mobile-cta { margin-top:16px; display:flex; gap:10px; }

/* ── Pixel buttons ───────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  clip-path: var(--px-clip);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border: none; outline: none; text-decoration: none;
  transition: filter .15s, transform .1s;
  white-space: nowrap;
}
.btn-ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.3);
  pointer-events: none; animation: ripple .6s ease-out forwards;
}
.btn-lg { padding: 16px 36px; font-size: 13px; }
.btn-md { padding: 13px 26px; font-size: 11px; }
.btn-sm { padding: 9px 18px;  font-size: 10px; }
.btn-primary {
  background: linear-gradient(135deg, var(--violet-l), var(--violet));
  color: #fff; filter: drop-shadow(0 0 12px var(--glow));
}
.btn-primary:hover { filter: drop-shadow(0 0 12px var(--glow)) brightness(1.15); }
.btn-primary:active { transform: scale(.96) translateY(1px); }
.btn-outline {
  background: var(--surface);
  border: 1.5px solid var(--border-md);
  color: var(--text2);
}
.btn-outline:hover { background: var(--surface-md); border-color: rgba(139,92,246,.4); color: var(--text1); }
.btn-outline:active { transform: scale(.96) translateY(1px); }
.btn-ghost {
  background: transparent; color: var(--text4);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--border-md); color: var(--text2); }
.btn-success {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff; filter: drop-shadow(0 0 10px rgba(34,197,94,.35));
}
.btn-success:hover { filter: drop-shadow(0 0 10px rgba(34,197,94,.35)) brightness(1.15); }

/* ── Glass cards ─────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.card:hover {
  border-color: rgba(139,92,246,.4);
  box-shadow: 0 16px 50px rgba(90,0,217,.15);
}
.card-glow {
  position: absolute; top:-40px; right:-40px;
  width:150px; height:150px; border-radius:50%;
  background: radial-gradient(closest-side, rgba(90,0,217,.1), transparent);
  filter: blur(40px); pointer-events:none;
}

/* icon box */
.icon-box {
  width:52px; height:52px; border-radius:14px;
  background: rgba(90,0,217,.12); border: 1px solid rgba(90,0,217,.25);
  display: flex; align-items:center; justify-content:center;
  margin-bottom: 20px; transition: background .2s;
}
.card:hover .icon-box { background: rgba(90,0,217,.2); }
.icon-box.red    { background:rgba(239,68,68,.1);  border-color:rgba(239,68,68,.25); }
.icon-box.orange { background:rgba(249,115,22,.1); border-color:rgba(249,115,22,.25); }
.icon-box.blue   { background:rgba(59,130,246,.1); border-color:rgba(59,130,246,.25); }
.icon-box.green  { background:rgba(34,197,94,.1);  border-color:rgba(34,197,94,.25); }
.icon-box.yellow { background:rgba(234,179,8,.1);  border-color:rgba(234,179,8,.25); }
.card:hover .icon-box.red    { background:rgba(239,68,68,.2); }
.card:hover .icon-box.orange { background:rgba(249,115,22,.2); }
.card:hover .icon-box.blue   { background:rgba(59,130,246,.2); }
.card:hover .icon-box.green  { background:rgba(34,197,94,.2); }
.card:hover .icon-box.yellow { background:rgba(234,179,8,.2); }

/* number badge for Trinity cards */
.card-badge {
  position:absolute; top:-16px; left:24px;
  width:32px; height:32px; border-radius:50%;
  background:linear-gradient(135deg,var(--violet-l),var(--violet));
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono',monospace; font-weight:700; font-size:12px; color:#fff;
  box-shadow:0 0 16px var(--glow);
}

/* bullet list */
.bullet-list { list-style:none; display:flex; flex-direction:column; gap:8px; margin-top:16px; }
.bullet-list li { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--text4); }
.bullet-dot { width:6px;height:6px;border-radius:50%;background:var(--violet-l);flex-shrink:0; }

/* ── Section dividers ────────────────────────────────────── */
.section-divider {
  width:100%; height:1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
}
.section-alt { background: rgba(255,255,255,.018); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

/* ── HERO ────────────────────────────────────────────────── */
.hero { min-height: 90vh; display:flex; align-items:center; justify-content:center; text-align:center; padding: clamp(88px,12vw,120px) clamp(16px,5vw,80px) 64px; position:relative; z-index:1; }
.hero-inner { max-width: 840px; }
.hero h1 { margin-bottom: 24px; animation: fadeUp .6s .08s ease both; }
.hero .lead { max-width: 520px; margin: 0 auto 12px; animation: fadeUp .6s .16s ease both; }
.hero-sub { font-size: 15px; color: var(--text5); max-width:440px; margin: 0 auto 40px; animation: fadeUp .6s .22s ease both; }
.hero-cta { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; animation: fadeUp .6s .28s ease both; }
.hero-badge { animation: fadeUp .6s ease both; margin-bottom: 28px; }
.hero-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:520px; margin:56px auto 0; animation: fadeUp .6s .38s ease both; }
.stat-card {
  padding:20px 16px; background:var(--surface); border:1px solid var(--border); border-radius:16px;
  backdrop-filter: blur(12px);
}
.stat-value { font-family:'Sora',sans-serif; font-weight:800; font-size:28px; color:var(--text1); margin-bottom:4px; }
.stat-label { font-size:11px; color:var(--text5); font-family:'JetBrains Mono',monospace; letter-spacing:.05em; }

/* ── SECTION headers ─────────────────────────────────────── */
.section-header { text-align:center; margin-bottom:clamp(40px,6vw,64px); }
.section-header h2 { margin-bottom:12px; }
.section-header p { max-width:500px; margin:0 auto; }

/* ── Grids ───────────────────────────────────────────────── */
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }
.grid-2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:28px; }
.grid-2-5 { display:grid; grid-template-columns:2fr 3fr; gap:40px; align-items:start; }
.grid-equity { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }

/* ── Equity visual ───────────────────────────────────────── */
.equity-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:32px; }
.equity-total { text-align:center; margin-bottom:28px; }
.equity-total .big-num { font-family:'Sora',sans-serif;font-weight:900;font-size:64px;color:var(--text1);line-height:1; }
.equity-total .big-num span { color:var(--violet-ll); }
.equity-row {
  display:flex; align-items:center; gap:16px; padding:16px; border-radius:14px; margin-bottom:12px;
  background:rgba(90,0,217,.08); border:1px solid rgba(90,0,217,.22);
}
.equity-row.secondary { background:var(--surface-md); border-color:var(--border); }
.equity-pct { font-family:'Sora',sans-serif;font-weight:800;font-size:28px;color:var(--violet-ll);min-width:60px; }
.equity-pct.secondary { color:var(--text4); }
.equity-row h4 { font-size:14px;font-weight:600;color:var(--text1);margin-bottom:2px; }
.equity-row p  { font-size:12px;color:var(--text4);line-height:1.5; }

/* ── Timeline ────────────────────────────────────────────── */
.timeline { position:relative; padding-left:clamp(24px,5vw,48px); }
.timeline::before {
  content:''; position:absolute;
  top:20px; bottom:20px;
  left:clamp(11px,2.5vw,23px);
  width:2px;
  background:linear-gradient(to bottom,transparent,var(--violet),var(--orange),transparent);
  box-shadow:0 0 16px var(--violet);
}
.timeline-item { position:relative; margin-bottom:40px; }
.timeline-item:last-child { margin-bottom:0; }
.timeline-dot {
  position:absolute; top:28px;
  left:calc(-1 * clamp(24px,5vw,48px));
  transform:translateX(-5px);
  width:12px; height:12px; border-radius:50%;
  background:var(--bg); border:2.5px solid var(--violet-ll);
  box-shadow:0 0 12px var(--violet); z-index:2;
}
.timeline-dot.done { background:var(--violet-ll); border-color:var(--violet-ll); }
.timeline-card { background:var(--surface); border:1px solid var(--border-md); border-radius:16px; padding:24px 28px; }
.timeline-card h3 { margin-bottom:8px; }
.timeline-card p  { font-size:14px; color:var(--text4); line-height:1.65; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display:flex; flex-direction:column; gap:12px; }
.faq-item {
  background:var(--surface); border:1px solid var(--border); border-radius:14px;
  overflow:hidden; transition:border-color .3s;
}
.faq-item.active { border-color:rgba(139,92,246,.5); background:rgba(20,16,34,.8); }
.faq-toggle {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:20px 24px; background:none; border:none; text-align:left;
  font-family:'DM Sans',sans-serif; font-size:15px; font-weight:600; color:var(--text1);
  gap:16px;
}
.faq-chevron {
  width:20px; height:20px; color:var(--violet-ll); flex-shrink:0;
  transition:transform .3s;
}
.faq-chevron.rotated { transform:rotate(180deg); }
.faq-answer { padding:0 24px 20px; font-size:14px; color:var(--text3); line-height:1.7; }

/* ── Status badges ───────────────────────────────────────── */
.badge {
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 10px; border-radius:20px;
  font-family:'JetBrains Mono',monospace; font-weight:700; font-size:10px;
  letter-spacing:.05em;
}
.badge-green  { background:rgba(34,197,94,.1);  border:1px solid rgba(34,197,94,.3);  color:#4ade80; }
.badge-yellow { background:rgba(234,179,8,.1);  border:1px solid rgba(234,179,8,.3);  color:#facc15; }
.badge-blue   { background:rgba(59,130,246,.1); border:1px solid rgba(59,130,246,.3); color:#60a5fa; }
.badge-purple { background:rgba(139,92,246,.1); border:1px solid rgba(139,92,246,.3); color:var(--violet-ll); }
.badge-dot { width:6px;height:6px;border-radius:50%; }
.badge-green  .badge-dot { background:#4ade80; animation:pulse-dot 1.4s ease-in-out infinite; }
.badge-yellow .badge-dot { background:#facc15; }
.badge-blue   .badge-dot { background:#60a5fa; }

/* ── Project cards ───────────────────────────────────────── */
.project-card {
  background:var(--surface); border:1px solid var(--border-md); border-radius:20px;
  padding:28px; position:relative; overflow:hidden;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.23,1,.32,1), border-color .2s, box-shadow .2s;
  /* Deeper resting shadow for dimensionality */
  box-shadow: 0 4px 24px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.04) inset;
  will-change: transform;
}
.project-card:hover {
  border-color:rgba(139,92,246,.55);
  box-shadow: 0 28px 80px rgba(90,0,217,.22), 0 8px 32px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.06) inset;
}

/* Shine / glare overlay for 3D effect */
.card-shine {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0;
  transition: opacity .25s;
  z-index: 1;
}
.project-card .badge { position:absolute; top:20px; right:20px; z-index:2; }
.project-title { font-family:'Sora',sans-serif; font-weight:800; font-size:22px; color:var(--text1); margin-bottom:6px; padding-right:90px; position:relative; z-index:2; }
.project-desc { font-size:13px; color:var(--text5); line-height:1.65; margin-bottom:20px; position:relative; z-index:2; }
.project-team {
  background:var(--surface-md); border:1px solid var(--border); border-radius:12px;
  padding:14px; margin-bottom:20px; position:relative; z-index:2;
}
.team-row { display:flex; align-items:center; justify-content:space-between; padding:4px 0; font-size:13px; }
.team-role { color:var(--text5); }
.team-name { color:var(--text1); font-weight:600; }
.project-actions { display:flex; gap:10px; position:relative; z-index:2; }
.project-actions .btn { flex:1; font-size:10px; padding:12px 16px; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  position:relative; overflow:hidden;
  background:rgba(90,0,217,.07); border:1px solid rgba(90,0,217,.22);
  border-radius:24px; padding:clamp(48px,8vw,80px) clamp(24px,5vw,60px);
  text-align:center; box-shadow:0 0 80px rgba(90,0,217,.08);
}
.cta-banner::before {
  content:''; position:absolute; top:-60px; right:-60px;
  width:240px;height:240px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(90,0,217,.22),transparent);
  filter:blur(60px); pointer-events:none;
}
.cta-banner .cta-subtitle {
  font-family:'JetBrains Mono',monospace;font-size:10px;color:var(--violet-ll);
  letter-spacing:.14em; margin-bottom:16px; text-transform:uppercase;
}
.cta-banner h2 { margin-bottom:14px; }
.cta-banner p  { max-width:400px; margin:0 auto 36px; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ── Advanced access ─────────────────────────────────────── */
.access-section { text-align:center; }
.access-section h2 { margin-bottom:12px; }
.access-section p  { max-width:540px; margin:0 auto 28px; }
.access-note { font-size:11px; color:var(--text5); margin-top:12px; font-family:'JetBrains Mono',monospace; }

/* ── FORM ────────────────────────────────────────────────── */
.form-grid { display:grid; grid-template-columns:2fr 3fr; gap:40px; align-items:start; }
.form-sidebar { display:flex; flex-direction:column; gap:20px; }
.requirements-card, .roles-card {
  background:var(--surface); border:1px solid var(--border-md); border-radius:18px; padding:28px;
}
.requirements-card h3, .roles-card h3 { margin-bottom:18px; font-size:18px; }
.req-list { display:flex; flex-direction:column; gap:16px; }
.req-item { display:flex; align-items:flex-start; gap:12px; }
.req-icon {
  width:30px; height:30px; border-radius:8px;
  background:rgba(90,0,217,.12); border:1px solid rgba(90,0,217,.25);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px;
}
.req-item h4 { font-size:13px; font-weight:600; color:var(--text1); margin-bottom:2px; }
.req-item p  { font-size:12px; color:var(--text4); line-height:1.5; }
.role-item {
  padding:12px; border-radius:10px;
  background:var(--surface-md); border:1px solid var(--border); margin-bottom:10px;
}
.role-item:last-child { margin-bottom:0; }
.role-item h4 { font-size:12px; font-weight:700; color:var(--text1); margin-bottom:2px; }
.role-item p  { font-size:11px; color:var(--text5); }
.form-card {
  background:var(--surface); border:1px solid var(--border-md); border-radius:20px;
  padding:clamp(24px,4vw,40px); box-shadow:0 0 30px rgba(90,0,217,.06);
}
.form-card h3  { font-size:24px; margin-bottom:6px; }
.form-card > p { font-size:13px; color:var(--text5); margin-bottom:36px; }
.form-group { margin-bottom:24px; }
.form-label {
  display:block; font-size:13px; font-weight:600; color:var(--text1); margin-bottom:8px;
}
.form-label .optional { color:var(--text5); font-weight:400; }
.form-input, .form-select, .form-textarea {
  width:100%; padding:14px 16px; border-radius:12px;
  background:var(--surface-md); border:1px solid var(--border-md);
  color:var(--text1); font-family:'DM Sans',sans-serif; font-size:14px;
  transition:border-color .2s, box-shadow .2s; outline:none;
}
.form-input::placeholder, .form-textarea::placeholder { color:var(--text5); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color:var(--violet-l);
  box-shadow:0 0 0 3px rgba(139,92,246,.15);
}
.form-select { appearance:none; cursor:pointer; }
.form-textarea { resize:none; }
.word-counter { display:flex; justify-content:flex-end; margin-top:4px; font-size:11px; color:var(--text5); font-family:'JetBrains Mono',monospace; }
.form-checkbox-row { display:flex; align-items:flex-start; gap:12px; padding:16px; border-radius:12px; background:var(--surface-md); border:1px solid var(--border); }
.form-checkbox { width:16px;height:16px;flex-shrink:0;margin-top:2px;accent-color:var(--violet-l); cursor:pointer; }
.form-checkbox-row label { font-size:13px; color:var(--text4); cursor:pointer; line-height:1.6; }
.form-error { font-size:11px; color:#f87171; margin-top:4px; display:none; }
.form-error.visible { display:block; }
input.error, textarea.error, select.error { border-color:#ef4444 !important; box-shadow:0 0 0 2px rgba(239,68,68,.15) !important; }
#form-success {
  display:none; padding:40px 32px; border-radius:18px;
  background:rgba(34,197,94,.08); border:1px solid rgba(34,197,94,.25); text-align:center;
  animation: fadeUp .5s ease-out forwards;
}
#form-success .success-icon {
  width:64px;height:64px;border-radius:50%;background:rgba(34,197,94,.15);
  display:flex;align-items:center;justify-content:center;margin:0 auto 20px;
}
#form-success h3 { margin-bottom:8px; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  border-top:1px solid var(--border);
  background:#030305; position:relative; z-index:1;
  padding:clamp(40px,6vw,60px) 0 28px;
}
.footer-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-bottom:32px; align-items:start; }
.footer-brand .logo-wordmark { font-size:17px; display:block; margin-bottom:12px; }
.footer-brand p { font-size:12px; color:var(--text5); line-height:1.7; max-width:200px; }
.footer-links { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.footer-col h4 { font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:700; color:var(--text5); text-transform:uppercase; letter-spacing:.8px; margin-bottom:14px; }
.footer-col a, .footer-col button {
  display:block; background:none; border:none; text-align:left; padding:0;
  font-family:'DM Sans',sans-serif; font-size:13px; color:var(--text4);
  margin-bottom:10px; transition:color .15s;
}
.footer-col a:hover, .footer-col button:hover { color:var(--violet-ll); }
.footer-bottom {
  border-top:1px solid var(--border); padding-top:20px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
}
.footer-copyright { font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--text5); }

/* ── Back to top ─────────────────────────────────────────── */
#back-to-top {
  position:fixed; bottom:24px; right:24px; z-index:40;
  width:44px; height:44px; border:none;
  background:linear-gradient(135deg,var(--violet-l),var(--violet));
  clip-path:var(--px-clip-sm);
  display:flex; align-items:center; justify-content:center;
  color:#fff; box-shadow:0 0 20px var(--glow);
  opacity:0; transform:translateY(16px); pointer-events:none;
  transition:opacity .3s, transform .3s, filter .15s;
}
#back-to-top.visible { opacity:1; transform:translateY(0); pointer-events:auto; }
#back-to-top:hover { filter:brightness(1.15); }

/* ── Spacer for fixed nav ────────────────────────────────── */
.nav-spacer { height: 62px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width:900px) {
  .nav-links, .nav-cta-desktop { display:none; }
  .mobile-menu-btn { display:flex; }
  .grid-2-5, .grid-equity, .form-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .hero-stats { grid-template-columns:1fr 1fr 1fr; }
}
@media (max-width:600px) {
  .grid-3 { grid-template-columns:1fr; }
  .grid-2 { grid-template-columns:1fr; }
  .hero-stats { grid-template-columns:1fr; }
  .hero-cta { flex-direction:column; align-items:center; }
  .cta-actions { flex-direction:column; align-items:center; }
}

/* ── Skeleton loaders ────────────────────────────────────── */
@keyframes sk-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.skeleton-card { pointer-events:none; }
.sk {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-md) 50%, var(--surface) 75%);
  background-size: 800px 100%;
  animation: sk-shimmer 1.4s infinite;
}
.sk-badge   { width:80px;  height:22px; margin-bottom:16px; }
.sk-title   { width:65%;   height:26px; margin-bottom:12px; border-radius:6px; }
.sk-text    { width:100%;  height:14px; margin-bottom:8px;  border-radius:4px; }
.sk-team    { width:100%;  height:88px; margin:16px 0;      border-radius:12px; }
.sk-actions { width:100%;  height:42px; margin-top:4px;     border-radius:8px; }

/* ── Franchise error state ───────────────────────────────── */
.franchise-error {
  display:flex; align-items:center; gap:14px;
  padding:24px 28px; border-radius:16px;
  background:rgba(239,68,68,.07); border:1px solid rgba(239,68,68,.2);
  color:var(--text3); font-size:14px; grid-column:1/-1;
}
.franchise-error code { font-family:'JetBrains Mono',monospace; font-size:12px; color:#f87171; }

/* ── WIP Modal (Discord-styled) ──────────────────────────── */
@keyframes wip-in {
  from { opacity:0; transform:scale(.93) translateY(12px); }
  to   { opacity:1; transform:scale(1)   translateY(0);    }
}
@keyframes wip-dot-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.75); }
}

.wip-overlay {
  position:fixed; inset:0; z-index:10000;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  opacity:0; pointer-events:none;
  transition:opacity .2s ease;
}
.wip-overlay.open {
  opacity:1; pointer-events:auto;
}
.wip-overlay.open .wip-modal {
  animation: wip-in .25s cubic-bezier(.34,1.56,.64,1) forwards;
}

.wip-modal {
  position:relative; display:flex; overflow:hidden;
  width:100%; max-width:440px;
  background:#1e1f22; /* Discord dark bg */
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  box-shadow: 0 24px 80px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04);
  transform-origin: center bottom;
  opacity:0; /* will be animated in */
}

/* Left accent stripe like Discord embeds */
.wip-sidebar-accent {
  width:4px; flex-shrink:0;
  background:linear-gradient(180deg, #5865f2, #7289da);
  border-radius:4px 0 0 4px;
}

.wip-modal-body {
  flex:1; padding:20px 22px 20px 18px;
}

.wip-header {
  display:flex; align-items:flex-start; gap:12px; margin-bottom:14px;
}
.wip-header-text { flex:1; min-width:0; }

.wip-icon-wrap {
  width:38px; height:38px; flex-shrink:0;
  background:rgba(88,101,242,.18); border:1px solid rgba(88,101,242,.35);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
}
.wip-icon {
  width:18px; height:18px;
  stroke:#f0b132; /* warning yellow */
}

.wip-title {
  font-family:'Sora',sans-serif; font-weight:700; font-size:15px;
  color:#ffffff; line-height:1.2; margin-bottom:2px;
}
.wip-subtitle {
  font-family:'JetBrains Mono',monospace; font-size:10px;
  color:#72767d; letter-spacing:.08em; text-transform:uppercase;
}

.wip-close {
  background:transparent; border:none; outline:none;
  color:#72767d; padding:4px; border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  transition:color .15s, background .15s;
  flex-shrink:0;
}
.wip-close:hover { color:#dcddde; background:rgba(255,255,255,.07); }

/* Status chip row */
.wip-badge-row {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:12px;
}
.wip-chip {
  display:inline-flex; align-items:center; gap:6px;
  padding:3px 10px; border-radius:12px;
  background:rgba(240,177,50,.12); border:1px solid rgba(240,177,50,.28);
  font-family:'JetBrains Mono',monospace; font-size:9px; font-weight:700;
  color:#f0b132; letter-spacing:.1em; text-transform:uppercase;
}
.wip-chip-dot {
  width:6px; height:6px; border-radius:50%; background:#f0b132;
  animation:wip-dot-pulse 1.4s ease-in-out infinite;
}
.wip-version {
  font-family:'JetBrains Mono',monospace; font-size:9px;
  color:#4f545c; letter-spacing:.06em;
}

/* Description */
.wip-desc {
  font-size:13px; color:#b9bbbe; line-height:1.65; margin-bottom:16px;
}
.wip-desc strong { color:#ffffff; }

/* Progress bar */
.wip-progress-wrap { margin-bottom:18px; }
.wip-progress-label {
  display:flex; justify-content:space-between; align-items:center;
  font-family:'JetBrains Mono',monospace; font-size:10px; color:#72767d;
  margin-bottom:6px;
}
.wip-progress-pct { color:#5865f2; font-weight:700; }
.wip-progress-track {
  height:6px; background:rgba(255,255,255,.07); border-radius:99px; overflow:hidden;
}
.wip-progress-bar {
  height:100%; width:0;
  background:linear-gradient(90deg, #5865f2, #7289da);
  border-radius:99px;
  transition: width .8s cubic-bezier(.34,1.56,.64,1);
  box-shadow:0 0 8px rgba(88,101,242,.5);
}

.wip-divider {
  height:1px; background:rgba(255,255,255,.06); margin-bottom:16px;
}

/* Actions */
.wip-actions { display:flex; gap:10px; flex-wrap:wrap; }
.wip-actions .btn { font-size:10px !important; padding:10px 16px !important; }

/* Mobile WIP tweaks */
@media (max-width:480px) {
  .wip-modal { max-width:100%; }
  .wip-actions { flex-direction:column; }
  .wip-actions .btn { width:100%; justify-content:center; }
}

/* ── Mobile-specific card improvements ───────────────────── */
@media (max-width:600px) {
  .project-card { padding:20px; }
  .project-title { font-size:18px; padding-right:80px; }
  .project-actions { flex-direction:column; gap:8px; }
  .project-actions .btn { flex:none; width:100%; }

  /* Disable 3D tilt on touch — use a subtle press instead */
  .project-card:active {
    transform: scale(.985) !important;
    transition: transform .1s !important;
    box-shadow: 0 4px 20px rgba(90,0,217,.12) !important;
  }

  /* Larger tap targets */
  .btn { min-height: 44px; }
  .nav-inner { padding: 0 16px; }

  /* Improve grid on very small screens */
  .grid-2 { gap:16px; }
}

@media (max-width:380px) {
  .project-title { font-size:16px; }
  .wip-modal-body { padding:16px 14px 16px 12px; }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
  body { background:#fff; color:#000; }
  nav, footer, #back-to-top, .bg-blobs, #scroll-bar { display:none !important; }
}
