/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #1a1a1a;
    background: #fafafa;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER ===== */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #b71c1c;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text span {
    color: #1a237e;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    color: #333;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
    color: #b71c1c;
    border-bottom-color: #b71c1c;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
}

.hamburger {
    width: 26px;
    height: 3px;
    background: #b71c1c;
    border-radius: 4px;
    transition: 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: 0.25s;
    text-align: center;
}

.btn-primary {
    background: #b71c1c;
    color: #fff;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
}

.btn-primary:hover {
    background: #880e4f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(183, 28, 28, 0.35);
}

.btn-outline {
    background: transparent;
    color: #b71c1c;
    border: 2px solid #b71c1c;
}

.btn-outline:hover {
    background: #b71c1c;
    color: #fff;
}

.btn-secondary {
    background: #1a237e;
    color: #fff;
}

.btn-secondary:hover {
    background: #0d1450;
}

.btn-sm {
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2.8rem;
    font-size: 1.2rem;
}

/* ===== HERO ===== */
.hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: #b71c1c;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #1a237e, #283593);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: #444;
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #b71c1c;
}

.stat-label {
    font-size: 0.9rem;
    color: #555;
}

.hero-illustration {
    font-size: 10rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    padding: 1rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.section-tag {
    display: inline-block;
    background: #fce4ec;
    color: #b71c1c;
    padding: 0.2rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-header h2 {
    font-size: 2.4rem;
    color: #b71c1c;
    margin-bottom: 0.6rem;
}

.section-header h2 span {
    color: #1a237e;
}

.section-header p {
    color: #555;
    font-size: 1.1rem;
}

/* ===== FEATURES ===== */
.features {
    padding: 4rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f9faff;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: 0.25s;
    border: 1px solid #edf0f9;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #b71c1c;
    margin-bottom: 0.4rem;
}

.feature-card p {
    color: #555;
    font-size: 0.95rem;
}

/* ===== COURSES (products) ===== */
.courses {
    padding: 4rem 0;
    background: #f3f4f9;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: 0.25s;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.course-thumb {
    font-size: 4rem;
    text-align: center;
    padding: 2rem 0;
    background: #e8f5e9;
}

.course-body {
    padding: 1.5rem;
}

.course-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #0d47a1;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.course-body h3 {
    color: #b71c1c;
    margin-bottom: 0.3rem;
}

.course-body p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.courses-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 4rem 0;
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f9faff;
    border-radius: 20px;
    padding: 2rem;
    border-left: 4px solid #b71c1c;
}

.testimonial-card p {
    font-style: italic;
    color: #222;
    font-size: 1.05rem;
}

.testimonial-card footer {
    margin-top: 1rem;
    font-weight: 600;
    color: #b71c1c;
}

/* ===== CTA ===== */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #b71c1c, #880e4f);
    color: #fff;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.6rem;
    margin-bottom: 0.6rem;
}

.cta-box h2 span {
    color: #ffb300;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0d0d2b;
    color: #ddd;
    padding-top: 3rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding-bottom: 2rem;
}

.footer-brand .logo {
    color: #fff;
}

.footer-brand p {
    margin: 0.6rem 0 1.2rem;
    max-width: 260px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    list-style: none;
    font-size: 1.6rem;
}

.footer-social a {
    opacity: 0.8;
    transition: 0.2s;
}
.footer-social a:hover {
    opacity: 1;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.4rem;
}
.footer-col ul a {
    opacity: 0.8;
    transition: 0.2s;
}
.footer-col ul a:hover {
    opacity: 1;
    color: #ffb300;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: #ffb300;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1.5rem;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        gap: 1.2rem;
        border-top: 1px solid #eee;
    }
    .nav-list.open {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .cta-box h2 {
        font-size: 2rem;
    }
    .hero-illustration {
        font-size: 6rem;
    }
}