:root {
    --primary: #4f46e5;
    --secondary: #22c55e;
    --text: #1f2937;
    --bg: #ffffff;
    --soft: #f9fafb;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 16px;
}

/* Header */
.header {
    padding: 16px 0;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.logo span {
    color: var(--primary);
}

/* Hero */
.hero {
    background: var(--soft);
    padding: 60px 0;
     display: flex;
    align-items: center;
    gap: 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.hero h1 {
    font-size: 36px;
    line-height: 1.2;
}

.subtitle {
    margin: 16px 0;
    font-size: 18px;
}

.hero-actions {
    margin-top: 24px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 10px;
}

.primary {
    background: var(--primary);
    color: #fff;
}

.secondary {
    background: #e5e7eb;
    color: var(--text);
}

/* Sections */
section {
    padding: 60px 0;
}

h2 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 28px;
}

.feature-grid,
.pack-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature,
.pack {
    background: var(--soft);
    padding: 24px;
    border-radius: 10px;
}

/* Free */
.free-section {
    background: #eef2ff;
    text-align: center;
}

/* Footer */
.footer {
    background: #111827;
    color: #d1d5db;
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    text-align: center;
    padding: 16px;
    margin-top: 24px;
    font-size: 14px;
    color: #9ca3af;
}

/* Desktop */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* Desktop */
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .feature-grid,
    .pack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.hero-image {
    width: 100%;
    text-align: center;
    flex: 1;
}

.hero-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: inline-block;
}
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero-image img {
        max-width: 100%;
    }
}
.worksheet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.worksheet-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 10px;
}
.free-home {
    background: #eef2ff;
    padding: 50px 0;
    text-align: center;
}

.free-home .worksheet-card {
    max-width: 400px;
    margin: 20px auto;
}

.paid-section {
    background: #f8fafc;
    padding: 60px 0;
    margin-top: 60px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 32px;
    color: #4b5563;
}

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

.pack-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.pack-card h3 {
    margin-bottom: 12px;
}

.pack-card .price {
    font-size: 22px;
    font-weight: 700;
    margin: 16px 0;
    color: #16a34a;
}

.buy-btn {
    background: #16a34a;
    color: #fff;
}
.worksheet-card .btn {
    margin-top: 16px;
}



