/* SkoolPing homepage — hero + real-app phone frame + floating cards,
   gradient stats strip, features grid, phone showcase,
   final CTA illustration, trust row, live-support bubble. */

/* Widen homepage-only container so hero + showcase can breathe. */
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap-wide { padding: 0 20px; } }

/* ─────────────────────────────────────────────────────────────
   HERO (full-width, 2-col with phone + floating cards on right)
   ───────────────────────────────────────────────────────────── */
.hero-wide {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 12% 20%, rgba(76, 111, 255, .10), transparent 60%),
              radial-gradient(900px 500px at 92% 30%, rgba(139, 92, 246, .10), transparent 60%);
}
.hero-wide .wrap-wide {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 640px;
}
.hero-left h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 22px;
}
.hero-left h1 .grad {
  background: linear-gradient(135deg, #2e56e6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-left h1 .grad::after {
  content: '.'; color: #2e56e6; -webkit-text-fill-color: #2e56e6;
}
.hero-left .lead {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  margin-top: 22px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-left .hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 30px;
}
.hero-badges {
  display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 34px;
}
.hero-badge {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); font-size: 14px;
}
.hero-badge .b-ico {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--primary-050); color: var(--primary);
  font-size: 18px; flex: none;
}
.hero-badge .b-ico.violet { background: rgba(139, 92, 246, .12); color: #8b5cf6; }
.hero-badge .b-ico.teal   { background: rgba(22, 181, 201, .14); color: #16b5c9; }
.hero-badge b { display: block; font-weight: 700; }
.hero-badge span { color: var(--muted); font-size: 13px; }

/* Play-icon button */
.btn-play { position: relative; padding-left: 46px; }
.btn-play::before {
  content: '';
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--primary-050);
}
.btn-play::after {
  content: '';
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid var(--primary);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ─────────────────────────────────────────────────────────────
   PHONE FRAME (used in hero + showcase)
   ───────────────────────────────────────────────────────────── */
.phone-stage {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 640px;
}
.phone {
  position: relative;
  width: 300px; height: 620px;
  border-radius: 44px;
  background: #0e0f18;
  padding: 12px;
  box-shadow:
    0 0 0 2px #1c1e2e,
    0 40px 80px -20px rgba(20, 25, 60, .35),
    0 20px 40px -15px rgba(46, 86, 230, .25);
}
.phone::before { /* dynamic island */
  content: '';
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: 999px; background: #0e0f18;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #f4f6fd 0%, #ffffff 60%);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px 6px;
  font-size: 12px; font-weight: 700; color: var(--text);
}
.status-bar .status-icons { display: inline-flex; gap: 4px; font-size: 11px; }

/* Parent home mini-app */
.mini-app { padding: 6px 14px 0; flex: 1; overflow: hidden; }
.mini-app .app-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 2px 12px;
}
.mini-app .app-header .greet { color: var(--muted); font-size: 11px; }
.mini-app .app-header .name  { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 15px; margin-top: 1px; }
.mini-app .app-header .ctx   { color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.mini-app .app-header .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #fbcfe8, #f9a8d4);
  display: grid; place-items: center; font-size: 18px;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.att-card {
  background: linear-gradient(135deg, #4c6fff, #2646d6);
  color: #fff; border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 12px 24px -10px rgba(46, 86, 230, .5);
}
.att-card .att-label { font-size: 11.5px; opacity: .9; }
.att-card .att-row {
  display: flex; justify-content: space-between; align-items: center; margin-top: 6px;
}
.att-card .att-status { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 18px; }
.att-card .att-date   { font-size: 10.5px; opacity: .85; margin-top: 1px; }
.att-card .att-pct {
  font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 28px;
  background: rgba(255,255,255,.18); padding: 6px 12px; border-radius: 12px;
}

.tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-top: 12px;
}
.tile {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 6px; text-align: center;
  font-size: 10px; font-weight: 700; color: var(--text);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.tile .tile-ico {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; font-size: 14px;
  margin-bottom: 2px;
}
.tile .tile-ico.amber { background: rgba(245, 184, 46, .16); color: #d18f00; }
.tile .tile-ico.blue  { background: rgba(46, 86, 230, .12); color: var(--primary); }
.tile .tile-ico.pink  { background: rgba(235, 110, 169, .14); color: #eb6ea9; }
.tile .tile-ico.teal  { background: rgba(22, 181, 201, .14); color: #16b5c9; }
.tile .tile-sub { color: var(--muted); font-size: 9.5px; font-weight: 500; }

.upd-title {
  font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 13px;
  margin: 14px 2px 8px;
}
.upd-list { display: flex; flex-direction: column; gap: 6px; }
.upd {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 8px 10px;
}
.upd .upd-ico {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center; font-size: 14px; flex: none;
}
.upd .upd-ico.amber { background: rgba(245, 184, 46, .16); }
.upd .upd-ico.green { background: rgba(31, 181, 116, .14); }
.upd .upd-ico.pink  { background: rgba(235, 110, 169, .14); }
.upd .upd-body { flex: 1; min-width: 0; }
.upd .upd-t { font-weight: 700; font-size: 11.5px; color: var(--text); }
.upd .upd-s { color: var(--muted); font-size: 10px; margin-top: 1px; }
.upd .chip {
  font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  white-space: nowrap;
}
.upd .chip.amber { background: rgba(245, 184, 46, .18); color: #b57500; }
.upd .chip.green { background: rgba(31, 181, 116, .16); color: #148a58; }

.phone-nav {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-top: 1px solid var(--border);
  padding: 6px 4px 10px;
}
.phone-nav .nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 9px; color: var(--muted); font-weight: 600;
}
.phone-nav .nav-item .ni-ico { font-size: 15px; line-height: 1; }
.phone-nav .nav-item.active { color: var(--primary); }

/* ─────────────────────────────────────────────────────────────
   FLOATING CARDS around hero phone
   ───────────────────────────────────────────────────────────── */
.float {
  position: absolute;
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 14px;
  box-shadow: 0 22px 44px -16px rgba(20, 25, 60, .18),
              0 4px 10px rgba(20, 25, 60, .06);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.float.school-ov { top: 8%; right: -6%; width: 260px; animation-delay: 0s; }
.float.fee-col   { bottom: 22%; left: -8%; width: 240px; animation-delay: .8s; }
.float.notice    { bottom: 4%; right: -4%; width: 240px; animation-delay: 1.6s; }

.float .flo-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 10px;
}
.float .flo-title { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 13.5px; }
.float .flo-sub { color: var(--muted); font-size: 11px; margin-top: 1px; }
.float .flo-x {
  width: 22px; height: 22px; border-radius: 50%; background: var(--bg);
  display: grid; place-items: center; color: var(--muted); font-size: 13px;
}

/* School Overview */
.ov-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px;
}
.ov-metrics .m { text-align: left; }
.ov-metrics .m .ml { font-size: 9.5px; color: var(--muted); }
.ov-metrics .m .mv { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 17px; margin-top: 2px; }
.ov-chart { height: 46px; }

/* Fee Collection donut */
.fee-body { display: flex; align-items: center; gap: 12px; }
.donut { position: relative; width: 84px; height: 84px; flex: none; }
.donut svg { transform: rotate(-90deg); }
.donut-c {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.donut-c .dv { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 12.5px; color: var(--text); }
.donut-c .dl { color: var(--muted); font-size: 9px; margin-top: 1px; }
.fee-legend { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.fee-legend .lrow { display: flex; align-items: center; gap: 8px; font-size: 10.5px; }
.fee-legend .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.fee-legend .lbl { flex: 1; color: var(--muted); }
.fee-legend .amt { font-family: 'Plus Jakarta Sans'; font-weight: 800; color: var(--text); }

/* Recent Notice */
.notice .flo-title { display: flex; align-items: center; gap: 6px; }
.notice .new-chip {
  font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(31, 181, 116, .16); color: #148a58;
}
.notice .n-date { color: var(--muted); font-size: 10.5px; margin: 4px 0 6px; }
.notice .n-body { color: var(--text); font-size: 11.5px; line-height: 1.4; }

/* ─────────────────────────────────────────────────────────────
   PURPLE GRADIENT STATS STRIP
   ───────────────────────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, #4c6fff, #6d5cf6 55%, #8b5cf6);
  border-radius: 20px;
  padding: 22px 28px;
  color: #fff;
  display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap: 24px;
  align-items: center;
  box-shadow: 0 26px 60px -20px rgba(76, 111, 255, .5);
}
.stats-strip .trust-row { display: flex; align-items: center; gap: 12px; }
.avatars { display: flex; }
.avatars .av {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #fff;
  background: #f9a8d4;
  display: grid; place-items: center; font-size: 15px;
  margin-left: -8px;
}
.avatars .av:first-child { margin-left: 0; }
.avatars .av:nth-child(2) { background: #93c5fd; }
.avatars .av:nth-child(3) { background: #fcd34d; }
.stats-strip .tlabel { font-size: 13.5px; line-height: 1.35; }
.stats-strip .tlabel b { font-weight: 800; }
.stats-strip .metric { text-align: center; border-left: 1px solid rgba(255,255,255,.22); }
.stats-strip .metric:first-of-type { border-left: 0; }
.stats-strip .metric .v {
  font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 26px;
  display: inline-flex; align-items: center; gap: 6px;
}
.stats-strip .metric .l { font-size: 12.5px; opacity: .9; margin-top: 2px; }
.stats-strip .metric .stars { font-size: 12px; letter-spacing: 1px; margin-left: 4px; color: #fbbf24; }
@media (max-width: 960px) {
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px; }
  .stats-strip .metric { border-left: 0; }
}

/* ─────────────────────────────────────────────────────────────
   FEATURES GRID (refreshed 6-tile)
   ───────────────────────────────────────────────────────────── */
.feat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.feat {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 22px 18px; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feat .fi {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin: 0 auto 14px;
  font-size: 22px;
}
.feat .fi.green  { background: rgba(31, 181, 116, .14); color: #148a58; }
.feat .fi.violet { background: rgba(139, 92, 246, .14); color: #8b5cf6; }
.feat .fi.amber  { background: rgba(245, 184, 46, .16); color: #d18f00; }
.feat .fi.teal   { background: rgba(22, 181, 201, .14); color: #16b5c9; }
.feat .fi.pink   { background: rgba(235, 110, 169, .14); color: #eb6ea9; }
.feat .fi.blue   { background: rgba(46, 86, 230, .12); color: var(--primary); }
.feat h3 { font-size: 15.5px; margin-bottom: 6px; }
.feat p  { color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 1100px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .feat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─────────────────────────────────────────────────────────────
   3-PHONE SHOWCASE
   ───────────────────────────────────────────────────────────── */
.showcase {
  background: #fff; border: 1px solid var(--border);
  border-radius: 24px; padding: 40px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.show-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.show-phone { text-align: center; }
.show-phone .cap-eyebrow {
  font-size: 11px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .06em;
}
.show-phone .cap-h {
  font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 12.5px;
  color: var(--text); margin: 4px 0 12px;
}
.show-phone .phone-mini {
  position: relative;
  width: 100%; max-width: 170px; height: 320px;
  margin: 0 auto;
  border-radius: 26px;
  background: #0e0f18; padding: 6px;
  box-shadow: 0 20px 40px -14px rgba(20, 25, 60, .25);
}
.show-phone .phone-mini::before {
  content: '';
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 14px; border-radius: 999px; background: #0e0f18; z-index: 3;
}
.show-phone .mini-screen {
  width: 100%; height: 100%; border-radius: 20px;
  background: #fbfbff;
  overflow: hidden; display: flex; flex-direction: column;
  padding-top: 26px;
}

/* Teacher dashboard mini */
.mini-teach { padding: 8px 12px; font-size: 10px; }
.mini-teach .m-title { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 12px; }
.mini-teach .m-sub { color: var(--muted); font-size: 9.5px; margin-top: 1px; }
.mini-teach .att-progress {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; border-radius: 12px; padding: 10px;
  margin-top: 10px;
}
.mini-teach .att-progress .apl { font-size: 9.5px; opacity: .9; }
.mini-teach .att-progress .apv { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 16px; margin-top: 2px; }
.mini-teach .att-progress .apbar { height: 4px; background: rgba(255,255,255,.3); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.mini-teach .att-progress .apbar > i { display: block; width: 95%; height: 100%; background: #fff; }
.mini-teach .m-list { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.mini-teach .m-row {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 8px; display: flex; align-items: center; gap: 6px; font-size: 9.5px;
}
.mini-teach .m-row .stud-av {
  width: 22px; height: 22px; border-radius: 50%; background: #93c5fd;
  display: grid; place-items: center; font-size: 10px; flex: none;
}
.mini-teach .m-row .m-name { flex: 1; font-weight: 700; }
.mini-teach .m-row .m-pill { font-size: 8.5px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.mini-teach .m-row .m-pill.p { background: rgba(31,181,116,.16); color: #148a58; }
.mini-teach .m-row .m-pill.a { background: rgba(240,84,76,.16);  color: var(--danger); }

/* Parent fees mini */
.mini-fees { padding: 8px 12px; font-size: 10px; }
.mini-fees .m-title { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 12px; }
.mini-fees .fee-hero {
  background: rgba(240,84,76,.08); border: 1px solid rgba(240,84,76,.24);
  border-radius: 12px; padding: 10px; margin-top: 10px;
}
.mini-fees .fee-hero .fhl { font-size: 9.5px; color: var(--muted); }
.mini-fees .fee-hero .fhv { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 18px; color: var(--danger); margin-top: 2px; }
.mini-fees .fee-hero .fhp { font-size: 9px; color: var(--danger); font-weight: 700; margin-top: 2px; }
.mini-fees .m-sec { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 10.5px; margin: 12px 0 6px; }
.mini-fees .m-row {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 8px; display: flex; align-items: center; gap: 6px; font-size: 9px;
  margin-bottom: 4px;
}
.mini-fees .m-row .n { flex: 1; font-weight: 700; }
.mini-fees .m-row .paid { font-size: 8.5px; padding: 2px 6px; border-radius: 999px; background: rgba(31,181,116,.16); color: #148a58; font-weight: 700; }
.mini-fees .paynow {
  display: block; text-align: center; margin-top: 10px;
  background: linear-gradient(135deg, #4c6fff, #2646d6); color: #fff;
  padding: 8px; border-radius: 10px; font-weight: 700; font-size: 10.5px;
}

/* Student profile mini */
.mini-prof { padding: 12px; font-size: 10px; text-align: center; }
.mini-prof .prof-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #fbcfe8, #f9a8d4);
  display: grid; place-items: center; font-size: 20px; margin: 0 auto 6px;
}
.mini-prof .p-name { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 12px; }
.mini-prof .p-class { color: var(--muted); font-size: 9.5px; margin-top: 1px; }
.mini-prof .m-sec { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 10.5px; margin: 12px 0 6px; text-align: left; }
.mini-prof .perf-card {
  background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff;
  border-radius: 12px; padding: 10px; margin-top: 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.mini-prof .perf-card .g {
  font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 22px;
  background: rgba(255,255,255,.2); width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
}
.mini-prof .perf-card .pl { font-size: 10px; opacity: .9; text-align: left; }
.mini-prof .perf-card .pv { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 12px; text-align: left; }
.mini-prof .sub-list { display: flex; flex-direction: column; gap: 5px; }
.mini-prof .sub-row {
  display: flex; align-items: center; gap: 8px; font-size: 9.5px;
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px;
}
.mini-prof .sub-row .sn { flex: 1; text-align: left; font-weight: 700; }
.mini-prof .sub-row .sv { font-family: 'Plus Jakarta Sans'; font-weight: 800; }
.mini-prof .sub-row .sbar {
  width: 40px; height: 4px; border-radius: 4px; background: var(--border); overflow: hidden;
}
.mini-prof .sub-row .sbar > i { display: block; height: 100%; background: linear-gradient(90deg, #4c6fff, #8b5cf6); }

/* Showcase without a side column */
.showcase.solo { grid-template-columns: 1fr; }
.showcase.solo .show-phones { max-width: 860px; margin: 0 auto; width: 100%; }

@media (max-width: 1000px) {
  .showcase { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 720px) {
  .show-phones { grid-template-columns: 1fr; }
  .show-phone .phone-mini { max-width: 220px; height: 400px; }
}

/* ─────────────────────────────────────────────────────────────
   FINAL CTA with illustration + trust row
   ───────────────────────────────────────────────────────────── */
.big-cta {
  background: linear-gradient(135deg, #eef2ff 0%, #fef3ff 50%, #ecfeff 100%);
  border-radius: 24px;
  padding: 40px;
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 20px;
  align-items: center;
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.big-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 10% 100%, rgba(139, 92, 246, .18), transparent),
    radial-gradient(400px 200px at 90% 100%, rgba(46, 86, 230, .18), transparent);
  pointer-events: none;
}
.big-cta > * { position: relative; z-index: 1; }
.cta-copy { text-align: center; }
.cta-copy h2 { font-size: clamp(24px, 3vw, 32px); }
.cta-copy p { color: var(--muted); margin-top: 10px; }
.cta-copy .cta-btns { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* CSS illustration — school + family */
.illus {
  position: relative; height: 220px;
}
.illus .sky { position: absolute; inset: 0; overflow: hidden; }
.illus .cloud {
  position: absolute; width: 44px; height: 14px; background: #fff;
  border-radius: 999px; opacity: .9;
  box-shadow: 12px -4px 0 0 #fff, -8px 2px 0 -2px #fff;
}
.illus .cloud.c1 { top: 12px; left: 20px; }
.illus .cloud.c2 { top: 30px; right: 30px; }
.illus .school {
  position: absolute; bottom: 0; left: 8px; width: 130px; height: 130px;
}
.illus .school .body {
  position: absolute; bottom: 0; width: 100%; height: 88px;
  background: #fcd34d; border-radius: 8px 8px 4px 4px;
}
.illus .school .roof {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 70px solid transparent; border-right: 70px solid transparent;
  border-bottom: 40px solid #ef4444;
}
.illus .school .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 26px; background: #6b7280;
}
.illus .school .flag::after {
  content: ''; position: absolute; top: 0; left: 2px;
  width: 14px; height: 8px; background: #22c55e;
}
.illus .school .clock {
  position: absolute; bottom: 62px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  border: 2px solid #92400e;
}
.illus .school .door {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 34px; background: #92400e;
  border-radius: 12px 12px 0 0;
}
.illus .school .win {
  position: absolute; width: 16px; height: 14px; background: #bfdbfe;
  border: 1.5px solid #92400e; border-radius: 3px; bottom: 40px;
}
.illus .school .win.wl { left: 14px; }
.illus .school .win.wr { right: 14px; }
.illus .family {
  position: absolute; bottom: 0; right: 8px;
  display: flex; align-items: flex-end; gap: 4px;
}
.illus .fig {
  width: 40px; height: 84px; position: relative;
}
.illus .fig .head { width: 22px; height: 22px; border-radius: 50%; margin: 0 auto; }
.illus .fig .torso {
  width: 34px; height: 46px; margin: 4px auto 0; border-radius: 10px 10px 6px 6px;
  position: relative;
}
.illus .fig .torso::after { /* phone */
  content: ''; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 16px; background: #1f2937; border-radius: 2px;
  box-shadow: 0 0 0 1px #fff inset;
}
.illus .fig .legs { width: 24px; height: 12px; margin: 0 auto; background: #1f2937; border-radius: 2px 2px 4px 4px; }
.illus .fig.kid    { height: 60px; }
.illus .fig.kid  .head { background: #f9a8d4; }
.illus .fig.kid  .torso { background: #ef4444; height: 30px; }
.illus .fig.mom  .head { background: #fde68a; }
.illus .fig.mom  .torso { background: #a855f7; }
.illus .fig.dad  .head { background: #fed7aa; }
.illus .fig.dad  .torso { background: #3b82f6; }

@media (max-width: 900px) {
  .big-cta { grid-template-columns: 1fr; text-align: center; }
  .illus { max-width: 300px; margin: 0 auto; }
}

/* ─────────────────────────────────────────────────────────────
   TRUST ROW (bottom, 4 icons)
   ───────────────────────────────────────────────────────────── */
.trust-row-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 28px 0 12px;
}
.trust-row-4 .tit {
  display: flex; align-items: flex-start; gap: 12px;
}
.trust-row-4 .tit .ti-ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  background: var(--primary-050); color: var(--primary); font-size: 18px;
}
.trust-row-4 .tit .ti-ico.violet { background: rgba(139,92,246,.14); color: #8b5cf6; }
.trust-row-4 .tit .ti-ico.green  { background: rgba(31,181,116,.14); color: #148a58; }
.trust-row-4 .tit .ti-ico.teal   { background: rgba(22,181,201,.14); color: #16b5c9; }
.trust-row-4 .tit b { display: block; font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 14px; }
.trust-row-4 .tit span { color: var(--muted); font-size: 12.5px; }
@media (max-width: 720px) { .trust-row-4 { grid-template-columns: 1fr 1fr; } }

/* ─────────────────────────────────────────────────────────────
   LIVE SUPPORT bubble
   ───────────────────────────────────────────────────────────── */
.live-support {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border);
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  box-shadow: 0 20px 40px -12px rgba(20,25,60,.24);
  text-decoration: none; color: var(--text);
  transition: transform .12s ease, box-shadow .2s ease;
}
.live-support:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -12px rgba(20,25,60,.32); }
.live-support .ls-ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; display: grid; place-items: center; font-size: 20px;
  position: relative;
}
.live-support .ls-ico::after {
  content: ''; position: absolute; top: 4px; right: 4px;
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  border: 2px solid #fff;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .6; } }
.live-support .ls-t { display: flex; flex-direction: column; padding-right: 6px; }
.live-support .ls-t b { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 13px; }
.live-support .ls-t span { color: var(--muted); font-size: 11.5px; margin-top: -1px; }
@media (max-width: 480px) { .live-support .ls-t { display: none; } }

/* ─────────────────────────────────────────────────────────────
   Responsive — hero collapses under lg
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-wide .wrap-wide { grid-template-columns: 1fr; min-height: auto; }
  .phone-stage { min-height: 720px; margin-top: 20px; }
  .float.school-ov { right: 0; top: 0; }
  .float.fee-col   { left: 0; bottom: 40px; }
  .float.notice    { right: 0; bottom: 0; }
}
@media (max-width: 720px) {
  .phone-stage { min-height: 780px; }
  .float { position: relative; margin: 12px auto 0; }
  .float.school-ov, .float.fee-col, .float.notice {
    position: relative; inset: auto; margin: 12px auto 0;
  }
  .phone { width: 280px; height: 580px; }
}

/* Real app screenshots inside the phone frames */
.phone.real { height: 580px; cursor: zoom-in; }
.phone.real::before { display: none; }
.phone.real .phone-screen { background: #0f1024; }
.phone.real .phone-screen > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.real .ping { top: 14%; }
.show-phone .phone-mini.real { height: auto; aspect-ratio: 170 / 330; cursor: zoom-in; }
.show-phone .phone-mini.real::before { display: none; }
.show-phone .phone-mini.real .mini-screen { padding-top: 0; background: #0f1024; }
.show-phone .phone-mini.real .mini-screen > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
