/* ===== Базовый сброс ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --accent: #00f2fe;
    --accent-2: #bd00ff;
    --green: #00e676;
    --bg-card: rgba(12, 14, 25, 0.6);
}

html { scroll-behavior: smooth; }

body {
    background: radial-gradient(ellipse at 20% 0%, #090914 0%, #020205 80%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Inter', -apple-system, 'SF Pro Display', system-ui, sans-serif;
    overflow-x: hidden;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

/* ===== Сетка фона (Кибер-грид) ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Анимированные неоновые орбы ===== */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 22s infinite alternate ease-in-out;
    will-change: transform;
    opacity: 0.6;
}
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    100% { transform: translate(4%, 6%) scale(1.3); opacity: 0.7; }
}

/* ===== Жидкая кнопка (общая) ===== */
.liquid-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 15px;
}
.liquid-button:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.liquid-button:active { transform: scale(0.96); transition: 0.1s; }
.liquid-button::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}
.liquid-button:hover::before { left: 100%; }

.liquid-button.secondary {
    background: rgba(15, 20, 35, 0.6); border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: none;
}
.liquid-button.secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--accent-2); box-shadow: 0 0 20px rgba(189, 0, 255, 0.2); }

.btn-free {
    background: linear-gradient(105deg, #00c6ff 0%, #0072ff 50%, #00c6ff 100%) !important;
    background-size: 200% 100% !important;
    border: 1px solid rgba(0, 242, 254, 0.6) !important;
    box-shadow: 0 0 20px rgba(0, 114, 255, 0.4), inset 0 1px 0 rgba(255,255,255,0.3) !important;
    animation: pulseNeon 2s infinite ease-in-out, shimmerBtn 3s infinite linear !important;
    font-weight: 700 !important;
}
.btn-free:hover {
    transform: translateY(-3px) scale(1.04) !important;
    box-shadow: 0 0 35px rgba(0, 114, 255, 0.6), inset 0 1px 0 rgba(255,255,255,0.4) !important;
}
@keyframes pulseNeon {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 114, 255, 0.5), 0 0 20px rgba(0, 114, 255, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 114, 255, 0), 0 0 30px rgba(0, 242, 254, 0.6); }
}
@keyframes shimmerBtn { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

.btn-hero-cta { padding: 18px 38px !important; font-size: 17px !important; border-radius: 60px; }
.btn-hero-cta .arrow { display: inline-block; transition: transform 0.3s ease; }
.btn-hero-cta:hover .arrow { transform: translateX(6px); }

/* ===== Хедер ===== */
.glass-header {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    padding: 12px 24px; background: rgba(10, 12, 20, 0.6); backdrop-filter: blur(28px);
    border-radius: 60px; border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); margin-bottom: 24px; position: sticky; top: 16px; z-index: 100;
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo {
    width: 48px; height: 48px; background: linear-gradient(135deg, var(--accent), #0055ff);
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 22px; color: #000; position: relative; overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}
.brand div strong { font-size: 20px; font-weight: 800; background: linear-gradient(135deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.5px; }
.brand div small { color: rgba(255,255,255,0.5); font-size: 12px; font-weight: 500; }

nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
nav a {
    padding: 8px 18px; border-radius: 60px; font-weight: 500; font-size: 14px; transition: all 0.25s;
    color: #a0aec0; background: transparent; border: 1px solid transparent; text-decoration: none; cursor: pointer;
}
nav a:hover, nav a.active { background: rgba(255, 255, 255, 0.05); color: white; border-color: rgba(255,255,255,0.2); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 20px 24px 60px; position: relative; z-index: 10; }

/* ===== HERO ===== */
.hero { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 40px; align-items: center; margin: 36px 0 56px; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } }
.ai-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3); border-radius: 60px; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}
h1 {
    font-size: 58px; font-weight: 900; line-height: 1.05; margin: 0 0 20px;
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 50%, #bd00ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -1.5px;
}
@media (max-width: 600px) { h1 { font-size: 38px; } }
p.lead { font-size: 18px; color: rgba(255, 255, 255, 0.7); margin: 0 0 30px; line-height: 1.6; font-weight: 400; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.badge { font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.05); color: #fff; padding: 8px 16px; border-radius: 60px; border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); }
.cta-perks { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }
.cta-perks .check { color: var(--accent); font-weight: 800; }

/* 3D Visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.server-3d { width: 100%; max-width: 360px; aspect-ratio: 1 / 1.05; position: relative; perspective: 1200px; }
.server-box { position: absolute; inset: 0; transform-style: preserve-3d; animation: serverFloat 6s ease-in-out infinite; }
@keyframes serverFloat { 0%, 100% { transform: rotateY(-10deg) rotateX(6deg) translateY(0); } 50% { transform: rotateY(-6deg) rotateX(4deg) translateY(-16px); } }
.server-face {
    position: absolute; inset: 0; border-radius: 32px; background: linear-gradient(160deg, rgba(20,25,40,0.8) 0%, rgba(5,10,20,0.9) 100%);
    border: 1px solid rgba(0,242,254,0.3); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8), 0 0 50px rgba(0,242,254,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
    padding: 28px; display: flex; flex-direction: column; justify-content: space-between; backdrop-filter: blur(10px);
}
.server-head { display: flex; align-items: center; justify-content: space-between; }
.server-dots { display: flex; gap: 8px; }
.server-dots span { width: 12px; height: 12px; border-radius: 50%; }
.server-dots span:first-child { background: #ff3b30; box-shadow: 0 0 10px #ff3b30; } 
.server-dots span:nth-child(2) { background: #ffcc00; box-shadow: 0 0 10px #ffcc00; } 
.server-dots span:nth-child(3) { background: #34c759; box-shadow: 0 0 10px #34c759; }
.server-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--accent); font-weight: 700; letter-spacing: 1px; }
.server-status .live-dot { width: 6px; height: 6px; border-radius:50%; background:var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.server-body { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; }
.server-lock-circle {
    width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, rgba(189,0,255,0.2), transparent);
    display: flex; align-items: center; justify-content: center; position: relative;
}
.server-lock-circle::before, .server-lock-circle::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(189,0,255,0.5); animation: pulseRing 3s infinite; }
.server-lock-circle::after { animation-delay: 1.5s; }
@keyframes pulseRing { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; border-color: rgba(0,242,254,0); } }
.server-lock { font-size: 48px; filter: drop-shadow(0 0 20px rgba(189,0,255,0.8)); }
.server-name { font-size: 24px; font-weight: 900; background: linear-gradient(135deg, #fff, var(--accent-2)); -webkit-background-clip: text; color: transparent; letter-spacing: 1px; }
.server-sub { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 2px; margin-top: 4px; }
.server-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.server-meta div { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 12px 10px; text-align: center; transition: 0.3s; }
.server-meta div:hover { background: rgba(0,242,254,0.1); border-color: rgba(0,242,254,0.3); }
.server-meta strong { display: block; font-size: 14px; color: #fff; font-weight: 800; }
.server-meta small { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; }

/* Features */
.section-title { font-size: 44px; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px; background: linear-gradient(135deg, #fff, var(--accent)); -webkit-background-clip: text; color: transparent; text-align: center; }
.section-subtitle { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 40px; text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
@media (max-width: 600px) { .section-title { font-size: 34px; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0 80px; }
.feature { background: var(--bg-card); border-radius: 32px; border: 1px solid rgba(255, 255, 255, 0.08); padding: 36px 30px; transition: all 0.4s ease; backdrop-filter: blur(20px); }
.feature:hover { transform: translateY(-8px); border-color: rgba(0, 242, 254, 0.4); box-shadow: 0 15px 40px rgba(0, 242, 254, 0.1); }
.feature-icon { width: 60px; height: 60px; border-radius: 20px; background: linear-gradient(135deg, rgba(0,242,254,0.2), rgba(189,0,255,0.2)); border: 1px solid rgba(0,242,254,0.3); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 24px; box-shadow: 0 0 20px rgba(0,242,254,0.2); }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.6; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr; } }

/* ===== ТАРИФЫ (Neon Glass) ===== */
.pricing-section { margin: 80px 0; text-align: center; }
.pricing-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 50px; }
.price-card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 36px;
    padding: 44px 32px; width: 350px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex; flex-direction: column; text-align: left; position: relative;
}
.price-card-glass:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(189, 0, 255, 0.15); border-color: rgba(189, 0, 255, 0.4); }
.price-card-glass.popular {
    background: linear-gradient(160deg, rgba(20,25,45,0.8), rgba(10,15,30,0.95));
    border: 1px solid var(--accent); box-shadow: 0 15px 50px rgba(0, 242, 254, 0.2); transform: scale(1.05); z-index: 2;
}
.price-card-glass.popular:hover { transform: scale(1.05) translateY(-10px); box-shadow: 0 25px 60px rgba(0, 242, 254, 0.3); }
.price-card-glass .badge {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, #00f2fe, #4facfe); color: #000;
    padding: 8px 20px; border-radius: 60px; font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 20px rgba(0, 242, 254, 0.6); white-space: nowrap;
}
.price-card-glass .card-title { font-size: 24px; margin-bottom: 8px; font-weight: 800; color: #fff; }
.price-card-glass .price {
    font-size: 52px; font-weight: 900; margin: 16px 0 32px;
    background: linear-gradient(135deg, #fff, #a0aec0); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -2px;
}
.price-card-glass.popular .price { background: linear-gradient(135deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card-glass .price span { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.4); -webkit-text-fill-color: rgba(255,255,255,0.4); letter-spacing: 0; }
.features-list { list-style: none; padding: 0; margin: 0 0 36px 0; flex-grow: 1; }
.features-list li { margin-bottom: 16px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.7); display: flex; align-items: flex-start; gap: 12px; }
.features-list li::before { content: '✓'; color: var(--accent); font-weight: 900; text-shadow: 0 0 10px rgba(0,242,254,0.5); }
.glass-btn { width: 100%; text-align: center; justify-content: center; padding: 18px; font-size: 16px; border-radius: 20px; }
@media (max-width: 980px) {
    .pricing-cards { flex-direction: column; align-items: center; }
    .price-card-glass { width: 100%; max-width: 420px; }
    .price-card-glass.popular { transform: none; }
    .price-card-glass.popular:hover { transform: translateY(-8px); }
}

/* ===== FAQ & CTA ===== */
details { background: var(--bg-card); border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 28px; margin-bottom: 16px; transition: 0.3s; backdrop-filter: blur(10px); }
details:hover { border-color: rgba(255,255,255,0.2); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; color: var(--accent); transition: transform .3s ease; font-weight: 400; }
details[open] summary::after { transform: rotate(45deg); }
details[open] { background: rgba(20, 25, 45, 0.8); border-color: rgba(0, 242, 254, 0.3); box-shadow: 0 0 20px rgba(0, 242, 254, 0.05); }
details > div { margin-top: 16px; color: rgba(255,255,255,0.6); line-height: 1.6; font-size: 15px; }

.final-cta {
    background: linear-gradient(135deg, rgba(0,242,254,0.1), rgba(189,0,255,0.1)); border: 1px solid rgba(0,242,254,0.3);
    border-radius: 40px; padding: 64px 32px; text-align: center; margin: 80px 0; position: relative; overflow: hidden;
    box-shadow: 0 0 40px rgba(0,242,254,0.1);
}
.cta-glass { background: var(--bg-card); padding: 48px 32px; text-align: center; margin: 40px 0; border-radius: 40px; border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(20px); }
footer { margin: 60px 0 30px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.4); font-size: 13px; text-align: center; font-weight: 500; }

/* ===== МОДАЛЬНОЕ ОКНО (СЕРВЕРЫ) ===== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 4, 10, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: linear-gradient(160deg, rgba(20, 25, 40, 0.9), rgba(10, 12, 25, 0.95));
    border: 1px solid rgba(0, 242, 254, 0.4); border-radius: 36px;
    padding: 48px 36px; max-width: 460px; width: 90%; text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute; top: 20px; right: 20px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white;
    width: 40px; height: 40px; border-radius: 50%; font-size: 18px; font-weight: 300;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: 0.25s;
}
.modal-close:hover { background: rgba(255,255,255,0.1); transform: rotate(90deg); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 15px rgba(0,242,254,0.3); }
.modal-icon { font-size: 64px; margin-bottom: 20px; filter: drop-shadow(0 0 25px rgba(0,242,254,0.6)); }
.modal-title { font-size: 28px; font-weight: 900; margin-bottom: 12px; color: white; letter-spacing: -0.5px; }
.modal-text { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 32px; line-height: 1.6; }

@keyframes fadeSlide { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.feature, .price-card-glass, details, .cta-glass { animation: fadeSlide 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }