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

:root {
    --primary-bg: #F5EFE6;
    --secondary-bg: #FDFCF8;
    --accent-yellow: #F4C753;
    --accent-gold: #D4A74A;
    --text-dark: #1A2332;
    --text-medium: #4A5568;
    --text-light: #718096;
    --sidebar-bg: #FFFFFF;
    --border-color: #E2D5C7;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --sidebar-width: 280px;
}

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

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--sidebar-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.mobile-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 999;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 40px 32px 32px;
    border-bottom: 1px solid var(--border-color);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.sidebar-nav {
    flex: 1;
    padding: 32px 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 32px;
    padding: 0 32px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.nav-link {
    display: block;
    padding: 10px 0;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-dark);
}

.sidebar-footer {
    padding: 24px 32px 32px;
    border-top: 1px solid var(--border-color);
}

.language-selector {
    margin-bottom: 16px;
}

.language-selector select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--secondary-bg);
    color: var(--text-dark);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--text-medium);
}

.copyright {
    font-size: 11px;
    color: var(--text-light);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 80px 120px;
}

/* Hero Section */
.hero {
    margin-bottom: 120px;
}

.hero-label,
.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 32px;
}

.hero-title,
.section-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 40px;
    letter-spacing: -1.5px;
    max-width: 800px;
}

.section-title {
    font-size: 48px;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    margin: 48px 0;
}

.hero-svg {
    width: 100%;
    height: auto;
}

.hero-description,
.section-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-medium);
    max-width: 700px;
}

/* Stats Section */
.stats-section {
    margin-bottom: 120px;
}

.stat-card {
    background: var(--secondary-bg);
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    padding: 48px;
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat-value {
    font-size: 72px;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-icon {
    flex-shrink: 0;
}

.stat-description {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    margin-bottom: 120px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 120px;
}

.benefits-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.benefit-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.benefit-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-yellow);
    line-height: 1;
    min-width: 80px;
}

.benefit-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.benefit-content p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Download Section */
.download-section {
    margin-bottom: 120px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.download-card {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.download-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.download-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Getting Started Section */
.getting-started-section {
    margin-bottom: 120px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    background: var(--secondary-bg);
    padding: 32px;
    border-radius: 12px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--accent-yellow);
    padding: 80px 60px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 80px;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background: #2D3748;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-bg);
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: white;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    color: var(--text-medium);
}

.footer-section a {
    display: block;
    font-size: 14px;
    color: var(--text-medium);
    text-decoration: none;
    margin-bottom: 8px;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        padding: 60px 80px;
    }

    .hero-title,
    .section-title {
        font-size: 48px;
    }
}

@media (max-width: 968px) {
    .mobile-header {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 100px 40px 60px;
    }

    .hero-title,
    .section-title {
        font-size: 40px;
    }

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

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .benefit-item {
        flex-direction: column;
    }

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

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .main-content {
        padding: 80px 24px 40px;
    }

    .hero-title,
    .section-title {
        font-size: 32px;
    }

    .hero-description,
    .section-description {
        font-size: 16px;
    }

    .stat-value {
        font-size: 56px;
    }

    .feature-card,
    .download-card,
    .step-card {
        padding: 24px;
    }

    .cta-section {
        padding: 48px 32px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.section {
    animation: fadeInUp 0.6s ease-out;
}
