/* ─── Cactus landing (home) — scoped under #screen-landing to isolate it
   from the app/dashboard styles in styles.css and to override any clashing
   selectors within the landing via higher (#id .class) specificity. ─── */
#screen-landing{
  --navy-950:#060c16; --navy-900:#0a1526; --navy-850:#0e1c30; --navy-800:#122a45; --navy-700:#1c3a5c;
  --navy-line:rgba(255,255,255,.10);
  --brand-50:#eaf7fd; --brand-100:#d2eefb; --brand-400:#38bdf8; --brand-500:#0ea5e9; --brand-600:#0284c7; --brand-700:#046390;
  --green-500:#16a34a; --green-100:#dcfce7; --red-500:#dc2626; --red-100:#fee2e2; --amber-500:#d97706; --amber-100:#fef3c7; --slate-500:#64748b;
  --ink-900:#0b1220; --ink-700:#3a4655; --ink-500:#66748a;
  --surface-0:#ffffff; --surface-50:#f7f9fc; --surface-100:#eef2f7; --tint-blue:#eef6fd; --border:#e3e8f0;
  --radius-lg:22px; --radius-md:16px; --radius-sm:10px;
  --shadow-sm:0 1px 2px rgba(10,21,38,.05); --shadow-md:0 10px 30px rgba(10,21,38,.09); --shadow-lg:0 24px 70px rgba(6,12,22,.35);
  --container:1200px;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink-900); background:var(--surface-0); line-height:1.5; -webkit-font-smoothing:antialiased;
  display:block; min-height:100vh;
}
#screen-landing *{ box-sizing:border-box; }
#screen-landing h1,#screen-landing h2,#screen-landing h3,#screen-landing h4{ margin:0; letter-spacing:-0.02em; }
#screen-landing p{ margin:0; }
#screen-landing a{ color:inherit; text-decoration:none; }
#screen-landing ul{ margin:0; padding:0; list-style:none; }
#screen-landing button{ font-family:inherit; cursor:pointer; }
#screen-landing img,#screen-landing svg{ display:block; }
#screen-landing .container{ max-width:var(--container); margin:0 auto; padding:0 28px; }
#screen-landing .accent{ color:var(--brand-400); }
#screen-landing section{ position:relative; }

/* reusable bits */
#screen-landing .eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  padding:7px 16px; border-radius:999px;
}
#screen-landing .eyebrow-dark{ background:rgba(56,189,248,.12); color:var(--brand-400); border:1px solid rgba(56,189,248,.28); }
#screen-landing .eyebrow-light{ background:var(--brand-50); color:var(--brand-700); border:1px solid var(--brand-100); }

#screen-landing .btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:600; font-size:15px; padding:13px 26px; border-radius:999px;
  border:1.5px solid transparent; transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
#screen-landing .btn:active{ transform:translateY(1px); }
#screen-landing .btn-solid{ background:var(--brand-600); color:#fff; box-shadow:0 8px 20px rgba(2,132,199,.28); }
#screen-landing .btn-solid:hover{ background:var(--brand-700); box-shadow:0 10px 26px rgba(2,132,199,.36); }
#screen-landing .btn-outline-dark{ border-color:rgba(255,255,255,.35); color:#fff; }
#screen-landing .btn-outline-dark:hover{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.6); }
#screen-landing .btn-outline-light{ border-color:var(--navy-900); color:var(--navy-900); }
#screen-landing .btn-outline-light:hover{ background:var(--navy-900); color:#fff; }
#screen-landing .btn-white{ background:#fff; color:var(--navy-900); }
#screen-landing .btn-white:hover{ background:var(--brand-50); }
#screen-landing .btn-sm{ padding:9px 18px; font-size:13.5px; }
#screen-landing .btn svg{ width:16px; height:16px; }

#screen-landing .icon-badge{
  width:46px; height:46px; border-radius:13px; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:var(--brand-50); color:var(--brand-600);
}
#screen-landing .icon-badge svg{ width:22px; height:22px; }
#screen-landing .icon-badge.on-dark{ background:rgba(56,189,248,.14); color:var(--brand-400); }

/* header */
#screen-landing header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(10,21,38,.72);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--navy-line);
}
#screen-landing .nav-row{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; gap:24px; }
#screen-landing .logo-lockup{ display:flex; align-items:center; gap:10px; }
/* "cactus." scrolls to top; the Cyberlinx wordmark is its own link to the
   main site, so they can't be one nested anchor. */
#screen-landing .logo-home{ display:flex; align-items:center; gap:10px; }
#screen-landing .logo-mark{ width:30px; height:30px; }
#screen-landing .logo-text{ color:#fff; font-weight:800; font-size:21px; letter-spacing:-.02em; }
#screen-landing .logo-text .dot{ color:var(--brand-400); }
#screen-landing .logo-sub{ display:flex; align-items:center; gap:7px; color:rgba(255,255,255,.45); font-size:12px; font-weight:600; padding-left:10px; border-left:1px solid var(--navy-line); margin-left:2px; }
#screen-landing .logo-sub:hover{ color:rgba(255,255,255,.75); }
#screen-landing .cx-mark{ display:block; flex:none; }
#screen-landing .brand-credit{ display:flex; align-items:center; gap:10px; margin-top:20px; }
#screen-landing .brand-credit span{ font-size:12px; color:rgba(255,255,255,.4); font-weight:600; }
#screen-landing .stats-credit{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:30px; flex-wrap:wrap; }
#screen-landing .stats-credit span{ font-size:13px; color:var(--ink-500); font-weight:600; }
#screen-landing nav.main-links{ display:flex; align-items:center; gap:30px; }
#screen-landing nav.main-links a{ color:rgba(255,255,255,.72); font-size:14.5px; font-weight:500; transition:color .15s ease; }
#screen-landing nav.main-links a:hover{ color:#fff; }
#screen-landing .header-actions{ display:flex; align-items:center; gap:12px; }
#screen-landing .burger{ display:none; background:none; border:none; padding:6px; }
#screen-landing .burger svg{ width:24px; height:24px; color:#fff; }

/* hero */
#screen-landing .hero{
  background:
    radial-gradient(ellipse 900px 460px at 50% 105%, rgba(14,165,233,.30), transparent 70%),
    radial-gradient(ellipse 620px 320px at 85% -10%, rgba(56,189,248,.16), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  overflow:hidden;
}
#screen-landing .hero::before{
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size:26px 26px;
  -webkit-mask-image:linear-gradient(to bottom, black, transparent 75%);
  mask-image:linear-gradient(to bottom, black, transparent 75%);
  pointer-events:none;
}
#screen-landing .hero-inner{ position:relative; padding:64px 0 96px; text-align:center; }
#screen-landing .back-link{
  position:absolute; top:32px; left:28px; z-index:2;
  display:inline-flex; align-items:center; gap:7px;
  color:rgba(255,255,255,.75); font-size:13px; font-weight:600;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14);
  padding:9px 16px 9px 13px; border-radius:999px;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
#screen-landing .back-link:hover{ color:#fff; background:rgba(255,255,255,.13); border-color:rgba(255,255,255,.26); }
#screen-landing .back-link svg{ width:14px; height:14px; }
#screen-landing .hero h1{
  color:#fff; font-size:clamp(34px,5.4vw,58px); font-weight:800; line-height:1.08;
  max-width:820px; margin:22px auto 18px;
}
#screen-landing .hero p.sub{
  color:rgba(255,255,255,.62); font-size:17px; max-width:600px; margin:0 auto 36px; line-height:1.6;
}
#screen-landing .scan-form{
  display:flex; gap:10px; max-width:560px; margin:0 auto 16px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  padding:8px; border-radius:999px;
}
#screen-landing .scan-form input{
  flex:1; background:transparent; border:none; outline:none; color:#fff;
  font-size:15.5px; font-family:inherit; padding:10px 16px;
}
#screen-landing .scan-form input::placeholder{ color:rgba(255,255,255,.4); }
#screen-landing .scan-form button{
  border:none; background:var(--brand-600); color:#fff; font-weight:700; font-size:15px;
  padding:12px 24px; border-radius:999px; display:flex; align-items:center; gap:8px;
  transition:background .15s ease;
}
#screen-landing .scan-form button:hover{ background:var(--brand-700); }
#screen-landing .scan-form button svg{ width:16px; height:16px; flex:none; }
#screen-landing .landing-error{
  max-width:560px; margin:0 auto 16px; color:#fecaca;
  background:rgba(220,38,38,.14); border:1px solid rgba(248,113,113,.4);
  border-radius:14px; padding:11px 16px; font-size:13.5px; font-weight:600;
}
#screen-landing .landing-error.hidden{ display:none; }
#screen-landing .hero-caption{ color:rgba(255,255,255,.4); font-size:13px; margin-bottom:28px; }
#screen-landing .hero-pills{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-bottom:20px; }
#screen-landing .hero-pill{
  display:flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
  padding:8px 15px; border-radius:999px;
}
#screen-landing .hero-check{ color:rgba(255,255,255,.55); font-size:13.5px; font-weight:600; display:inline-flex; align-items:center; gap:6px; }
#screen-landing .hero-check svg{ width:15px; height:15px; color:var(--green-500); }

/* why cactus / preview */
#screen-landing .why-section{ background:var(--surface-0); padding:96px 0; }
#screen-landing .why-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
#screen-landing .why-text h2{ font-size:clamp(26px,3.4vw,38px); font-weight:800; color:var(--ink-900); margin:16px 0 16px; }
#screen-landing .why-text > p{ color:var(--ink-500); font-size:16px; line-height:1.7; margin-bottom:32px; max-width:480px; }
#screen-landing .feature-row{ display:flex; gap:18px; padding:20px 0; border-top:1px solid var(--border); }
#screen-landing .feature-row:last-child{ border-bottom:1px solid var(--border); }
#screen-landing .feature-row h4{ font-size:16.5px; font-weight:700; margin-bottom:6px; }
#screen-landing .feature-row p{ font-size:14.5px; color:var(--ink-500); line-height:1.6; }

#screen-landing .preview-card{
  background:linear-gradient(160deg, var(--navy-850), var(--navy-950));
  border:1px solid var(--navy-line); border-radius:var(--radius-lg);
  padding:28px; box-shadow:var(--shadow-lg); color:#fff;
}
#screen-landing .preview-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
#screen-landing .preview-target{ font-family:'SF Mono',ui-monospace,Menlo,monospace; font-size:14.5px; color:#fff; font-weight:600; }
#screen-landing .preview-live{ display:flex; align-items:center; gap:6px; font-size:12px; color:rgba(255,255,255,.55); font-weight:600; }
#screen-landing .live-dot{ width:7px; height:7px; border-radius:50%; background:var(--green-500); box-shadow:0 0 0 3px rgba(22,163,74,.25); }
#screen-landing .preview-row{ margin-bottom:18px; }
#screen-landing .preview-row:last-of-type{ margin-bottom:22px; }
#screen-landing .preview-row-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
#screen-landing .preview-label{ font-size:13.5px; color:rgba(255,255,255,.62); font-weight:500; }
#screen-landing .preview-value{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; }
#screen-landing .grade-chip{ display:inline-flex; align-items:center; justify-content:center; min-width:26px; height:22px; padding:0 6px; border-radius:6px; font-size:12px; font-weight:800; color:#fff; }
#screen-landing .grade-f{ background:var(--red-500); }
#screen-landing .grade-c{ background:var(--amber-500); }
#screen-landing .grade-a{ background:var(--green-500); }
#screen-landing .track{ height:6px; border-radius:99px; background:rgba(255,255,255,.09); overflow:hidden; }
#screen-landing .track > span{ display:block; height:100%; border-radius:99px; }
#screen-landing .preview-foot{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:18px; border-top:1px solid var(--navy-line);
  font-size:13px; color:rgba(255,255,255,.5);
}
#screen-landing .preview-foot a{ color:var(--brand-400); font-weight:700; display:inline-flex; align-items:center; gap:5px; }
#screen-landing .preview-foot a:hover{ color:#fff; }

/* stats strip */
#screen-landing .stats-strip{ background:var(--surface-50); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:44px 0; }
#screen-landing .stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
#screen-landing .stat-num{ font-size:34px; font-weight:800; color:var(--navy-900); }
#screen-landing .stat-num span{ color:var(--brand-600); }
#screen-landing .stat-label{ font-size:13.5px; color:var(--ink-500); font-weight:600; margin-top:4px; }

/* what we check (dark) */
#screen-landing .checks-section{ background:linear-gradient(180deg, var(--navy-900), var(--navy-850) 60%, var(--navy-900)); padding:100px 0; }
#screen-landing .section-head{ text-align:center; max-width:660px; margin:0 auto 52px; }
#screen-landing .section-head h2{ font-size:clamp(26px,3.6vw,40px); font-weight:800; margin:16px 0 14px; }
#screen-landing .section-head p{ font-size:16px; line-height:1.65; }
#screen-landing .checks-section .section-head h2{ color:#fff; }
#screen-landing .checks-section .section-head p{ color:rgba(255,255,255,.6); }
#screen-landing .group-label{
  color:rgba(255,255,255,.42); font-size:12.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  margin:0 0 20px 2px; display:flex; align-items:center; gap:10px;
}
#screen-landing .group-label::after{ content:''; flex:1; height:1px; background:var(--navy-line); }
#screen-landing .check-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:48px; }
#screen-landing .check-grid:last-child{ margin-bottom:0; }
#screen-landing .check-card{
  background:#fff; border-radius:var(--radius-md); padding:24px; position:relative;
  box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease;
}
#screen-landing .check-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
#screen-landing .check-card h4{ font-size:16px; font-weight:700; margin:16px 0 8px; color:var(--ink-900); }
#screen-landing .check-card p{ font-size:13.8px; color:var(--ink-500); line-height:1.55; }
#screen-landing .active-tag{
  position:absolute; top:20px; right:20px; background:var(--brand-50); color:var(--brand-700);
  font-size:10.5px; font-weight:800; letter-spacing:.06em; padding:4px 9px; border-radius:6px;
}

/* how it works */
#screen-landing .steps-section{ background:#fff; padding:100px 0; }
#screen-landing .steps-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
#screen-landing .step-card{ padding:8px; }
#screen-landing .step-num{
  width:42px; height:42px; border-radius:12px; background:var(--navy-900); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; margin-bottom:18px;
}
#screen-landing .step-card h4{ font-size:16.5px; font-weight:700; margin-bottom:8px; }
#screen-landing .step-card p{ font-size:14px; color:var(--ink-500); line-height:1.6; }

/* what you'll get */
#screen-landing .get-section{ background:linear-gradient(180deg, var(--tint-blue), #fff); padding:100px 0; }
#screen-landing .get-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
#screen-landing .get-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); padding:28px; box-shadow:var(--shadow-sm); }
#screen-landing .get-card h4{ font-size:17.5px; font-weight:700; margin:16px 0 10px; }
#screen-landing .get-card p{ font-size:14px; color:var(--ink-500); line-height:1.65; }

/* final CTA */
#screen-landing .final-cta{
  background:radial-gradient(ellipse 700px 400px at 50% 0%, rgba(14,165,233,.22), transparent 65%), var(--navy-950);
  padding:96px 0; text-align:center;
}
#screen-landing .final-cta h2{ color:#fff; font-size:clamp(28px,4vw,44px); font-weight:800; margin:20px 0 14px; }
#screen-landing .final-cta p.sub{ color:rgba(255,255,255,.55); font-size:16px; max-width:520px; margin:0 auto 32px; }
#screen-landing .final-cta .vapt-link{ display:block; margin-top:22px; color:rgba(255,255,255,.55); font-size:14px; }
#screen-landing .final-cta .vapt-link a{ color:var(--brand-400); font-weight:700; }
#screen-landing .final-cta .vapt-link a:hover{ text-decoration:underline; }

/* footer */
#screen-landing footer.site{ background:var(--navy-950); border-top:1px solid var(--navy-line); padding:64px 0 32px; }
#screen-landing .footer-top{ display:flex; justify-content:space-between; gap:60px; padding-bottom:44px; border-bottom:1px solid var(--navy-line); }
#screen-landing .footer-brand{ max-width:340px; }
#screen-landing .footer-brand p{ color:rgba(255,255,255,.48); font-size:13.8px; line-height:1.65; margin-top:14px; }
#screen-landing .footer-cols{ display:flex; gap:64px; }
#screen-landing .footer-col h5{ color:rgba(255,255,255,.4); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
#screen-landing .footer-col a{ display:block; color:rgba(255,255,255,.68); font-size:14.5px; margin-bottom:12px; }
#screen-landing .footer-col a:hover{ color:#fff; }
#screen-landing .footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:28px; flex-wrap:wrap; gap:12px; }
#screen-landing .footer-bottom p{ color:rgba(255,255,255,.35); font-size:13px; }
#screen-landing .footer-bottom .legal{ display:flex; gap:22px; }
#screen-landing .footer-bottom .legal a{ color:rgba(255,255,255,.4); font-size:13px; }
#screen-landing .footer-bottom .legal a:hover{ color:#fff; }

/* responsive */
@media (max-width:960px){
  #screen-landing nav.main-links, #screen-landing .header-actions .btn{ display:none; }
  #screen-landing .burger{ display:block; }
  #screen-landing .why-grid{ grid-template-columns:1fr; gap:40px; }
  #screen-landing .stats-grid{ grid-template-columns:repeat(2,1fr); gap:28px; }
  #screen-landing .check-grid{ grid-template-columns:repeat(2,1fr); }
  #screen-landing .steps-grid{ grid-template-columns:repeat(2,1fr); gap:32px; }
  #screen-landing .get-grid{ grid-template-columns:1fr; }
  #screen-landing .footer-top{ flex-direction:column; gap:36px; }
  #screen-landing .footer-cols{ gap:40px; }
}
@media (max-width:600px){
  #screen-landing .check-grid{ grid-template-columns:1fr; }
  #screen-landing .steps-grid{ grid-template-columns:1fr; }
  #screen-landing .stats-grid{ grid-template-columns:1fr 1fr; }
  #screen-landing .scan-form{ flex-direction:column; border-radius:20px; }
  #screen-landing .scan-form button{ justify-content:center; }
  #screen-landing .footer-cols{ flex-direction:column; gap:28px; }
  #screen-landing .footer-bottom{ flex-direction:column; align-items:flex-start; }
}
