 :root {
     --primary: #4361ee;
     --primary-light: #e0e7ff;
     --secondary: #3a0ca3;
     --accent: #f72585;
     --accent-light: #fce4ec;
     --success: #4cc9f0;
     --warning: #f8961e;
     --light: #f8fafc;
     --dark: #0f172a;
     --gray: #64748b;
     --gray-light: #e2e8f0;
     --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
     --card-shadow-hover: 0 20px 40px rgba(67, 97, 238, 0.1);
     --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     --border-radius: 20px;
     --border-radius-sm: 12px;
     --gradient-primary: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
     --gradient-accent: linear-gradient(135deg, #f72585 0%, #b5179e 100%);
     --gradient-light: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Inter', sans-serif;
     background: var(--light);
     color: var(--dark);
     line-height: 1.7;
     overflow-x: hidden;
 }

 h1,
 h2,
 h3,
 h4,
 h5 {
     font-family: 'Poppins', sans-serif;
     font-weight: 700;
     line-height: 1.2;
 }

 /* HEADER */
 header {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(20px);
     padding: 1.2rem 0;
     position: fixed;
     width: 100%;
     top: 0;
     z-index: 1000;
     border-bottom: 1px solid rgba(0, 0, 0, 0.05);
     transition: var(--transition);
 }

 header.scrolled {
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
     padding: 0.8rem 0;
 }

 .container {
     width: 90%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 .nav-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 12px;
     font-size: 1.8rem;
     font-weight: 800;
     color: var(--primary);
     text-decoration: none;
     transition: var(--transition);
 }

 .logo:hover {
     transform: translateY(-2px);
 }

 .logo-icon {
     width: 45px;
     height: 45px;
     background: var(--gradient-primary);
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 1.5rem;
     box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
 }

 .nav-links {
     display: flex;
     gap: 2rem;
     align-items: center;
 }

 .nav-links a {
     color: var(--dark);
     text-decoration: none;
     font-weight: 500;
     padding: 0.5rem 1rem;
     border-radius: var(--border-radius-sm);
     transition: var(--transition);
     position: relative;
 }

 .nav-links a:hover {
     color: var(--primary);
 }

 .nav-links a::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 50%;
     transform: translateX(-50%);
     width: 0;
     height: 3px;
     background: var(--gradient-primary);
     border-radius: 3px;
     transition: var(--transition);
 }

 .nav-links a:hover::after {
     width: 80%;
 }

 .nav-links a.active {
     color: var(--primary-color);
     font-weight: 600;
     position: relative;
 }

 .nav-links a.active::after {
     content: '';
     position: absolute;
     bottom: -5px;
     left: 0;
     width: 100%;
     height: 2px;
     background: var(--primary-color);
 }

 .nav-links.show {
     display: flex !important;
     flex-direction: column;
     position: absolute;
     top: 100%;
     left: 0;
     right: 0;
     background: white;
     padding: 1rem;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 }

 .auth-buttons {
     display: flex;
     gap: 1rem;
     align-items: center;
 }

 .btn-login {
     background: transparent;
     color: var(--primary);
     border: 2px solid var(--primary);
     padding: 0.6rem 1.8rem;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     transition: var(--transition);
 }

 .btn-login:hover {
     background: var(--primary);
     color: white;
     transform: translateY(-2px);
     box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
 }

 .btn-signup {
     background: var(--gradient-primary);
     color: white;
     border: none;
     padding: 0.8rem 2rem;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     transition: var(--transition);
     box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
 }

 .btn-signup:hover {
     transform: translateY(-3px);
     box-shadow: 0 10px 30px rgba(67, 97, 238, 0.4);
 }

 .mobile-menu-btn {
     display: none;
     background: none;
     border: none;
     color: var(--primary);
     font-size: 1.5rem;
     cursor: pointer;
 }

 /* HERO SECTION */
 .hero {
     padding: 180px 0 120px;
     position: relative;
     overflow: hidden;
     background: var(--gradient-light);
 }

 .hero-bg {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: var(--gradient-primary);
     clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
     z-index: 1;
 }

 .hero-bg::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
     background-size: cover;
 }

 .hero-content {
     position: relative;
     z-index: 2;
     text-align: center;
     color: white;
     max-width: 900px;
     margin: 0 auto;
 }

 .hero h1 {
     font-size: 3.8rem;
     margin-bottom: 1.5rem;
     line-height: 1.1;
 }

 .hero h1 span {
     background: linear-gradient(45deg, #f72585, #ff9e00);
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     position: relative;
     display: inline-block;
 }

 .hero h1 span::after {
     content: '';
     position: absolute;
     bottom: 5px;
     left: 0;
     width: 100%;
     height: 8px;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 4px;
     z-index: -1;
 }

 .hero p {
     font-size: 1.3rem;
     margin-bottom: 3rem;
     opacity: 0.9;
     max-width: 700px;
     margin-left: auto;
     margin-right: auto;
 }

 .search-container {
     max-width: 600px;
     margin: 2rem auto;
     display: flex;
     gap: 10px;
 }

 #globalSearch {
     flex: 1;
     padding: 1rem 1.5rem;
     border: 2px solid var(--border-color);
     border-radius: 50px;
     font-size: 1rem;
 }

 .search-btn {
     padding: 1rem 1.5rem;
     background: var(--primary-color);
     color: white;
     border: none;
     border-radius: 50px;
     cursor: pointer;
 }

 .hero-buttons {
     display: flex;
     gap: 1.5rem;
     justify-content: center;
     margin-bottom: 4rem;
 }

 .btn-primary {
     background: var(--gradient-accent);
     color: white;
     padding: 1rem 2.5rem;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     font-size: 1.1rem;
     transition: var(--transition);
     border: none;
     cursor: pointer;
     display: inline-flex;
     align-items: center;
     gap: 10px;
     box-shadow: 0 10px 30px rgba(247, 37, 133, 0.3);
 }

 .btn-primary:hover {
     transform: translateY(-5px) scale(1.05);
     box-shadow: 0 15px 40px rgba(247, 37, 133, 0.4);
 }

 .btn-secondary {
     background: rgba(255, 255, 255, 0.15);
     backdrop-filter: blur(10px);
     color: white;
     padding: 1rem 2.5rem;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     font-size: 1.1rem;
     transition: var(--transition);
     border: 2px solid rgba(255, 255, 255, 0.3);
     display: inline-flex;
     align-items: center;
     gap: 10px;
 }

 .btn-secondary:hover {
     background: rgba(255, 255, 255, 0.25);
     transform: translateY(-5px);
     border-color: rgba(255, 255, 255, 0.5);
 }

 .hero-stats {
     display: flex;
     justify-content: center;
     gap: 4rem;
     flex-wrap: wrap;
     margin-top: 4rem;
     padding-top: 3rem;
     border-top: 1px solid rgba(255, 255, 255, 0.2);
 }

 .stat-item {
     text-align: center;
 }

 .stat-number {
     font-size: 2.5rem;
     font-weight: 800;
     color: white;
     display: block;
     margin-bottom: 0.5rem;
     line-height: 1;
 }

 .stat-label {
     font-size: 1rem;
     opacity: 0.8;
 }

 /* FEATURES SECTION */
 .features {
     padding: 100px 0;
     background: white;
     position: relative;
 }

 .section-title {
     text-align: center;
     font-size: 2.8rem;
     margin-bottom: 1rem;
     color: var(--dark);
 }

 .section-subtitle {
     text-align: center;
     font-size: 1.2rem;
     color: var(--gray);
     max-width: 600px;
     margin: 0 auto 4rem;
 }

 .section-title::after {
     content: '';
     display: block;
     width: 80px;
     height: 5px;
     background: var(--gradient-primary);
     border-radius: 5px;
     margin: 1rem auto 0;
 }

 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2.5rem;
     margin-top: 3rem;
 }

 .feature-card {
     background: white;
     padding: 3rem 2rem;
     border-radius: var(--border-radius);
     box-shadow: var(--card-shadow);
     transition: var(--transition);
     text-align: center;
     border: 1px solid var(--gray-light);
     position: relative;
     overflow: hidden;
 }

 .feature-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 5px;
     background: var(--gradient-primary);
 }

 .feature-card:hover {
     transform: translateY(-15px);
     box-shadow: var(--card-shadow-hover);
     border-color: var(--primary-light);
 }

 .feature-icon {
     width: 80px;
     height: 80px;
     background: var(--primary-light);
     border-radius: 20px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 2rem;
     color: var(--primary);
     font-size: 2rem;
     transition: var(--transition);
 }

 .feature-card:hover .feature-icon {
     background: var(--gradient-primary);
     color: white;
     transform: scale(1.1) rotate(5deg);
 }

 .feature-card h3 {
     font-size: 1.5rem;
     margin-bottom: 1rem;
     color: var(--dark);
 }

 .feature-card p {
     color: var(--gray);
     margin-bottom: 1.5rem;
 }

 .feature-link {
     color: var(--primary);
     text-decoration: none;
     font-weight: 600;
     display: inline-flex;
     align-items: center;
     gap: 8px;
     transition: var(--transition);
 }

 .feature-link:hover {
     gap: 12px;
     color: var(--secondary);
 }

 /* CLASSES SECTION */
 .classes {
     padding: 100px 0;
     background: var(--gradient-light);
     position: relative;
 }

 .classes-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     margin-top: 3rem;
 }

 .class-card {
     background: white;
     padding: 2.5rem 2rem;
     border-radius: var(--border-radius);
     box-shadow: var(--card-shadow);
     transition: var(--transition);
     text-align: center;
     position: relative;
     overflow: hidden;
 }

 .class-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 5px;
     background: var(--gradient-primary);
 }

 .class-card:hover {
     transform: translateY(-10px);
     box-shadow: var(--card-shadow-hover);
 }

 .class-icon {
     width: 70px;
     height: 70px;
     background: var(--primary-light);
     border-radius: 18px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 1.5rem;
     color: var(--primary);
     font-size: 1.8rem;
     font-weight: 700;
 }

 .class-card h3 {
     font-size: 1.8rem;
     margin-bottom: 0.5rem;
     color: var(--dark);
 }

 .class-card p {
     color: var(--gray);
     margin-bottom: 1.5rem;
     font-size: 0.95rem;
 }

 .class-subjects {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;
     justify-content: center;
     margin-bottom: 1.5rem;
 }

 .subject-tag {
     background: var(--light);
     padding: 0.4rem 1rem;
     border-radius: 20px;
     font-size: 0.85rem;
     color: var(--gray);
 }

 .class-link {
     display: inline-block;
     background: var(--primary);
     color: white;
     padding: 0.8rem 2rem;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     transition: var(--transition);
 }

 .class-link:hover {
     background: var(--secondary);
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
 }

 /* HOW IT WORKS */
 .how-it-works {
     padding: 100px 0;
     background: white;
 }

 .steps {
     display: flex;
     justify-content: space-between;
     max-width: 1000px;
     margin: 4rem auto 0;
     position: relative;
 }

 .steps::before {
     content: '';
     position: absolute;
     top: 40px;
     left: 10%;
     right: 10%;
     height: 4px;
     background: var(--gradient-primary);
     z-index: 1;
     border-radius: 2px;
 }

 .step {
     flex: 1;
     text-align: center;
     position: relative;
     z-index: 2;
     padding: 0 1rem;
 }

 .step-number {
     width: 80px;
     height: 80px;
     background: white;
     border: 4px solid var(--primary);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 1.5rem;
     font-size: 2rem;
     font-weight: 800;
     color: var(--primary);
     transition: var(--transition);
 }

 .step:hover .step-number {
     background: var(--gradient-primary);
     color: white;
     transform: scale(1.1);
 }

 .step h3 {
     font-size: 1.3rem;
     margin-bottom: 0.5rem;
     color: var(--dark);
 }

 .step p {
     color: var(--gray);
     font-size: 0.95rem;
 }

 /* TESTIMONIALS */
 .testimonials {
     padding: 100px 0;
     background: var(--gradient-light);
 }

 .testimonials-slider {
     max-width: 1000px;
     margin: 3rem auto 0;
     position: relative;
 }

 .testimonial-card {
     background: white;
     border-radius: var(--border-radius);
     padding: 3rem;
     box-shadow: var(--card-shadow);
     margin: 1rem;
     position: relative;
 }

 .testimonial-card::before {
     content: '"';
     position: absolute;
     top: 20px;
     left: 20px;
     font-size: 5rem;
     color: var(--primary-light);
     font-family: Georgia, serif;
     line-height: 1;
     opacity: 0.5;
 }

 .testimonial-text {
     font-size: 1.1rem;
     color: var(--dark);
     margin-bottom: 2rem;
     font-style: italic;
     line-height: 1.8;
     position: relative;
     z-index: 1;
 }

 .testimonial-author {
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .author-avatar {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     background: var(--gradient-primary);
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-weight: 600;
     font-size: 1.2rem;
 }

 .author-info h4 {
     font-size: 1.1rem;
     margin-bottom: 0.3rem;
     color: var(--dark);
 }

 .author-info p {
     color: var(--gray);
     font-size: 0.9rem;
 }

 .testimonial-rating {
     color: #ffc107;
     margin-bottom: 1rem;
 }

 /* CTA SECTION */
 .cta-section {
     padding: 100px 0;
     background: var(--gradient-primary);
     color: white;
     text-align: center;
     position: relative;
     overflow: hidden;
 }

 .cta-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
     background-size: cover;
 }

 .cta-content {
     position: relative;
     z-index: 2;
     max-width: 700px;
     margin: 0 auto;
 }

 .cta-section h2 {
     font-size: 2.8rem;
     margin-bottom: 1.5rem;
 }

 .cta-section p {
     font-size: 1.2rem;
     opacity: 0.9;
     margin-bottom: 3rem;
 }

 .cta-buttons {
     display: flex;
     gap: 1.5rem;
     justify-content: center;
     flex-wrap: wrap;
 }

 /* FOOTER */
 footer {
     background: var(--dark);
     color: white;
     padding: 80px 0 30px;
     position: relative;
 }

 .footer-content {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 3rem;
     margin-bottom: 3rem;
 }

 .footer-column h3 {
     font-size: 1.3rem;
     margin-bottom: 1.5rem;
     color: white;
 }

 .footer-column p {
     color: rgba(255, 255, 255, 0.7);
     margin-bottom: 1.5rem;
     line-height: 1.6;
 }

 .footer-links {
     list-style: none;
 }

 .footer-links li {
     margin-bottom: 0.8rem;
 }

 .footer-links a {
     color: rgba(255, 255, 255, 0.7);
     text-decoration: none;
     transition: var(--transition);
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .footer-links a:hover {
     color: white;
     transform: translateX(5px);
 }

 .social-icons {
     display: flex;
     gap: 1rem;
     margin-top: 1.5rem;
 }

 .social-icons a {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.1);
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-decoration: none;
     transition: var(--transition);
 }

 .social-icons a:hover {
     background: var(--primary);
     transform: translateY(-3px);
 }

 .newsletter-form {
     margin-top: 1.5rem;
 }

 .newsletter-input {
     width: 100%;
     padding: 0.8rem 1rem;
     border: 2px solid rgba(255, 255, 255, 0.1);
     background: rgba(255, 255, 255, 0.05);
     border-radius: var(--border-radius-sm);
     color: white;
     margin-bottom: 0.8rem;
     font-family: 'Inter', sans-serif;
 }

 .newsletter-input:focus {
     outline: none;
     border-color: var(--primary);
 }

 .newsletter-btn {
     width: 100%;
     background: var(--gradient-primary);
     color: white;
     border: none;
     padding: 0.8rem;
     border-radius: var(--border-radius-sm);
     font-weight: 600;
     cursor: pointer;
     transition: var(--transition);
 }

 .newsletter-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
 }

 .copyright {
     text-align: center;
     padding-top: 2rem;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     color: rgba(255, 255, 255, 0.5);
     font-size: 0.9rem;
 }

 /* LOADING ANIMATION */
 .loading {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: var(--gradient-primary);
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 9999;
     transition: opacity 0.5s ease;
 }

 .loading.hidden {
     opacity: 0;
     pointer-events: none;
 }

 .spinner {
     width: 60px;
     height: 60px;
     border: 4px solid rgba(255, 255, 255, 0.3);
     border-top: 4px solid white;
     border-radius: 50%;
     animation: spin 1s linear infinite;
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }

 /* FLOATING ELEMENTS */
 .floating {
     position: absolute;
     animation: float 6s ease-in-out infinite;
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0) rotate(0deg);
     }

     50% {
         transform: translateY(-20px) rotate(5deg);
     }
 }

 .float-1 {
     top: 20%;
     left: 5%;
     animation-delay: 0s;
 }

 .float-2 {
     top: 60%;
     right: 10%;
     animation-delay: 2s;
 }

 .float-3 {
     bottom: 20%;
     left: 10%;
     animation-delay: 4s;
 }

 /* RESPONSIVE DESIGN */
 @media (max-width: 1024px) {
     .hero h1 {
         font-size: 3rem;
     }

     .steps::before {
         display: none;
     }

     .steps {
         flex-direction: column;
         gap: 3rem;
     }
 }

 @media (max-width: 768px) {

     .nav-links,
     .auth-buttons {
         display: none;
     }

     .mobile-menu-btn {
         display: block;
     }

     .hero {
         padding: 150px 0 80px;
     }

     .hero h1 {
         font-size: 2.5rem;
     }

     .hero-buttons {
         flex-direction: column;
         align-items: center;
     }

     .btn-primary,
     .btn-secondary {
         width: 100%;
         max-width: 300px;
         justify-content: center;
     }

     .hero-stats {
         gap: 2rem;
     }

     .stat-number {
         font-size: 2rem;
     }

     .section-title {
         font-size: 2.2rem;
     }

     .features-grid,
     .classes-grid {
         grid-template-columns: 1fr;
     }

     .testimonial-card {
         padding: 2rem;
     }

     .cta-buttons {
         flex-direction: column;
         align-items: center;
     }
 }

 @media (max-width: 480px) {
     .hero h1 {
         font-size: 2rem;
     }

     .hero p {
         font-size: 1.1rem;
     }

     .section-title {
         font-size: 1.8rem;
     }

     .feature-card,
     .class-card {
         padding: 2rem 1.5rem;
     }

     .footer-content {
         grid-template-columns: 1fr;
         text-align: center;
     }

     .footer-links a {
         justify-content: center;
     }
 }

 /* ===============================
   MOBILE RESPONSIVE FIXES
   Screen ≤ 768px
================================ */
 @media (max-width: 768px) {

     /* ---------- GENERAL ---------- */
     body {
         overflow-x: hidden;
     }

     .container {
         width: 95%;
         padding: 0 12px;
     }

     h1 {
         font-size: 2.2rem !important;
         line-height: 1.2;
     }

     h2 {
         font-size: 1.8rem !important;
     }

     p {
         font-size: 1rem;
     }

     /* ---------- HEADER / NAV ---------- */
     .nav-links,
     .auth-buttons {
         display: none;
     }

     .mobile-menu-btn {
         display: block;
     }

     header {
         padding: 0.8rem 0;
     }

     /* ---------- HERO SECTION ---------- */
     .hero {
         padding: 130px 0 60px;
     }

     .hero p {
         font-size: 1.05rem;
         margin-bottom: 2rem;
     }

     .hero-bg {
         clip-path: none;
         opacity: 0.08;
     }

     /* ---------- BUTTONS ---------- */
     .btn-primary,
     .btn-secondary,
     .btn-login,
     .btn-signup {
         width: 100%;
         text-align: center;
         padding: 14px 20px;
     }

     /* ---------- GRIDS ---------- */
     .subjects-grid,
     .stats-grid,
     .features-grid,
     .contact-cards {
         grid-template-columns: 1fr !important;
         gap: 1.5rem;
     }

     .subject-card {
         transform: none !important;
     }

     /* ---------- CLASS SELECTOR ---------- */
     .class-selector {
         position: static;
         padding: 30px 0;
         box-shadow: none;
     }

     .class-buttons {
         gap: 0.7rem;
     }

     .class-btn {
         width: 100%;
         justify-content: center;
         font-size: 1rem;
         padding: 0.9rem 1rem;
     }

     /* ---------- FOOTER ---------- */
     footer {
         text-align: center;
     }

     .footer-grid {
         grid-template-columns: 1fr;
         gap: 2rem;
     }

     .social-icons {
         justify-content: center;
     }

     /* ---------- LOGIN / SIGNUP ---------- */
     .auth-container {
         flex-direction: column;
         min-height: auto;
     }

     .welcome-side {
         padding: 40px 25px;
         text-align: center;
     }

     .welcome-side h2 {
         font-size: 2rem;
     }

     .form-side {
         padding: 35px 25px;
     }

     .form-row {
         flex-direction: column;
     }

     /* ---------- REDUCE ANIMATIONS ---------- */
     * {
         animation-duration: 0.4s !important;
     }
 }