:root{
  --bg:#050912;
  --bg-soft:#0b1120;
  --card:rgba(255,255,255,.045);
  --line:rgba(255,255,255,.12);
  --text:#eef3fb;
  --muted:#b7c0cc;
  --accent:#5b86ff;
  --accent-2:#23d7bc;
  --success:#18dca8;
  --shadow:0 24px 70px rgba(0,0,0,.45);
  --radius:22px;
  --container:1120px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  min-height:100%;
  height:auto;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(91,134,255,.16), transparent 60%),
    linear-gradient(180deg, #040812 0%, #050912 45%, #06101a 100%);
  color:var(--text);
  font-family:Poppins,system-ui,sans-serif;
}

body{
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
}

main{
  flex:1;
  max-width:var(--container);
  margin:0 auto;
  padding:18px 20px 48px;
  width:100%;
}

a{color:inherit}
img{max-width:100%;display:block}
[hidden]{display:none !important;}

/* Header */
.header-blur{
  position:sticky;
  top:0;
  z-index:999;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background:rgba(10,13,20,0.55);
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.hdr{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 20px;
  max-width:1320px;
  margin:0 auto;
  position:relative;
}

.brand-header{
  font-size:28px;
  font-weight:800;
  letter-spacing:-.5px;
  color:#f0f4ff;
  text-transform:lowercase;
  white-space:nowrap;
  text-decoration:none;
}

.hdr-center{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  text-align:center;
  color:#d2daf5;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:15px;
  white-space:nowrap;
  pointer-events:none;
  opacity:.88;
}

/* Trust strip */
.trust-strip{
  display:flex;
  justify-content:center;
  gap:28px;
  margin:16px 0 6px;
  flex-wrap:wrap;
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.06);
  border-bottom:1px solid rgba(255,255,255,0.06);
  padding:10px 0;
}

.trust-item{opacity:.92}

.trust-number{
  font-size:15px;
  font-weight:700;
  letter-spacing:0.01em;
  line-height:1.15;
}

.trust-label{
  font-size:12px;
  color:#9fb0c7;
  margin-top:3px;
}

/* Hero / cards */
.hero,
.form-shell,
.tool-card,
.tier,
.proof,
.category-link-card{
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.hero{
  border-radius:var(--radius);
  padding:36px;
  max-width:1080px;
  margin:0 auto;
  position:relative;
  overflow:hidden;
}

.form-shell{
  margin-top:24px;
  border-radius:20px;
  padding:20px;
}

.proof{
  margin-top:18px;
  padding:14px 16px;
  border-radius:16px;
  color:#dce4f3;
  text-align:center;
  font-size:14px;
}

.hero-media{
  margin:0 0 14px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:#07101b;
  box-shadow:0 18px 50px rgba(0,0,0,.28);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position:relative;
}

.hero-media img{
  display:block;
  width:100%;
  height:auto;
  transition:transform .5s ease;
}

.hero-media:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 60px rgba(0,0,0,.34);
  border-color:rgba(91,218,255,.22);
}

.hero-media:hover img{
  transform:scale(1.012);
}

.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -40px 80px rgba(3,10,18,.18);
}

/* Typography */
.section-title{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.02em;
  text-align:center;
  text-shadow:0 6px 28px rgba(91,134,255,.25);
}

.section-copy,
.hero-note,
.mini-conviction,
.micro-copy{
  color:var(--muted);
  line-height:1.6;
}

.hero-note,
.mini-conviction,
.section-copy{
  text-align:center;
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}

/* Inputs */
label{
  display:block;
  font-size:14px;
  font-weight:600;
  color:#dfe7f7;
  margin-bottom:8px;
}

input, select, textarea{
  width:100%;
  padding:14px 15px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(7,12,22,.86);
  color:#fff;
  font:500 15px/1.4 Poppins;
  outline:none;
}

input::placeholder,
textarea::placeholder{
  color:#8c98aa;
}

input:focus,
select:focus,
textarea:focus{
  border-color:rgba(91,134,255,.55);
  box-shadow:0 0 0 3px rgba(91,134,255,.14);
}

/* Buttons */
.btn-primary{
  appearance:none;
  border:none;
  border-radius:14px;
  padding:16px 22px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#ffffff;
  font-weight:800;
  font-size:16px;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(35,215,188,.18);
  text-shadow:0 1px 2px rgba(0,0,0,.25);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 40px rgba(35,215,188,.24);
  filter:brightness(1.03);
}

/* Category cards */
.category-links{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:18px;
}

.category-link-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-height:180px;
  padding:18px 16px;
  border-radius:18px;
  text-decoration:none;
  color:#eef3fb;
  transition:transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.category-link-card:hover{
  transform:translateY(-3px);
  border-color:rgba(35,215,188,.40);
  background:rgba(35,215,188,.06);
  box-shadow:0 22px 46px rgba(0,0,0,.24);
}

.category-link-icon{
  font-size:24px;
  line-height:1;
}

.category-link-card strong{
  display:block;
  font-size:18px;
  line-height:1.25;
  color:#ffffff;
}

.category-link-card span:last-child{
  font-size:14px;
  line-height:1.55;
  color:#c6d0e0;
  text-align:center;
}

/* Footer */
footer{margin-top:40px}

.foot{
  max-width:1320px;
  margin:0 auto;
  padding:0 20px 36px;
  font-size:14px;
  color:#c9d2df;
}

.foot hr{
  border:none;
  border-top:1px solid rgba(255,255,255,.08);
  margin:0 0 16px;
}

.foot-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
}

.foot-brand{
  color:#eef3fb;
  font-weight:700;
  letter-spacing:.02em;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.footer-brand-logo{
  font-size:28px;
  font-weight:800;
  color:#eef3fb;
  letter-spacing:-.5px;
  line-height:1;
}

.foot-brand-rest{
  font-size:14px;
  color:#9aa6b8;
}

.links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.links a{
  color:#eaf0f8;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
}

.links a:hover{
  text-decoration:underline;
  opacity:.9;
}

/* Cookie banner */
.cc-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:flex-end;
  justify-content:center;
  z-index:9998;
}

.cc-backdrop.show{display:flex}

.cc-banner{
  width:min(980px,96vw);
  margin:32px 16px 56px;
  color:#eaf0f8;
  background:#0b0f18;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  box-shadow:0 24px 70px rgba(0,0,0,.45);
  padding:18px;
}

.cc-title{font:800 22px/1.2 Poppins;margin:0 0 6px}
.cc-text{color:#cfd6e2;line-height:1.55;margin:0 0 10px}
.cc-actions{display:flex;gap:10px;flex-wrap:wrap}
.cc-link{color:#9ad1ff;text-decoration:underline}

.cc-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.06);
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}

.cc-btn.primary{
  background:#22c55e;
  border:none;
  color:#061117;
}

.cc-btn.danger{
  background:transparent;
  border:1px solid rgba(255,255,255,.25);
}

.cc-settings{
  margin-top:10px;
  border-top:1px dashed rgba(255,255,255,.2);
  padding-top:12px;
  display:none;
}

.cc-settings.show{display:block}

.cc-toggle{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  gap:16px;
}

.cc-toggle:last-child{border-bottom:none}

.cc-switch input{
  width:48px;
  height:26px;
  appearance:none;
  background:#2b3244;
  border-radius:999px;
  position:relative;
  outline:0;
  cursor:pointer;
}

.cc-switch input:before{
  content:"";
  position:absolute;
  left:3px;
  top:3px;
  width:20px;
  height:20px;
  border-radius:999px;
  background:#fff;
  transition:.18s ease;
}

.cc-switch input:checked{background:#22c55e}
.cc-switch input:checked:before{transform:translateX(22px)}

.cc-badge{
  position:fixed;
  left:14px;
  bottom:calc(24px + env(safe-area-inset-bottom, 0px));
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(32,41,64,.92);
  backdrop-filter:blur(8px);
  color:#fff;
  font-weight:700;
  font-size:13px;
  z-index:9997;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(0,0,0,.65), 0 0 0 1px rgba(15,23,42,.9);
  transition:opacity .25s, transform .25s, box-shadow .25s, background .25s, bottom .25s, left .25s;
}

.cc-badge.vertical{
  opacity:.5;
  background:rgba(23,30,48,.95);
  left:8px;
  bottom:50%;
  transform:translateY(50%) scale(.95);
  writing-mode:vertical-rl;
  text-orientation:mixed;
  padding:12px 8px;
  font-size:13px;
}

/* Scrollbar */
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:rgba(255,255,255,0.03)}
::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#6ea8ff,#3d6eff);
  border-radius:8px;
}
::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#7bb2ff,#4a78ff);
}

html{
  scrollbar-width:thin;
  scrollbar-color:#4a78ff rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width:980px){
  .trust-list,
  .category-links,
  .grid-2{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:720px){
  html, body{
    max-width:100%;
    overflow-x:hidden;
  }

  .hdr{
    padding:12px 16px;
    min-height:64px;
    align-items:center;
  }

  .brand-header{
    font-size:20px;
  }

  .hdr-center{
    display:none;
  }

  .trust-strip{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 10px;
    margin:0;
    padding:8px 12px 10px;
  }

  .trust-item{
    text-align:center;
    opacity:.96;
  }

  .trust-number{
    font-size:13px;
    line-height:1.15;
    font-weight:700;
    letter-spacing:0.01em;
  }

  .trust-label{
    display:none;
  }

  .hero{
    padding:20px;
    border-radius:18px;
  }

  .form-shell{
    padding:16px;
  }

  .grid-2,
  .trust-list,
  .category-links{
    grid-template-columns:1fr;
  }

  .section-title{
    font-size:24px;
  }

  .submit-row{
    align-items:stretch;
  }

  .btn-primary{
    width:100%;
  }

  .cc-badge,
  .cc-badge.vertical{
    left:10px;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px));
    writing-mode:horizontal-tb;
    text-orientation:mixed;
    transform:none;
    padding:8px 11px;
    font-size:12px;
    border-radius:999px;
    opacity:.9;
  }
}

@media (max-width:560px){
  main{padding:12px 14px 32px}
  .hdr{padding:12px 14px}
  .brand-header{font-size:20px}
  .hero{padding:18px}
  .foot{padding:0 14px 28px}
  .cc-banner{margin:16px 10px 24px;padding:16px}
  .cc-title{font-size:20px}
}
