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

body {
    font-family: 'Inter', sans-serif;
    background: #0B0E18;
    color: #EDF2F8;
    line-height: 1.5;
}

/* Новая цветовая схема (отличается от предыдущей) */
:root {
    --bg-dark: #0B0E18;
    --bg-card: #12172A;
    --bg-card-hover: #1A223A;
    --primary: #6366F1;      /* индиго вместо фиолетового */
    --primary-gradient: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
    --primary-light: #818CF8;
    --text-muted: #94A3B8;
    --border: #1E293B;
    --success: #10B981;
}

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

/* Header */
header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(11, 14, 24, 0.8);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}
.nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 32px;
    transition: color 0.2s;
}
.nav a:hover {
    color: white;
}
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    color: var(--primary-light);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-light);
}

/* Hero */
.hero {
    padding: 80px 0 100px;
    text-align: center;
    background: radial-gradient(circle at 20% 30%, rgba(99,102,241,0.15) 0%, rgba(11,14,24,0) 60%);
}
.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}
.hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 32px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Секции */
section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 28px;
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}
.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(99,102,241,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}
.card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.card p {
    color: var(--text-muted);
}

/* Статистика */
.stats-preview {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border);
    font-family: monospace;
    max-width: 700px;
    margin: 0 auto;
}
.stats-preview pre {
    white-space: pre-wrap;
    color: #A5F3C3;
    background: #0A0F1A;
    padding: 20px;
    border-radius: 16px;
    overflow-x: auto;
}

/* Фильтры */
.filters-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}
.filter-tag {
    background: var(--bg-card);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

/* Форма */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 32px;
}
input, textarea {
    width: 100%;
    padding: 14px 18px;
    background: #0F1422;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: white;
    font-family: inherit;
    margin-bottom: 20px;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-status {
    margin-top: 16px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Адаптив */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hero h1 {
        font-size: 2rem;
    }
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.6rem;
    }
}