:root{
  --bg:#070b14; --card:#0f1830; --card2:#0c1429; --text:#e7e7e7;
  --muted:rgba(231,231,231,.72); --border:rgba(231,231,231,.12);
  --teal:#22c6c6;
  --accent:#22c6c6; --accent2:#9ad0ff; --good:#7cffb2;
}
*{box-sizing:border-box}
html,body{height:100%}

/* Teal tech background: subtle grid + "laser" sweeps */
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  /* one tall "sky" gradient (no visible tiling) */
  background:
    radial-gradient(1200px 800px at 18% 12%, rgba(34,198,198,.20), transparent 62%),
    radial-gradient(1000px 700px at 86% 18%, rgba(154,208,255,.14), transparent 58%),
    radial-gradient(900px 700px at 70% 85%, rgba(34,198,198,.12), transparent 62%),
    linear-gradient(180deg, rgba(7,11,20,1) 0%, rgba(5,10,18,1) 40%, rgba(4,7,14,1) 100%);
  background-repeat:no-repeat;
  background-size: 100% 220vh;
  background-attachment: fixed;

  color:var(--text);
  line-height:1.35;
  position:relative;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:.50;
  background:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  /* fade the grid slowly down the page (not a short swatch) */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 30%, rgba(0,0,0,.45) 70%, rgba(0,0,0,0) 110%);
}
body::after{
  content:"";
  position:fixed;
  inset:-20% -20%;
  pointer-events:none;
  z-index:0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(34,198,198,.10) 50%, transparent 60%),
    linear-gradient(115deg, transparent 55%, rgba(154,208,255,.08) 62%, transparent 70%);
  transform: translateX(-15%);
  animation: cc_lasers 10s linear infinite;
  opacity:.7;
  filter: blur(0.2px);
}
@keyframes cc_lasers{
  0%{transform: translateX(-18%) translateY(0%)}
  100%{transform: translateX(18%) translateY(0%)}
}
@media (prefers-reduced-motion: reduce){
  body::after{animation:none; opacity:.35}
}

/* ensure content sits above background layers */
header, main, footer, .cf_btn, .cf_panel, .cc_modal, .lb { position:relative; z-index:1; }
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:1120px; margin:0 auto; padding:0 18px}
.row{display:flex; align-items:center; gap:12px}
.between{justify-content:space-between}

.top{position:sticky; top:0; z-index:20; backdrop-filter: blur(10px); background:rgba(11,15,26,.72); border-bottom:1px solid var(--border)}
.topbar{display:grid; grid-template-columns: auto 1fr auto; align-items:center; gap:12px;}
.brand{display:flex; align-items:center; gap:12px; padding:14px 0}
.logo{width:38px; height:38px; border-radius:12px; background:rgba(34,198,198,.10); border:1px solid rgba(34,198,198,.35); display:flex; align-items:center; justify-content:center;}
.logoSvg{width:26px; height:26px; display:block; filter: drop-shadow(0 4px 14px rgba(34,198,198,.12));}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-sub{font-size:12px; color:var(--muted)}

.nav{display:flex; gap:14px; align-items:center; justify-content:flex-end}
.nav a{color:rgba(231,231,231,.84); font-size:14px}

.audSwitch{justify-self:center; display:inline-flex; gap:8px; align-items:center; padding:6px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background: rgba(0,0,0,0.14);}
.audBtn{appearance:none; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: rgba(231,231,231,.84); padding:7px 10px; border-radius:999px; font-weight:800; font-size:12px; cursor:pointer; white-space:nowrap;}
.audBtn.on{border-color: rgba(34,198,198,.55); background: rgba(34,198,198,.12); color: rgba(231,231,231,.92);}
@media (max-width: 860px){
  .topbar{grid-template-columns: 1fr; justify-items:center;}
  .brand{justify-content:center;}
  .nav{justify-content:center; flex-wrap:wrap;}
}

.hero{padding:62px 0 24px}
.hero-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; align-items:stretch}
.hero h1{font-size:44px; line-height:1.05; margin:0}
.lede{font-size:18px; color:rgba(231,231,231,.86); margin:14px 0 0; max-width:64ch}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:11px 14px; border-radius:12px; border:1px solid rgba(34,198,198,.28); background:linear-gradient(180deg, rgba(34,198,198,.22), rgba(34,198,198,.10)); color:var(--text); font-weight:750; cursor:pointer}
.btn:hover{text-decoration:none; border-color: rgba(34,198,198,.60); background:linear-gradient(180deg, rgba(34,198,198,.28), rgba(34,198,198,.12))}
.btn.ghost{background:rgba(255,255,255,.04)}
.btn.ghost:hover{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.06)}
.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}

.micro{margin-top:14px; display:flex; gap:8px; flex-wrap:wrap}
.pill{border:1px solid var(--border); background:rgba(255,255,255,.04); padding:6px 10px; border-radius:999px; font-size:12px; color:var(--muted)}

.section{padding:44px 0}
.section h2{margin:0 0 12px; font-size:26px}

/* FAQ accordion */
#faq .card{background: rgba(17,24,42,.80)}
.faqItem{padding:0; overflow:hidden}
.faqQ{width:100%; display:flex; justify-content:space-between; gap:12px; align-items:center; padding:14px 14px; border:0; background:transparent; color: rgba(231,231,231,.90); cursor:pointer; text-align:left}
.faqQ:hover{background: rgba(255,255,255,.03)}
.faqQ b{font-size:16px}
.faqChevron{color: rgba(231,231,231,.60); font-size:13px}
.faqA{display:none; padding:0 14px 14px 14px; color: rgba(231,231,231,.78)}
.faqA p{margin:0 0 10px}
.faqA ul{margin:10px 0 0 18px; color: rgba(231,231,231,.84)}
.faqItem.open .faqA{display:block}
.faqItem.open .faqChevron{transform: rotate(90deg)}

.card{border:1px solid var(--border); border-radius:14px; background:rgba(17,24,42,.88); padding:16px; box-shadow: 0 12px 30px rgba(0,0,0,.25)}
.card h3{margin:0 0 8px}
.card p{margin:0}
.card ul{margin:10px 0 0 18px; color:rgba(231,231,231,.86)}
.muted{color:var(--muted)}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:16px}
#faq .grid2{align-items:start}

/* Padded bullet lists for dense columns */
.padList{margin:14px 0 0 18px; color:rgba(231,231,231,.86)}
.padList li{margin:10px 0; line-height:1.45}

/* Modules section breathes a bit more */
#modules .grid2{gap:18px}
#modules .card{padding:18px}
#modules .card ul{margin-top:12px}

.hero-card{border:1px solid rgba(154,208,255,.22); background:linear-gradient(180deg, rgba(17,24,42,.92), rgba(15,21,38,.90)); border-radius:16px; overflow:hidden}
.hero-card-top{display:flex; align-items:center; gap:8px; padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.08)}
.hero-card-title{margin-left:auto; font-weight:750; color:rgba(231,231,231,.86); font-size:13px}
.dot{width:10px; height:10px; border-radius:99px; opacity:.85}
.dot.red{background:#ff6b6b} .dot.yellow{background:#ffd166} .dot.green{background:#7cffb2}
.hero-card-body{padding:14px}
.kpi{display:flex; justify-content:space-between; gap:10px; padding:10px 12px; border:1px solid rgba(255,255,255,.08); border-radius:12px; background:rgba(255,255,255,.03); margin-bottom:10px}
.kpi .k{font-weight:700} .kpi .v{color:var(--muted)}
.hint{font-size:12px; color:var(--muted); margin-top:8px}

.price{font-size:32px; font-weight:850; margin:4px 0 8px}
.glow{border-color: rgba(180,108,255,.30); box-shadow: 0 0 0 1px rgba(180,108,255,.12), 0 20px 45px rgba(180,108,255,.10)}

.footer{padding:26px 0 38px; border-top:1px solid var(--border); background:rgba(11,15,26,.75)}

/* Early access CTA */
.ea_card{
  border-color: rgba(34,198,198,.34);
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(34,198,198,.10), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(154,208,255,.08), transparent 55%),
    linear-gradient(180deg, rgba(15,24,48,.90), rgba(10,16,33,.90));
  box-shadow: 0 0 0 1px rgba(34,198,198,.12), 0 30px 70px rgba(0,0,0,.35);
  padding:20px; /* give the main content breathing room */
}
.ea_grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:18px; align-items:stretch}
.ea_copy{padding:4px 6px}
.ea_pill{
  display:inline-flex;
  margin-bottom:14px;
  color: rgba(34,198,198,.95);
  border-color: rgba(34,198,198,.55);
  background: rgba(34,198,198,.08);
  box-shadow: 0 0 0 1px rgba(34,198,198,.10);
}
.ea_title{margin:0; font-size:20px; font-weight:900; letter-spacing:.1px}
.ea_list{margin:12px 0 0 18px; color:rgba(231,231,231,.84)}
.ea_formwrap{border:1px solid rgba(34,198,198,.18); border-radius:14px; background:rgba(255,255,255,.03); padding:14px;}
.ea_form{margin-top:0}
.ea_btn{width:100%; justify-content:center; padding:12px 14px; border-color: rgba(34,198,198,.55); box-shadow: 0 0 0 1px rgba(34,198,198,.12), 0 18px 40px rgba(34,198,198,.12)}
.ea_links{display:flex; gap:10px; justify-content:center; align-items:center; margin-top:10px; font-size:12px}
.ea_links a{color: rgba(231,231,231,.76)}
.ea_links a:hover{color: rgba(231,231,231,.92)}

@media (max-width: 900px){
  .ea_grid{grid-template-columns: 1fr}
}

/* Waitlist popup (V1) */
.cc_modal{position:fixed; inset:0; z-index:80; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(0,0,0,.65); backdrop-filter: blur(6px);}
.cc_modal.open{display:flex}
.cc_box{width:min(980px, 96vw); border:1px solid rgba(255,255,255,.14); border-radius:16px; background:rgba(11,15,26,.94); box-shadow: 0 25px 70px rgba(0,0,0,.55); overflow:hidden}
.cc_box_grid{display:grid; grid-template-columns: 1fr 1fr;}
.cc_left{padding:14px; background:rgba(255,255,255,.03); border-right:1px solid rgba(255,255,255,.10)}
.cc_left a{display:block}
.cc_left img{width:100%; height:auto; border-radius:12px; border:1px solid rgba(255,255,255,.10); cursor: zoom-in}
.cc_left img:hover{border-color: rgba(154,208,255,.45)}
.cc_right{padding:16px}
.cc_head{display:flex; align-items:flex-start; justify-content:space-between; gap:10px}
.cc_head b{font-size:16px}
.cc_close{background:transparent; border:1px solid rgba(255,255,255,.18); color:var(--text); border-radius:12px; padding:8px 10px; cursor:pointer}
.cc_p{margin:10px 0 0; color:rgba(231,231,231,.86)}
.cc_form{margin-top:12px; display:grid; gap:10px}
.cc_form input{width:100%; padding:10px 12px; border-radius:12px; border:1px solid rgba(255,255,255,.14); background:#0d1426; color:var(--text)}
.cc_msg{font-size:13px; color:var(--muted)}
.cc_msg.ok{color:#7cffb2}
.cc_msg.err{color:#ff8c8c}
.cc_row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.cc_note{font-size:12px; color:var(--muted); margin-top:10px}
@media (max-width: 980px){.cc_box_grid{grid-template-columns:1fr}.cc_left{border-right:none;border-bottom:1px solid rgba(255,255,255,.10)}}

/* Clawdio Feedback (floating panel) */
.cf_btn{position:fixed; right:12px; bottom:18px; z-index:50; display:inline-flex; align-items:center; gap:10px; padding:10px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.20); background:rgba(255,255,255,.06); color:var(--text); font-weight:800; cursor:pointer; backdrop-filter: blur(10px);}
.cf_btn:hover{border-color: rgba(154,208,255,.55)}
.cf_dot{width:10px; height:10px; border-radius:99px; background:linear-gradient(180deg, rgba(180,108,255,.9), rgba(154,208,255,.9)); box-shadow: 0 0 0 3px rgba(180,108,255,.12)}

.cf_panel{position:fixed; top:0; right:0; height:100vh; width:min(520px, 92vw); z-index:60; transform: translateX(103%); transition: transform 220ms ease; border-left:1px solid rgba(255,255,255,.12); background:rgba(11,15,26,.92); backdrop-filter: blur(12px);}
.cf_panel.open{transform: translateX(0%)}
.cf_head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 14px; border-bottom:1px solid rgba(255,255,255,.10)}
.cf_title{display:flex; flex-direction:column; gap:2px}
.cf_title b{font-size:14px}
.cf_title span{font-size:12px; color:var(--muted)}
.cf_close{background:transparent; border:1px solid rgba(255,255,255,.18); color:var(--text); border-radius:12px; padding:8px 10px; cursor:pointer}
.cf_body{padding:14px; overflow:auto; height: calc(100vh - 56px)}
.cf_body h3{margin:14px 0 8px; font-size:14px}
.cf_body p{margin:0 0 10px}
.cf_kv{display:grid; grid-template-columns: 1fr auto; gap:8px; padding:10px 12px; border:1px solid rgba(255,255,255,.10); border-radius:12px; background:rgba(255,255,255,.03); margin-bottom:10px}
.cf_score{font-weight:900; color:rgba(231,231,231,.92)}
.cf_tag{font-size:12px; color:var(--muted)}
.cf_list{margin:8px 0 0 18px; color:rgba(231,231,231,.86)}

/* Generic lightbox */
.lb{position:fixed; inset:0; z-index:90; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(0,0,0,.75); backdrop-filter: blur(6px);}
.lb.open{display:flex}
.lb_img{max-width: min(1400px, 96vw); max-height: 86vh; width:auto; height:auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 25px 80px rgba(0,0,0,.6);} 
.lb_cap{position:fixed; left:50%; bottom:14px; transform:translateX(-50%); z-index:95; max-width:min(1100px, 92vw); background:rgba(11,15,26,.75); border:1px solid rgba(255,255,255,.18); color:rgba(231,231,231,.92); border-radius:999px; padding:8px 12px; font-size:12px; text-align:center}
.lb_prev,.lb_next{position:fixed; top:50%; transform:translateY(-50%); z-index:95; background:rgba(11,15,26,.70); border:1px solid rgba(255,255,255,.20); color:var(--text); border-radius:999px; width:44px; height:44px; cursor:pointer}
.lb_prev{left:14px}
.lb_next{right:14px}
.lb_prev:hover,.lb_next:hover{border-color: rgba(34,198,198,.60)}

.lb_close{position:fixed; top:14px; right:14px; z-index:95; background:rgba(11,15,26,.75); border:1px solid rgba(255,255,255,.20); color:var(--text); border-radius:12px; padding:8px 10px; cursor:pointer}
.lb_close:hover{border-color: rgba(154,208,255,.55)}

@media (max-width: 980px){
  /* Mobile perf: kill the heavy fixed + animated backgrounds */
  body{background:#04070e; background-attachment: scroll;}
  body::before{display:none;}
  body::after{display:none;}

  .hero-grid{grid-template-columns:1fr;}
  .hero h1{font-size:38px}
  .nav{display:none}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .cf_btn{right:10px; bottom:12px}
}


/* HAMBURGER NAV */
.hamburger{ margin-left:auto; position:relative; }
.iconBtn{ background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color:#fff; border-radius: 10px; padding: 10px 12px; font-size: 18px; line-height: 1; cursor:pointer; }
.iconBtn:hover{ background: rgba(255,255,255,0.10); }
.navMenu{ position:absolute; right:0; top: 46px; min-width: 280px; background: rgba(16,16,20,0.96); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 10px; box-shadow: 0 18px 60px rgba(0,0,0,0.45); z-index: 30; }
.navMenu a{ display:block; padding: 10px 10px; border-radius: 10px; color: rgba(255,255,255,0.92); text-decoration:none; }
.navMenu a:hover{ background: rgba(34,198,198,0.12); }
.navSep{ height:1px; background: rgba(255,255,255,0.10); margin: 8px 6px; }
