@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #050507;
    --accent-blue: #60a5fa;
    --accent-purple: #8b5cf6;
    --text-main: #ffffff;
    --text-muted: #8b8b99;
    --glass-bg: rgba(20, 20, 25, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius: 20px; /* СТРОГОЕ СКРУГЛЕНИЕ ВЕЗДЕ */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body, html { background-color: var(--bg-main); color: var(--text-main); font-family: 'Manrope', sans-serif; overflow-x: hidden; scroll-behavior: auto; }
::selection { background: var(--accent-purple); color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

::-webkit-scrollbar { width: 8px; background-color: var(--bg-main); }
::-webkit-scrollbar-track { background-color: var(--bg-main); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-purple) 100%); border-radius: 10px; border: 2px solid var(--bg-main); }

/* ЕДИНЫЙ ГРАДИЕНТ ЗАГОЛОВКОВ */
.text-gradient {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.eyebrow-text { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.eyebrow-text.small { margin-bottom: 12px; color: #fff; }

/* ЕДИНЫЕ КНОПКИ 20PX */
.btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; transition: all 0.4s ease; cursor: pointer;
    width: auto;
}
.btn-outline:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-purple);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}
.dark-btn { border-color: rgba(255,255,255,0.1); background: transparent; }

/* ФОНОВЫЕ ЭФФЕКТЫ */
.atmo-grain { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 999990; opacity: 0.04; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E"); }

@media (min-width: 992px) {
    body, a, button, input, textarea { cursor: none !important; }
    .atmo-cursor-glow { position: fixed; top: 0; left: 0; width: 600px; height: 600px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 2147483640; filter: blur(80px); background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(99,102,241,0.03) 30%, transparent 70%); mix-blend-mode: screen; will-change: transform; }
    .atmo-cursor-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; background: white; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 2147483647; mix-blend-mode: difference; will-change: transform; }
}
@media (max-width: 991px) { #atmoGlow, #atmoDot { display: none !important; } }

/* WOW Анимация */
.reveal-anim { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-anim.revealed { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   НАВИГАЦИЯ (Шапка)
   ========================================================================== */
.nav-capsule-wrapper { position: fixed; top: 20px; left: 0; width: 100%; z-index: 1000; display: flex; justify-content: center; pointer-events: none; }
.nav-capsule { pointer-events: auto; width: 95%; max-width: 1200px; height: 72px; background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 20px; box-shadow: 0 15px 45px rgba(0,0,0,0.5); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; min-width: 44px; }
.logo-img-wrapper { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon { width: 100%; height: 100%; object-fit: contain; animation: logoPulse 4s infinite ease-in-out alternate; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text .name { color: #fff; font-weight: 800; font-size: 14px; text-transform: uppercase; }
.nav-logo-text .desc { color: var(--text-muted); font-size: 10px; letter-spacing: 0.1em; }
.nav-links { display: flex; gap: 30px; }
.nav-link { color: rgba(255,255,255,0.6); font-size: 11px; font-weight: 700; text-transform: uppercase; text-decoration: none; transition: 0.3s; position: relative; padding-bottom: 5px; letter-spacing: 0.5px;}
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background-color: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple); transition: width 0.3s ease; }
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.social-btn { width: 40px; height: 40px; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; display: flex; align-items: center; justify-content: center; color: #fff; }
.social-btn:hover { background-color: rgba(139, 92, 246, 0.2); border-color: var(--accent-purple); color: var(--accent-purple); }
.nav-cta { height: 40px; padding: 0 20px; background: #fff; color: #000; border-radius: var(--radius); font-size: 11px; font-weight: 800; text-decoration: none; display: flex; align-items: center; transition: 0.3s; }
.nav-cta:hover { background: var(--accent-purple); color: #fff; }
@keyframes logoPulse { 0% { transform: translateY(0); filter: brightness(1.2) drop-shadow(0 0 15px rgba(139,92,246,0.6)); } 100% { transform: translateY(-4px); filter: brightness(1.5) drop-shadow(0 0 25px rgba(139,92,246,0.9)); } }

/* ==========================================================================
   СЕКЦИИ: ОБЩИЕ ОТСТУПЫ (УМЕНЬШЕНЫ)
   ========================================================================== */
.hero-section { position: relative; width: 100%; min-height: 80vh; display: flex; align-items: center; padding-top: 140px; padding-bottom: 40px; }
.about-section, .process-section, .cases-section, .pricing-section { padding: 60px 0; }
.about-global-header, .cases-header, .process-header, .pricing-header { margin-bottom: 40px; }
.huge-title { font-size: 56px; font-weight: 800; line-height: 1.1; text-transform: uppercase; margin-bottom: 12px; letter-spacing: -1px; }

/* HERO */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content { z-index: 10; padding-right: 20px;}
.main-title { font-size: 58px; font-weight: 800; line-height: 1.1; text-transform: uppercase; margin-bottom: 20px; letter-spacing: -1px; }
.hero-desc { font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 480px; margin-bottom: 40px; }
.hero-visual { position: relative; height: 460px; display: flex; justify-content: center; align-items: center; }

#glass-final-wrapper { position: absolute; inset: 0; perspective: 1500px; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.glass-scene-3d { position: relative; z-index: 20; width: 500px; height: 340px; transform-style: preserve-3d; pointer-events: auto; animation: cinematicFloat 6s ease-in-out infinite alternate; }
.glass-card-main { position: absolute; inset: 0; border-radius: var(--radius); background: rgba(20, 20, 25, 0.6); backdrop-filter: blur(25px); box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8); border: 1px solid var(--glass-border); overflow: hidden; transform-style: preserve-3d; }
.dashboard-inner { position: absolute; inset: 0; padding: 30px; display: flex; flex-direction: column; z-index: 2; }
.ui-header-line { width: 100%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%); margin-bottom: 25px; border-radius: 2px; }
.ui-data-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.stat-label { font-size: 10px; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 8px; }
.stat-value { font-size: 64px; font-weight: 300; color: #fff; line-height: 0.9; display: flex; align-items: baseline; }
.stat-value .percent { font-size: 28px; color: var(--accent-purple); font-weight: 600; margin-left: 5px; }
.depth-badge { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 12px 16px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; box-shadow: inset 0 0 20px rgba(0,0,0,0.2); margin-bottom: 10px; }
.depth-icon { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--accent-purple); background: rgba(139, 92, 246, 0.1); box-shadow: 0 0 15px rgba(139, 92, 246, 0.3); }
.depth-info { display: flex; flex-direction: column; }
.depth-title { font-size: 9px; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-bottom: 2px; }
.depth-val { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0.5px;}
.chart-container { position: relative; width: 100%; flex-grow: 1; margin-top: auto; }
.chart-svg { width: 100%; height: 100%; overflow: visible; }
.chart-area { opacity: 0; transition: opacity 3s ease-out; }
.active-cycle .chart-area { opacity: 0.8; }
.chart-dot { position: absolute; top: 0; left: 0; width: 12px; height: 12px; background: #fff; border-radius: 50%; box-shadow: 0 0 15px var(--accent-purple); opacity: 0; transform: translate(-50%, -50%); pointer-events: none; }
.active-cycle .chart-dot { opacity: 1; transition: opacity 0.5s; }
.hero-ambient-light { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%); filter: blur(100px); z-index: 0; animation: ambientPulse 8s infinite alternate; pointer-events: none;}
@keyframes cinematicFloat { 0% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); } 100% { transform: rotateY(-4deg) rotateX(1deg) translateY(-15px); } }

/* О СЕБЕ (ИСКЛЮЧЕНА КНОПКА, ПЛАШКА ОТДЕЛЕНА) */
.subtitle-text { font-size: 18px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.about-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 60px; align-items: center; }

.about-left { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 400px;}
.architect-photo { position: relative; width: 100%; display: flex; justify-content: center; z-index: 1;}
.architect-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 140%; height: 140%; background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(96, 165, 250, 0.2) 40%, transparent 70%); filter: blur(60px); z-index: -1; animation: photoGlow 5s ease-in-out infinite alternate; }
@keyframes photoGlow { 0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } }
.author-img { position: relative; z-index: 10; width: 100%; height: auto; border-radius: var(--radius); -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%); mask-image: linear-gradient(to bottom, black 60%, transparent 100%); }

/* ПРЕМИУМ ПЛАШКА (Не кнопка) */
.stat-panel { position: relative; background: rgba(20, 20, 25, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 16px 24px; width: 85%; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.6); z-index: 20; margin-top: -40px; }
.stat-panel-text { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; background: linear-gradient(90deg, #fff, #a0a0ab); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block;}

.about-right { position: relative; padding: 20px 0; }
.absolute-knot { position: absolute; top: -50px; right: 0; width: 500px; height: 500px; z-index: 0; pointer-events: none; }
.about-text-content { position: relative; z-index: 2; }
.section-title { font-size: 46px; font-weight: 800; line-height: 1.1; text-transform: uppercase; margin-bottom: 24px; }
.about-desc { font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 450px; margin-bottom: 40px; }

/* 3D УЗЕЛ */
.knot-only-wrapper { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; background: transparent !important; overflow: visible; }
.knot-back-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70%; height: 70%; background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%); filter: blur(120px); opacity: 0.7; z-index: 0; animation: glowPulse 5s ease-in-out infinite alternate; }
.knot-img-box { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 1; animation: floatUp 6s ease-in-out infinite alternate; will-change: transform; }
.knot-standalone-img { width: 100%; height: auto; object-fit: contain; display: block; opacity: 0.4; animation: breathScale 6s ease-in-out infinite alternate; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6)); }
@keyframes floatUp { 0% { transform: translateY(0px); } 100% { transform: translateY(-30px); } }
@keyframes breathScale { 0% { transform: scale(1); } 100% { transform: scale(1.03); } }
@keyframes glowPulse { 0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); } 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); } }

/* СВАЙП ПОДСКАЗКА (Скрыта на ПК) */
.mobile-swipe-hint { display: none; }

/* СЕТКИ КАРТОЧЕК */
.cases-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.glass-case-card, .process-card, .glass-card { border-radius: var(--radius); overflow: visible; background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); transition: 0.4s; position: relative;}
.glass-case-card { overflow: hidden; } /* Для кейсов оставляем hidden, чтобы картинка не вылазила */
.glass-case-card:hover, .process-card:hover, .glass-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.3); box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.15); }

/* КЕЙСЫ */
.glass-case-card { height: 420px; display: flex; flex-direction: column; }
.case-browser-header { height: 44px; display: flex; align-items: center; padding: 0 20px; gap: 12px; background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.05); z-index: 5; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.browser-address { font-size: 11px; color: rgba(255,255,255,0.3); flex-grow: 1; text-align: center; }
.case-viewport { flex-grow: 1; position: relative; overflow: hidden; background: #050505; }
.image-overlay { position: absolute; inset: 0; z-index: 2; background: rgba(10,10,20,0.6); transition: 0.5s; pointer-events: none; }
.glass-case-card:hover .image-overlay { opacity: 0; }
.long-scroll-image { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: top center; filter: saturate(0.8) contrast(1.1); transition: background-position 4s ease-in-out, filter 0.5s ease; }
.glass-case-card:hover .long-scroll-image { background-position: bottom center; transition: background-position 8s linear; filter: saturate(1) contrast(1); }
.case-info { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 10; transform: translateY(100%); transition: transform 0.4s; }
.glass-case-card:hover .case-info { transform: translateY(0); }
.info-content { padding: 20px; background: rgba(15,15,20,0.95); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.text-group h3 { font-size: 15px; color: #fff; margin-bottom: 4px; font-weight: 700;}
.text-group p { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.action-btn { padding: 8px 18px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; text-decoration: none; transition: 0.3s; }
.action-btn:hover { background: #fff; color: #000; }
.interaction-hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 20; color: #fff; text-align: center; font-size: 10px; font-weight: 700; transition: 0.4s; pointer-events: none; }
.glass-case-card:hover .interaction-hint { opacity: 0; }

/* ЭТАПЫ РАБОТ */
.process-wrapper { position: relative; }
.connection-line-desktop { position: absolute; top: 40px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.4) 20%, rgba(139, 92, 246, 0.4) 80%, transparent 100%); z-index: 0; }
.card-inner { padding: 32px 24px; display: flex; flex-direction: column; height: 100%; }
.step-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.step-number { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.03); padding: 6px 12px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05); }
.step-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.03); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--accent-purple); border: 1px solid var(--glass-border); transition: 0.4s; }
.process-card:hover .step-icon { background: rgba(139, 92, 246, 0.1); border-color: var(--accent-purple); box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); transform: scale(1.05); }
.process-card h3 { font-size: 16px; margin-bottom: 12px; color: #fff; }
.process-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ТАРИФЫ (ИСПРАВЛЕНО ОБРЕЗАНИЕ ПЛАШКИ) */
.glass-card { padding: 30px 25px; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; overflow: visible; border-radius: var(--radius);}
.card-top-content { flex-grow: 1; }
.plan-name { font-size: 22px; margin-bottom: 5px; font-weight: 800; color: #fff;}
.plan-desc { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.price-val { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 25px; letter-spacing: -1px;}
.feature-list { list-style: none; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { font-size: 13px; color: rgba(255,255,255,0.6); display: flex; align-items: flex-start; gap: 12px; }
.feature-list li::before { content: ''; width: 14px; height: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' 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"); background-size: contain; background-repeat: no-repeat; margin-top: 2px; flex-shrink: 0;}
.highlight-item { color: #fff !important; font-weight: 600; }
.price-btn { margin-top: 25px; width: 100%; }
.popular-card { border-color: rgba(139, 92, 246, 0.4); background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, rgba(20,20,25,0.8) 100%); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent-purple); color: #fff; font-size: 10px; font-weight: 800; padding: 6px 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.2); white-space: nowrap; z-index: 10; }
.btn-filled { background: var(--accent-purple); border-color: var(--accent-purple); }
.btn-filled:hover { background: #7c3aed; border-color: #7c3aed; box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }

/* АУДИТ БЛОК (ИДЕАЛЬНОЕ ВЫРАВНИВАНИЕ) */
.audit-block { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 40px; margin-top: 40px; display: flex; justify-content: space-between; align-items: center; }
.audit-left { flex: 1; padding-right: 40px; }
.audit-title { font-size: 18px; margin-bottom: 8px; font-weight: 800; color: #fff;}
.audit-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; max-width: 500px;}
.audit-tags span { font-size: 9px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 6px 12px; border-radius: var(--radius); color: var(--text-muted); text-transform: uppercase; margin-right: 8px; display: inline-block; }
.audit-right { display: flex; align-items: center; gap: 30px; flex-shrink: 0; }
.audit-price { font-size: 32px; font-weight: 800; color: #fff; white-space: nowrap; margin-bottom: 0; line-height: 1; }
.btn-audit { margin: 0; }

/* ПОДВАЛ */
.footer-wrapper { position: relative; padding: 60px 20px 40px; display: flex; flex-direction: column; align-items: center; }
.footer-glow { position: absolute; bottom: -150px; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%); filter: blur(80px); pointer-events: none; z-index: 0; }
.footer-content { position: relative; z-index: 2; text-align: center; max-width: 900px; margin-bottom: 60px; display: flex; flex-direction: column; align-items: center; }
.footer-label { font-size: 11px; color: var(--accent-purple); border: 1px solid rgba(139, 92, 246, 0.3); padding: 6px 14px; border-radius: var(--radius); background: rgba(139, 92, 246, 0.05); margin-bottom: 20px; letter-spacing: 1px;}
.footer-title { font-size: 48px; font-weight: 800; margin-bottom: 30px; text-transform: uppercase;}
.footer-desc { font-size: 15px; color: var(--text-muted); max-width: 500px; margin-bottom: 40px;}

.footer-bottom { position: relative; z-index: 2; width: 100%; max-width: 1200px; display: flex; justify-content: space-between; align-items: flex-end; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.legal-block { display: flex; flex-direction: column; gap: 8px; }
.copyright { font-size: 12px; color: #fff; opacity: 0.9; font-weight: 700;}
.legal-details { font-size: 10px; color: rgba(255,255,255,0.4); line-height: 1.5;}
.privacy-link, .email-link { color: var(--text-muted); text-decoration: none; transition: 0.3s; font-size: 13px;}
.privacy-link { font-size: 11px; align-self: flex-start;}
.privacy-link:hover, .email-link:hover { color: #fff; }
.social-links { display: flex; gap: 20px; }
.social-link { color: var(--text-muted); text-decoration: none; transition: 0.3s; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.social-link:hover { color: #fff; }

/* ПОПАП ФОРМЫ (СТРОГИЙ, ДОРОГОЙ ДИЗАЙН) */
.atmo-popup-overlay { position: fixed; inset: 0; background: rgba(5,5,8,0.85); backdrop-filter: blur(20px); z-index: 9999; display: none; align-items: center; justify-content: center; opacity: 0; transition: 0.5s; }
.atmo-popup-overlay.active { display: flex; opacity: 1; }
.atmo-popup-content { background: var(--bg-main); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 50px; max-width: 440px; width: 90%; position: relative; transform: translateY(40px) scale(0.95); transition: 0.6s; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.8); }
.atmo-popup-overlay.active .atmo-popup-content { transform: translateY(0) scale(1); }
.atmo-popup-close { position: absolute; top: 20px; right: 20px; z-index: 10; background: transparent; border: none; color: #8b8b99; cursor: pointer; transition: 0.3s; }
.atmo-popup-close:hover { color: #fff; transform: rotate(90deg); }
.atmo-title-popup { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.atmo-subtitle-popup { font-size: 13px; color: var(--text-muted); margin-bottom: 30px;}

.atmo-input-group { position: relative; margin-bottom: 20px; }
.atmo-input { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 22px 16px 10px; color: #fff; font-size: 15px; transition: 0.3s; outline: none;}
.atmo-floating-label { position: absolute; left: 16px; top: 16px; color: #6b6b7b; font-size: 14px; transition: 0.3s; pointer-events: none; }
.atmo-input:focus ~ .atmo-floating-label, .atmo-input:not(:placeholder-shown) ~ .atmo-floating-label { top: 8px; font-size: 10px; color: var(--accent-blue); text-transform: uppercase; }
.atmo-input:focus { border-color: var(--accent-purple); background: rgba(139, 92, 246, 0.05); }
.atmo-input.input-error { border-color: #ff3366 !important; background: rgba(255,51,102,0.05); }

.atmo-checkbox-container { display: flex; align-items: center; color: var(--text-muted); font-size: 12px; cursor: pointer; margin-bottom: 30px; }
.atmo-checkbox-container input { display: none; }
.checkmark { width: 20px; height: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; margin-right: 12px; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.checkmark svg { width: 12px; height: 12px; color: white; opacity: 0; transform: scale(0.5); transition: 0.3s; }
.atmo-checkbox-container input:checked + .checkmark { background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)); border-color: transparent; }
.atmo-checkbox-container input:checked + .checkmark svg { opacity: 1; transform: scale(1); }

.atmo-submit-btn { width: 100%; } /* Стилизуется классом btn-outline */
.atmo-policy { font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 15px;}
.atmo-policy a { color: var(--text-muted); text-decoration: underline; transition: 0.3s; }
.atmo-policy a:hover { color: #fff; }

/* ==========================================================================
   АДАПТИВНОСТЬ (МОБИЛЬНАЯ ВЕРСИЯ ТРЕНДА 2026 - UX/UI)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .absolute-knot { right: 50%; transform: translateX(50%); top: 0; }
}

@media (max-width: 960px) {
    /* Очистка шапки для мобилок */
    .nav-links { display: none; }
    .nav-logo-text { display: none; } /* Оставляем только иконку лого */
    .nav-capsule { height: 60px; padding: 0 10px; }
    .nav-actions { gap: 12px; }
    .header-audit-btn { padding: 0 16px; height: 38px; font-size: 10px; }
    
    .logo-img-wrapper { width: 36px; height: 36px; }

    .hero-section { padding-top: 120px; padding-bottom: 20px;}
    .main-title { font-size: 42px; }
    .huge-title { font-size: 38px; }
}

@media (max-width: 768px) {
    /* ФИКСАЦИЯ МАСШТАБА HERO ДЛЯ МОБИЛОК: Убрано наследование анимации от карточки */
    #glass-final-wrapper { transform: scale(0.85); transform-origin: center center; }
    
    /* СТРОГАЯ ВЫКЛЮЧКА ПО ЛЕВОМУ КРАЮ И УМЕНЬШЕНИЕ ОТСТУПОВ */
    .hero-section { padding-top: 110px; padding-bottom: 20px; min-height: auto; }
    .hero-grid { gap: 30px; }
    .hero-visual { height: 320px; margin-top: 10px; }
    .hero-content, .about-text-content, .pricing-header, .cases-header, .process-header, .about-left { text-align: left !important; align-items: flex-start !important; }
    .main-title, .huge-title, .section-title, p, .stat-panel { text-align: left !important; }
    .btn-outline { margin-left: 0; margin-right: auto; }
    
    .pricing-header h2, .section-title { font-size: 32px; }
    .footer-title { font-size: 32px; text-align: left; }
    .footer-content { align-items: flex-start; text-align: left; }
    .footer-btn { width: 100%; text-align: center;}
    .footer-bottom { flex-direction: column-reverse; gap: 30px; align-items: flex-start; }
    .absolute-knot { display: none; }

    /* СВАЙПЕРЫ КАРТОЧЕК */
    .mobile-swipe-hint { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 10px; text-transform: uppercase; margin-bottom: 20px; opacity: 0.8; }
    .mobile-swipe-hint svg { width: 16px; height: 16px; animation: swipeAnim 1.5s infinite; color: var(--accent-purple); }
    @keyframes swipeAnim { 0% { transform: translateX(0); } 50% { transform: translateX(5px); } 100% { transform: translateX(0); } }

    .process-grid, .cases-grid, .pricing-grid {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
        margin-right: -20px; 
        padding-right: 20px;
        margin-top: 10px; /* Отступ от заголовка к карточкам */
    }
    .process-grid::-webkit-scrollbar, .cases-grid::-webkit-scrollbar, .pricing-grid::-webkit-scrollbar { display: none; }
    
    .process-card, .glass-case-card, .glass-card {
        flex: 0 0 85vw;
        scroll-snap-align: start;
    }
    
    /* БЛОК АУДИТА */
    .audit-block { flex-direction: column; align-items: flex-start; padding: 25px 20px; gap: 20px; margin-top: 20px;}
    .audit-left { padding-right: 0; }
    .audit-right { width: 100%; display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px;}
    .audit-price { font-size: 24px; }
    .btn-audit { padding: 12px 20px; font-size: 10px; margin: 0;}
}

@media (max-width: 500px) {
    #glass-final-wrapper { transform: scale(0.65); transform-origin: top center; }
    .hero-visual { height: 260px; margin-top: 20px; }
    .main-title { font-size: 34px; }
    .huge-title { font-size: 30px; }
    .stat-value { font-size: 48px; }
    .atmo-popup-content { padding: 40px 24px; }
}