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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
    touch-action: none;
    pointer-events: auto;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transform: translateZ(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-nav {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #7c3aed;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.start-now-btn {
    position: relative;
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48cae4, #9b59b6);
    background-size: 300% 300%;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    animation: gradientShift 3s ease-in-out infinite;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.start-now-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.5);
    animation-duration: 1s;
}

.btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48cae4, #9b59b6);
    background-size: 300% 300%;
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 3s ease-in-out infinite;
}

.start-now-btn:hover .btn-glow {
    opacity: 0.7;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Fix H1 font-size deprecation warning */
section h1, aside h1, nav h1, article h1 {
    font-size: 2.5rem;
}

/* Hero Section - Modern Medical Theme */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 35%, #f093fb 70%, #4bc0c8 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 50px 50px 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(124,58,237,0.1) 0%, transparent 40%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('./topographic-texture.svg'),
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%);
    background-size: 200px 200px, cover, cover;
    background-repeat: repeat, no-repeat, no-repeat;
    opacity: 0.3;
    pointer-events: none;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 30%; right: 20%; animation-delay: 2s; }
.floating-icon:nth-child(3) { bottom: 30%; left: 25%; animation-delay: 4s; }
.floating-icon:nth-child(4) { bottom: 40%; right: 15%; animation-delay: 1s; }
.floating-icon:nth-child(5) { top: 50%; left: 10%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-5deg); }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle sup {
    font-size: 0.65em;
    vertical-align: super;
    line-height: 0;
}

.hero-features-list {
    margin-bottom: 40px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-list-item {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 1;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.8;
    text-align: left;
    color: #ffffff;
}

.hero-list-item:last-child {
    margin-bottom: 0;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    width: 100%;
}

.download-btn {
    background: white;
    color: #7c3aed;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.qr-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.qr-img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
}

.qr-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-phone {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 2;
    position: relative;
    padding-right: 40px;
}

.video-container-hero {
    width: 300px;
    height: 580px;
    background: #1f2937;
    border-radius: 22px;
    padding: 10px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    position: relative;
    transform: rotate(5deg);
    animation: phoneFloat 4s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-container-hero:hover {
    transform: rotate(0deg) scale(1.05) !important;
    box-shadow: 0 30px 100px rgba(0,0,0,0.4);
    animation: none !important;
}

.video-container-hero:hover .hero-feature-item {
    transform: translateX(0);
}

.hero-features {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 12px;
    gap: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.hero-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(79,70,229,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236,72,153,0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border-left: 4px solid #7c3aed;
}

.hero-feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.25);
    background: rgba(255, 255, 255, 1);
}

.feature-icon {
    font-size: 1.7rem;
    min-width: 38px;
    text-align: center;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.1));
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.video-overlay-hero {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.phone-mockup {
    width: 260px;
    height: 580px;
    background: #1f2937;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    position: relative;
    transform: rotate(5deg);
    animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: rotate(5deg) translateY(0px); }
    50% { transform: rotate(5deg) translateY(-10px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: screenGlow 3s ease-in-out infinite;
}

@keyframes screenGlow {
    0%, 100% { opacity: 0.3; transform: rotate(0deg); }
    50% { opacity: 0.6; transform: rotate(180deg); }
}

.phone-content {
    z-index: 2;
    position: relative;
}

.phone-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.phone-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 25px;
}

.phone-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.phone-feature {
    background: rgba(255,255,255,0.15);
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
}

/* Trust Section with Video Testimonials */
.trust-section {
    background: white;
    padding: 100px 50px;
}

.trust-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.trust-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.trust-number {
    background: #EEE6CA;
    color: #896C6C;
    padding: 8px 20px;
    border-radius: 16px;
    display: inline-block;
    font-weight: 900;
    border: 2px solid #E5BEB5;
    box-shadow: 0 4px 12px rgba(137, 108, 108, 0.2);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.trust-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(245, 250, 225, 0.6), 
        transparent
    );
    transition: left 0.5s ease;
}

.trust-number:hover::before {
    left: 100%;
}

/* Alternative style - uncomment to use */
/*
.trust-number {
    background: linear-gradient(135deg, #E5BEB5, #F5FAE1);
    color: #896C6C;
    padding: 12px 24px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 900;
    border: 3px solid #EEE6CA;
    box-shadow: 0 6px 20px rgba(229, 190, 181, 0.3);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.trust-number:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(229, 190, 181, 0.4);
}
*/

.trust-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.trust-stat {
    text-align: left;
}

.trust-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #7c3aed;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.trust-stat-stars {
    color: #fbbf24;
    font-size: 1.5rem;
}

.trust-stat-label {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.testimonial-videos {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
}

.video-container {
    position: absolute;
    width: 260px;
    height: 580px;
    background: #1f2937;
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #000;
}

.video-container:first-child {
    left: 80px;
    z-index: 2;
    animation: slideLeft 4s ease-in-out infinite;
}

.video-container:last-child {
    right: 80px;
    z-index: 1;
    animation: slideRight 4s ease-in-out infinite;
}

.video-container:hover {
    transform: scale(1.02);
    z-index: 10;
}

@keyframes slideLeft {
    0%, 100% { 
        transform: translateX(0) rotate(-2deg); 
        z-index: 2;
    }
    25% { 
        transform: translateX(-20px) rotate(-3deg); 
        z-index: 3;
    }
    50% { 
        transform: translateX(10px) rotate(1deg); 
        z-index: 2;
    }
    75% { 
        transform: translateX(-10px) rotate(-1deg); 
        z-index: 1;
    }
}

@keyframes slideRight {
    0%, 100% { 
        transform: translateX(0) rotate(2deg); 
        z-index: 1;
    }
    25% { 
        transform: translateX(10px) rotate(3deg); 
        z-index: 1;
    }
    50% { 
        transform: translateX(-20px) rotate(-1deg); 
        z-index: 3;
    }
    75% { 
        transform: translateX(15px) rotate(2deg); 
        z-index: 2;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    z-index: 2;
}

.video-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(45deg, #7c3aed, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
}

.video-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(0,0,0,0.1) 30%, 
        rgba(0,0,0,0.3) 70%,
        rgba(0,0,0,0.6) 100%);
}

.video-student-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    padding: 12px 16px;
    border-radius: 15px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    text-align: center;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Features Section with Phone Mockups */
.features {
    background: #f8fafc;
    padding: 0;
}

.feature {
    padding: 120px 50px;
    background: white;
}

.feature:nth-child(even) {
    background: #f8fafc;
}

.feature-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature:nth-child(even) .feature-container {
    direction: rtl;
}

.feature:nth-child(even) .feature-content {
    direction: ltr;
}

.feature-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.feature-highlight {
    background: #EEE6CA;
    color: #896C6C;
    padding: 6px 18px;
    border-radius: 14px;
    display: inline-block;
    font-weight: 900;
    border: 2px solid #E5BEB5;
    box-shadow: 0 4px 12px rgba(137, 108, 108, 0.2);
    transform: rotate(-2deg);
    position: relative;
    overflow: hidden;
    margin: 0 6px;
    transition: all 0.3s ease;
    vertical-align: baseline;
    line-height: 1.2;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(245, 250, 225, 0.6), 
        transparent
    );
    transition: left 0.5s ease;
}

.feature-highlight:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(137, 108, 108, 0.3);
}

.feature-highlight:hover::before {
    left: 100%;
}

.hero-highlight {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #2d1b69;
    padding: 8px 24px;
    border-radius: 16px;
    display: inline-block;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: rotate(-1.5deg);
}

.hero-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.hero-highlight:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

.hero-highlight:hover::before {
    left: 100%;
}

.feature-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 40px;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.feature-video-container {
    width: 260px;
    height: 580px;
    background: #1f2937;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
    position: relative;
    transform: rotate(-3deg);
    transition: all 0.3s ease;
}

.feature-video-container:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 30px 100px rgba(0,0,0,0.3);
}

.feature-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #000;
}

.feature-video-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 16px;
    border-radius: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 3;
}

/* All Subjects Covered Section */
.subjects-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 120px 50px;
    color: white;
    text-align: center;
}

.subjects-container {
    max-width: 1400px;
    margin: 0 auto;
}

.subjects-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.subjects-highlight {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    padding: 8px 20px;
    border-radius: 15px;
    display: inline-block;
}

.subjects-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 60px 0 40px 0;
    flex-wrap: wrap;
}

.subject-tab {
    background: rgba(255,255,255,0.1);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid transparent;
}

.subject-tab.active,
.subject-tab:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.subject-card {
    background: white;
    color: #1a1a1a;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.subject-card:hover {
    border-color: #7c3aed;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.subject-tag {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.subject-question {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.subject-snippet {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.subject-stats {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-icon {
    width: 16px;
    height: 16px;
    background: #e2e8f0;
    border-radius: 4px;
}

/* Toppers Section */
.toppers-section {
    background: white;
    padding: 120px 50px;
    text-align: center;
    overflow: hidden;
}

.toppers-container {
    max-width: 1400px;
    margin: 0 auto;
}

.toppers-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.toppers-title .feature-highlight {
    font-size: inherit;
}

.toppers-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.toppers-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
}

.slider-track {
    display: flex;
    animation: slide 20s linear infinite;
    gap: 20px;
}

.topper-photo {
    flex: 0 0 253px;
    width: 253px;
    height: 323px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.topper-photo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(124, 58, 237, 0.2);
}

.topper-photo img {
    width: 253px;
    height: 323px;
    object-fit: contain;
    border-radius: 20px;
    display: block;
}

.topper-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 20px;
    text-align: center;
}

.topper-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.topper-score {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
}

@keyframes slide {
    0% {
        transform: translateX(calc(-320px * 3));
    }
    100% {
        transform: translateX(calc(-320px * 11));
    }
}

/* Different tilt angles for variety */
.feature-highlight:nth-of-type(1) {
    transform: rotate(-2deg);
}

.feature-highlight:nth-of-type(2) {
    transform: rotate(1.5deg);
}

.feature-highlight:nth-of-type(3) {
    transform: rotate(-1.8deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-highlight {
        padding: 4px 14px;
        font-size: 0.85em;
        margin: 0 3px;
        border-radius: 12px;
        transform: rotate(-1.5deg);
    }
    
    .feature-content h2 {
        font-size: 2.5rem;
        gap: 6px;
    }
    
    .toppers-title {
        font-size: 2.5rem;
    }
    
    .topper-photo {
        flex: 0 0 202px;
        width: 202px;
        height: 258px;
    }
    
    .topper-photo img {
        width: 202px;
        height: 258px;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-222px * 8));
        }
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    padding: 100px 50px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.contact-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    border-color: white;
    background: white;
}

.contact-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.contact-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.contact-card p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.contact-link {
    color: #7c3aed;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    position: relative;
    z-index: 1;
}

.contact-link:hover {
    color: white;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 20px;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-card {
        padding: 40px 30px;
    }
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 120px 50px;
    text-align: center;
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 30px;
}

.download-highlight {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    padding: 8px 20px;
    border-radius: 15px;
    display: inline-block;
}

.download-subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.app-store-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.app-store-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Premium Sidebar - Exact Match */
.premium-sidebar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.15);
    max-width: 320px;
    z-index: 999;
    border: 1px solid #e2e8f0;
}

.premium-header {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.3;
}

.premium-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.premium-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    font-weight: bold;
}

.premium-feature-content {
    flex: 1;
}

.premium-feature-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.3;
    font-size: 0.95rem;
}

.premium-feature-desc {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
}

.premium-cta {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.premium-trial {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid #fcd34d;
}

.premium-buy {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ffb347);
    background-size: 200% 200%;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease-in-out infinite;
}

.premium-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.premium-buy:hover::before {
    left: 100%;
}

.premium-buy:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
    animation-duration: 1s;
}

.premium-buy:active {
    transform: translateY(-1px) scale(0.98);
}

.premium-free {
    width: 100%;
    background: transparent;
    color: #d97706;
    padding: 12px 20px;
    border: 1.5px solid #d97706;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.premium-free:hover {
    background: #fef3c7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .premium-sidebar {
        position: static;
        transform: none;
        margin: 40px auto;
        max-width: 400px;
    }

    .hero {
        flex-direction: column;
        padding: 100px 30px 50px;
        text-align: center;
    }

    .hero-phone {
        margin-top: 50px;
        justify-content: center;
    }

}

@media (max-width: 768px) {
    .nav {
        padding: 12px 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-container {
        padding: 0 20px;
        height: 60px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;
        padding: 100px 20px 50px;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
    }

    .hero-phone {
        width: 100%;
        padding: 0;
        justify-content: center;
        margin-top: 40px;
    }

    .video-container-hero {
        width: 85%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 9/16;
        padding: 8px;
        transform: none;
    }

    .video-container-hero:hover {
        transform: scale(1.02);
    }

    .hero-features {
        padding: 10px;
        gap: 8px;
    }

    .hero-feature-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .feature-icon {
        font-size: 1.2rem;
        min-width: 26px;
    }

    .feature-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 2.5rem;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }

    .hero-features-list {
        max-width: 100%;
        padding: 20px 20px;
    }

    .hero-list-item {
        font-size: 0.95rem;
        margin-bottom: 12px;
        text-align: left;
    }

    .trust-container, .feature-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trust-content h2 {
        font-size: 2.5rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .trust-number {
        display: block;
        margin: 10px 0;
        font-size: 2.8rem;
    }

    .feature:nth-child(even) .feature-container {
        direction: ltr;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
    }

    .performance-stats {
        grid-template-columns: 1fr;
    }

    .testimonial-videos {
        grid-template-columns: 1fr;
    }

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

    .hero {
        padding: 100px 20px 50px;
        touch-action: pan-y;
    }

    .feature, .trust-section, .subjects-section, .performance-section, .download-section {
        padding: 80px 20px;
        touch-action: pan-y;
    }

    /* Hide QR section on mobile devices */
    .qr-section {
        display: none;
    }

    /* Adjust hero CTA layout for mobile */
    .hero-cta {
        justify-content: center;
    }
    
    /* Show floating button only on mobile devices */
    .floating-buy-mobile {
        display: block !important;
    }
    
    /* Hide premium sidebar on mobile to avoid duplication */
    .premium-sidebar {
        display: none !important;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .trust-content h2 {
        font-size: 2rem !important;
        line-height: 1.3;
    }
    
    .trust-number {
        display: inline-block;
        font-size: 2.2rem !important;
        padding: 6px 16px;
        margin: 8px 4px;
        white-space: nowrap;
    }
    
    .trust-container {
        padding: 0 10px;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Mobile Buy Button - Hidden on desktop */
.floating-buy-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999 !important;
    width: 90%;
    max-width: 300px;
}

.floating-buy-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ffb347);
    background-size: 200% 200%;
    color: white;
    padding: 16px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease-in-out infinite, floatPulse 2s ease-in-out infinite;
}

.floating-buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.floating-buy-btn:hover::before {
    left: 100%;
}

.floating-buy-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.6);
    animation-duration: 1s;
}

.floating-buy-btn:active {
    transform: translateY(0) scale(0.98);
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
    }
}

/* Lead Form Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 35%, #ec4899 70%, #f97316 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-header h2::before {
    content: '🎯';
    display: inline-block;
    margin-right: 8px;
    font-size: 1.5rem;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lead-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-group input {
    cursor: text;
}

.form-group select {
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

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

.form-success {
    padding: 40px 30px;
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.form-success h3 {
    color: #059669;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.form-success p {
    color: #6b7280;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
        padding-right: 40px;
    }

    .lead-form {
        padding: 25px 20px;
    }

    .form-group input,
    .form-group select {
        padding: 14px 12px;
    }
}

/* Hero Form Styles */
.hero-lead-form {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(30px);
    border-radius: 28px;
    padding: 36px;
    margin: 40px auto 0;
    box-shadow:
        0 24px 48px rgba(79, 70, 229, 0.12),
        0 12px 24px rgba(124, 58, 237, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 440px;
    width: 100%;
    position: relative;
    overflow: visible;
    transform: translateZ(0);
    z-index: 10;
    isolation: isolate;
}


.hero-form-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.hero-form-header h3 {
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.5px;
    line-height: 1.4;
}

.hero-form-header h3::before {
    content: '🎯';
    display: inline-block;
    margin-right: 8px;
    font-size: 1.5rem;
    vertical-align: middle;
    -webkit-text-fill-color: initial;
    background: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.hero-form {
    display: block;
    position: relative;
    z-index: 1;
}

.hero-form .form-group {
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.hero-form .form-group:has(select) {
    z-index: 50;
    overflow: visible;
}

.hero-form .form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: #2d3748;
    font-size: 1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.hero-form .form-group input,
.hero-form .form-group select {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    font-family: inherit;
    font-weight: 500;
    box-shadow:
        0 4px 20px rgba(102, 126, 234, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    color: #2d3748;
}

.hero-form .form-group input {
    cursor: text;
}

.hero-form .form-group select {
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    background-color: rgba(255, 255, 255, 0.95);
}

.hero-form .form-group select:focus {
    z-index: 1000;
}

.hero-form .form-group select option {
    background: white;
    color: #2d3748;
    padding: 10px;
}

.hero-form .form-group input:focus,
.hero-form .form-group select:focus {
    outline: none;
    border: 2px solid #667eea;
    background: rgba(255, 255, 255, 1);
    box-shadow:
        0 8px 32px rgba(102, 126, 234, 0.15),
        0 0 0 4px rgba(102, 126, 234, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.hero-form .form-group input::placeholder {
    color: #a0aec0;
    font-weight: 400;
    font-style: italic;
}

.hero-form-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border: none;
    padding: 22px 32px;
    border-radius: 24px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow:
        0 16px 48px rgba(102, 126, 234, 0.35),
        0 8px 24px rgba(118, 75, 162, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-form-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent);
    transition: left 0.6s ease;
}

.hero-form-submit-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #ec4899, #f97316);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-form-submit-btn .btn-text {
    position: relative;
    z-index: 2;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-form-submit-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 24px 64px rgba(102, 126, 234, 0.4),
        0 12px 32px rgba(118, 75, 162, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.hero-form-submit-btn:hover::before {
    left: 100%;
}

.hero-form-submit-btn:hover::after {
    opacity: 1;
}

.hero-form-submit-btn:active {
    transform: translateY(-3px) scale(1.02);
    transition: all 0.1s ease;
}

.hero-form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hero-form-success {
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-top: 20px;
}

.hero-form-success h4 {
    color: #059669;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.hero-form-success p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Mobile responsive for hero form */
@media (max-width: 768px) {
    .hero-lead-form {
        padding: 25px 20px;
        margin-top: 30px;
        max-width: 100%;
    }

    .hero-form-header h3 {
        font-size: 1.3rem;
    }
}

/* Product Page Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.logo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo a {
    display: inline-block;
}

.logo img:hover {
    transform: scale(1.05);
}

.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 35%, #f093fb 70%, #4bc0c8 100%);
    padding: 150px 50px 100px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.product-details {
    background: white;
    padding: 80px 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-header {
    text-align: center;
    margin-bottom: 70px;
}

.product-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.2;
}

.short-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.key-features {
    margin-bottom: 80px;
}

.key-features h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
    border-color: #7c3aed;
    background: white;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
}

.curriculum-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin-bottom: 80px;
}

.curriculum-section h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
}

.subjects-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.subject-item {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    border-left: 5px solid #7c3aed;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.subject-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
}

.subject-item strong {
    color: #7c3aed;
    font-weight: 700;
}

.cta-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    border-radius: 25px;
    color: white;
}

.cta-section h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.enroll-btn {
    display: inline-block;
    background: white;
    color: #7c3aed;
    padding: 18px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.enroll-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer p {
    margin: 5px 0;
    opacity: 0.9;
}

/* Product Page Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .hero-banner {
        padding: 120px 20px 60px;
    }

    .product-details {
        padding: 60px 20px;
    }

    .product-header h2 {
        font-size: 2rem;
    }

    .short-description {
        font-size: 1rem;
    }

    .key-features h3,
    .curriculum-section h3 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .curriculum-section {
        padding: 40px 25px;
    }

    .subject-item {
        padding: 20px;
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 40px 25px;
    }

    .cta-section h3 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .enroll-btn {
        padding: 16px 35px;
        font-size: 1.1rem;
    }

    .logo {
        padding: 0 20px;
    }
}