/* ===== ГЛОБАЛЬНЫЕ ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #7c3aed;
    --accent-light: #8b5cf6;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --bg: #f4f8fe;
    --text: #0b1a2f;
    --text-secondary: #334155;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.12);
    --radius: 24px;
    --radius-sm: 16px;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== ФОН ===== */
.bg-wrap { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #f0f4fe 0%, #dce4f2 30%, #c8d8ea 60%, #b0c8e0 100%);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.bg-wave {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Cpath d='M0,100 C300,0 600,200 1200,100 L1200,200 L0,200 Z' fill='rgba(59,130,246,0.06)'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 200px;
    animation: waveMove 12s linear infinite;
}
@keyframes waveMove { 0% { transform: translateX(0); } 100% { transform: translateX(-1200px); } }

/* ===== ЧАСТИЦЫ ===== */
.particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.particle {
    position: absolute; border-radius: 50%; background: rgba(59,130,246,0.08);
    animation: float linear infinite;
}
.particle:nth-child(1) { width: 8px; height: 8px; left: 5%; top: 10%; animation-duration: 18s; }
.particle:nth-child(2) { width: 12px; height: 12px; left: 15%; top: 70%; animation-duration: 22s; animation-delay: 2s; }
.particle:nth-child(3) { width: 6px; height: 6px; left: 30%; top: 20%; animation-duration: 15s; animation-delay: 4s; }
.particle:nth-child(4) { width: 10px; height: 10px; left: 45%; top: 80%; animation-duration: 20s; animation-delay: 1s; }
.particle:nth-child(5) { width: 14px; height: 14px; left: 60%; top: 15%; animation-duration: 25s; animation-delay: 3s; }
.particle:nth-child(6) { width: 7px; height: 7px; left: 75%; top: 60%; animation-duration: 16s; animation-delay: 5s; }
.particle:nth-child(7) { width: 9px; height: 9px; left: 90%; top: 30%; animation-duration: 19s; animation-delay: 2s; }
.particle:nth-child(8) { width: 11px; height: 11px; left: 50%; top: 40%; animation-duration: 21s; animation-delay: 0s; }
.particle:nth-child(9) { width: 5px; height: 5px; left: 20%; top: 50%; animation-duration: 14s; animation-delay: 6s; }
.particle:nth-child(10) { width: 13px; height: 13px; left: 80%; top: 10%; animation-duration: 23s; animation-delay: 4s; }
@keyframes float {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
    25% { transform: translateY(-60px) translateX(30px) scale(1.2); opacity: 0.3; }
    50% { transform: translateY(-120px) translateX(-20px) scale(0.8); opacity: 0.6; }
    75% { transform: translateY(-180px) translateX(40px) scale(1.1); opacity: 0.2; }
    100% { transform: translateY(-240px) translateX(0) scale(1); opacity: 0; }
}

/* ===== ШАПКА ===== */
header {
    padding: 16px 0;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: 0.3s;
}
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.header-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.logo {
    font-size: 26px; font-weight: 800;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex; align-items: center; gap: 8px;
}
nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
nav a {
    text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 14px;
    padding: 8px 16px; border-radius: 40px; transition: 0.25s;
}
nav a:hover { background: rgba(59,130,246,0.06); color: var(--primary); }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary) !important; }
.btn-outline:hover { background: var(--primary); color: white !important; }
.btn-primary-header { background: var(--primary); color: white !important; box-shadow: 0 4px 14px rgba(59,130,246,0.25); }
.btn-primary-header:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.35); }

/* ===== ГЕРОЙ ===== */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
    display: inline-block; background: rgba(59,130,246,0.1); color: var(--primary);
    padding: 6px 24px; border-radius: 40px; font-weight: 600; font-size: 13px;
    border: 1px solid rgba(59,130,246,0.08);
    animation: pulse-badge 3s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
.hero h1 {
    font-size: 72px; font-weight: 900; line-height: 1.02; letter-spacing: -2px;
    margin: 20px 0 16px;
}
.hero h1 .gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-desc {
    font-size: 22px; color: var(--text-secondary); max-width: 660px;
    margin: 0 auto 36px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none; border-radius: 60px; color: white; font-weight: 700; font-size: 16px;
    text-decoration: none; display: inline-block;
    box-shadow: 0 8px 32px rgba(37,99,235,0.35); transition: 0.3s; cursor: pointer;
    position: relative; overflow: hidden;
}
.btn-primary::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0; transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 48px rgba(37,99,235,0.45); }
.btn-primary:hover::after { opacity: 1; }
.btn-secondary {
    padding: 14px 40px;
    border: 2px solid var(--border); border-radius: 60px; color: var(--text);
    font-weight: 600; font-size: 16px; text-decoration: none; display: inline-block;
    background: rgba(255,255,255,0.7); backdrop-filter: blur(4px);
    transition: 0.3s; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.hero-stats {
    display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 48px;
}
.hero-stats span {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 500; color: var(--text-secondary);
}
.hero-stats .num { font-size: 20px; font-weight: 700; color: var(--text); }

/* ===== ВИДЖЕТЫ ===== */
.widgets {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px; margin-top: -40px; margin-bottom: 60px; position: relative; z-index: 2;
}
.widget {
    background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
    padding: 28px 20px; border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.04); box-shadow: var(--shadow);
    text-align: center; transition: 0.4s;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}
.widget:nth-child(1) { animation-delay: 0.1s; }
.widget:nth-child(2) { animation-delay: 0.2s; }
.widget:nth-child(3) { animation-delay: 0.3s; }
.widget:nth-child(4) { animation-delay: 0.4s; }
.widget:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.widget .icon { font-size: 32px; margin-bottom: 6px; display: block; }
.widget .num { font-size: 32px; font-weight: 800; color: var(--primary); }
.widget .label { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }

/* ===== СЕКЦИИ ===== */
section { padding: 80px 0; position: relative; z-index: 1; }
.section-title {
    font-size: 44px; font-weight: 800; text-align: center; margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.section-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: shimmer 4s ease-in-out infinite;
}
.section-sub {
    text-align: center; color: var(--text-secondary); font-size: 18px;
    max-width: 600px; margin: 0 auto 44px;
}

/* ===== КАРУСЕЛЬ ===== */
.locations-carousel {
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-lg);
    padding: 20px 0;
}
.carousel-track {
    display: flex;
    gap: 24px;
    animation: scrollCarousel 30s linear infinite;
    width: max-content;
    padding: 0 12px;
}
.carousel-track:hover { animation-play-state: paused; }
.carousel-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: 0.4s;
    flex-shrink: 0;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.carousel-slide:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 16px 40px rgba(59,130,246,0.12);
}
.carousel-slide .flag { font-size: 48px; line-height: 1; margin-bottom: 8px; }
.carousel-slide .country {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    letter-spacing: 0.3px;
}
@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}
.feature {
    background: rgba(255,255,255,0.8); backdrop-filter: blur(4px);
    padding: 36px 24px; border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.04); text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.feature::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.02), rgba(124,58,237,0.02));
    opacity: 0; transition: 0.4s;
}
.feature:hover::before { opacity: 1; }
.feature:hover {
    transform: translateY(-10px); box-shadow: 0 20px 48px rgba(0,0,0,0.06);
    border-color: rgba(59,130,246,0.1);
}
.feature .icon {
    width: 72px; height: 72px; background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(124,58,237,0.08));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin: 0 auto 14px;
    transition: 0.4s;
}
.feature:hover .icon { transform: scale(1.1) rotate(-5deg); }
.feature strong { display: block; font-size: 18px; margin-bottom: 4px; }
.feature span { font-size: 14px; color: var(--text-secondary); }

/* ===== ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ ===== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.spec-item {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    padding: 28px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
    transition: 0.4s;
}
.spec-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}
.spec-item .spec-icon {
    font-size: 36px;
    margin-bottom: 8px;
    display: block;
}
.spec-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}
.spec-item span {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
}
.spec-item .spec-detail {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ===== КАК ПОДКЛЮЧИТЬСЯ (3 ШАГА) ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.step {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.4s;
    position: relative;
}
.step:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: var(--shadow-lg);
}
.step-number {
    display: inline-block;
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.12;
    line-height: 1;
}
.step .step-icon {
    font-size: 40px;
    display: block;
    margin: -10px 0 8px;
}
.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0 4px;
}
.step p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== FAQ ===== */
.faq-grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.faq-item:hover {
    box-shadow: var(--shadow);
    border-color: rgba(59,130,246,0.1);
}
.faq-item .faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: 0.2s;
    background: rgba(255,255,255,0.5);
}
.faq-item .faq-question:hover {
    background: rgba(59,130,246,0.03);
}
.faq-item .faq-question .arrow {
    transition: 0.3s;
    font-size: 20px;
    color: var(--text-secondary);
}
.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

/* ===== ТАРИФЫ ===== */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}
.plan {
    background: rgba(255,255,255,0.85); backdrop-filter: blur(4px);
    padding: 36px 24px; border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.04); text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: 0.4s; position: relative;
}
.plan:hover {
    transform: translateY(-12px); box-shadow: 0 24px 56px rgba(0,0,0,0.08);
    border-color: rgba(59,130,246,0.15);
}
.plan.popular {
    border-color: var(--gold);
    background: linear-gradient(160deg, #ffffff, #fffbeb);
    box-shadow: 0 8px 32px rgba(245,158,11,0.08);
}
.plan .badge {
    display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: white; font-size: 12px; font-weight: 700; padding: 4px 18px; border-radius: 40px;
}
.plan h3 { font-size: 20px; font-weight: 700; margin: 12px 0 2px; }
.plan .price { font-size: 40px; font-weight: 800; margin: 4px 0 2px; }
.plan .old { font-size: 16px; color: #94a3b8; text-decoration: line-through; font-weight: 400; }
.plan .sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px 0; text-align: left; }
.plan ul li { padding: 8px 0; font-size: 14px; color: var(--text); border-bottom: 1px solid rgba(0,0,0,0.04); display: flex; align-items: center; gap: 8px; }
.plan ul li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.plan ul li:last-child { border-bottom: none; }
.plan .btn-primary { width: 100%; text-align: center; padding: 12px; font-size: 15px; }

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, #0b1a2f, #1e293b);
    color: white; text-align: center; padding: 80px 0;
    border-radius: 40px; margin: 0 24px; position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.15), transparent 60%);
    animation: ctaPulse 6s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-size: 44px; font-weight: 700; margin-bottom: 12px; }
.cta p { font-size: 18px; opacity: 0.8; max-width: 500px; margin: 0 auto 28px; }
.cta .btn-primary { box-shadow: 0 8px 40px rgba(37,99,235,0.5); }

/* ===== ФУТЕР (плотнее) ===== */
footer {
    padding: 56px 0 32px;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 30px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}
footer .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
}
footer .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}
footer .footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}
footer .footer-contacts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}
footer .footer-contacts a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
footer .footer-contacts a:hover {
    text-decoration: underline;
}
footer .footer-copy {
    margin-top: 16px;
    font-size: 13px;
    color: #94a3b8;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 52px; }
    .section-title { font-size: 36px; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 38px; }
    .hero-desc { font-size: 18px; }
    .section-title { font-size: 30px; }
    .header-flex { flex-direction: column; align-items: stretch; text-align: center; }
    nav { justify-content: center; }
    .cta { margin: 0 16px; padding: 48px 16px; }
    .cta h2 { font-size: 28px; }
    .hero-stats { gap: 20px; }
    .widgets { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .specs-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    footer .footer-links { gap: 8px 12px; }
    footer .footer-contacts { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 14px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .widgets { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 12px; font-size: 13px; }
}