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

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.5;
}

/* Header */
header {
    background: #1e293b;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    margin-left: 24px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #667eea;
}

/* Main */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero h1 {
    font-size: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: #94a3b8;
    margin-bottom: 32px;
}

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

.btn-primary, .btn-secondary {
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

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

.btn-secondary {
    background: #334155;
    color: white;
}

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

/* Features */
.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
}

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

.feature-card {
    background: #1e293b;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #334155;
    transition: transform 0.2s;
}

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

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

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: #94a3b8;
    font-size: 14px;
}

/* Footer */
footer {
    background: #1e293b;
    text-align: center;
    padding: 24px;
    border-top: 1px solid #334155;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        text-align: center;
    }
}

/* Стили для меню */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #667eea;
}

.user-plan {
    background: #667eea;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 8px;
}
