@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ===============================
   GLOBAL RESET & LAYOUT (KEEP ONCE)
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f9fafb;
  color: #000000;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* ✅ FIXES FOOTER ISSUE */
}
    
    /* Demo content area */
    .content-area {
      flex: 1;
      padding: 3rem 1.5rem;
      max-width: 1280px;
      margin: 0 auto;
      width: 100%;
    }
    
    .demo-box {
      background: white;
      border-radius: 16px;
      padding: 2rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      margin-bottom: 2rem;
    }
    
    .demo-box h2 {
      color: #111827;
      margin-bottom: 1rem;
    }
    
    .demo-box p {
      color: #6b7280;
      line-height: 1.6;
    }
    
    /* Footer Styles */
    footer {
      width: 100%;
      background: linear-gradient(135deg, #111827, #000000);
      padding: 3rem 1.5rem;
      margin-top: auto;
    }
    
    @media (min-width: 1024px) {
      footer {
        padding: 3rem 4rem;
      }
    }
    
    .footer-container {
      max-width: 1280px;
      margin: 0 auto;
    }
    
    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      margin-bottom: 2rem;
    }
    
    @media (min-width: 768px) {
      .footer-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }
    
    .footer-title {
      font-size: 1.25rem;
      font-weight: 700;
      background: linear-gradient(135deg, #d8b544, #eed485);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.75rem;
    }
    
    .footer-heading {
      color: white;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }
    
    .footer-text {
      color: #9ca3af;
      font-size: 0.875rem;
      line-height: 1.6;
    }
    
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .footer-link {
      color: #9ca3af;
      font-size: 0.875rem;
      text-decoration: none;
      transition: color 0.3s;
      cursor: pointer;
    }
    
    .footer-link:hover {
      color: white;
    }
    
    .social-links {
      display: flex;
      gap: 0.75rem;
    }
    
    .social-link {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 1.25rem;
      transition: background 0.3s;
    }
    
    .social-link:hover {
      background: rgba(255, 255, 255, 0.2);
    }
    
    .footer-bottom {
      text-align: center;
      padding-top: 2rem;
      border-top: 1px solid #374151;
    }
    
    .footer-copyright {
      color: #6b7280;
      font-size: 0.875rem;
    }
    
   
    
    
   
    #app {
      width: 100%;
      height: 100%;
      overflow: auto;
    }
    
    .gold-gradient {
      background: linear-gradient(135deg, #d8b544, #eed485);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .btn-gradient {
      background: linear-gradient(135deg, #6779e3, #744fa7);
    }
    
    .btn-gradient:hover {
      background: linear-gradient(135deg, #5568d2, #633e96);
    }
    
    .section-gradient {
      background: linear-gradient(135deg, #6779e3, #744fa7);
    }
    
    .dark-gradient {
      background: linear-gradient(135deg, #1b2433, #273748);
    }
    
    .stat-card {
      background: linear-gradient(135deg, rgba(216, 181, 68, 0.1), rgba(238, 212, 133, 0.05));
      border: 1px solid rgba(216, 181, 68, 0.2);
    }
    
    .curriculum-card {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(238, 212, 133, 0.2);
    }
    
    .exam-card {
      background: linear-gradient(135deg, #f8f9fc, #ffffff);
      border: 1px solid #e5e7eb;
    }
    
    .math-card {
      background: linear-gradient(135deg, #1b2433, #273748);
      border: 1px solid rgba(216, 181, 68, 0.3);
    }
    
    .grade-card {
      background: linear-gradient(135deg, rgba(103, 121, 227, 0.08), rgba(116, 79, 167, 0.05));
      border: 1px solid rgba(103, 121, 227, 0.2);
    }
    
    .hero-bg {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 25%, #ffffff 50%, #fffef9 75%, #fffbf0 100%);
    }
    
    .floating-shape {
      position: absolute;
      opacity: 0.08;
      animation: float 20s infinite ease-in-out;
    }
    
    .floating-shape.shape-1 {
      top: 10%;
      left: 5%;
      animation-delay: 0s;
    }
    
    .floating-shape.shape-2 {
      top: 60%;
      left: 10%;
      animation-delay: 5s;
    }
    
    .floating-shape.shape-3 {
      top: 20%;
      right: 15%;
      animation-delay: 2s;
    }
    
    .floating-shape.shape-4 {
      bottom: 20%;
      right: 8%;
      animation-delay: 7s;
    }
    
    .floating-shape.shape-5 {
      top: 50%;
      left: 50%;
      animation-delay: 3s;
    }
    
    @keyframes float {
      0%, 100% {
        transform: translate(0, 0) rotate(0deg);
      }
      25% {
        transform: translate(30px, -30px) rotate(90deg);
      }
      50% {
        transform: translate(-20px, 20px) rotate(180deg);
      }
      75% {
        transform: translate(40px, 10px) rotate(270deg);
      }
    }
    
    .math-symbol {
      position: absolute;
      font-size: 4rem;
      font-weight: bold;
      opacity: 0.05;
      animation: drift 25s infinite ease-in-out;
      color: #6779e3;
    }
    
    .math-symbol.symbol-1 {
      top: 15%;
      left: 8%;
      animation-delay: 0s;
    }
    
    .math-symbol.symbol-2 {
      top: 70%;
      left: 15%;
      animation-delay: 8s;
    }
    
    .math-symbol.symbol-3 {
      top: 25%;
      right: 20%;
      animation-delay: 4s;
    }
    
    .math-symbol.symbol-4 {
      bottom: 30%;
      right: 12%;
      animation-delay: 12s;
    }
    
    @keyframes drift {
      0%, 100% {
        transform: translate(0, 0);
      }
      33% {
        transform: translate(50px, -40px);
      }
      66% {
        transform: translate(-30px, 30px);
      }
    }

    /* Utility Classes */
    .w-full { width: 100%; }
    .max-w-7xl { max-width: 1280px; }
    .max-w-3xl { max-width: 48rem; }
    .max-w-4xl { max-width: 56rem; }
    .max-w-5xl { max-width: 64rem; }
    .mx-auto { margin-left: auto; margin-right: auto; }
    .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .p-6 { padding: 1.5rem; }
    .p-8 { padding: 2rem; }
    .p-10 { padding: 2.5rem; }
    .p-12 { padding: 3rem; }
    .mb-2 { margin-bottom: 0.5rem; }
    .mb-3 { margin-bottom: 0.75rem; }
    .mb-4 { margin-bottom: 1rem; }
    .mb-6 { margin-bottom: 1.5rem; }
    .mb-8 { margin-bottom: 2rem; }
    .mb-10 { margin-bottom: 2.5rem; }
    .mb-12 { margin-bottom: 3rem; }
    .mb-16 { margin-bottom: 4rem; }
    .mt-3 { margin-top: 0.75rem; }
    .mt-4 { margin-top: 1rem; }
    .space-y-2 > * + * { margin-top: 0.5rem; }
    .space-y-6 > * + * { margin-top: 1.5rem; }
    .space-y-8 > * + * { margin-top: 2rem; }
    .gap-1 { gap: 0.25rem; }
    .gap-2 { gap: 0.5rem; }
    .gap-3 { gap: 0.75rem; }
    .gap-4 { gap: 1rem; }
    .gap-6 { gap: 1.5rem; }
    .gap-8 { gap: 2rem; }
    .gap-12 { gap: 3rem; }
    
    .grid { display: grid; }
    .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    
    @media (min-width: 768px) {
      .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
      .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
      .md\:px-16 { padding-left: 4rem; padding-right: 4rem; }
    }
    
    @media (min-width: 1024px) {
      .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
      .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
      .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
      .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
      .lg\:px-16 { padding-left: 4rem; padding-right: 4rem; }
      .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
      .lg\:p-8 { padding: 2rem; }
      .lg\:p-10 { padding: 2.5rem; }
      .lg\:p-12 { padding: 3rem; }
      .lg\:mb-16 { margin-bottom: 4rem; }
      .lg\:text-4xl { font-size: 2.25rem; }
      .lg\:text-5xl { font-size: 3rem; }
    }
    
    @media (min-width: 1280px) {
      .xl\:text-5xl { font-size: 3rem; }
      .xl\:text-6xl { font-size: 3.75rem; }
    }
    
    .flex { display: flex; }
    .flex-wrap { flex-wrap: wrap; }
    .items-center { align-items: center; }
    .items-start { align-items: flex-start; }
    .justify-center { justify-content: center; }
    
    .inline-flex { display: inline-flex; }
    .inline-block { display: inline-block; }
    
    .text-center { text-align: center; }
    .text-sm { font-size: 0.875rem; }
    .text-base { font-size: 1rem; }
    .text-lg { font-size: 1.125rem; }
    .text-xl { font-size: 1.25rem; }
    .text-2xl { font-size: 1.5rem; }
    .text-3xl { font-size: 1.875rem; }
    .text-4xl { font-size: 2.25rem; }
    .text-5xl { font-size: 3rem; }
    
    .font-medium { font-weight: 500; }
    .font-semibold { font-weight: 600; }
    .font-bold { font-weight: 700; }
    
    .leading-tight { line-height: 1.25; }
    .leading-relaxed { line-height: 1.625; }
    
    .rounded-xl { border-radius: 0.75rem; }
    .rounded-2xl { border-radius: 1rem; }
    .rounded-3xl { border-radius: 1.5rem; }
    .rounded-full { border-radius: 9999px; }
    
    .shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }
    .shadow-xl { box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15); }
    .shadow-2xl { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25); }
    
    .bg-white { background-color: #ffffff; }
    .bg-gray-50 { background-color: #f9fafb; }
    
    .text-black { color: #000000; }
    .text-white { color: #ffffff; }
    .text-gray-300 { color: #d1d5db; }
    .text-gray-400 { color: #9ca3af; }
    .text-gray-600 { color: #4b5563; }
    .text-amber-200 { color: #fde68a; }
    .text-amber-300 { color: #fcd34d; }
    .text-amber-400 { color: #fbbf24; }
    .text-amber-700 { color: #b45309; }
    .text-red-600 { color: #dc2626; }
    .text-green-600 { color: #16a34a; }
    .text-green-700 { color: #15803d; }
    .text-purple-100 { color: #f3e8ff; }
    .text-purple-600 { color: #9333ea; }
    
    .bg-amber-50 { background-color: #fffbeb; }
    .bg-yellow-50 { background-color: #fefce8; }
    .bg-red-50 { background-color: #fef2f2; }
    .bg-green-50 { background-color: #f0fdf4; }
    .bg-green-100 { background-color: #dcfce7; }
    .bg-purple-50 { background-color: #faf5ff; }
    .bg-indigo-50 { background-color: #eef2ff; }
    
    .border { border-width: 1px; }
    .border-t { border-top-width: 1px; }
    .border-amber-100 { border-color: #fef3c7; }
    .border-amber-200 { border-color: #fde68a; }
    .border-red-200 { border-color: #fecaca; }
    .border-green-200 { border-color: #bbf7d0; }
    .border-green-300 { border-color: #86efac; }
    .border-purple-100 { border-color: #f3e8ff; }
    .border-gray-100 { border-color: #f3f4f6; }
    
    .uppercase { text-transform: uppercase; }
    .tracking-wider { letter-spacing: 0.05em; }
    
    .transform { transform: translateZ(0); }
    .hover\:scale-105:hover { transform: scale(1.05); }
    .hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
    .hover\:shadow-xl:hover { box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15); }
    
    .transition-transform { transition-property: transform; }
    .transition-shadow { transition-property: box-shadow; }
    .transition-all { transition-property: all; }
    .duration-300 { transition-duration: 300ms; }
    
    .relative { position: relative; }
    .z-10 { z-index: 10; }
    
    .w-2 { width: 0.5rem; }
    .h-2 { height: 0.5rem; }
    .w-10 { width: 2.5rem; }
    .h-10 { height: 2.5rem; }
    .w-12 { width: 3rem; }
    .h-12 { height: 3rem; }
    .w-14 { width: 3.5rem; }
    .h-14 { height: 3.5rem; }
    .w-16 { width: 4rem; }
    .h-16 { height: 4rem; }
    .w-20 { width: 5rem; }
    .h-20 { height: 5rem; }
    
    .flex-shrink-0 { flex-shrink: 0; }
    

    
    /* Header Styles */
    header {
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid #e5e7eb;
      position: sticky;
      top: 0;
      z-index: 50;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .header-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 1rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    .logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
    }
    
    .logo-icon {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: linear-gradient(135deg, #8b5cf6, #6366f1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      font-size: 1.25rem;
    }
    
    .logo-text {
      font-size: 1.5rem;
      font-weight: 700;
      background: linear-gradient(135deg, #d8b544, #eed485);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .desktop-nav {
      display: none;
      align-items: center;
      gap: 2rem;
    }
    
    @media (min-width: 768px) {
      .desktop-nav {
        display: flex;
      }
    }
    
    .nav-link {
      text-decoration: none;
      color: #6b7280;
      font-weight: 600;
      transition: color 0.3s;
      cursor: pointer;
    }
    
    .nav-link:hover {
      color: #8b5cf6;
    }
    
    .nav-link.active {
      color: #000000;
      font-weight: 700;
    }
    
    .cta-btn {
      display: none;
      background: linear-gradient(135deg, #6779e3, #744fa7);
      color: white;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(103, 121, 227, 0.25);
      transition: all 0.3s;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }
    
    @media (min-width: 768px) {
      .cta-btn {
        display: block;
      }
    }
    
    .cta-btn:hover {
      box-shadow: 0 6px 12px rgba(103, 121, 227, 0.3);
      transform: translateY(-2px);
    }
    
    .mobile-menu-btn {
      display: block;
      padding: 0.5rem;
      border-radius: 8px;
      border: none;
      background: transparent;
      cursor: pointer;
      color: #374151;
    }
    
    @media (min-width: 768px) {
      .mobile-menu-btn {
        display: none;
      }
    }
    
    .mobile-menu {
      display: none;
      padding: 1rem 0;
    }
    
    .mobile-menu.show {
      display: block;
    }
    
    @media (min-width: 768px) {
      .mobile-menu {
        display: none !important;
      }
    }
    
    .mobile-menu .nav-link {
      display: block;
      padding: 0.75rem 0;
      color: #6b7280;
    }
    
    .mobile-cta-btn {
      width: 100%;
      background: linear-gradient(135deg, #6779e3, #744fa7);
      color: white;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      margin-top: 0.5rem;
      box-shadow: 0 4px 6px rgba(103, 121, 227, 0.25);
      font-family: 'Plus Jakarta Sans', sans-serif;
    }
    
    /* Demo content area */
    .content-area {
      padding: 3rem 1.5rem;
      max-width: 1280px;
      margin: 0 auto;
    }
    
    .demo-box {
      background: white;
      border-radius: 16px;
      padding: 2rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      margin-bottom: 2rem;
    }
    
    .demo-box h2 {
      color: #111827;
      margin-bottom: 1rem;
    }
    
    .demo-box p {
      color: #6b7280;
      line-height: 1.6;
    }