/* ================================
   Jember Landing Page (for your HTML)
   - Responsive
   - Prevents mobile input zoom
   - Fixes giant SVG icon issue
================================ */

:root{
  --bg0:#050912;
  --bg1:#070c16;
  --card:rgba(255,255,255,.04);
  --border:rgba(255,255,255,.08);
  --text:rgba(255,255,255,.95);
  --muted:rgba(255,255,255,.65);
  --muted2:rgba(255,255,255,.45);
  --accent:#3aa0ff;
  --accent2:#2d7fff;
  --shadow:0 18px 60px rgba(0,0,0,.55);
  --r12:12px;
  --r16:16px;
  --r20:20px;
  --container:1120px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 50% 10%, rgba(58,160,255,.18), transparent 60%),
    radial-gradient(900px 600px at 20% 20%, rgba(58,160,255,.12), transparent 60%),
    linear-gradient(180deg,var(--bg1),var(--bg0));
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.container{
  width:min(var(--container),100%);
  margin:0 auto;
  padding:0 20px;
}

/* ================================
   Background glows (your HTML has these divs)
================================ */
.bg-glow{
  position:fixed;
  inset:auto;
  width:900px;
  height:900px;
  border-radius:999px;
  filter:blur(80px);
  opacity:.35;
  pointer-events:none;
  z-index:-1;
}
.bg-glow--left{
  left:-350px;
  top:-250px;
  background:radial-gradient(circle, rgba(58,160,255,.35), transparent 60%);
}
.bg-glow--right{
  right:-350px;
  top:-250px;
  background:radial-gradient(circle, rgba(58,160,255,.25), transparent 60%);
}

/* ================================
   Nav
================================ */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:26px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:650;
}
.brand-dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 18px rgba(58,160,255,.9);
}
.nav-links{
  display:flex;
  gap:20px;
  font-size:14px;
  color:var(--muted);
}
.nav-links a{opacity:.9}
.nav-links a:hover{opacity:1;color:var(--text)}

/* ================================
   Hero
================================ */
.hero{
  text-align:center;
  padding:64px 0 20px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:13px;
}
.hero-title{
  margin:22px 0 12px;
  font-weight:850;
  letter-spacing:-.02em;
  line-height:1.05;
  font-size:clamp(40px,6vw,82px);
}
.accent{color:var(--accent)}
.hero-subtitle{
  margin:0 auto 26px;
  max-width:680px;
  color:var(--muted);
  font-size:15px;
}

/* ================================
   Inputs + Buttons (mobile zoom fix included)
================================ */
.input, select, textarea{
  width:100%;
  height:48px;
  padding:0 14px;
  border-radius:var(--r12);
  border:1px solid var(--border);
  background:rgba(255,255,255,.045);
  color:var(--text);
  outline:none;
  font-size:16px; /* IMPORTANT: prevents iOS zoom */
}
.input::placeholder{color:rgba(255,255,255,.38)}
.input:focus, select:focus, textarea:focus{
  border-color:rgba(58,160,255,.55);
  box-shadow:0 0 0 4px rgba(58,160,255,.16);
}

.btn{
  height:48px;
  padding:0 18px;
  border:none;
  border-radius:var(--r12);
  cursor:pointer;
  font-weight:700;
  color:#061427;
  background:linear-gradient(180deg,var(--accent),var(--accent2));
  box-shadow:0 10px 30px rgba(58,160,255,.22);
  transition:transform .15s ease, filter .15s ease;
}
.btn:hover{transform:translateY(-1px);filter:saturate(1.05)}
.btn:active{transform:translateY(0)}

/* ================================
   Waitlist (top)
================================ */
.waitlist{
  max-width:880px;
  margin:0 auto;
}
.waitlist-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
}
.waitlist-grid .input:nth-child(1){grid-column:1}
.waitlist-grid .btn{grid-column:2}
.waitlist-grid .input:nth-of-type(2){grid-column:1}
.waitlist-grid select{grid-column:2}

.link{
  display:inline-block;
  margin-top:14px;
  font-size:14px;
}
.subtle{color:var(--muted)}
.subtle:hover{color:var(--text)}

.toast{
  margin:14px auto 0;
  width:max-content;
  max-width:100%;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(58,160,255,.25);
  background:rgba(58,160,255,.08);
  color:rgba(220,245,255,.95);
  display:none; /* you can show with JS */
}

/* ================================
   Sections
================================ */
.section{
  padding:72px 0;
}
.section-title{
  text-align:center;
  margin:0 0 36px;
  font-size:clamp(22px,3vw,34px);
  letter-spacing:-.01em;
}

/* ================================
   Feature cards
================================ */
.cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.card{
  padding:26px 22px;
  border-radius:var(--r20);
  border:1px solid var(--border);
  background:var(--card);
  box-shadow:var(--shadow);
}
.card h3{margin:12px 0 6px;font-size:18px}
.card p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}

/* Fix SVG icon sizing everywhere */
.icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(58,160,255,.08);
  border:1px solid rgba(58,160,255,.16);
}
.icon svg{
  width:22px;
  height:22px;
  color:rgba(110,190,255,.95);
}

/* ================================
   Steps (How it works)
================================ */
.steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:10px;
  align-items:start;
}
.step{
  text-align:center;
  padding:22px 18px;
}
.step-icon{
  width:56px;height:56px;
  border-radius:18px;
  margin:0 auto 12px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.035);
  border:1px solid var(--border);
}
.step-icon svg{
  width:24px;height:24px; /* <<< stops giant mail icon */
  color:rgba(110,190,255,.95);
}
.step-meta{
  font-size:12px;
  letter-spacing:.16em;
  color:var(--muted2);
  margin-bottom:6px;
}
.step h3{margin:0 0 6px;font-size:18px}
.step p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}

/* Trust panel */
.panel{
  margin:38px auto 0;
  max-width:760px;
  padding:26px 22px;
  border-radius:var(--r20);
  border:1px solid var(--border);
  background:rgba(255,255,255,.035);
  box-shadow:var(--shadow);
}
.panel h3{
  margin:0 0 14px;
  text-align:center;
}
.panel-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.panel-list li{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
}
.mini-icon{width:20px;display:inline-grid;place-items:center}

/* ================================
   Why
================================ */
.why{
  max-width:860px;
  margin:0 auto;
  padding:28px 22px;
  border-radius:var(--r20);
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  text-align:center;
  box-shadow:var(--shadow);
}
.why h2{margin:0 0 10px}
.why p{margin:0;color:var(--muted);line-height:1.6}

/* ================================
   FAQ
================================ */
.faq{
  max-width:820px;
  margin:0 auto;
  display:grid;
  gap:10px;
}
.faq-item{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
}
.faq-item .chev{opacity:.7}
.faq-panel{
  margin-top:-6px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.02);
  color:var(--muted);
  display:none; /* toggled by JS */
}

/* ================================
   CTA (bottom)
================================ */
.cta{
  text-align:center;
}
.cta h2{
  margin:0 0 18px;
  font-size:clamp(26px,4vw,44px);
}
.cta-form{
  max-width:780px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
}

/* ================================
   Footer
================================ */
.footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:30px 0 46px;
  color:var(--muted2);
  font-size:13px;
}
.footer-right{display:flex;align-items:center;gap:10px}
.footer-right .dot{opacity:.6}
.footer a:hover{color:var(--text)}

/* Hidden iframe */
.hidden-iframe{
  position:absolute;
  width:0;height:0;
  border:0;
  opacity:0;
  pointer-events:none;
}

/* ================================
   Responsive
================================ */
@media (max-width: 980px){
  .cards{grid-template-columns:1fr; max-width:740px; margin:0 auto;}
  .steps{grid-template-columns:1fr; max-width:700px; margin:0 auto;}
  .nav-links{display:none;} /* optional: hide on mobile/tablet */
}

@media (max-width: 820px){
  .waitlist-grid{
    grid-template-columns:1fr;
  }
  .waitlist-grid .btn,
  .waitlist-grid select{
    grid-column:1;
  }
  .cta-form{
    grid-template-columns:1fr;
  }
  .footer{
    flex-direction:column;
    text-align:center;
  }
}
