:root{
  --bg:#0b1020;
  --card:#111833;
  --muted:#9fb0d0;
  --text:#eef2ff;
  --accent:#38bdf8;
  --accent2:#a78bfa;
  --border:rgba(255,255,255,.10);
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 0%, rgba(56,189,248,.20), transparent 55%),
              radial-gradient(1000px 600px at 80% 10%, rgba(167,139,250,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:24px}
header{
  position:sticky;top:0;z-index:20;
  backdrop-filter:saturate(150%) blur(10px);
  background: rgba(11,16,32,.65);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{
  display:flex;align-items:center;gap:12px;text-decoration:none;
}
.brand .logo{width:44px;height:44px}
.brandText{display:flex;flex-direction:column;line-height:1.1}
.brandName{font-size:14px;font-weight:900;letter-spacing:.2px}
.brandSub{font-size:12px;color:var(--muted);font-weight:800;margin-top:2px}
.brand b{font-size:16px;letter-spacing:.2px}
.navlinks{display:flex;gap:18px;flex-wrap:wrap}
.navlinks a{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
}
.navlinks a:hover{background:rgba(255,255,255,.06);color:var(--text)}

.hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  padding:42px 0 26px;
  align-items:center;
}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr; padding-top:22px}
  .navlinks{display:none}
}
.kicker{
  display:inline-flex;gap:10px;align-items:center;
  padding:7px 12px;border:1px solid var(--border);border-radius:999px;
  color:var(--muted);font-weight:700;font-size:13px;
  background:rgba(255,255,255,.04);
}
.kdot{
  width:9px;height:9px;border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 0 0 4px rgba(56,189,248,.12);
}
h1{font-size:44px;line-height:1.07;margin:14px 0 12px}
@media (max-width: 520px){ h1{font-size:36px} }
.lead{color:var(--muted);font-size:17px;max-width:62ch;margin:0 0 18px}
.pills{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 18px}
.pill{
  padding:7px 12px;border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);font-weight:700;font-size:13px;
}
.ctaRow{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:12px;
  border:1px solid var(--border);
  text-decoration:none;font-weight:800;
  background:rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.btn.primary{
  background:linear-gradient(135deg, rgba(56,189,248,.95), rgba(167,139,250,.92));
  color:#050814;
  border-color: rgba(255,255,255,.18);
}
.btn:hover{transform:translateY(-1px)}
.btn small{opacity:.85;font-weight:700}
.card{
  background:rgba(17,24,51,.78);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sectionLite .card{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)), rgba(17,24,51,.70);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 14px 34px rgba(0,0,0,.33);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sectionLite .card:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0,0,0,.36);
  border-color: rgba(255,255,255,.18);
}

.heroCard{
  padding:14px;
}
.portrait{
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--border);
  background:rgba(255,255,255,.02);
}
.portrait img{
  width:100%;
  height:auto;
  display:block;
}
.badgeRow{
  display:flex;gap:10px;flex-wrap:wrap;margin-top:12px
}
.badge{
  flex:1 1 auto;
  min-width: 140px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}
.badge b{display:block}
.badge span{color:var(--muted);font-weight:700;font-size:13px}

.section{padding:22px 0}
.section h2{font-size:22px;margin:0 0 12px}
.grid3{
  display:grid;gap:14px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){ .grid3{grid-template-columns:1fr} }
.feature{
  padding:16px;
}
.feature h3{margin:0 0 6px;font-size:16px}
.feature p{margin:0;color:var(--muted)}
.sep{height:1px;background:var(--border);margin:18px 0}

.contact{
  display:grid;gap:14px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px){ .contact{grid-template-columns:1fr} }
.form{padding:16px}
label{display:block;font-weight:800;margin:10px 0 6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(7,10,20,.5);
  color:var(--text);
  outline:none;
}
textarea{min-height:120px;resize:vertical}
input:focus, textarea:focus{border-color:rgba(56,189,248,.6); box-shadow:0 0 0 4px rgba(56,189,248,.15)}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width: 520px){ .form .row{grid-template-columns:1fr} }
.note{color:var(--muted);font-size:13px;margin-top:10px}
.status{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  display:none;
}
.status.ok{border-color: rgba(56,189,248,.45)}
.status.err{border-color: rgba(255,99,132,.45)}
.footer{
  padding:22px 0 40px;
  color:var(--muted);
  font-size:13px;
  display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
}
.footer a{color:var(--muted);text-decoration:none;font-weight:700}
.footer a:hover{color:var(--text)}
.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

dialog{
  border:none;
  border-radius: 18px;
  padding:0;
  width:min(920px, calc(100% - 32px));
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  background: rgba(15, 20, 42, .98);
  color: var(--text);
}
dialog::backdrop{background: rgba(0,0,0,.55)}
.modalHead{
  display:flex;justify-content:space-between;align-items:center;
  padding:16px 16px 10px;
  border-bottom:1px solid var(--border);
}
.modalBody{padding:16px}
.modalBody h3{margin:0 0 10px}
.modalBody p, .modalBody li{color:var(--muted)}
.modalClose{
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  font-weight:900;
  cursor:pointer;
}


.checklist{margin:14px 0 0; padding-left:18px; color:var(--muted); font-weight:650}
.checklist li{margin:8px 0}
.checklist b{color:var(--text)}


/* --- Section upgrades --- */
.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.subhead{
  margin:0;
  color:var(--muted);
  font-weight:650;
  font-size:14px;
  max-width:70ch;
}

/* About */
.aboutGrid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  align-items:start;
}
@media (max-width: 900px){ .aboutGrid{grid-template-columns:1fr} }
.aboutMain{padding:18px}
.aboutMain h3{margin:0 0 8px;font-size:18px}
.aboutMain p{margin:0;color:var(--muted)}
.aboutMain .checklist{margin-top:12px}
.aboutCards{
  display:grid;
  gap:14px;
}
.miniCard{
  padding:16px;
  position:relative;
  overflow:hidden;
}
.miniCard::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(520px 240px at 15% 0%, rgba(56,189,248,.16), transparent 60%),
    radial-gradient(520px 240px at 85% 0%, rgba(167,139,250,.12), transparent 60%);
  opacity:.9;
  pointer-events:none;
}
.miniCard > *{position:relative}
.miniIcon{
  width:44px;height:44px;
  border-radius:14px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  margin-bottom:10px;
  font-size:20px;
}
.miniCard h3{margin:0 0 6px;font-size:16px}
.miniCard p{margin:0;color:var(--muted)}

/* Services */
.servicesGrid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:14px;
  align-items:start;
}
@media (max-width: 900px){ .servicesGrid{grid-template-columns:1fr} }
.servicesCards{display:grid;gap:14px}
.serviceCard{padding:16px}
.serviceTop{display:flex;gap:10px;align-items:center;margin-bottom:6px}
.serviceCard h3{margin:0 0 2px;font-size:16px}
.serviceCard p{margin:0;color:var(--muted)}
.lessonCard{padding:18px}
.lessonCard h3{margin:0 0 10px;font-size:16px}
.steps{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.steps li{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}
.steps li b{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:4px;
}
.steps li span{color:var(--muted);font-weight:650}

/* Pricing */
.pricingGrid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  align-items:start;
}
@media (max-width: 900px){ .pricingGrid{grid-template-columns:1fr} }
.priceCard{padding:18px}
.priceHeader{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.priceHeader h3{margin:0 0 4px}
.muted{color:var(--muted);margin:0}
.price{
  display:flex;
  align-items:baseline;
  gap:8px;
}
.priceNum{
  font-size:40px;
  font-weight:950;
  letter-spacing:-.02em;
}
.priceUnit{color:var(--muted);font-weight:850}
.pricingSide{display:grid;gap:14px}
.sideCard{padding:16px}
.sideCard p{margin:0;color:var(--muted)}
.sideCard p + p{margin-top:8px}


/* --- Simplified section layout --- */
.simple2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}
@media (max-width: 900px){ .simple2{grid-template-columns:1fr} }

.simpleList{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
  font-weight:650;
}
.simpleList li{margin:6px 0}
.simpleList b{color:var(--text)}

.lessonSimple{margin-top:14px}


/* Stripe buy box */
.buyBox{
  margin-top:16px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background: rgba(255,255,255,.04);
}
.buyRow{
  display:flex;
  gap:14px;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
}
.buyField{
  flex: 1 1 220px;
}
.buyField label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom:6px;
}
.buyField select{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color: var(--text);
}
.buyTotal{
  flex: 0 0 auto;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.14);
}
.buyTotalLabel{
  font-size: 12px;
  color: var(--muted);
}
.buyTotalValue{
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .2px;
}
.buyBtn{
  margin-top:12px;
  width:100%;
  justify-content:center;
}
.buyMsg{
  margin-top:10px;
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
}

/* Small toast for Stripe return */
.toast{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: 14px;
}
.toast[data-kind="ok"]{ }
.toast[data-kind="warn"]{ }
