/* ============================================================
   HOLYHELPER - PREMIUM VISUAL CLIENT
   Фиолетово-черно-белая тема с анимациями
   ============================================================ */

:root {
    --black: #050208;
    --black-2: #0a0414;
    --black-3: #12082a;
    --dark: #1a0a30;
    --deep-purple: #2d0a4a;
    --purple: #7c3aed;
    --purple-light: #a855f7;
    --purple-lighter: #c084fc;
    --purple-glow: rgba(124, 58, 237, 0.5);
    --white: #ffffff;
    --gray-100: #f5f0ff;
    --gray-200: #e2d9f0;
    --gray-300: #b8a8d0;
    --gray-400: #8a7aa0;
    --gray-500: #5c4a70;
    --gray-600: #3a2a4a;
    --gradient-main: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6d28d9 100%);
    --gradient-text: linear-gradient(135deg, #c084fc 0%, #a855f7 40%, #7c3aed 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(124,58,237,0.15) 0%, transparent 70%);
    --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.3);
    --shadow-btn: 0 4px 30px rgba(124, 58, 237, 0.4);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--purple) var(--black);
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--black);
}
::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--purple-light);
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--purple-light);
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== AMBIENT BACKGROUND (fixed, whole page) ===== */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ambient-blob {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}

.ambient-blob.blob-1 {
    width: 560px;
    height: 560px;
    top: -12%;
    left: -10%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
    animation: ambientDrift1 26s ease-in-out infinite;
}

.ambient-blob.blob-2 {
    width: 480px;
    height: 480px;
    top: 38%;
    right: -14%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.13) 0%, transparent 70%);
    animation: ambientDrift2 32s ease-in-out infinite;
}

.ambient-blob.blob-3 {
    width: 420px;
    height: 420px;
    bottom: -10%;
    left: 28%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.15) 0%, transparent 70%);
    animation: ambientDrift3 22s ease-in-out infinite;
}

.ambient-blob.blob-4 {
    width: 360px;
    height: 360px;
    top: 8%;
    left: 55%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    animation: ambientDrift1 38s ease-in-out infinite reverse;
}

@keyframes ambientDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 80px) scale(1.1); }
    66% { transform: translate(-40px, 40px) scale(0.95); }
}

@keyframes ambientDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-70px, -60px) scale(1.08); }
}

@keyframes ambientDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(50px, -50px) scale(1.05); }
    70% { transform: translate(-30px, 30px) scale(0.92); }
}

/* ===== SHOOTING STARS ===== */
.shooting-star {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 3px;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(168, 85, 247, 0.35) 45%, transparent 100%);
    border-radius: 100px;
    transform: rotate(215deg);
    opacity: 0;
    animation: shootingStar 11s linear infinite;
}

.shooting-star.star-2 {
    left: 62%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.shooting-star.star-3 {
    left: 85%;
    top: -20%;
    animation-delay: 8s;
    animation-duration: 12s;
}

@keyframes shootingStar {
    0% { transform: translate(0, 0) rotate(215deg); opacity: 0; }
    2% { opacity: 1; }
    10% { opacity: 1; }
    16% { transform: translate(-280px, 440px) rotate(215deg); opacity: 0; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-blob,
    .shooting-star {
        animation: none !important;
    }
}

/* ===== PARTICLES CANVAS ===== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease-out, top 0.1s ease-out;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 2, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    padding: 10px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
}

.logo-icon svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(124, 58, 237, 0.08);
}

.nav-link-btn {
    background: var(--gradient-main);
    color: var(--white);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    box-shadow: var(--shadow-btn);
}

.nav-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 40px rgba(124, 58, 237, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 24px 80px;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    gap: 60px;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192,132,252,0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 70%);
    top: 30%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(124,58,237,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--purple-light);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(48px, 7vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
}

.title-sub {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    color: var(--gray-400);
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 50px rgba(124, 58, 237, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.btn-outline:hover {
    border-color: var(--purple-light);
    background: rgba(124, 58, 237, 0.08);
    transform: translateY(-2px);
}

.btn-glow {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: var(--shadow-btn);
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 100px;
    background: var(--gradient-main);
    z-index: -1;
    opacity: 0.5;
    filter: blur(12px);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; filter: blur(12px); }
    50% { opacity: 0.8; filter: blur(20px); }
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(124, 58, 237, 0.2);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    flex: 1;
    position: relative;
    z-index: 2;
    max-width: 480px;
    perspective: 1000px;
}

.client-preview {
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.95), rgba(5, 2, 8, 0.98));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 
        0 0 60px rgba(124, 58, 237, 0.1),
        inset 0 0 60px rgba(124, 58, 237, 0.03);
    animation: previewFloat 6s ease-in-out infinite;
    transform: rotateY(-5deg) rotateX(3deg);
    transition: transform 0.5s ease;
}

.client-preview:hover {
    transform: rotateY(-2deg) rotateX(1deg);
}

@keyframes previewFloat {
    0%, 100% { transform: rotateY(-5deg) rotateX(3deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-10px); }
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #eab308; }
.preview-dots span:nth-child(3) { background: #22c55e; }

.preview-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
}

.preview-body {
    display: flex;
    padding: 16px;
    gap: 12px;
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    transition: all var(--transition);
    cursor: pointer;
}

.sidebar-item.active {
    color: var(--purple-light);
    background: rgba(168, 85, 247, 0.1);
}

.sidebar-item:hover {
    color: var(--gray-300);
    background: rgba(255,255,255,0.03);
}

.preview-content {
    flex: 1;
}

.preview-module {
    margin-bottom: 12px;
}

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.module-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-300);
}

.module-status {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
}

.module-status.active {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.module-status.inactive {
    color: var(--gray-500);
    background: rgba(255,255,255,0.03);
}

.module-slider {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-track {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
}

.slider-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 2px;
    transition: width 1s ease;
}

.slider-val {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--gray-400);
    min-width: 32px;
    text-align: right;
}

.preview-module:last-child {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(124, 58, 237, 0.08);
}

.preview-minimap {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-sm);
    position: relative;
    margin-left: auto;
    overflow: hidden;
}

.minimap-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: mapDot 3s ease-in-out infinite;
}

.minimap-dot.dot-1 {
    top: 20%;
    left: 30%;
    background: #ef4444;
    animation-delay: 0s;
}

.minimap-dot.dot-2 {
    top: 60%;
    left: 70%;
    background: #eab308;
    animation-delay: -1s;
}

.minimap-dot.dot-3 {
    top: 40%;
    left: 50%;
    background: #22c55e;
    animation-delay: -2s;
}

.minimap-player {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple-light);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: playerPulse 2s ease-in-out infinite;
}

@keyframes playerPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(168, 85, 247, 0.6); }
    50% { box-shadow: 0 0 24px rgba(168, 85, 247, 0.3); }
}

@keyframes mapDot {
    0%, 100% { opacity: 0.4; transform: translate(0, 0); }
    50% { opacity: 1; transform: translate(5px, -5px); }
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    margin-top: -60px;
}

.promo-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(18,8,42,0.95));
    border: 1px solid rgba(124, 58, 237, 0.25);
    overflow: hidden;
}

.promo-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(168,85,247,0.08) 0%, transparent 50%);
    animation: promoGlow 6s ease-in-out infinite;
}

@keyframes promoGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, -10%) scale(1.1); }
}

.promo-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
}

.promo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.1);
    border-radius: var(--radius-md);
    color: var(--purple-light);
    flex-shrink: 0;
}

.promo-text {
    flex: 1;
}

.promo-text h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--purple-light);
    margin-bottom: 4px;
}

.promo-text p {
    font-size: 16px;
    color: var(--gray-300);
}

/* ===== FEATURES ===== */
.features {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 50%, var(--black) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.6), rgba(10, 4, 20, 0.8));
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 60px rgba(124, 58, 237, 0.08);
}

.feature-card-lg {
    grid-column: span 1;
}

@media (min-width: 900px) {
    .feature-card-lg {
        grid-column: span 2;
    }
}

.feature-icon {
    width: 56px;
    height: 56px;
    color: var(--purple-light);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.2));
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-count {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--purple-light);
    background: rgba(168, 85, 247, 0.1);
    padding: 4px 14px;
    border-radius: 100px;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

/* ===== VISUAL SECTION ===== */
.visual-section {
    background: linear-gradient(180deg, var(--black-2) 0%, var(--black-3) 50%, var(--black-2) 100%);
}

.visual-showcase {
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.6), rgba(10, 4, 20, 0.8));
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.visual-tabs {
    display: flex;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
    background: rgba(0,0,0,0.2);
    overflow-x: auto;
}

.visual-tab {
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

.visual-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width var(--transition);
    border-radius: 1px;
}

.visual-tab:hover {
    color: var(--gray-300);
}

.visual-tab.active {
    color: var(--purple-light);
}

.visual-tab.active::after {
    width: 60%;
}

.visual-content {
    padding: 24px;
}

.visual-panel {
    display: none;
}

.visual-panel.active {
    display: block;
    animation: panelFade 0.4s ease;
}

@keyframes panelFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.panel-option {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(124, 58, 237, 0.06);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: all var(--transition);
}

.panel-option:hover {
    background: rgba(168, 85, 247, 0.03);
    border-color: rgba(124, 58, 237, 0.15);
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.option-name {
    font-size: 16px;
    font-weight: 600;
}

.toggle-switch {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: rgba(255,255,255,0.06);
    position: relative;
    cursor: pointer;
    transition: all var(--transition);
}

.toggle-switch.active {
    background: var(--purple);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.3);
}

.toggle-knob {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gray-500);
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all var(--transition);
}

.toggle-switch.active .toggle-knob {
    left: 20px;
    background: var(--white);
}

.option-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
    line-height: 1.6;
}

.option-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-400);
    background: rgba(255,255,255,0.03);
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.04);
}

/* ===== APPS SECTION ===== */
.apps-section {
    background: linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}

.app-card {
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.6), rgba(10, 4, 20, 0.8));
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition);
}

.app-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 60px rgba(124, 58, 237, 0.08);
}

.app-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.app-icon svg {
    width: 100%;
    height: 100%;
    color: var(--purple-light);
}

.browser-icon svg { color: #22c55e; }
.telegram-icon svg { color: #229ed9; }
.music-icon svg { color: #1db954; }
.files-icon svg { color: var(--purple-light); }

.app-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 16px;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.app-features span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(168, 85, 247, 0.08);
    color: var(--purple-lighter);
    border: 1px solid rgba(168, 85, 247, 0.12);
}

/* ===== GAMES SECTION ===== */
.games-section {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%);
}

.games-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.game-card {
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.5), rgba(10, 4, 20, 0.7));
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.game-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 60px rgba(124, 58, 237, 0.08);
}

.game-preview {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

/* Chess */
.chess-preview {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    padding: 20px;
    background: linear-gradient(135deg, rgba(168,85,247,0.05), rgba(124,58,237,0.05));
}

.chess-piece {
    font-size: 28px;
    opacity: 0.6;
    animation: chessBreathe 3s ease-in-out infinite;
}

/* Snake */
.snake-preview { position: relative; }
.snake-segment {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--purple-light);
    position: absolute;
}

.s1 { top: 40px; left: 30px; }
.s2 { top: 40px; left: 50px; animation-delay: 0.1s; }
.s3 { top: 40px; left: 70px; animation-delay: 0.2s; }
.s4 { top: 40px; left: 90px; animation-delay: 0.3s; }
.s5 { top: 40px; left: 110px; animation-delay: 0.4s; animation: snakeWiggle 1s ease-in-out infinite; }

.snake-food {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ef4444;
    position: absolute;
    top: 70px;
    left: 60px;
    animation: foodPulse 0.8s ease-in-out infinite;
}

@keyframes snakeWiggle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes foodPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Tetris */
.tetris-block {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    position: absolute;
}

.b1 { background: #a855f7; top: 30px; left: 40px; }
.b2 { background: #a855f7; top: 50px; left: 40px; }
.b3 { background: #a855f7; top: 50px; left: 60px; }
.b4 { background: #a855f7; top: 50px; left: 80px; }
.tetris-preview { position: relative; }
.tetris-block {
    animation: tetrisFall 3s ease-in-out infinite;
}

@keyframes tetrisFall {
    0% { transform: translateY(-60px); opacity: 0; }
    20% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Cards */
.cards-preview { position: relative; }
.card {
    font-size: 40px;
    position: absolute;
    width: 48px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(124,58,237,0.1);
    border-radius: 8px;
}

.c1 { top: 40px; left: 40px; transform: rotate(-10deg); color: #ef4444; }
.c2 { top: 36px; left: 65px; transform: rotate(5deg); color: #ef4444; }
.c3 { top: 34px; left: 90px; transform: rotate(15deg); color: #111; filter: invert(1); }
.c4 { top: 32px; left: 115px; transform: rotate(25deg); color: #ef4444; }

/* Puzzle */
.puzzle-preview { padding: 20px; }

.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 120px;
    height: 120px;
}

.puzzle-piece {
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--purple-lighter);
    transition: all 0.2s;
}

.puzzle-piece.empty {
    background: transparent;
    border-color: transparent;
}

/* Minesweeper */
.mines-preview { padding: 20px; }

.mines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.mine-cell {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
}

.mine-cell.safe {
    background: rgba(168,85,247,0.08);
    border: 1px solid rgba(168,85,247,0.1);
    color: var(--purple-lighter);
}

.mine-cell.flag {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
}

.mine-cell.flag::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #ef4444;
    clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.game-info {
    padding: 16px 20px;
}

.game-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.game-info p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===== COMPARISON TABLE ===== */
.compare-section {
    background: linear-gradient(180deg, var(--black-2) 0%, var(--black-3) 100%);
}

.compare-table-wrapper {
    overflow-x: auto;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(124, 58, 237, 0.08);
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.4), rgba(10, 4, 20, 0.6));
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(124, 58, 237, 0.05);
}

.compare-table thead th {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    padding-top: 20px;
    padding-bottom: 12px;
    background: rgba(0,0,0,0.2);
}

.col-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.col-name {
    color: var(--purple-light);
}

.col-badge {
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 100px;
    background: var(--gradient-main);
    color: white;
    letter-spacing: 1px;
}

.feature-col {
    position: sticky;
    left: 0;
    background: rgba(5, 2, 8, 0.9);
    min-width: 200px;
}

.feature-name {
    font-weight: 600;
    color: var(--gray-300);
    white-space: nowrap;
}

.highlight-col {
    background: rgba(168, 85, 247, 0.04);
}

.competitor-col {
    color: var(--gray-500);
    white-space: nowrap;
}

.compare-table td.highlight-col,
.compare-table th.highlight-col {
    border-left: 1px solid rgba(168, 85, 247, 0.15);
    border-right: 1px solid rgba(168, 85, 247, 0.15);
}

.check {
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.check::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: #22c55e;
    clip-path: polygon(35% 45%, 25% 55%, 45% 75%, 80% 30%, 70% 20%, 45% 55%);
}

.check.premium::before {
    background: var(--purple-light);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.check.premium {
    color: var(--purple-lighter);
}

.cross {
    color: var(--gray-600);
}

.price-cell {
    padding-left: 20px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 13px;
}

/* ===== INSTALL STEPS ===== */
.install-section {
    background: linear-gradient(180deg, var(--black-3) 0%, var(--black) 100%);
}

.install-steps {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.install-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.6), rgba(10, 4, 20, 0.8));
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    transition: all var(--transition);
}

.install-step:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.install-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    background: var(--gradient-main);
    color: white;
    box-shadow: var(--shadow-btn);
}

.install-step-body h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.install-step-body p {
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.6;
}

.install-step-body code {
    font-family: var(--font-mono);
    background: rgba(168, 85, 247, 0.12);
    color: var(--purple-lighter);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
}

/* ===== TARIFFS (unused, kept for reference) ===== */
.tariffs-section {
    background: linear-gradient(180deg, var(--black-3) 0%, var(--black) 100%);
}

.promo-badge-full {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.promo-badge-inner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 100px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--purple-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: promoBorder 2s ease-in-out infinite;
}

@keyframes promoBorder {
    0%, 100% { border-color: rgba(168, 85, 247, 0.2); }
    50% { border-color: rgba(168, 85, 247, 0.5); }
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.tariff-card {
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.6), rgba(10, 4, 20, 0.8));
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
}

.tariff-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 80px rgba(124, 58, 237, 0.06);
}

.tariff-featured {
    border-color: rgba(168, 85, 247, 0.25);
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.8), rgba(45, 10, 74, 0.6));
    transform: scale(1.05);
    z-index: 3;
}

.tariff-featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.tariff-premium {
    border-color: rgba(168, 85, 247, 0.12);
    background: linear-gradient(145deg, rgba(26, 10, 48, 0.7), rgba(10, 4, 20, 0.9));
}

.tariff-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 20px;
    border-radius: 100px;
    background: var(--gradient-main);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: var(--shadow-btn);
}

.tariff-header {
    text-align: center;
    margin-bottom: 24px;
}

.tariff-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tariff-desc {
    font-size: 14px;
    color: var(--gray-500);
}

.tariff-price {
    text-align: center;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-400);
    margin-left: 4px;
}

.price-period {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 4px;
}

.tariff-original {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.original-price {
    font-size: 18px;
    color: var(--gray-600);
    text-decoration: line-through;
}

.discount-badge {
    font-size: 12px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 2px 12px;
    border-radius: 100px;
}

.tariff-features {
    list-style: none;
    margin-bottom: 32px;
}

.tariff-features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--gray-300);
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.tariff-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.tariff-features li.included::before {
    background-color: rgba(34, 197, 94, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.tariff-features li.excluded::before {
    background-color: rgba(255,255,255,0.03);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c4a70' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.tariff-features li.excluded {
    color: var(--gray-600);
}

/* ===== DOWNLOAD ===== */
.download-section {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%);
}

.download-card {
    position: relative;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.7), rgba(10, 4, 20, 0.9));
    border: 1px solid rgba(124, 58, 237, 0.12);
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.download-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.d-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(124, 58, 237, 0.08);
    top: -200px;
    left: -100px;
    animation: orbFloat 15s ease-in-out infinite;
}

.d-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(192, 132, 252, 0.05);
    bottom: -150px;
    right: -100px;
    animation: orbFloat 20s ease-in-out infinite reverse;
}

.download-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 32px;
}

.download-content h2 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 900;
    margin-bottom: 16px;
}

.download-content p {
    font-size: 18px;
    color: var(--gray-300);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.download-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.info-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-600);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(124, 58, 237, 0.06);
    padding: 60px 0 30px;
    background: var(--black-2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    padding: 6px 0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(124, 58, 237, 0.05);
    font-size: 13px;
    color: var(--gray-600);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-600);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--gray-400);
}

/* ===== REVEAL ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-left"].visible {
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-right"].visible {
    transform: translateX(0);
}

[data-animate="fade-down"] {
    transform: translateY(-20px);
}

[data-animate="fade-down"].visible {
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 24px 60px;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
    }

    .client-preview {
        transform: none;
    }

    .client-preview:hover {
        transform: translateY(-8px);
    }

    @keyframes previewFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(5, 2, 8, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(124, 58, 237, 0.1);
        padding: 16px;
        gap: 4px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .nav-link-btn {
        margin-top: 8px;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
    }

    .promo-text p {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
    }

    .tariff-featured {
        transform: none;
    }

    .tariff-featured:hover {
        transform: translateY(-4px);
    }

    .download-content {
        padding: 48px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-title .title-line {
        font-size: 36px;
    }

    .hero-visual {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .visual-tab {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-3) 50%, var(--black) 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.tool-card {
    background: linear-gradient(145deg, rgba(18, 8, 42, 0.5), rgba(10, 4, 20, 0.7));
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 60px rgba(124, 58, 237, 0.08);
}

.tool-icon {
    width: 48px;
    height: 48px;
    color: var(--purple-light);
    margin-bottom: 16px;
}

.tool-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.2));
}

.tool-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 14px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(168, 85, 247, 0.3);
    color: white;
}

