/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #4CAF50;
    --color-primary-dark: #388E3C;
    --color-secondary: #FF9800;
    --color-accent: #2196F3;
    --color-red: #F44336;
    --color-purple: #9C27B0;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-light: #F5F5F5;
    --color-border: #E0E0E0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --max-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-text);
    text-decoration: none;
    flex-shrink: 0;
}

.bee-icon {
    font-size: 1.5rem;
}

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

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero-note {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    opacity: 0.8;
}

/* Buttons */
.cta-button-primary,
.cta-button-secondary,
.cta-button-small {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    text-align: center;
    font-size: 1rem;
    min-height: 44px;
    line-height: 1.4;
}

.cta-button-primary {
    background-color: var(--color-primary);
    color: white;
}

.cta-button-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button-primary.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.cta-button-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-button-small {
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.9rem;
    min-height: 38px;
}

.cta-button-small:hover {
    background-color: var(--color-primary-dark);
}

/* Intro Section */
.intro {
    padding: 2.5rem 0;
    background-color: var(--color-bg);
}

.intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--color-text-light);
    line-height: 1.7;
    text-align: center;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--color-bg-light);
}

.features h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--color-bg);
    padding: 1.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-text-light);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.step p {
    color: var(--color-text-light);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Levels Section */
.levels {
    padding: 4rem 0;
    background-color: var(--color-bg-light);
}

.levels h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.5rem;
}

.level-card {
    background-color: var(--color-bg);
    padding: 1.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-left: 4px solid;
    transition: transform 0.3s, box-shadow 0.3s;
}

.level-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.level-card.green {
    border-left-color: var(--color-primary);
}

.level-card.orange {
    border-left-color: var(--color-secondary);
}

.level-card.red {
    border-left-color: var(--color-red);
}

.level-card.super-hard {
    border-left-color: var(--color-purple);
}

.level-card h3 {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.level-subtitle {
    color: var(--color-text-light);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.level-card p {
    color: var(--color-text-light);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
}

.benefits h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--color-bg);
    padding: 1.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.benefit-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.benefit-card p {
    color: var(--color-text-light);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.benefit-card a {
    word-break: break-word;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background-color: var(--color-bg-light);
}

.faq h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    cursor: pointer;
    color: var(--color-text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-light);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text-light);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

/* News Section */
.news {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.news h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.news-intro {
    text-align: center;
    color: var(--color-text-light);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: 2.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
    gap: 1.5rem;
}

.news-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.news-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.news-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #e8f5e9;
    color: var(--color-primary-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
}

.news-card h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text);
    line-height: 1.3;
    margin: 0;
}

.news-card p {
    color: var(--color-text-light);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.7;
    flex: 1;
}

.news-link {
    display: inline-block;
    color: var(--color-primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.25rem;
    transition: color 0.2s;
}

.news-link:hover {
    color: var(--color-primary);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: white;
    padding: 2.5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

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

/* Responsive Design */

/* Tablet (portrait) */
@media (max-width: 900px) {
    .nav {
        gap: 1rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .features-grid,
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    }

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

/* Mobile landscape & tablet portrait */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 0.5rem 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .bee-icon {
        font-size: 1.35rem;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
    }

    .features,
    .how-it-works,
    .levels,
    .benefits,
    .faq,
    .news,
    .cta-section {
        padding: 3rem 0;
    }

    .features-grid,
    .benefits-grid,
    .levels-grid {
        gap: 1.25rem;
    }

    .steps {
        gap: 1.5rem;
    }

    .feature-card,
    .benefit-card,
    .level-card,
    .news-card {
        padding: 1.5rem;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .features,
    .how-it-works,
    .levels,
    .benefits,
    .faq,
    .news,
    .cta-section {
        padding: 2.5rem 0;
    }

    .features-grid,
    .levels-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .benefit-card,
    .level-card,
    .step {
        padding: 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .cta-button-primary,
    .cta-button-secondary,
    .cta-button-primary.large {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}
