:root {
    --bg-dark: #0A0A0A;
    --bg-light: #F4F4F4;
    --accent: #8B5CF6; /* Электрический фиолетовый */
    --accent-hover: #7C3AED;
    --text-dark: #0A0A0A;
    --text-light: #F4F4F4;
    --border-dark: #222222;
    --border-light: #D0D0D0;
    
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; cursor: none; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; cursor: none; }
button { border: none; background: none; cursor: none; }
.container { width: min(1300px, 92%); margin: 0 auto; height: 100%; }

/* =========================================
   КАСТОМНЫЙ КУРСОР
   ========================================= */
.cursor {
    width: 40px; height: 40px; border: 1px solid rgba(139, 92, 246, 0.5); border-radius: 50%;
    position: fixed; top: 0; left: 0; 
    pointer-events: none !important; /* Клики проходят сквозь курсор */
    z-index: 999998; /* Под точкой */
    transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s;
}
.cursor-dot {
    width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
    position: fixed; top: 0; left: 0; 
    pointer-events: none !important; /* Клики проходят сквозь точку */
    z-index: 999999; /* Поверх ВСЕГО */
    transform: translate(-50%, -50%);
}
.cursor.hover { width: 60px; height: 60px; border-color: var(--accent); background: rgba(139, 92, 246, 0.1); }
@media (max-width: 1024px) { html, a, button { cursor: auto; } .cursor, .cursor-dot { display: none; } }

/* =========================================
   БОКОВАЯ НАВИГАЦИЯ
   ========================================= */
.side-nav {
    position: fixed; right: 2rem; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 1rem; z-index: 100;
}
.nav-dot {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--text-light);
    transition: all 0.3s;
}
.nav-dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }
@media (max-width: 768px) { .side-nav { display: none; } }

/* =========================================
   СТОПКА КАРТОЧЕК (STICKY STACK)
   ========================================= */
.stack-panel {
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.panel-1 { background: var(--bg-dark); z-index: 1; }
.panel-2 { background: var(--bg-light); color: var(--text-dark); z-index: 2; }
.panel-3 { background: var(--accent); color: var(--text-dark); z-index: 3; }
.panel-4 { background: var(--bg-dark); z-index: 4; }

.panel-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem 0;
}

/* =========================================
   ПАНЕЛЬ 1: ГЕРОЙ
   ========================================= */
.top-bar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--accent); }
.top-contacts { display: flex; gap: 2rem; font-weight: 600; }
.top-contacts a:hover { color: var(--accent); }

.hero-center { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-title {
    font-family: var(--font-display); font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 800; line-height: 1; letter-spacing: -2px; margin-bottom: 2rem;
    color: var(--text-light);
}
.hero-desc { font-size: 1.2rem; color: #A0A0A0; max-width: 600px; line-height: 1.6; }

.scroll-hint { display: flex; align-items: center; gap: 1rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; color: #666; }
.scroll-line { width: 50px; height: 1px; background: #666; position: relative; overflow: hidden; }
.scroll-line::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent); animation: scrollLine 2s infinite ease-in-out;
}
@keyframes scrollLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* =========================================
   ПАНЕЛЬ 2: ПРОБЛЕМЫ
   ========================================= */
.section-title {
    font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -1px; margin-bottom: 4rem;
}
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.problem-card {
    border: 2px solid var(--border-light); padding: 3rem; border-radius: 24px;
    transition: all 0.3s ease; background: transparent;
}
.problem-card:hover { background: var(--text-dark); color: var(--bg-light); transform: translateY(-10px); }
.problem-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-dark); margin-bottom: 2rem; transition: color 0.3s; }
.problem-card:hover .problem-num { color: var(--accent); }
.problem-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.problem-card p { font-size: 1rem; color: #666; transition: color 0.3s; }
.problem-card:hover p { color: #A0A0A0; }

/* =========================================
   ПАНЕЛЬ 3: ПРОЦЕСС
   ========================================= */
.process-list { display: flex; flex-direction: column; gap: 2rem; }
.process-item {
    display: flex; gap: 3rem; align-items: flex-start; position: relative;
}
.process-line {
    position: absolute; left: 25px; top: 50px; bottom: -50px; width: 2px; background: rgba(0,0,0,0.2);
}
.process-item:last-child .process-line { display: none; }
.process-num {
    font-family: var(--font-display); font-size: 2rem; font-weight: 800;
    width: 50px; height: 50px; border-radius: 50%; background: var(--text-dark); color: var(--accent);
    display: flex; justify-content: center; align-items: center; flex-shrink: 0; z-index: 2;
}
.process-text h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; font-family: var(--font-display); }
.process-text p { font-size: 1.1rem; color: #333; max-width: 600px; }

/* =========================================
   ПАНЕЛЬ 4: КОНТАКТЫ
   ========================================= */
.contact-wrapper { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.contact-title { font-family: var(--font-display); font-size: clamp(4rem, 8vw, 8rem); line-height: 1; letter-spacing: -2px; margin-bottom: 3rem; }
.text-accent { color: var(--accent); }

.contact-links { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
.contact-phone { font-size: 2.5rem; font-weight: 700; transition: color 0.3s; }
.contact-phone:hover { color: var(--accent); }

.messengers { display: flex; gap: 1rem; margin-top: 2rem; }
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 1rem 2.5rem; font-weight: 600; font-size: 1rem; border-radius: 50px; transition: all 0.3s;
    font-family: var(--font-body);
}
.btn--accent { background: var(--accent); color: var(--text-light); }
.btn--accent:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3); }
.btn--outline { border: 1px solid var(--border-dark); color: var(--text-light); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.footer { display: flex; justify-content: space-between; font-size: 0.9rem; color: #666; border-top: 1px solid var(--border-dark); padding-top: 2rem; }
.footer__link:hover { color: var(--accent); }

/* =========================================
   НОВЫЙ КРАСИВЫЙ КУКИ БАННЕР
   ========================================= */
/* =========================================
   НОВЫЙ КРАСИВЫЙ КУКИ БАННЕР
   ========================================= */
.cookie-banner {
    position: fixed; 
    bottom: 30px;
    left: 50%; 
    transform: translateX(-50%) translateY(calc(100% + 60px));
    width: min(800px, 95%); 
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-dark);
    border-left: 4px solid var(--accent);
    padding: 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 2rem;
    z-index: 9999;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(139, 92, 246, 0.1);
}
.cookie-banner.show { 
    transform: translateX(-50%) translateY(0);
}
.cookie-banner p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; margin: 0; }
.cookie-banner a { color: var(--accent); text-decoration: underline; transition: color 0.3s; }
.cookie-banner a:hover { color: #fff; }

.btn--dark { 
    background: var(--accent); 
    color: var(--text-light); 
    padding: 0.8rem 2rem; 
    border-radius: 50px; 
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.3s;
}
.btn--dark:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
}

/* =========================================
   АДАПТИВ
   ========================================= */
@media (max-width: 1024px) {
    .problem-grid { grid-template-columns: 1fr; }
    .process-text h3 { font-size: 1.4rem; }
    .process-text p { font-size: 1rem; }
}
@media (max-width: 768px) {
    .stack-panel { position: relative; height: auto; min-height: 100vh; padding: 4rem 0; }
    .top-contacts { display: none; }
    .hero-title { font-size: 3.5rem; }
    .process-item { gap: 1.5rem; }
    .process-line { left: 20px; }
    .process-num { width: 40px; height: 40px; font-size: 1.2rem; }
    .contact-title { font-size: 3rem; }
    .contact-phone { font-size: 1.8rem; }
    .footer { flex-direction: column; gap: 1rem; text-align: center; }
    .cookie-banner { flex-direction: column; text-align: center; padding: 1.5rem; }
    .cookie-banner .btn--dark { width: 100%; }
}