 :root {
      --primary: #2563eb;
      --primary-light: #eff6ff;
      --accent: #f59e0b;
      --dark: #0f172a;
      --muted: #64748b;
      --radius: 14px;
    }
    * { font-family: 'Nunito', sans-serif; }
    body { background: #f8fafc; color: var(--dark); }

    
    .navbar { background: #fff; border-bottom: 1px solid #e2e8f0; }
    .navbar-brand { font-weight: 800; font-size: 1.3rem; color: var(--primary) !important; letter-spacing: -.5px; }
    .nav-link { font-weight: 500; color: #334155 !important; }
    .nav-link:hover { color: var(--primary) !important; }

    
    .ad-slot {
      background: #f1f5f9;
      border: 1px dashed #cbd5e1;
      border-radius: var(--radius);
      display: flex; align-items: center; justify-content: center;
      color: #94a3b8; font-size: .75rem;
      min-height: 90px;
    }

    
    .hero {
      background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
      padding: 90px 0 70px;
      color: #fff;
      position: relative;
      overflow: hidden;
    }
    .hero::before
 {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, .05);
    /* border-radius: 50%; */
    /* top: -150px; */
    right: -150px;
    pointer-events: none;
    /* clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); */
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, .05);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: -119px;
    right: -112px;
    pointer-events: none;
    transform: rotate(45deg);
}
    .free-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(34,197,94,.2);
      color: #86efac;
      border: 1px solid rgba(34,197,94,.4);
      border-radius: 50px;
      padding: 5px 16px;
      font-size: .82rem; font-weight: 700;
      letter-spacing: .3px;
      margin-bottom: 20px;
    }
    .hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
    .hero p { font-size: 1.1rem; opacity: .85; max-width: 520px; }
    .hero-stat { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px 22px; backdrop-filter: blur(8px); }
    .hero-stat .number { font-size: 1.8rem; font-weight: 800; }
    .hero-stat .label { font-size: .78rem; opacity: .75; }
    .btn-start {
      background: #fff; color: var(--primary);
      border: none; font-weight: 700;
      border-radius: 50px; padding: 14px 32px;
      font-size: 1rem; transition: all .2s;
      text-decoration: none; display: inline-block;
    }
    .btn-start:hover { background: #eff6ff; color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

    
    .section-title { font-size: 1.6rem; font-weight: 700; }
    .section-sub { color: var(--muted); max-width: 560px; margin: 0 auto; }
    .subject-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius);
      padding: 24px 20px;
      transition: all .2s;
      cursor: pointer;
      height: 100%;
      text-decoration: none;
      color: var(--dark);
      display: block;
    }
    .subject-card:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(37,99,235,.1); transform: translateY(-4px); color: var(--dark); }
    .subject-icon {
      width: 48px; height: 48px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.3rem; margin-bottom: 14px;
    }
    .subject-card h5 { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
    .subject-card p { font-size: .82rem; color: var(--muted); margin: 0; }
    .badge-required { font-size: .7rem; font-weight: 600; background: #fef3c7; color: #92400e; border-radius: 50px; padding: 2px 10px; }
    .badge-profile   { font-size: .7rem; font-weight: 600; background: #eff6ff; color: #1d4ed8; border-radius: 50px; padding: 2px 10px; }

    
    .feature-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius);
      padding: 28px 24px;
      height: 100%;
    }

    
    .how-section { background: #fff; }
    .step-number {
      width: 48px; height: 48px; border-radius: 50%;
      background: var(--primary-light); color: var(--primary);
      font-weight: 800; font-size: 1.1rem;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

  
    .test-section { background: var(--primary-light); }
    .test-card {
      background: #fff; border-radius: var(--radius);
      border: 1px solid #dbeafe; padding: 28px;
    }
    .option-btn {
      display: block; width: 100%;
      text-align: left; background: #f8fafc;
      border: 1.5px solid #e2e8f0; border-radius: 10px;
      padding: 12px 16px; font-size: .9rem;
      cursor: pointer; transition: all .15s;
      margin-bottom: 8px; color: var(--dark);
    }
    .option-btn:hover { border-color: var(--primary); background: var(--primary-light); }
    .option-btn.correct { border-color: #16a34a; background: #f0fdf4; color: #166534; font-weight: 600; }
    .option-btn.wrong   { border-color: #dc2626; background: #fef2f2; color: #991b1b; }

   
    .cta-section {
      background: linear-gradient(135deg, #1e3a8a, #2563eb);
      color: #fff; border-radius: 24px;
    }
    
       .hero-panel {
  width: 400px;
  max-width: 100%;
  background: rgba(255, 255, 255, .1);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(10px);
}

.mini-test {
  width: 100%;
}

.mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: .8rem;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pill {
  background: #22c55e;
  color: #fff;
  border-radius: 50px;
  font-size: .72rem;
  padding: 3px 10px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  opacity: 1;
}

.question-card {
  background: rgba(255, 255, 255, .15);
  border-radius: 16px;
  padding: 18px;
}

.question-card h3 {
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 14px;
  font-weight: 700;
}

.answers {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.answer {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .9rem;
  font-weight: 600;
}

.answer.correct {
  background: rgba(34, 197, 94, .22);
  border-color: rgba(34, 197, 94, .75);
  color: #fff;
}

.explain {
  background: rgba(0, 0, 0, .18);
  border-radius: 12px;
  padding: 12px;
  font-size: .82rem;
  line-height: 1.5;
  opacity: .9;
}

    
    footer { background: var(--dark); color: #94a3b8; }
    footer a { color: #94a3b8; text-decoration: none; }
    footer a:hover { color: #fff; }
    .footer-brand { font-size: 1.2rem; font-weight: 800; color: #fff; }