* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #050b14;
    color: #f8fafc;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    padding-top: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

/* Настройки Canvas */
#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    position: relative;
    z-index: 2;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* Navbar — Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(5, 11, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 11, 20, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#siteNav {
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.logo-short { display: none; }
@media (max-width: 900px) {
    .logo-full { display: none; }
    .logo-short { display: inline; }
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #f8fafc;
}

/* Hero Section */
.hero {
    padding: 40px 0 80px;
}
.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: nowrap;
}
.hero-content {
    flex: 1 1 50%;
    max-width: 50%;
    min-width: 0;
    container-type: inline-size;
}
.hero-image {
    flex: 1 1 50%;
    max-width: 50%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.hero-title {
    font-size: clamp(22px, 8.5cqw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-title-line {
    display: block;
    white-space: nowrap;
}
.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-description {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.hero-buttons-guest {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    flex-wrap: nowrap;
    max-width: 480px;
}
.btn-hero-main {
    flex: 1 1 auto;
    padding: 16px 28px;
    font-size: 17px;
    font-weight: 700;
    min-width: 0;
}
.btn-hero-reg {
    flex: 0 0 auto;
    padding: 16px 22px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.btn-hero-sm {
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 500;
}
.btn-hero-xl {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    min-width: min(100%, 340px);
    text-align: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
    font-size: 16px;
}
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.6);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}
.stat-label {
    font-size: 14px;
    color: #64748b;
}

/* Логотип с премиальным сиянием */
.glow-container {
    position: relative;
    transition: transform 0.1s ease-out;
}
.glow-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.5) 0%, rgba(59,130,246,0) 70%);
    animation: pulseGlow 4s infinite alternate;
    z-index: -1;
}
.hero-logo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6), inset 0 0 20px rgba(255,255,255,0.2);
    border: 2px solid rgba(59, 130, 246, 0.3);
    animation: float 6s ease-in-out infinite;
}
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.15); opacity: 0.8; }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Общие секции */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}
.section-header p {
    color: #94a3b8;
    font-size: 18px;
}

/* Преимущества (Обновленный блок для графических иконок) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.feature-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 36px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1) inset;
}

/* Контейнер для иконки */
.feature-icon {
    height: 48px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

/* Стилизация загружаемой картинки-иконки */
.feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain; /* Иконка не сжимается и сохраняет пропорции */
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.4)); /* Кибер-свечение вокруг иконки */
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Эффект при наведении на карточку */
.feature-card:hover .feature-icon img {
    transform: scale(1.1); /* Легкое увеличение иконки */
    filter: drop-shadow(0 0 14px rgba(96, 165, 250, 0.8)); /* Свечение становится ярче */
}

.feature-card h3 { font-size: 22px; margin-bottom: 12px; color: #f8fafc; }
.feature-card p { color: #94a3b8; line-height: 1.7; }

/* Тарифы */
.pricing { padding: 60px 0; }
.pricing-note { text-align: center; margin-top: 8px; }
.pricing-note p { color: #64748b; font-size: 14px; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}
@media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
    background: linear-gradient(165deg, rgba(20, 30, 55, 0.95) 0%, rgba(10, 16, 30, 0.9) 100%);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 22px 18px 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(96, 165, 250, 0.12);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.35);
    border-color: rgba(96, 165, 250, 0.35);
}
.pricing-card.premium {
    background: linear-gradient(165deg, rgba(30, 64, 175, 0.35) 0%, rgba(12, 20, 40, 0.95) 100%);
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.12);
}
.pricing-card.premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.4), 0 0 32px rgba(59, 130, 246, 0.2);
}
.pricing-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
}
.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: white;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
}
.price {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 12px 0 2px;
    line-height: 1.2;
}
.price span { font-size: 13px; font-weight: 500; color: #94a3b8; display: block; margin-top: 2px; }
.price-monthly {
    font-size: 13px;
    font-weight: 600;
    color: #60a5fa;
    margin: 2px 0 8px;
}
.price-save { color: #10b981; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.pricing-features {
    list-style: none;
    text-align: left;
    margin: 12px 0 16px;
    padding: 0;
    flex: 1;
    font-size: 12px;
}
.pricing-features li {
    padding: 6px 0;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    line-height: 1.4;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-card .btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 14px;
    margin-top: auto;
}

/* Шаги */
.steps {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    text-align: center;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.05);
}
.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-size: 28px;
    font-weight: 800;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}
.step h3 { margin-bottom: 16px; color: #f8fafc; font-size: 22px; }
.step p { color: #94a3b8; line-height: 1.6; }

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: #f8fafc;
    transition: background 0.3s;
}
.faq-question:hover {
    background: rgba(255,255,255,0.02);
}
.faq-toggle {
    font-size: 28px;
    color: #60a5fa;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    color: #94a3b8;
}
.faq-answer-inner {
    overflow: hidden;
    line-height: 1.7;
    padding: 0 24px;
    transition: padding 0.35s ease;
}
.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}
.faq-item.active .faq-answer-inner {
    padding: 0 24px 24px;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background: #020617;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #94a3b8;
    padding: 80px 0 30px;
    position: relative;
    z-index: 2;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-brand {
    max-width: 320px;
}
.footer-brand .logo {
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
}
.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}
.footer-column h4 {
    color: #f8fafc;
    margin-bottom: 24px;
    font-size: 18px;
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 12px;
}
.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}
.footer-column a:hover {
    color: #60a5fa;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-image { display: none; }
    .hero-content {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .hero-title { font-size: clamp(22px, 7vw, 40px); }
    .hero .container { gap: 16px; }
    .hero-description { font-size: 14px; margin-bottom: 24px; max-width: none; }
    .badge { font-size: 11px; padding: 4px 10px; }
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 20px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 11, 20, 0.95);
        backdrop-filter: blur(15px);
        padding: 30px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        text-align: center;
    }
    .nav-menu.active {
        display: flex;
        z-index: 200;
    }
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 201;
    }
    .pricing-card.premium { transform: none; }
    .pricing-card.premium:hover { transform: translateY(-6px); }
    .hero-buttons-guest {
        flex-wrap: wrap;
        max-width: 100%;
    }
    .hero-buttons-guest .btn-hero-main,
    .hero-buttons-guest .btn-hero-reg {
        flex: 1 1 calc(50% - 6px);
        min-width: calc(50% - 6px);
        text-align: center;
    }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-stats { flex-wrap: wrap; justify-content: center; gap: 30px; }
    .footer-links { gap: 40px; }
}