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

:root {
    --primary: #1dbf73;
    --primary-dark: #19a463;
    --secondary: #ff6b35;
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f7;
    --text-primary: #222222;
    --text-secondary: #62646a;
    --border: #e4e5e7;
    --card-bg: #ffffff;
}

[data-theme="dark"] {
    --primary: #1dbf73;
    --secondary: #ff6b35;
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --border: #30363d;
    --card-bg: #161b22;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: background 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon::before {
    content: '☀️';
    font-size: 20px;
}

[data-theme="dark"] .theme-icon::before {
    content: '🌙';
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.btn-outline {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn-cta, .btn-cta-large {
    padding: 16px 40px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cta:hover, .btn-cta-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.benefits, .steps, .categories {
    padding: 80px 0;
}

.benefits {
    background: var(--bg-secondary);
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    stroke: white;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.step-card {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.category-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.category-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cta-section {
    padding: 100px 0;
    background: var(--primary);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

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

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle svg {
    stroke: var(--text-primary);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 16px;
    gap: 12px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.3s;
}

.mobile-menu a:hover {
    background: var(--bg-secondary);
}

.footer {
    background: var(--bg-secondary);
    padding: 24px 0;
    text-align: center;
    color: var(--text-secondary);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    .nav-right .nav-link,
    .nav-right .btn-outline { display: none; }
    .mobile-menu-toggle { display: flex; }
    .benefits-grid, .steps-grid, .stats-grid, .categories-grid { grid-template-columns: 1fr; }
    .logo { font-size: 24px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .cta-section h2 { font-size: 28px; }
    .stat-item h3 { font-size: 36px; }
    .logo { font-size: 20px; }
}
