/* ═══════════════════════════════════════════════════════
   STEMNEST ACADEMY — FREE TRIAL LANDING PAGE STYLES
═══════════════════════════════════════════════════════ */

/* ── NAV ── */
.lp-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); border-bottom: 1.5px solid #e8eaf0;
  padding: 0 5%; display: flex; align-items: center; justify-content: space-between;
  height: 70px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.lp-nav-trust {
  display: flex; gap: 20px; font-size: 13px; font-weight: 700; color: var(--light);
}

/* ── HERO (now contains the form on the right) ── */
.lp-hero {
  min-height: calc(100vh - 70px);
  background: linear-gradient(160deg, #0a1628 0%, #1a3a6b 50%, #0d2a1a 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 48px 5%;
  gap: 48px;
  position: relative; overflow: hidden;
}
.lp-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26,86,219,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(14,159,110,.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(255,107,53,.15) 0%, transparent 40%);
  pointer-events: none;
}
.lp-hero-content {
  position: relative; z-index: 1;
  padding-top: 20px;
}
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; padding: 8px 18px;
  font-size: 13px; font-weight: 800; color: rgba(255,255,255,.9);
  margin-bottom: 24px;
}
.lp-hero-content h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1.12; color: #fff; margin-bottom: 16px;
}
.lp-highlight {
  background: linear-gradient(90deg, #ff6b35, #fbbf24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero-content p {
  font-size: 16px; color: rgba(255,255,255,.75);
  line-height: 1.7; margin-bottom: 24px; max-width: 480px;
}
.lp-hero-proof {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.lp-proof-item { display: flex; flex-direction: column; align-items: center; }
.lp-proof-num  { font-family: 'Fredoka One', cursive; font-size: 26px; color: #fff; line-height: 1; }
.lp-proof-item span:last-child { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.lp-proof-div  { width: 1px; height: 36px; background: rgba(255,255,255,.15); }

/* Hero perks (replaces the old CTA arrow button) */
.lp-hero-perks { display: flex; flex-direction: column; gap: 10px; }
.lp-hero-perk  {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: rgba(255,255,255,.8);
}
.lp-hero-perk span { font-size: 16px; }

/* Right column: form */
.lp-hero-form-col {
  position: relative; z-index: 1;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  /* subtle scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.lp-hero-form-col::-webkit-scrollbar { width: 4px; }
.lp-hero-form-col::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 4px; }

/* Remove the old hero cards — no longer used */
.lp-hero-cards { display: none; }
.lp-hero-cta   { display: none; }

/* ── PROOF STRIP ── */
.lp-proof-strip {
  background: var(--dark); padding: 18px 5%;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.lp-proof-strip-item {
  font-size: 14px; font-weight: 700; color: rgba(255,255,255,.7);
}
.lp-proof-strip-item strong { color: #fff; }

/* ── MINI REVIEWS ── */
.lp-reviews {
  background: var(--bg); padding: 60px 5%;
  text-align: center;
}
.lp-section-label {
  display: inline-block;
  background: var(--blue-light); color: var(--blue);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 32px;
}
.lp-reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 1000px; margin: 0 auto;
}
.lp-review {
  background: var(--white); border-radius: 18px; padding: 24px;
  border: 1.5px solid var(--blue-light); text-align: left;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.lp-review-stars { color: #f59e0b; font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.lp-review p     { font-size: 14px; color: var(--mid); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.lp-reviewer     { display: flex; align-items: center; gap: 10px; }
.lp-rev-av       { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Fredoka One', cursive; font-size: 14px; color: #fff; flex-shrink: 0; }
.lp-reviewer strong { font-size: 14px; color: var(--dark); display: block; }
.lp-reviewer span   { font-size: 12px; color: var(--light); font-weight: 700; }

/* ── FORM CARD (inside hero, right column) ── */
.lp-form-right { width: 100%; }
.lp-form {
  background: var(--white); border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 12px 48px rgba(0,0,0,.35);
}
.lp-form-section-title {
  font-family: 'Fredoka One', cursive; font-size: 17px;
  color: var(--dark); margin-bottom: 14px;
}
.lp-form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 4px; }
.lp-full       { grid-column: 1 / -1; }
.lp-form-divider { height: 1px; background: #e8eaf0; margin: 14px 0; }
.lp-field      { display: flex; flex-direction: column; gap: 5px; }
.lp-field label {
  font-size: 11px; font-weight: 900; color: var(--mid);
  text-transform: uppercase; letter-spacing: .4px;
}
.req           { color: var(--orange); }
.lp-optional   { font-size: 11px; font-weight: 700; color: var(--light); text-transform: none; letter-spacing: 0; }
.lp-field input, .lp-field select {
  padding: 10px 12px; border: 2px solid #e8eaf0; border-radius: 10px;
  font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--dark); background: var(--white); outline: none;
  transition: border-color .2s; width: 100%; box-sizing: border-box;
}
.lp-field input:focus, .lp-field select:focus { border-color: var(--blue); }
.lp-field-hint { font-size: 10px; color: var(--light); font-weight: 700; }

/* ── Phone wrap fix ── */
.lp-phone-wrap {
  display: flex; gap: 8px; align-items: stretch; width: 100%;
}
.lp-country-code {
  width: 120px; flex-shrink: 0;
  /* override the width:100% from .lp-field input */
  width: 120px !important;
}
.lp-phone-wrap input[type="tel"] {
  flex: 1;
  min-width: 0;   /* critical — lets flex item shrink below content size */
  width: auto !important;  /* override the 100% rule */
}

/* Subject selector */
.lp-subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-subject-opt input { display: none; }
.lp-subj-card {
  border: 2px solid #e8eaf0; border-radius: 14px; padding: 16px 12px;
  text-align: center; cursor: pointer; transition: border-color .2s, background .2s;
  background: var(--bg);
}
.lp-subj-card:hover { border-color: var(--blue); }
.lp-subject-opt input:checked + .lp-subj-card {
  border-color: var(--blue); background: var(--blue-light);
}
.lp-subj-emoji { font-size: 28px; margin-bottom: 6px; }
.lp-subj-name  { font-family: 'Fredoka One', cursive; font-size: 16px; color: var(--dark); }
.lp-subj-sub   { font-size: 10px; color: var(--light); font-weight: 700; margin-top: 2px; }

/* Device selector */
.lp-device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lp-device-opt input { display: none; }
.lp-device-card {
  border: 2px solid #e8eaf0; border-radius: 12px; padding: 12px 8px;
  text-align: center; cursor: pointer; font-size: 13px; font-weight: 800;
  color: var(--mid); background: var(--bg); transition: .2s;
}
.lp-device-card:hover { border-color: var(--green); }
.lp-device-opt input:checked + .lp-device-card {
  border-color: var(--green); background: var(--green-light); color: var(--green-dark);
}

/* Timezone display */
.lp-tz-display {
  font-size: 11px; font-weight: 700; color: var(--blue);
  background: var(--blue-light); padding: 2px 8px; border-radius: 50px;
  text-transform: none; letter-spacing: 0;
}

/* Time grid */
.lp-time-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px;
}
.lp-time-slot {
  border: 2px solid #e8eaf0; border-radius: 10px; padding: 10px 8px;
  text-align: center; cursor: pointer; font-size: 13px; font-weight: 800;
  color: var(--mid); background: var(--bg); transition: .2s;
  user-select: none;
}
.lp-time-slot:hover   { border-color: var(--orange); }
.lp-time-slot.selected{ border-color: var(--orange); background: var(--orange-light); color: var(--orange-dark); }

/* Submit button */
.lp-submit-btn {
  width: 100%; padding: 18px; margin-top: 24px;
  background: linear-gradient(135deg, var(--orange), #fbbf24);
  color: #fff; border: none; border-radius: 14px;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 18px;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(255,107,53,.4);
}
.lp-submit-btn:hover   { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255,107,53,.5); }
.lp-submit-btn:disabled{ opacity: .7; cursor: not-allowed; transform: none; }
.lp-submit-note {
  text-align: center; font-size: 12px; color: var(--light);
  font-weight: 700; margin-top: 12px;
}

/* ── TRUST SECTION ── */
.lp-trust-section { background: var(--bg); padding: 60px 5%; }
.lp-trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; max-width: 1000px; margin: 0 auto;
}
.lp-trust-card {
  background: var(--white); border-radius: 18px; padding: 28px 22px;
  text-align: center; border: 1.5px solid #e8eaf0;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: transform .2s;
}
.lp-trust-card:hover { transform: translateY(-3px); }
.lp-trust-icon  { font-size: 36px; margin-bottom: 12px; }
.lp-trust-title { font-family: 'Fredoka One', cursive; font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.lp-trust-desc  { font-size: 13px; color: var(--light); line-height: 1.6; }

/* ── SUCCESS OVERLAY ── */
.lp-success-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,20,50,.7); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lp-success-overlay.show { display: flex; }
.lp-success-box {
  background: var(--white); border-radius: 28px; padding: 48px 40px;
  max-width: 520px; width: 100%; text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
  animation: fadeIn .4s ease;
}
.lp-success-emoji  { font-size: 72px; margin-bottom: 16px; animation: bounce 1s ease; }
@keyframes bounce  { 0%,100%{transform:scale(1);}50%{transform:scale(1.2);} }
.lp-success-title  { font-family: 'Fredoka One', cursive; font-size: 32px; color: var(--dark); margin-bottom: 12px; }
.lp-success-msg    { font-size: 18px; color: var(--mid); line-height: 1.6; margin-bottom: 20px; }
.lp-success-details{
  background: var(--green-light); border-radius: 14px; padding: 16px 20px;
  font-size: 14px; font-weight: 700; color: var(--green-dark);
  margin-bottom: 20px; text-align: left; line-height: 1.8;
}
.lp-success-note {
  font-size: 13px; color: var(--mid); line-height: 1.7;
  background: var(--blue-light); border-radius: 12px; padding: 14px 18px;
  margin-bottom: 20px;
}
.lp-success-countdown {
  font-size: 13px; font-weight: 800; color: var(--light);
}
.lp-success-countdown span { color: var(--orange); font-family: 'Fredoka One', cursive; font-size: 18px; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .lp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 5%;
  }
  .lp-hero-form-col {
    max-height: none;
    overflow-y: visible;
  }
  .lp-hero-content { text-align: center; }
  .lp-hero-proof   { justify-content: center; }
  .lp-hero-perks   { align-items: center; }
}
@media (max-width: 900px) {
  .lp-nav-trust   { display: none; }
  .lp-device-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-subject-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .lp-form        { padding: 20px 16px; }
  .lp-form-grid   { grid-template-columns: 1fr; }
  .lp-full        { grid-column: 1; }
  .lp-subject-grid{ grid-template-columns: 1fr; }
  .lp-proof-strip { gap: 16px; }
  .lp-success-box { padding: 32px 20px; }
  .lp-phone-wrap  { flex-direction: column; }
  .lp-country-code { width: 100% !important; }
  .lp-phone-wrap input[type="tel"] { width: 100% !important; }
}
