* {
    font-family: 'Inter', sans-serif;
}

.gradient-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gradient-premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.premium-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(145deg, #6366f1, #8b5cf6, #06b6d4);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.hero-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    background-size: cover;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    animation: slideUp 0.4s ease-out;
}

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 320px;
}

.toast.show {
    transform: translateX(0);
}

.loading-spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

.payment-form {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stats-counter {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #a7a8b5, #daccf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceGentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }

    to {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .hero-bg {
        padding: 60px 0;
    }

    .stats-counter {
        font-size: 2.5rem;
    }

    .pricing-card.featured {
        transform: none;
        margin-top: 0;
    }
}

.course-progress {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    height: 8px;
    border-radius: 4px;
    transition: width 0.6s ease-in-out;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    section.py-10 {
        margin-top: -44px;
    }

    .py-20 {
        margin-top: -34px;
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 2rem;
    }

    .abc {
        margin-top: -45px;
    }
}

.subject-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    /* 8 cards per row */
    gap: 20px;
    padding: 20px;
}

.subject-card {
    height: 120px;
    /* Height bada kiya */
    background: #4e73df;
    color: #fff;
    font-size: 20px;
    /* Text size bada */
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.subject-card:hover {
    background: #2e59d9;
    transform: translateY(-5px);
}

@media (max-width: 1200px) {
    .subject-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .subject-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.subject-link {
    text-decoration: none;
    color: inherit;
}