* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
body { background: #f8fafc; color: #1e293b; line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: #0f172a; color: white; padding: 15px 0; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #1e293b; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { width: 40px; height: 40px; border-radius: 8px; }
.logo-text { font-size: 1.5rem; font-weight: 700; color: #38bdf8; }

/* Nav */
.nav { display: flex; align-items: center; }
.nav a { color: #cbd5e1; text-decoration: none; margin-left: 20px; font-weight: 500; transition: 0.2s; }
.nav a:hover { color: #38bdf8; }
.btn-nav { background: #38bdf8; color: #0f172a !important; padding: 8px 16px; border-radius: 6px; }
.btn-nav:hover { background: #0ea5e9; color: #0f172a !important; }

/* Hero */
.hero { padding: 80px 0; text-align: center; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: white; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; color: #94a3b8; max-width: 700px; margin: 0 auto 30px; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: 0.3s; cursor: pointer; border: none; }
.btn-primary { background: #38bdf8; color: #0f172a; }
.btn-primary:hover { background: #0ea5e9; transform: translateY(-2px); }

/* Features */
.features { padding: 80px 0; }
.features h2 { text-align: center; font-size: 2rem; margin-bottom: 50px; color: #0f172a; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-color: #38bdf8; }
.card-icon { font-size: 2rem; margin-bottom: 15px; }
.card h3 { color: #0f172a; margin-bottom: 10px; font-size: 1.2rem; }
.card p { color: #64748b; font-size: 0.95rem; }

/* Pricing */
.pricing { padding: 80px 0; background: #f1f5f9; text-align: center; }
.pricing h2 { font-size: 2rem; margin-bottom: 10px; color: #0f172a; }
.pricing > .container > p { color: #64748b; margin-bottom: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; align-items: stretch; }

.price-card { background: white; padding: 40px 25px; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 2px solid transparent; transition: 0.3s; display: flex; flex-direction: column; }
.price-card:hover { border-color: #38bdf8; transform: translateY(-5px); }
.price-card.popular { border-color: #38bdf8; position: relative; box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.4); }
.price-card.popular::before { content: "Оптимально"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #38bdf8; color: #0f172a; padding: 4px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }

.price-card h3 { font-size: 1.1rem; color: #64748b; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.price-desc { font-size: 0.85rem; color: #94a3b8; margin-bottom: 15px; min-height: 40px; }
.price { font-size: 2.2rem; font-weight: 800; color: #0f172a; margin-bottom: 20px; line-height: 1; }
.price span { font-size: 0.9rem; color: #94a3b8; font-weight: 400; display: block; margin-top: 5px; }

.price-card ul { list-style: none; margin-bottom: 30px; text-align: left; flex-grow: 1; }
.price-card ul li { padding: 10px 0; border-bottom: 1px solid #f1f5f9; color: #475569; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 10px; }
.price-card ul li::before { content: "✓"; color: #10b981; font-weight: bold; }
.price-card .btn { width: 100%; text-align: center; }

/* Footer */
footer { background: #0f172a; color: #94a3b8; padding: 40px 0; text-align: center; font-size: 0.9rem; }
footer a { color: #38bdf8; text-decoration: none; }

/* Утилиты */
.mt-10 { margin-top: 10px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
}
