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

:root {
    --primary: #7c5dfa;
    --primary-dark: #6c4fe8;
    --primary-light: #8b7bff;
    --secondary: #0ea5e9;
    --accent: #f43f5e;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #ffffff;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --gray-lighter: #f1f5f9;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray);
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 93, 250, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--gray-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-light);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-weight: 700;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex: 1;
    margin-left: 3rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(124, 93, 250, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.code-window {
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(124, 93, 250, 0.2);
}

.code-header {
    background: var(--dark-light);
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #28c840; }

.code-content {
    padding: 2rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.95rem;
    color: #00d4ff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.code-line {
    display: flex;
    gap: 0.5rem;
}

.keyword { color: #ff6b9d; font-weight: 600; }
.variable { color: #00d4ff; }
.string { color: #26de81; }
.number { color: #feca57; }
.function { color: #a29bfe; }

.stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 4rem 2rem;
    color: white;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.courses {
    padding: 6rem 2rem;
    background: var(--light);
}

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

.course-card {
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(124, 93, 250, 0.15);
    transform: translateY(-4px);
}

.course-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 50px rgba(124, 93, 250, 0.2);
}

.course-label {
    display: inline-block;
    background: var(--gray-lighter);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.course-label.premium {
    background: var(--primary);
    color: white;
}

.course-card h3 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.course-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.9rem;
    color: var(--gray);
}

.features {
    padding: 6rem 2rem;
    background: var(--gray-lighter);
}

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

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.feature p {
    font-size: 0.95rem;
}

.instructors {
    padding: 6rem 2rem;
    background: var(--light);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.instructor {
    background: var(--gray-lighter);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.instructor:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.instructor-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.instructor h3 {
    margin-bottom: 0.5rem;
}

.instructor-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.instructor-bio {
    font-size: 0.9rem;
    line-height: 1.6;
}

.resources {
    padding: 6rem 2rem;
    background: var(--gray-lighter);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.resource {
    background: var(--light);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    cursor: pointer;
    display: block;
}

.resource:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(124, 93, 250, 0.1);
    transform: translateY(-2px);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource h3 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.resource p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.resource-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing {
    padding: 6rem 2rem;
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 50px rgba(124, 93, 250, 0.2);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.price {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.currency {
    font-size: 1.5rem;
}

.period {
    font-size: 1rem;
    color: var(--gray);
    margin-left: 0.25rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--dark);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-light);
}

.pricing-features li:last-child {
    border: none;
}

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

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

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

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

.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: white;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--gray);
}

.footer-section a:hover {
    color: var(--primary);
}

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

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.2rem; }

    .nav-menu {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .courses-grid,
    .features-grid,
    .instructors-grid,
    .resources-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .cta h2 {
        font-size: 1.8rem;
    }

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

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

    .section-header h2 {
        font-size: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }

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