* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

.header {
    background: linear-gradient(135deg, #101828 0%, #1f2937 50%, #0f172a 100%);
    color: white;
    padding: 24px 0 60px;
    margin-bottom: 40px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.brand {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: #dbe4f0;
    text-decoration: none;
    font-size: 15px;
}

.nav-btn,
.primary-btn,
.secondary-btn,
.buy-btn {
    text-decoration: none;
    transition: 0.2s;
}

.nav-btn,
.primary-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 12px 20px rgba(79, 70, 229, 0.28);
}

.nav-btn:hover,
.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 24px rgba(79, 70, 229, 0.36);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 600;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 36px;
}

.hero-copy {
    max-width: 640px;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(165, 180, 252, 0.3);
    color: #c7d2fe;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 18px;
}

.hero-copy h1 {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.06em;
    margin-bottom: 18px;
}

.hero-copy p {
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 26px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stats strong {
    font-size: 28px;
    line-height: 1;
}

.hero-stats span {
    color: #cbd5e1;
    font-size: 14px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.dashboard-card {
    width: min(100%, 420px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 26px 40px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(10px);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.mini-label {
    display: block;
    color: #bfdbfe;
    font-size: 12px;
    margin-bottom: 8px;
}

.dashboard-top h3 {
    font-size: 22px;
    line-height: 1.25;
}

.price-tag {
    background: #f8fafc;
    color: #111827;
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 12px;
    height: fit-content;
}

.progress-box {
    background: rgba(15, 23, 42, 0.55);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: #e2e8f0;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    width: 72%;
    height: 100%;
    background: linear-gradient(135deg, #34d399, #22c55e);
    border-radius: inherit;
}

.lesson-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    padding: 12px 14px;
    color: #e2e8f0;
    font-size: 14px;
}

.lesson-item strong {
    margin-left: auto;
    color: #cbd5e1;
    font-size: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
}

.dot.active {
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
}

.category-section,
.features-section {
    margin-bottom: 42px;
}

.section-heading {
    text-align: center;
    margin-bottom: 26px;
}

.section-heading p {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f46e5;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.05em;
}

.category-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.category-card,
.feature-card {
    background: white;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.category-card .icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border-radius: 14px;
    font-size: 24px;
    margin-bottom: 18px;
}

.category-card h3,
.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.category-card p,
.feature-card p {
    color: #667085;
    line-height: 1.6;
}

.feature-card {
    text-align: center;
}

.feature-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    border-radius: 18px;
    font-size: 28px;
    margin-bottom: 16px;
}

.highlight-section {
    background: linear-gradient(135deg, #111827, #1d4ed8);
    border-radius: 24px;
    padding: 30px 32px;
    color: white;
    margin-bottom: 42px;
}

.highlight-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.highlight-content p {
    color: #dbeafe;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 700;
}

.highlight-content h2 {
    font-size: clamp(24px, 2.2vw, 32px);
    letter-spacing: -0.04em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 240px;
    background: #f1f1f1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-content p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-bottom strong {
    font-size: 21px;
}

.buy-btn {
    background: #111827;
    color: white;
    padding: 11px 18px;
    border-radius: 8px;
}

.buy-btn:hover {
    background: #2563eb;
}

.site-footer {
    background: #0f172a;
    color: white;
    margin-top: 50px;
    padding: 50px 0 24px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.footer-inner h3 {
    font-size: 32px;
    margin-bottom: 14px;
}

.footer-inner p {
    color: #cbd5e1;
    max-width: 420px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 28px;
    width: 100%;
    max-width: 560px;
}

.footer-links h4 {
    margin-bottom: 14px;
    font-size: 16px;
}

.footer-links a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 30px;
    padding-top: 22px;
    text-align: center;
    color: #cbd5e1;
}

@media (max-width: 1000px) {

    .category-grid,
    .features-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        max-width: 100%;
    }

}

@media (max-width: 640px) {

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-actions,
    .highlight-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stats {
        gap: 18px;
    }

    .category-grid,
    .features-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        padding: 20px;
    }

    .header {
        padding-bottom: 40px;
    }

}