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

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --text: #0f172a;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-light: #f1f5f9;
  --bg-dark: #0f172a;
  --success: #22c55e;
  --radius: 14px;
}

body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: var(--bg); border-bottom: 1px solid #e2e8f0; padding: 12px 0; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); background: rgba(255,255,255,0.92); }
.header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.logo { font-size: 1.2rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--primary); }
.logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 10px; color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: -1px; }
.header-phone { font-size: 1.1rem; font-weight: 600; }
.header-phone a { color: var(--text); }
nav { display: flex; gap: 20px; font-size: 0.95rem; }
nav a { color: var(--text); font-weight: 500; }
nav a:hover { color: var(--primary); text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c1d95 100%); color: #fff; padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%); }
.hero h1 { font-size: 2.2rem; margin-bottom: 16px; line-height: 1.2; position: relative; }
.hero p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 28px; max-width: 650px; margin-left: auto; margin-right: auto; position: relative; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(6,182,212,0.4); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,0.4); text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* Marquee */
.marquee-wrap { background: linear-gradient(90deg, var(--primary-dark), var(--bg-dark)); overflow: hidden; white-space: nowrap; padding: 10px 0; }
.marquee-content { display: inline-block; animation: marquee 28s linear infinite; color: #cbd5e1; font-size: 0.9rem; }
.marquee-content span { margin: 0 40px; }
.marquee-content span strong { color: var(--accent); }
@keyframes marquee { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* Advantages */
.advantages { padding: 50px 0; background: var(--bg-light); }
.advantages h2 { text-align: center; font-size: 1.6rem; margin-bottom: 30px; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.adv-card { background: var(--bg); padding: 24px; border-radius: var(--radius); text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; transition: transform 0.2s; }
.adv-card:hover { transform: translateY(-4px); }
.adv-card .icon { font-size: 2.2rem; margin-bottom: 10px; }
.adv-card h3 { font-size: 1rem; margin-bottom: 6px; }
.adv-card p { font-size: 0.85rem; color: var(--text-light); }

/* Price */
.price-section { padding: 50px 0; }
.price-section h2 { text-align: center; font-size: 1.6rem; margin-bottom: 8px; }
.price-section .subtitle { text-align: center; color: var(--text-light); margin-bottom: 30px; }
.price-category { margin-bottom: 30px; }
.price-category h3 { font-size: 1.15rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-bottom: 1px solid #e2e8f0; }
.price-table tr:hover { background: var(--bg-light); }
.price-table td { padding: 10px 0; }
.price-table td:last-child { text-align: right; font-weight: 600; color: var(--primary); white-space: nowrap; }

/* Form */
.form-section { padding: 50px 0; background: var(--bg-light); }
.form-section h2 { text-align: center; font-size: 1.6rem; margin-bottom: 8px; }
.form-section .subtitle { text-align: center; color: var(--text-light); margin-bottom: 30px; }
.form-wrap { max-width: 600px; margin: 0 auto; background: var(--bg); padding: 30px; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 0.95rem; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--text-light); margin-bottom: 16px; }
.form-check input { margin-top: 3px; }
.btn-submit { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-submit:hover { background: var(--primary-dark); }
.form-success { display: none; text-align: center; padding: 30px; color: var(--success); font-weight: 600; font-size: 1.1rem; }

/* Steps */
.steps { padding: 50px 0; }
.steps h2 { text-align: center; font-size: 1.6rem; margin-bottom: 30px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 20px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--text-light); }

/* Legal */
.legal-page { padding: 40px 0; }
.legal-page h1 { font-size: 1.6rem; margin-bottom: 24px; }
.legal-page h2 { font-size: 1.2rem; margin: 24px 0 8px; }
.legal-page p, .legal-page li { font-size: 0.9rem; color: var(--text); margin-bottom: 8px; }
.legal-page ul { padding-left: 20px; }

/* Footer */
.footer { background: var(--bg-dark); color: #94a3b8; padding: 30px 0; font-size: 0.85rem; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer a { color: #94a3b8; }
.footer a:hover { color: #fff; }
.footer-left p { margin-bottom: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 768px) {
  .header .container { flex-direction: column; text-align: center; }
  nav { flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 1rem; }
  .footer .container { flex-direction: column; }
}
