:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --accent-orange: #f97316;
    --accent-orange-dark: #ea580c;
    --gradient-start: #2563eb;
    --gradient-end: #7c3aed;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-light: #e5e7eb;
    --success-green: #10b981;
    --error-red: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    padding-top: var(--nav-height);
}

/* Global Navigation Styles */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    height: var(--nav-height);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-logo:hover {
    color: var(--primary-blue-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link-active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-user-email {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding-right: 0.5rem;
    border-right: 1px solid var(--border-light);
    margin-right: 0.5rem;
}

.nav-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-btn-primary {
    background: var(--primary-blue);
    color: white;
}

.nav-btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-btn-secondary {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
}

.nav-btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    body {
        padding-top: var(--nav-height);
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-logo {
        font-size: 1.125rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        border-radius: 8px;
        transition: background 0.2s ease;
    }

    .nav-link:hover {
        background: var(--bg-secondary);
    }

    .nav-auth {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .nav-user-email {
        text-align: center;
        padding-right: 0;
        border-right: none;
        margin-right: 0;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
}

/* Adjust hero section for fixed nav */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Container and other existing styles remain the same */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Email Capture */
.email-capture {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
}

.email-capture h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.email-capture p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-form.horizontal {
    flex-direction: row;
    align-items: center;
}

.form-group {
    position: relative;
}

.email-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.email-form input::placeholder {
    color: #94a3b8;
}

.email-form input:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.15);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.form-disclaimer {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 1rem;
    text-align: center;
}

/* Course Preview Section */
.course-preview {
    padding: 80px 0;
    background: var(--bg-primary);
}

.course-preview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 3rem auto;
}

.course-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.course-card.free:hover {
    border-color: var(--success-green);
}

.course-card.premium:hover {
    border-color: var(--primary-blue);
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--success-green);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.course-card.premium .card-badge {
    background: var(--primary-blue);
}

.course-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.course-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    margin-bottom: 2rem;
}

.course-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.course-link {
    display: inline-block;
    background: var(--success-green);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.course-link.premium-link {
    background: var(--primary-blue);
}

.course-link.premium-link:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.student-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.student-stats .stat {
    text-align: center;
}

.stat-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .course-cards {
        grid-template-columns: 1fr;
    }
    
    .student-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Social Proof */
.social-proof {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.stat-label {
    font-size: 0.875rem;
    color: #cbd5e1;
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.problem h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-4px);
}

.problem-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Solution Section */
.solution {
    padding: 80px 0;
}

.solution h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.curriculum-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.track {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.track:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.track h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.track-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--primary-blue);
    color: white;
}

.track-badge.free {
    background: var(--success-green);
}

.coming-soon {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px dashed var(--border-light);
}

/* Credibility Section */
.credibility {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.credibility h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.credential {
    text-align: center;
    padding: 2rem;
}

.credential h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Email Capture Section */
.email-capture-section {
    padding: 80px 0;
    background: var(--bg-dark);
    color: white;
}

.capture-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.capture-box h2 {
    margin-bottom: 1rem;
}

.capture-box p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 3rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.modal-content h3 {
    color: var(--success-green);
    margin-bottom: 1rem;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '...';
    animation: loading 1s infinite;
}

@keyframes loading {
    0%, 33% { content: '.'; }
    34%, 66% { content: '..'; }
    67%, 100% { content: '...'; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .email-capture {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
    }
    
    .social-proof {
        flex-direction: column;
        gap: 1rem;
    }
    
    .email-form.horizontal {
        flex-direction: column;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .problem, .solution, .credibility {
        padding: 60px 0;
    }
}

/* Add this to your styles.css */
.hero-cta {
    margin-top: 2rem;
    text-align: center;
}

.hero-cta .cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-subtext {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-top: 0.5rem;
}

/* Ensure the hero section has proper spacing */
.hero {
    padding-bottom: 4rem;
}

/* Optional: Add a subtle animation to the button */
.hero-cta .cta-button {
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}