:root{
  /* Lifted slightly so the page feels less “void black” */
  --bg0:#0C1020;            /* was #070A12 */
  --bg1:#0F1628;            /* was #0B1220 */
  --card: rgba(255,255,255,.07);   /* was .06 */
  --card2: rgba(255,255,255,.10);  /* was .08 */
  --line: rgba(255,255,255,.14);   /* was .12 */
  --text: rgba(255,255,255,.92);   /* was .88 */
  --muted: rgba(255,255,255,.70);  /* was .64 */
  --muted2: rgba(255,255,255,.58); /* was .52 */
  --good: #2ee59d;
  --accent: #7c5cff;
  --accent2:#00d4ff;
  --shadow: 0 18px 60px rgba(0,0,0,.45); /* was .55 */
  --radius: 18px;
  --radius2: 14px;
  --max: 1120px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  overflow-x:hidden;

  /* Keep your original vibe, just add depth + lift */
  background:
    radial-gradient(900px 700px at 18% 10%, rgba(124,92,255,.22), transparent 55%),
    radial-gradient(900px 700px at 85% 25%, rgba(0,212,255,.16), transparent 55%),
    var(--bg0);
}

a{ color:inherit; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 20px; }

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);

  /* Slightly lighter to match lifted bg */
  background: rgba(12,16,32,.62); /* was rgba(7,10,18,.62) */
  border-bottom: 1px solid rgba(255,255,255,.10); /* was .08 */
}

.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  font-weight:700; letter-spacing:.2px;
}

.logo{
  width:34px; height:34px; border-radius:10px;
  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, rgba(124,92,255,.95), rgba(0,212,255,.75));
  box-shadow: 0 10px 28px rgba(124,92,255,.22); /* was .18 */
  border:1px solid rgba(255,255,255,.20);       /* was .18 */
}

.brand small{
  display:block;
  font-weight:600;
  color: var(--muted);
  letter-spacing:.1px;
  margin-top:2px;
  font-size:12px;
}

.nav{
  display:flex; align-items:center; gap:14px;
  color: var(--muted);
  font-size:14px;
}

.nav a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}

.nav a:hover{
  color: var(--text);
  border-color: rgba(255,255,255,.12); /* was .10 */
  background: rgba(255,255,255,.05);   /* was .04 */
}

.cta{
  display:flex; align-items:center; gap:10px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16); /* was .14 */
  background: rgba(255,255,255,.07);      /* was .06 */
  text-decoration:none;
  font-weight:650;
  font-size:14px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  white-space:nowrap;
  cursor:pointer;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);      /* was .085 */
  border-color: rgba(255,255,255,.24);    /* was .22 */
}

.btn.primary{
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(0,212,255,.75));
  border-color: rgba(255,255,255,.20); /* was .18 */
  box-shadow: 0 16px 36px rgba(0,0,0,.30); /* was .35 */
}

.btn.primary:hover{
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(0,212,255,.85));
}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14); /* was .12 */
  background: rgba(255,255,255,.06);      /* was .05 */
  color: var(--muted);
  font-size:13px;
  backdrop-filter: blur(10px);
}

.dot{
  width:9px; height:9px; border-radius:50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(46,229,157,.12);
}

header.hero{ padding:52px 0 26px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:24px;
  align-items:stretch;
}

h1{
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  margin:16px 0 12px;
  letter-spacing:-.4px;
}

.lead{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 58ch;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
  align-items:center;
}

.subtle{
  color: var(--muted2);
  font-size:13px;
  line-height:1.5;
  margin-top:10px;
}

.card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.14); /* was .12 */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  min-height: 100%;
  position:relative;
  overflow:hidden;
}

.hero-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(500px 240px at 18% 12%, rgba(124,92,255,.35), transparent 65%),
    radial-gradient(480px 220px at 85% 18%, rgba(0,212,255,.22), transparent 55%);
  opacity:.55;
  pointer-events:none;
}

.hero-card > *{ position:relative; }

.mini-title{
  font-weight:700;
  letter-spacing:.2px;
  font-size:13px;
  color: rgba(255,255,255,.72);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.mini-title span{
  font-family: var(--mono);
  font-size:12px;
  color: rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.12);
  padding:4px 8px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
}

.flow{ display:grid; gap:10px; }

.step{
  display:flex;
  gap:10px;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

.num{
  width:28px; height:28px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.82);
  flex:0 0 auto;
}

.step b{ display:block; font-size:14px; margin-bottom:2px; }
.step p{ margin:0; color: var(--muted); font-size:13px; line-height:1.5; }

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
}

.chip{
  font-size:12px;
  color: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding:6px 10px;
  border-radius:999px;
}

section{ padding:24px 0; }

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.feature{
  padding:16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}

.feature h3{ margin:0 0 6px; font-size:15px; letter-spacing:.1px; }
.feature p{ margin:0; color: var(--muted); font-size:13px; line-height:1.6; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

.callout{
  padding:18px;
  border-radius: var(--radius);
  background:
    radial-gradient(900px 260px at 25% 0%, rgba(124,92,255,.22), transparent 60%),
    rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}

.callout h2{ margin:0 0 8px; font-size:18px; }
.callout p{ margin:0; color: var(--muted); line-height:1.65; font-size:14px; }

footer{
  padding:28px 0 36px;
  border-top: 1px solid rgba(255,255,255,.10); /* was .08 */
  color: var(--muted2);
  font-size:13px;
}

.footer-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}

.footer-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.footer-links a{
  color: var(--muted);
  text-decoration:none;
  padding:6px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.footer-links a:hover{
  color: var(--text);
  border-color: rgba(255,255,255,.12); /* was .10 */
  background: rgba(255,255,255,.05);   /* was .04 */
}

@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .nav{ display:none; }
}

/* ================================
   Jas Autos opt-in page (scoped)
   Add `class="jas-optin"` on <body> in jas-autos-garage/index.html
   ================================ */

body.jas-optin{
  background:
    radial-gradient(900px 700px at 18% 8%, rgba(124,92,255,.30), transparent 55%),
    radial-gradient(900px 700px at 86% 18%, rgba(0,212,255,.22), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(30,215,96,.10), transparent 60%),
    var(--bg0);
  line-height: 1.45;
}

body.jas-optin .wrap{ max-width:560px; margin:0 auto; padding:28px 16px 56px; }

body.jas-optin .logo{
  width:40px; height:40px; border-radius:14px;
}

body.jas-optin .card{
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  box-shadow:var(--shadow);
  backdrop-filter: blur(10px);
  padding:22px 20px 24px;
}

/* Brand block (opt-in specific) */
body.jas-optin .brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
body.jas-optin .brand-text h1{
  margin:0;
  font-size:16px;
  font-weight:800;
  letter-spacing:.2px;
}
body.jas-optin .brand-text p{
  margin:2px 0 0;
  font-size:13px;
  color: var(--muted);
}
body.jas-optin .brand-text .muted{
  color: var(--muted2);
  font-size:12.5px;
  letter-spacing:.1px;
}

/* Hero copy */
body.jas-optin .hero{
  margin:14px 0 8px;
  font-size:26px;
  font-weight:900;
  letter-spacing:-.4px;
  line-height:1.12;
}
body.jas-optin .sub{
  margin:0 0 18px;
  font-size:14px;
  line-height:1.6;
  color: var(--muted);
}

/* Example preview */
body.jas-optin .preview{
  margin:14px 0 18px;
  padding:14px 14px 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
body.jas-optin .preview-head{
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  color: rgba(255,255,255,.78);
  margin-bottom:10px;
}
body.jas-optin .bubble{
  padding:12px 12px;
  border-radius: 16px;
  border-top-left-radius: 8px;
  background: rgba(255,255,255,.92);
  color: rgba(9,12,20,.92);
  line-height:1.55;
  box-shadow: 0 14px 34px rgba(0,0,0,.30);
}
body.jas-optin .preview-foot{
  margin-top:10px;
  font-size:12.5px;
  color: var(--muted2);
}

/* Form */
body.jas-optin form{ margin-top:6px; }
body.jas-optin .field{ margin:14px 0; }
body.jas-optin label{ display:block; margin-bottom:6px; font-size:13px; font-weight:700; color:rgba(255,255,255,.85); }

body.jas-optin input[type="text"],
body.jas-optin input[type="tel"],
body.jas-optin select{
  width:100%;
  padding:13px 14px;
  font-size:16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}

body.jas-optin input::placeholder{ color:rgba(255,255,255,.45); }
body.jas-optin input:focus,
body.jas-optin select:focus{
  border-color:rgba(124,92,255,.70);
  box-shadow:0 0 0 4px rgba(124,92,255,.22);
}

body.jas-optin .row{ display:flex; gap:12px; }
body.jas-optin .row .field{ flex:1; min-width:0; }

/* ✅ Fix: consent text wraps normally (no letter-per-line) */
body.jas-optin .check{
  width:100%;
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:14px;
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  font-size:13.5px;
  color: rgba(255,255,255,.82);
}

body.jas-optin .check input{
  margin-top:3px;
  transform:scale(1.15);
  flex:0 0 auto;
}

body.jas-optin .check span{
  display:block;
  flex:1;
  min-width:0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height:1.45;
}

/* Tiny improvement: trust micro-callout */
body.jas-optin .mini-trust{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size:13px;
  line-height:1.55;
}

/* Reuse the global .btn styles, but make the submit button full-width */
body.jas-optin .btn{ width:100%; margin-top:18px; }
body.jas-optin button.btn{ border:0; }
body.jas-optin button.btn:hover{ border:0; }
body.jas-optin button.btn:focus{ outline:none; }
body.jas-optin button.btn:focus-visible{
  box-shadow: 0 0 0 4px rgba(124,92,255,.22);
}

body.jas-optin .foot{ margin-top:14px; font-size:12.5px; color:var(--muted); text-align:center; }
body.jas-optin .foot .mono{ font-family:var(--mono); }

body.jas-optin .foot .muted{
  display:inline-block;
  margin-top:6px;
  font-size:12px;
  color: var(--muted2);
}

@media(max-width:520px){
  body.jas-optin .row{ flex-direction:column; }
}

.brand-logo {
  display: block;
  width: 64px;
  height: 64px;
}