* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background: #1e293b;
    padding: 20px 0;
    border-bottom: 2px solid #334155;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #38bdf8;
}

.logo span {
    color: #f59e0b;
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #38bdf8;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #38bdf8;
    color: #0f172a;
}

.btn-primary:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #38bdf8;
    color: #38bdf8;
    background: transparent;
}

.btn-outline:hover {
    background: #38bdf8;
    color: #0f172a;
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #f8fafc;
}

.hero h1 span {
    color: #38bdf8;
}

.hero p {
    font-size: 20px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Возможности */
.features {
    padding: 80px 0;
    background: #1e293b;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #0f172a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #334155;
    text-align: center;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.feature-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #f8fafc;
}

.feature-card p {
    color: #94a3b8;
}

/* Тарифы */
.pricing {
    padding: 80px 0;
}

.pricing h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: #1e293b;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #334155;
    text-align: center;
}

.pricing-card.featured {
    border-color: #38bdf8;
    border-width: 2px;
    position: relative;
}

.pricing-card.featured::before {
    content: 'ПОПУЛЯРНЫЙ';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #38bdf8;
    color: #0f172a;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: #f8fafc;
    margin: 20px 0;
}

.price span {
    font-size: 18px;
    color: #94a3b8;
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 8px 0;
    color: #94a3b8;
}

.pricing-card ul li::before {
    content: '✓ ';
    color: #38bdf8;
    font-weight: bold;
}

/* Призыв к действию */
.cta {
    padding: 80px 0;
    text-align: center;
    background: #1e293b;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 18px;
}

/* Подвал */
footer {
    padding: 30px 0;
    text-align: center;
    color: #64748b;
    border-top: 1px solid #334155;
}

/* Форма */
.form-container {
    max-width: 450px;
    margin: 60px auto;
    background: #1e293b;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #334155;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #f8fafc;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #38bdf8;
}

.form-container .btn {
    width: 100%;
    margin-top: 10px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #94a3b8;
}

.form-footer a {
    color: #38bdf8;
    text-decoration: none;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: #7f1d1d;
    color: #fca5a5;
    border: 1px solid #991b1b;
}

.alert-success {
    background: #14532d;
    color: #86efac;
    border: 1px solid #166534;
}

/* Адаптив */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .pricing-grid { grid-template-columns: 1fr; }
    nav a { margin-left: 15px; font-size: 14px; }
}