*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --ink: #0D0F1A;
      --paper: #F7F8FC;
      --navy: #0F1F5C;
      --blue: #1A3DB5;
      --accent: #3B82F6;
      --gold: #F5A623;
      --green: #16A34A;
      --red: #DC2626;
      --muted: #64748B;
      --border: #E2E8F0;
      --white: #FFFFFF;
      --card: #FFFFFF;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--paper);
      color: var(--ink);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.2; }
    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }

    /* NAV */
    nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,248,252,0.92);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
}
/* The blur lives on a pseudo-element, not on nav itself.
   IMPORTANT: backdrop-filter/filter/transform on an ancestor creates a new
   containing block for position:fixed descendants. Since .nav-links and
   .nav-backdrop are fixed and live inside <nav>, putting backdrop-filter
   directly on <nav> would trap them inside nav's own small box instead of
   the viewport, breaking the mobile menu's position and height. */
nav::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}

/* Logo Styles */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; background: var(--navy); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.logo-mark::after {
  content: ''; position: absolute; inset: -2px; border-radius: 12px;
  border: 2px solid var(--gold);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); }
.logo-text small { font-size: 10px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* Navigation Links */
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 9px 20px; border-radius: 8px;
  font-size: 14px !important; font-weight: 600 !important; transition: background 0.2s !important;
}

/* Mobile Toggle Styles */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; z-index: 110; position: relative; }
.menu-toggle .bar { display: block; width: 24px; height: 2.5px; margin: 5px auto; background: var(--navy); transition: transform 0.3s, opacity 0.3s; border-radius: 2px; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Backdrop behind mobile menu */
.nav-backdrop {
  display: none; position: fixed; inset: 65px 0 0 0;
  background: rgba(13,15,26,0.45); backdrop-filter: blur(2px);
  z-index: 90; opacity: 0; transition: opacity 0.3s;
}
.nav-backdrop.active { display: block; opacity: 1; }

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .nav-links {
    position: fixed; right: -100%; top: 65px; left: auto;
    flex-direction: column; align-items: stretch; background: var(--white);
    width: min(78vw, 320px); height: calc(100vh - 65px);
    text-align: left; padding: 28px 28px; gap: 4px;
    transition: right 0.35s cubic-bezier(.16,1,.3,1);
    border-left: 1px solid var(--border);
    box-shadow: -16px 0 40px rgba(13,15,26,0.18);
    z-index: 100; overflow-y: auto;
  }

  .nav-links.active { right: 0; }
  .nav-links li { margin: 0; width: 100%; }
  .nav-links li a {
    display: block; padding: 14px 4px; font-size: 16px; font-weight: 600;
    color: var(--navy); border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .nav-cta {
    margin-top: 16px; text-align: center; border-bottom: none !important;
  }
  body.menu-open { overflow: hidden; }
}
    /* HERO */
    .hero {
      background:
        linear-gradient(135deg, rgba(13,18,46,0.8) 0%, rgba(15,31,92,0.68) 45%, rgba(26,61,181,0.3) 100%),
        url('https://images.unsplash.com/photo-1473649085228-583485e6e4d7?auto=format&fit=crop&w=1740&q=80') center 30% / cover no-repeat;
      color: var(--white);
      padding: 96px 5% 80px; position: relative; overflow: hidden;
    }
    .hero::before {
      content: ''; position: absolute; top: -120px; right: -80px;
      width: 520px; height: 520px;
      background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero::after {
      content: ''; position: absolute; bottom: -80px; left: 10%;
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-inner {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
      align-items: center; position: relative; z-index: 1;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3);
      color: var(--gold); font-size: 12px; font-weight: 600;
      letter-spacing: 0.06em; text-transform: uppercase;
      padding: 5px 12px; border-radius: 100px; margin-bottom: 24px;
    }
    .hero-badge::before {
      content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
    }
    .hero h1 {
      font-size: clamp(36px, 4.5vw, 54px); font-weight: 800;
      line-height: 1.1; margin-bottom: 20px; color: var(--white);
    }
    .hero h1 em { font-style: normal; color: var(--gold); }
    .hero p {
      font-size: 17px; color: rgba(255,255,255,0.72);
      margin-bottom: 36px; max-width: 480px; line-height: 1.7;
    }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

    .btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--gold); color: var(--navy);
      font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px;
      padding: 14px 28px; border-radius: 10px;
      transition: transform 0.15s, box-shadow 0.15s; border: none; cursor: pointer;
    }
    .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245,166,35,0.35); }
    .btn-outline {
      display: inline-flex; align-items: center; gap: 8px;
      background: transparent; color: var(--white);
      font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px;
      padding: 13px 24px; border-radius: 10px;
      border: 1.5px solid rgba(255,255,255,0.25);
      transition: border-color 0.2s, background 0.2s; cursor: pointer;
    }
    .btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

    /* Dashboard mockup */
    .hero-visual { position: relative; }
    .dashboard-card {
      background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
      border-radius: 16px; padding: 24px; backdrop-filter: blur(8px);
    }
    .dash-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
    .dash-title { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
    .dash-badge { background: rgba(22,163,74,0.2); color: #4ade80; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 100px; }
    .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
    .stat-box { background: rgba(255,255,255,0.07); border-radius: 10px; padding: 14px; }
    .stat-box .num { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: var(--white); line-height: 1; }
    .stat-box .lbl { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 4px; }
    .stat-box .delta { font-size: 11px; color: #4ade80; font-weight: 600; margin-top: 2px; }
    .attendance-bar { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
    .att-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
    .att-label { font-size: 12px; color: rgba(255,255,255,0.6); }
    .att-pct { font-size: 12px; font-weight: 600; color: var(--white); }
    .bar-track { height: 5px; background: rgba(255,255,255,0.1); border-radius: 100px; overflow: hidden; }
    .bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent), var(--gold)); }
    .sms-alert {
      background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.25);
      border-radius: 8px; padding: 10px 12px;
      display: flex; align-items: flex-start; gap: 10px;
    }
    .sms-icon {
      width: 28px; height: 28px; background: rgba(245,166,35,0.2); border-radius: 8px;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
      color: var(--gold);
    }
    .sms-icon svg { width: 14px; height: 14px; }
    .sms-text { font-size: 11px; color: rgba(255,255,255,0.7); line-height: 1.5; }
    .sms-text strong { color: var(--gold); }

    /* Floating pills */
    .float-pill {
      position: absolute; background: var(--white); border-radius: 100px;
      padding: 8px 14px; display: flex; align-items: center; gap: 6px;
      font-size: 12px; font-weight: 600; color: var(--navy);
      box-shadow: 0 8px 24px rgba(0,0,0,0.2); white-space: nowrap;
      animation: floatY 3s ease-in-out infinite;
    }
    .float-pill:nth-child(2) { animation-delay: -1.5s; }
    @keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
    .pill-dot { width: 8px; height: 8px; border-radius: 50%; }
    .pill-1 { top: -16px; right: 24px; }
    .pill-2 { bottom: -16px; left: 16px; }

    /* TRUST BAR */
    .trust-bar {
      background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(245,166,35,0.08) 100%);
      border-bottom: 1px solid var(--border); padding: 18px 5%;
    }
    .trust-inner {
      max-width: 1100px; margin: 0 auto;
      display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
    }
    .trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
    .trust-item svg { color: var(--green); flex-shrink: 0; width: 16px; height: 16px; }

    /* SECTIONS */
    section { padding: 88px 5%; }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
    .section-title { font-family: 'Sora', sans-serif; font-size: clamp(28px,3.5vw,40px); font-weight: 800; color: var(--navy); margin-bottom: 16px; }
    .section-sub { font-size: 17px; color: var(--muted); max-width: 560px; line-height: 1.7; margin-bottom: 56px; }

    /* WHY USE EDUTRACK */
    .why-us {
      background: linear-gradient(180deg, #0D0F1A 0%, #0F1F5C 100%);
      position: relative; overflow: hidden;
    }
    .why-us::before {
      content: '';
      position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
      width: 700px; height: 700px; border-radius: 50%;
      background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 70%);
      pointer-events: none;
    }
    .why-us::after {
      content: '';
      position: absolute; inset: 0;
      background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
      background-size: 22px 22px;
      -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 0%, transparent 75%);
      mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 0%, transparent 75%);
      pointer-events: none;
    }
    .why-us .section-inner { position: relative; z-index: 1; }
    .why-us .section-eyebrow { color: var(--gold); }
    .why-us .section-title { color: var(--white); }
    .why-us .section-sub { color: rgba(255,255,255,0.65); }

    .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
    .why-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 20px;
      padding: 34px 32px;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      position: relative;
      transition: transform 0.25s, border-color 0.25s, background 0.25s;
    }
    .why-card:hover {
      transform: translateY(-4px);
      background: rgba(255,255,255,0.06);
      border-color: rgba(255,255,255,0.18);
    }
    .why-icon {
      width: 56px; height: 56px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }
    .why-icon svg { width: 26px; height: 26px; }
    .why-icon-blue { background: linear-gradient(135deg, #3B82F6, #1A3DB5); color: #fff; }
    .why-icon-gold { background: linear-gradient(135deg, #F5A623, #D97706); color: #fff; }
    .why-card h3 { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
    .why-card p { font-size: 14.5px; color: rgba(255,255,255,0.62); line-height: 1.75; margin-bottom: 18px; }
    .why-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .why-list li {
      display: flex; align-items: center; gap: 10px;
      font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.85);
    }
    .why-list li svg {
      width: 15px; height: 15px; flex-shrink: 0;
      color: var(--green);
      background: rgba(22,163,74,0.15);
      border-radius: 50%; padding: 3px; box-sizing: content-box;
    }

    .why-trust-strip {
      display: flex; align-items: center; justify-content: center;
      flex-wrap: wrap; gap: 14px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 100px;
      padding: 16px 28px;
    }
    .why-trust-item {
      display: flex; align-items: center; gap: 8px;
      font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8);
      padding: 6px 14px;
    }
    .why-trust-item + .why-trust-item { border-left: 1px solid rgba(255,255,255,0.12); }
    .why-trust-item svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

    @media (max-width: 900px) {
      .why-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .why-trust-strip { border-radius: 20px; }
      .why-trust-item + .why-trust-item { border-left: none; }
    }

    /* FEATURES */
    .features { background: linear-gradient(180deg, #FBFCFF 0%, #F4F7FE 100%); position: relative; overflow: hidden; }
    .features::before {
      content: ''; position: absolute; top: -140px; right: -100px;
      width: 420px; height: 420px; border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,0.13) 0%, transparent 70%);
      pointer-events: none;
    }
    .features::after {
      content: ''; position: absolute; bottom: -160px; left: -120px;
      width: 380px; height: 380px; border-radius: 50%;
      background: radial-gradient(circle, rgba(245,166,35,0.13) 0%, transparent 70%);
      pointer-events: none;
    }
    .features .section-inner { position: relative; z-index: 1; }
    .features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
    .feature-card {
      background: var(--white); border: 1px solid var(--border); border-radius: 16px;
      padding: 0; transition: box-shadow 0.2s, transform 0.2s;
      position: relative; overflow: hidden; border-top: 3px solid transparent;
    }
    .feature-card:hover { box-shadow: 0 12px 32px rgba(15,31,92,0.08); transform: translateY(-2px); }
    .features-grid .feature-card:nth-child(1) { border-top-color: #3B82F6; }
    .features-grid .feature-card:nth-child(2) { border-top-color: #D97706; }
    .features-grid .feature-card:nth-child(3) { border-top-color: #16A34A; }
    .features-grid .feature-card:nth-child(4) { border-top-color: #7C3AED; }
    .features-grid .feature-card:nth-child(5) { border-top-color: #DC2626; }
    .features-grid .feature-card:nth-child(6) { border-top-color: #0F1F5C; }
    .feature-media {
      height: 140px; background-size: cover; background-position: center; position: relative;
    }
    .feature-media::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(13,15,26,0) 55%, rgba(13,15,26,0.18) 100%);
    }
    .feature-body { padding: 24px 28px 28px; }
    .feature-icon {
      width: 48px; height: 48px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center; margin: -46px 0 18px;
      position: relative; box-shadow: 0 4px 14px rgba(13,15,26,0.18);
    }
    .feature-icon svg { width: 22px; height: 22px; }
    .feature-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
    .feature-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

    .icon-blue { background: #fff; color: #3B82F6; }
    .icon-gold { background: #fff; color: #D97706; }
    .icon-green { background: #fff; color: #16A34A; }
    .icon-purple { background: #fff; color: #7C3AED; }
    .icon-red { background: #fff; color: #DC2626; }
    .icon-navy { background: #fff; color: #0F1F5C; }

    /* HOW IT WORKS */
    .how {
      background: linear-gradient(180deg, #EEF2FB 0%, #E7EFFC 100%);
      position: relative; overflow: hidden;
    }
    .how::before {
      content: ''; position: absolute; top: 20%; right: -140px;
      width: 360px; height: 360px; border-radius: 50%;
      background: radial-gradient(circle, rgba(22,163,74,0.14) 0%, transparent 70%);
      pointer-events: none;
    }
    .how::after {
      content: ''; position: absolute; bottom: -100px; left: -100px;
      width: 320px; height: 320px; border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
      pointer-events: none;
    }
    .how .section-inner { position: relative; z-index: 1; }
    .steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
    .steps::before {
      content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%;
      height: 2px; background: linear-gradient(90deg, var(--accent), var(--gold)); z-index: 0;
    }
    .step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
    .step-num {
      width: 56px; height: 56px; border-radius: 50%; background: var(--navy);
      color: var(--white); font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 800;
      display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
      border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--navy);
    }
    .step h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
    .step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

    /* WHO IT'S FOR */
    .who {
      background: linear-gradient(160deg, #F7F4FF 0%, #FDF8F0 100%);
      position: relative; overflow: hidden;
    }
    .who::before {
      content: ''; position: absolute; top: -120px; left: 8%;
      width: 320px; height: 320px; border-radius: 50%;
      background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .who::after {
      content: ''; position: absolute; bottom: -140px; right: 6%;
      width: 360px; height: 360px; border-radius: 50%;
      background: radial-gradient(circle, rgba(245,166,35,0.13) 0%, transparent 70%);
      pointer-events: none;
    }
    .who .section-inner { position: relative; z-index: 1; }
    .who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .who-card { border: 1.5px solid var(--border); border-radius: 16px; padding: 32px; transition: border-color 0.2s, box-shadow 0.2s; background: var(--white); box-shadow: 0 4px 16px rgba(15,31,92,0.04); }
    .who-card:hover { border-color: var(--accent); box-shadow: 0 12px 28px rgba(15,31,92,0.1); }
    .who-card .tag {
      display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase; padding: 4px 10px; border-radius: 100px; margin-bottom: 16px;
    }
    .tag-basic { background: rgba(59,130,246,0.1); color: var(--accent); }
    .tag-shs { background: rgba(245,166,35,0.15); color: #B45309; }
    .who-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
    .who-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
    .check-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink); }
    .check-list li svg { color: var(--green); flex-shrink: 0; margin-top: 2px; width: 15px; height: 15px; }

    /* PORTALS */
    .portals { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
    .portals::before {
      content: ''; position: absolute; top: -100px; left: -80px;
      width: 380px; height: 380px; border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
      pointer-events: none;
    }
    .portals::after {
      content: ''; position: absolute; bottom: -120px; right: -60px;
      width: 340px; height: 340px; border-radius: 50%;
      background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
      pointer-events: none;
    }
    .portals .section-inner { position: relative; z-index: 1; }
    .portals .section-title { color: var(--white); }
    .portals .section-sub { color: rgba(255,255,255,0.65); }
    .portals .section-eyebrow { color: var(--gold); }
    .portal-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
    .portal-card {
      background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
      border-radius: 14px; padding: 0; text-align: center; overflow: hidden;
      transition: background 0.2s, transform 0.2s;
    }
    .portal-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
    .portal-media { height: 100px; background-size: cover; background-position: center; position: relative; }
    .portal-media::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(15,31,92,0.05) 30%, rgba(15,31,92,0.7) 100%);
    }
    .portal-body { padding: 0 20px 26px; }
    .portal-icon {
      width: 52px; height: 52px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      margin: -26px auto 16px; position: relative; box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    }
    .portal-icon svg { width: 24px; height: 24px; }
    .pi-admin { background: #0F1F5C; color: #93C5FD; }
    .pi-teacher { background: #0F1F5C; color: var(--gold); }
    .pi-accountant { background: #0F1F5C; color: #86EFAC; }
    .pi-parent { background: #0F1F5C; color: #C4B5FD; }
    .portal-card h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
    .portal-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }

    /* CONTACT */
    .contact { background: linear-gradient(160deg, #F0FBF4 0%, var(--paper) 50%); position: relative; overflow: hidden; }
    .contact::before {
      content: ''; position: absolute; top: -100px; right: 10%;
      width: 360px; height: 360px; border-radius: 50%;
      background: radial-gradient(circle, rgba(22,163,74,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .contact::after {
      content: ''; position: absolute; bottom: -120px; left: 4%;
      width: 300px; height: 300px; border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
      pointer-events: none;
    }
    .contact .section-inner { position: relative; z-index: 1; }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
    .contact-left h2 { font-size: clamp(28px,3vw,38px); font-weight: 800; color: var(--navy); margin-bottom: 16px; }
    .contact-left p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
    .contact-methods { display: flex; flex-direction: column; gap: 14px; }
    .contact-method {
      display: flex; align-items: center; gap: 14px; padding: 16px 18px;
      background: var(--white); border: 1px solid var(--border); border-radius: 12px;
      transition: border-color 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit;
    }
    .contact-method:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(59,130,246,0.1); }
    .cm-icon {
      width: 40px; height: 40px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .cm-icon svg { width: 18px; height: 18px; }
    .cm-icon-green { background: rgba(22,163,74,0.1); color: var(--green); }
    .cm-icon-blue { background: rgba(59,130,246,0.1); color: var(--accent); }
    .cm-icon-gold { background: rgba(245,166,35,0.12); color: #D97706; }
    .cm-label { font-size: 11px; color: var(--muted); font-weight: 500; }
    .cm-value { font-size: 15px; font-weight: 600; color: var(--navy); }

    .contact-form-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: 20px; padding: 36px;
    }
    .contact-form-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
    .contact-form-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
    .form-group { margin-bottom: 16px; }
    .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
      border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 14px;
      color: var(--ink); background: var(--paper); transition: border-color 0.2s; outline: none;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus { border-color: var(--accent); }
    .form-group textarea { resize: vertical; min-height: 90px; }
    .form-submit {
      width: 100%; background: var(--navy); color: var(--white);
      font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px;
      padding: 13px; border: none; border-radius: 10px; cursor: pointer;
      transition: background 0.2s, transform 0.15s;
    }
    .form-submit:hover { background: var(--blue); transform: translateY(-1px); }

    /* FOOTER */
    footer {
      background: var(--ink); color: rgba(255,255,255,0.55);
      padding: 64px 5% 0; position: relative; overflow: hidden;
    }
    footer::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--gold));
    }
    .footer-inner { max-width: 1100px; margin: 0 auto; }

    .footer-top {
      display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
      padding-bottom: 48px;
    }

    .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
    .footer-logo .logo-text strong { color: var(--white); }
    .footer-logo .logo-text small { color: rgba(255,255,255,0.45); }

    .footer-tagline { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 320px; margin-bottom: 20px; }

    .footer-social { display: flex; gap: 10px; }
    .footer-social a {
      width: 36px; height: 36px; border-radius: 9px;
      background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.65); transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    .footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
    .footer-social svg { width: 16px; height: 16px; }

    .footer-col h5 {
      font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700;
      color: var(--white); letter-spacing: 0.04em; text-transform: uppercase;
      margin-bottom: 18px;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-col ul li a {
      font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s;
    }
    .footer-col ul li a:hover { color: var(--gold); }

    .footer-contact-list li {
      display: flex; align-items: center; gap: 9px;
      font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.4;
    }
    .footer-contact-list svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding: 22px 0 28px;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 10px;
    }
    .footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.4); margin: 0; }
    .footer-built { display: flex; align-items: center; gap: 6px; }

    @media (max-width: 900px) {
      .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
      .footer-brand-col { grid-column: 1 / -1; }
    }
    @media (max-width: 560px) {
      .footer-top { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; }
      .hero-visual { display: none; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
      .steps::before { display: none; }
      .portal-grid { grid-template-columns: 1fr 1fr; }
      .contact-grid { grid-template-columns: 1fr; }
      .who-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .features-grid { grid-template-columns: 1fr; }
      .steps { grid-template-columns: 1fr; }
      .portal-grid { grid-template-columns: 1fr 1fr; }
      section { padding: 64px 5%; }
    }
    /* SCROLL REVEAL */
    .reveal {
      opacity: 0; transform: translateY(28px);
      transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
      will-change: opacity, transform;
    }
    .reveal.is-visible { opacity: 1; transform: translateY(0); }
    .reveal-pop {
      opacity: 0; transform: translateY(24px) scale(0.96);
      transition: opacity 0.6s cubic-bezier(.34,1.56,.64,1), transform 0.6s cubic-bezier(.34,1.56,.64,1);
    }
    .reveal-pop.is-visible { opacity: 1; transform: translateY(0) scale(1); }

    .features-grid .reveal-pop:nth-child(1), .steps .reveal-pop:nth-child(1), .who-grid .reveal-pop:nth-child(1), .portal-grid .reveal-pop:nth-child(1), .why-grid .reveal-pop:nth-child(1) { transition-delay: 0s; }
    .features-grid .reveal-pop:nth-child(2), .steps .reveal-pop:nth-child(2), .who-grid .reveal-pop:nth-child(2), .portal-grid .reveal-pop:nth-child(2), .why-grid .reveal-pop:nth-child(2) { transition-delay: 0.12s; }
    .features-grid .reveal-pop:nth-child(3), .steps .reveal-pop:nth-child(3), .portal-grid .reveal-pop:nth-child(3) { transition-delay: 0.16s; }
    .features-grid .reveal-pop:nth-child(4), .steps .reveal-pop:nth-child(4), .portal-grid .reveal-pop:nth-child(4) { transition-delay: 0.24s; }
    .features-grid .reveal-pop:nth-child(5) { transition-delay: 0.32s; }
    .features-grid .reveal-pop:nth-child(6) { transition-delay: 0.4s; }

    /* WHO CARD MEDIA */
    .who-card { padding: 0; overflow: hidden; border-top: 3px solid transparent; }
    .who-grid .who-card:nth-child(1) { border-top-color: var(--accent); }
    .who-grid .who-card:nth-child(2) { border-top-color: var(--gold); }
    .who-card-media {
      height: 180px; background-size: cover; background-position: center;
      position: relative;
    }
    .who-card-media::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(13,15,26,0) 50%, rgba(13,15,26,0.35) 100%);
    }
    .who-card-body { padding: 32px; }

    /* HOW IT WORKS — banner photo */
    .how-banner {
      position: relative; border-radius: 18px; overflow: hidden;
      height: 220px; margin-bottom: 56px;
      box-shadow: 0 16px 40px rgba(15,31,92,0.14);
    }
    .how-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .how-banner-caption {
      position: absolute; left: 0; right: 0; bottom: 0;
      background: linear-gradient(0deg, rgba(13,15,26,0.78) 0%, transparent 100%);
      color: var(--white); padding: 20px 24px 16px;
      font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px;
    }

    @media (prefers-reduced-motion: reduce) {
      .float-pill { animation: none; }
      .reveal, .reveal-pop { opacity: 1 !important; transform: none !important; }
      * { transition: none !important; }
    }
    @media (max-width: 600px) {
      .how-banner { height: 160px; }
    }
