/* ============================================================
   CERTUVO — style.css
   ============================================================ */

/* -- Variables ---------------------------------------------- */
:root {
  --blue:        #2563EB;
  --blue-deep:   #1D4ED8;
  --blue-tint:   #EEF3FF;
  --blue-soft:   #DCE7FB;
  --ink:         #0C1116;
  --text:        #3F4654;
  --sub:         #697086;
  --faint:       #98A0AE;
  --bg:          #FFFFFF;
  --tint:        #F8FAFE;
  --border:      #E7EAF1;
  --border-soft: #EEF0F5;
  --green:       #15803D;
  --green-bright:#16A34A;
  --green-tint:  #ECFDF3;
  --green-border:#BBF7D0;
  --amber:       #B45309;
  --red:         #DC2626;
  --r:           18px;
  --font:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:        'Space Mono', monospace;
}

/* -- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a     { text-decoration: none; }

/* -- Layout helpers ----------------------------------------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.section   { padding: 72px 0; }
.tint      { background: var(--tint); }

@media (max-width: 600px) { .section { padding: 50px 0; } }

/* -- Typography helpers ------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow .d { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

h2   { font-size: clamp(26px, 4.6vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--ink); max-width: 20ch; }
.lead { font-size: 16px; line-height: 1.62; color: var(--sub); margin-top: 14px; max-width: 60ch; }
.lead b { color: var(--text); font-weight: 600; }

/* -- Reveal animation --------------------------------------- */
.reveal { opacity: 0; transform: translateY(12px); animation: rise .7s cubic-bezier(.2,.8,.25,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* -- Honeypot (hidden from humans, catches bots) ------------ */
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* -- Nav ---------------------------------------------------- */
nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.logo svg { width: 26px; height: 26px; }

/* -- Hero --------------------------------------------------- */
.hero { position: relative; overflow: hidden; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(52% 42% at 50% -8%, rgba(37,99,235,.12), transparent 70%);
}
.hero .container { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 50px; max-width: 820px; }

/* Pill */
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); border: 1px solid var(--blue-soft); padding: 7px 15px; border-radius: 30px; margin-bottom: 24px; }
.pill .d { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

h1       { font-size: clamp(35px, 7.4vw, 60px); line-height: 1.03; font-weight: 800; letter-spacing: -.04em; color: var(--ink); max-width: 14ch; margin: 0 auto; }
h1 .b    { color: var(--blue); }
.hsub    { font-size: clamp(15.5px, 2.3vw, 18px); line-height: 1.6; color: var(--sub); max-width: 56ch; margin: 20px auto 0; }
.hsub b  { color: var(--text); font-weight: 600; }

/* Countdown */
.count { display: flex; gap: 10px; justify-content: center; margin: 34px 0 8px; }
.unit  { min-width: 76px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 15px 10px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 16px 34px -26px rgba(16,24,40,.24); }
.unit .n { font-family: var(--mono); font-size: clamp(24px, 5.6vw, 34px); font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.unit .l { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
@media (max-width: 430px) { .unit { min-width: 0; flex: 1; padding: 13px 6px; } }

.launchline { font-size: 13.5px; font-weight: 600; color: var(--blue-deep); margin-top: 6px; }

/* Offer badge */
.offer     { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 28px auto 0; max-width: 460px; padding: 13px 16px; border-radius: 16px; background: var(--blue-tint); border: 1px solid var(--blue-soft); box-shadow: 0 12px 30px -18px rgba(37,99,235,.5); }
.offer .chip { font-weight: 800; font-size: 15px; color: #fff; background: var(--blue); padding: 8px 12px; border-radius: 10px; white-space: nowrap; box-shadow: 0 4px 12px -3px rgba(37,99,235,.55); }
.offer .ot   { font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: left; line-height: 1.4; }
.offer .ot b { color: var(--blue-deep); }

/* Registration card */
.regcard { margin: 26px auto 0; max-width: 440px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: 0 2px 4px rgba(16,24,40,.04), 0 22px 46px -28px rgba(16,24,40,.28); text-align: left; }

/* Form fields */
.rf       { margin-bottom: 14px; display: flex; flex-direction: column; width: 100%; }
.rf label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.rf label .req { color: var(--blue); }
.rf input { width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 12px 13px; outline: none; transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
.rf input::placeholder { color: #AEB6C4; }
.rf input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.rf input.bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.rf .err  { display: none; font-size: 11.5px; color: var(--red); margin-top: 4px; font-weight: 500; }
.rf.invalid .err { display: block; }

/* Phone row */
.phone-row { display: flex; gap: 8px; width: 100%; }
.phone-row input { flex: 1; min-width: 0; }

/* Searchable dial picker */
#dialWrap       { position: relative; flex-shrink: 0; width: 160px; }
#dialSearch     { width: 100%; font-family: var(--font); font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 11px 10px; outline: none; cursor: pointer; box-sizing: border-box; }
#dialDrop       { display: none; position: absolute; top: calc(100% + 6px); left: 0; width: 280px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 16px 40px -16px rgba(16,24,40,.28); z-index: 100; overflow: hidden; }
.dial-search-wrap { padding: 10px 10px 6px; }
#dialFilter     { width: 100%; font-family: var(--font); font-size: 13.5px; color: var(--ink); background: var(--tint); border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; outline: none; box-sizing: border-box; }
#dialList       { max-height: 220px; overflow-y: auto; padding: 4px 6px 8px; }
.dial-item      { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; cursor: pointer; font-size: 13.5px; color: var(--ink); }
.dial-item:hover, .dial-item.active { background: var(--blue-tint); }
.dial-item .flag  { font-size: 18px; line-height: 1; }
.dial-item .name  { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dial-item .dcode { font-weight: 700; color: var(--blue); flex-shrink: 0; }

/* Source select */
.srcsel { width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 12px 13px; outline: none; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.srcsel:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.srcsel.bad   { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,.12); }

/* Submit button */
.regbtn { width: 100%; font-family: var(--font); font-size: 15.5px; font-weight: 700; color: #fff; background: var(--blue); border: none; border-radius: 12px; padding: 14px; cursor: pointer; margin-top: 8px; box-shadow: 0 10px 24px -8px rgba(37,99,235,.55); transition: transform .15s; }
.regbtn:hover { transform: translateY(-2px); }
.regbtn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.formnote { font-size: 12.5px; color: var(--faint); margin-top: 13px; }

/* Success */
.success { display: none; margin: 30px auto 0; max-width: 440px; align-items: center; gap: 11px; justify-content: center; background: var(--green-tint); border: 1px solid var(--green-border); border-radius: 14px; padding: 15px 18px; color: var(--green); font-weight: 600; font-size: 14.5px; }
.success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Cert pills */
.certs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.cpill { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; color: var(--sub); background: var(--tint); border: 1px solid var(--border); padding: 6px 12px; border-radius: 9px; }
.aligned { margin-top: 15px; font-size: 11px; letter-spacing: .03em; color: var(--faint); line-height: 1.6; }
.aligned b { color: var(--sub); font-weight: 600; }

/* -- Feature spotlight -------------------------------------- */
.feat { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
@media (min-width: 860px) {
  .feat { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .feat.rev .ftext { order: 2; }
}
.flist { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.fitem { display: flex; gap: 13px; }
.fnum  { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; background: var(--blue-tint); color: var(--blue); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--blue-soft); }
.fitem .t { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.fitem .d { font-size: 13px; color: var(--sub); margin-top: 2px; line-height: 1.5; }

/* -- Chat mock ---------------------------------------------- */
.mock     { background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 24px 50px -28px rgba(16,24,40,.30); overflow: hidden; }
.mockhead { display: flex; align-items: center; gap: 11px; padding: 15px 18px; border-bottom: 1px solid var(--border-soft); background: linear-gradient(180deg, var(--blue-tint), #fff); }
.ava      { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(150deg, var(--blue), var(--blue-deep)); color: #fff; display: flex; align-items: center; justify-content: center; }
.ava svg  { width: 20px; height: 20px; }
.mockhead .nm   { font-weight: 700; font-size: 14px; color: var(--ink); }
.mockhead .st   { font-size: 11.5px; color: var(--blue); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.mockhead .st .g{ width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); }
.mockhead .call { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-tint); border: 1px solid var(--blue-soft); padding: 6px 11px; border-radius: 30px; }
.mockhead .call svg { width: 13px; height: 13px; }
.chat { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.bub  { max-width: 84%; font-size: 13px; line-height: 1.5; padding: 10px 13px; border-radius: 14px; }
.u    { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.a    { align-self: flex-start; background: var(--tint); color: var(--text); border: 1px solid var(--border-soft); border-bottom-left-radius: 5px; }
.a b  { color: var(--ink); font-weight: 700; }
.mockfoot     { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border-soft); }
.mockfoot .inp{ flex: 1; font-size: 12.5px; color: var(--faint); background: var(--tint); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; }
.mockfoot .mic{ width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.mockfoot .mic svg { width: 16px; height: 16px; }

/* -- Stats + validation panel ------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 30px; }
@media (min-width: 680px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat   { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px; }
.stat .v{ font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.stat .l{ font-size: 12px; color: var(--sub); margin-top: 3px; line-height: 1.4; }

.panel { margin-top: 24px; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 18px 40px -28px rgba(16,24,40,.26); }
.panel::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, #3B82F6, var(--blue-deep)); }
.phead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1px solid var(--border-soft); background: var(--tint); }
.phead .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.gpill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--green); background: var(--green-tint); border: 1px solid var(--green-border); padding: 5px 12px; border-radius: 30px; }
.gpill .g { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); }

.steps { display: flex; flex-direction: column; padding: 22px; }
@media (min-width: 760px) { .steps { flex-direction: row; } }
.step  { display: flex; gap: 15px; align-items: stretch; }
@media (min-width: 760px) {
  .step { flex: 1; flex-direction: column; align-items: center; text-align: center; position: relative; padding: 0 14px; }
  .step:not(:first-child)::before { content: ""; position: absolute; top: 20px; left: -50%; width: 100%; height: 2px; background: var(--blue-soft); }
}
.srail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
@media (min-width: 760px) { .srail { flex-direction: row; } }
.sbadge { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; color: #fff; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #3B82F6, var(--blue-deep)); box-shadow: 0 5px 12px -3px rgba(37,99,235,.5); position: relative; z-index: 1; }
@media (min-width: 760px) { .sbadge { border: 4px solid #fff; } }
.sline { flex: 1; width: 2px; min-height: 16px; margin-top: 7px; background: var(--blue-soft); }
@media (min-width: 760px) { .sline { display: none; } }
.step:last-child .sline { display: none; }
.sbody { flex: 1; padding-bottom: 20px; }
@media (min-width: 760px) { .sbody { padding-bottom: 0; margin-top: 14px; } }
.step:last-child .sbody { padding-bottom: 0; }
.st-t { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.st-d { font-size: 12.5px; line-height: 1.5; color: var(--sub); }
@media (min-width: 760px) { .st-d { max-width: 22ch; margin: 0 auto; } }
.pfoot { display: flex; gap: 11px; align-items: flex-start; padding: 16px 22px; border-top: 1px solid var(--border-soft); background: linear-gradient(180deg, #fff, var(--tint)); font-size: 13px; color: var(--sub); line-height: 1.55; }
.pfoot svg { flex-shrink: 0; margin-top: 1px; width: 17px; height: 17px; }
.pfoot b { color: var(--ink); font-weight: 700; }

.callout { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--blue-tint); border: 1px solid var(--blue-soft); font-size: 13px; color: var(--text); line-height: 1.55; }
.callout b { color: var(--blue-deep); font-weight: 700; }

/* -- Peer study room ---------------------------------------- */
.room     { background: linear-gradient(160deg, #0C1116, #16233f); border-radius: 22px; padding: 26px; position: relative; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(16,24,40,.5); }
.roomhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.roomhead .lv { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(239,68,68,.9); padding: 5px 11px; border-radius: 30px; }
.roomhead .lv .g { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.roomhead .rt { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; }
.seats { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.seat  { aspect-ratio: 4/3; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; position: relative; }
.seat .face { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: #fff; }
.seat .nm   { position: absolute; left: 8px; bottom: 6px; font-size: 9.5px; color: rgba(255,255,255,.75); font-weight: 600; }
.seat.coach { background: linear-gradient(150deg, rgba(37,99,235,.5), rgba(29,78,216,.3)); border-color: rgba(110,155,255,.5); }
.roombar { display: flex; gap: 8px; margin-top: 16px; }
.rbtn    { flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; padding: 9px; }
.rbtn.on { background: var(--blue); color: #fff; border-color: var(--blue); }

/* -- Feature cards ------------------------------------------ */
.fcards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
@media (min-width: 640px)  { .fcards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px)  { .fcards { grid-template-columns: 1fr 1fr 1fr; } }
.fc      { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; transition: transform .16s, box-shadow .16s; }
.fc:hover{ transform: translateY(-3px); box-shadow: 0 16px 34px -24px rgba(16,24,40,.24); }
.fc .ic  { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-tint); border: 1px solid var(--blue-soft); display: flex; align-items: center; justify-content: center; color: var(--blue); margin-bottom: 15px; }
.fc .ic svg { width: 21px; height: 21px; }
.fc .t   { font-weight: 700; font-size: 15.5px; color: var(--ink); letter-spacing: -.01em; }
.fc .d   { font-size: 13px; line-height: 1.55; color: var(--sub); margin-top: 6px; }

/* -- Certifications ----------------------------------------- */
.certgrid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
@media (min-width: 560px)  { .certgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px)  { .certgrid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.cc      { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; transition: border-color .15s, transform .15s; }
.cc:hover{ border-color: var(--blue); transform: translateY(-2px); }
.cc .code{ display: inline-flex; font-weight: 800; font-size: 13px; color: var(--blue); background: var(--blue-tint); border: 1px solid var(--blue-soft); padding: 4px 10px; border-radius: 8px; letter-spacing: .03em; }
.cc .nm  { font-weight: 700; font-size: 14px; color: var(--ink); margin-top: 11px; }
.cc .pt  { font-size: 12px; color: var(--sub); margin-top: 3px; line-height: 1.45; }

/* -- CTA band ----------------------------------------------- */
.ctaband   { background: linear-gradient(160deg, var(--blue), var(--blue-deep)); text-align: center; color: #fff; }
.ctaband h2{ color: #fff; margin: 0 auto; }
.ctaband p { color: rgba(255,255,255,.85); font-size: 16px; margin-top: 14px; }
.btn-white { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; color: var(--blue-deep); background: #fff; padding: 14px 26px; border-radius: 13px; margin-top: 24px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); transition: transform .15s; }
.btn-white:hover { transform: translateY(-2px); }
.ctaband .m{ font-size: 13px; color: rgba(255,255,255,.7); margin-top: 14px; }

/* -- Footer ------------------------------------------------- */
footer      { background: var(--ink); color: rgba(255,255,255,.6); padding: 40px 0 30px; text-align: center; }
footer .logo{ color: #fff; justify-content: center; margin-bottom: 12px; }
footer .meta{ font-size: 12.5px; color: rgba(255,255,255,.45); }
footer .meta b { color: rgba(255,255,255,.7); font-weight: 600; }
