/* ============================================
   E-OLNEV.RU — REMASTERED 2026
   Glassmorphism + Modern UX + Heavy Animation
   ============================================ */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #a855f7;
    --accent: #ec4899;
    --dark: #0a0f1e;
    --dark-elevated: #111827;
    --dark-card: rgba(255,255,255,0.04);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-hover: rgba(255, 255, 255, 0.10);
    
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Orb animation positions */
    --orb-1-x: 0px; --orb-1-y: 0px; --orb-1-s: 1;
    --orb-2-x: 0px; --orb-2-y: 0px; --orb-2-s: 1;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ============================================
   NOISE + AMBIENT ORBS
   ============================================ */
.noise-overlay {
    position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 128px;
}

.ambient-orbs {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.ambient-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3;
    will-change: transform;
    animation: orbDrift 25s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: var(--primary); top: -10%; left: -10%; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -5%; right: -5%; animation-delay: -8s; }

@keyframes orbDrift {
    0%, 100% { transform: translate3d(var(--orb-1-x, 0), var(--orb-1-y, 0), 0) scale(var(--orb-1-s, 1)); }
    25% { transform: translate3d(calc(var(--orb-1-x, 0) + 40px), calc(var(--orb-1-y, 0) - 30px), 0) scale(1.1); }
    50% { transform: translate3d(calc(var(--orb-1-x, 0) - 20px), calc(var(--orb-1-y, 0) + 20px), 0) scale(0.95); }
    75% { transform: translate3d(calc(var(--orb-1-x, 0) + 30px), calc(var(--orb-1-y, 0) + 40px), 0) scale(1.05); }
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-track {
    position: fixed; top: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.04); z-index: 9998;
}
.progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transition: width 0.1s linear;
}

/* ============================================
   STICKY BAR
   ============================================ */
.sticky-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    background: rgba(10,15,30,0.85); backdrop-filter: blur(12px) saturate(1.5);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-100%); transition: transform 0.4s var(--ease-out);
}
.sticky-bar.show { transform: translateY(0); }
.sticky-bar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0; gap: 12px;
}
.sticky-bar-text { font-size: 13px; font-weight: 500; }
.sticky-bar-text strong { color: #fbbf24; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed; top: 2px; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: all 0.3s var(--ease-out);
}
.nav.scrolled {
    background: rgba(10,15,30,0.8); backdrop-filter: blur(12px) saturate(1.5);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px; font-weight: 700; z-index: 1001;
}
.logo-mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: white; font-weight: 800;
}
.logo-text { font-size: 15px; color: var(--text); }

.nav-burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px; z-index: 1001;
}
.nav-burger span {
    display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-list {
    display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-link {
    padding: 8px 16px; border-radius: var(--radius-md);
    font-size: 14px; font-weight: 500; color: var(--text-muted);
    transition: all 0.2s var(--ease-out); position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important; font-weight: 600;
}
.nav-link-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ============================================
   GLASS UTILITY
   ============================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease-out);
}
.glass:hover {
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 8px 40px rgba(99,102,241,0.12);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border: none; border-radius: 50px;
    font-family: inherit; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all 0.3s var(--ease-out);
    white-space: nowrap; position: relative; overflow: hidden;
}
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-full { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.4);
}

.btn-ghost {
    background: transparent; border: 1.5px solid var(--glass-border);
    color: var(--text);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.btn-outline {
    background: transparent; border: 1.5px solid var(--glass-border);
    color: var(--text);
}
.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-glow {
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-glow:hover {
    box-shadow: 0 8px 30px rgba(99,102,241,0.5), 0 0 60px rgba(99,102,241,0.1);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh; padding: 140px 0 80px;
    display: flex; align-items: center; position: relative;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25); border-radius: 50px;
    font-size: 13px; font-weight: 600; color: var(--primary-light);
    margin-bottom: 24px;
}
.tag-pulse {
    width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
    animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800;
    line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-light);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.8s step-end infinite;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 1.15rem; color: var(--text-muted); max-width: 480px;
    margin-bottom: 36px; line-height: 1.7;
}

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

.hero-trust {
    display: flex; gap: 32px;
}
.trust-item {
    display: flex; flex-direction: column; gap: 4px;
}
.trust-number {
    font-size: 2.2rem; font-weight: 800; color: var(--primary-light); line-height: 1;
}
.trust-label {
    font-size: 12px; color: var(--text-muted); line-height: 1.4;
}

/* Hero Card (right side) */
.hero-right {
    display: flex; justify-content: center;
}
.hero-card {
    width: 100%; max-width: 440px; padding: 32px;
    animation: cardFloat 8s ease-in-out infinite;
    will-change: transform;
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.hero-card-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 24px; padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 14px; font-weight: 600; color: var(--text-muted);
}
.hero-card-header svg { color: var(--primary-light); }

.hero-form { display: flex; flex-direction: column; gap: 14px; }
.form-field input, .form-field select, .modal-form input, .modal-form select, .modal-form textarea {
    width: 100%; padding: 14px 16px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); color: var(--text);
    font-family: inherit; font-size: 15px;
    transition: all 0.2s var(--ease-out);
}
.form-field input::placeholder, .form-field select, .modal-form input::placeholder, .modal-form textarea::placeholder {
    color: var(--text-dim);
}
.form-field input:focus, .form-field select:focus, .modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
    outline: none; border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
    background: rgba(255,255,255,0.06);
}
.form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.form-check {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 12px; color: var(--text-dim); cursor: pointer;
}
.form-check input {
    width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; margin-top: 2px;
}
.form-check a { color: var(--primary-light); text-decoration: underline; }

.hero-clients { margin-top: 56px; text-align: center; }
.clients-label { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.clients-row {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.client-pill {
    padding: 8px 18px; background: var(--glass-bg); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: 50px;
    font-size: 13px; font-weight: 600; color: var(--primary-light);
    transition: all 0.3s var(--ease-out);
}
.client-pill:hover {
    transform: translateY(-2px); border-color: var(--primary-light);
    box-shadow: 0 4px 16px rgba(99,102,241,0.15);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; position: relative; }
.section-dark { background: rgba(0,0,0,0.15); }

.section-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-badge {
    display: inline-block; padding: 6px 16px;
    background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
    border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--primary-light);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
    margin-bottom: 14px; letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--text-muted);
}

/* ============================================
   PAIN POINTS
   ============================================ */
.pain-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-bottom: 40px;
}
.pain-card { padding: 32px 24px; text-align: center; contain: layout style paint; }
.pain-icon {
    font-size: 2.8rem; margin-bottom: 18px;
    animation: iconFloat 4s ease-in-out infinite;
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    33% { transform: translateY(-6px); }
    66% { transform: translateY(3px); }
}
.pain-card h3 { font-size: 1.1rem; margin-bottom: 12px; font-weight: 600; }
.pain-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.counter-box { padding: 40px; text-align: center; max-width: 500px; margin: 0 auto; }
.counter-box > p { font-size: 1rem; color: var(--text-muted); margin-bottom: 16px; }
.counter-big { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.counter-number {
    font-size: 5rem; font-weight: 900; color: var(--primary-light); line-height: 1;
    text-shadow: 0 0 40px rgba(99,102,241,0.3);
}
.counter-unit { font-size: 1.1rem; color: var(--text-muted); }

/* ============================================
   STEPS
   ============================================ */
.steps-timeline {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step-tile { padding: 32px 24px; text-align: center; position: relative; contain: layout style paint; }
.step-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 800; margin: 0 auto 20px;
    box-shadow: 0 0 24px rgba(99,102,241,0.4);
}
.step-tile h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step-tile > p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.step-list { list-style: none; text-align: left; margin: 16px 0; }
.step-list li {
    padding: 8px 0 8px 22px; border-bottom: 1px solid var(--glass-border);
    font-size: 13px; color: var(--text-muted); position: relative;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before { content: "✓"; color: #22c55e; position: absolute; left: 0; font-weight: bold; }
.step-time {
    display: inline-block; margin-top: 12px; padding: 6px 14px;
    background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2);
    border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--primary-light);
}

/* ============================================
   QUIZ
   ============================================ */
.quiz-box { max-width: 680px; margin: 0 auto; padding: 40px; }
.quiz-top {
    display: flex; align-items: center; gap: 16px; margin-bottom: 32px;
}
.quiz-bar { flex-grow: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.quiz-bar-fill { height: 100%; width: 25%; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width 0.4s var(--ease-out); }
.quiz-step-text { font-size: 13px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }

.quiz-step { display: none; animation: quizFade 0.5s var(--ease-out); }
.quiz-step.active { display: block; }
@keyframes quizFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.quiz-step h3 { font-size: 1.25rem; margin-bottom: 24px; text-align: center; }
.quiz-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.quiz-opt {
    padding: 18px; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); cursor: pointer; font-family: inherit; font-size: 15px;
    font-weight: 500; color: var(--text); transition: all 0.2s var(--ease-out);
    text-align: center;
}
.quiz-opt:hover { border-color: var(--primary-light); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.quiz-opt.selected {
    border-color: var(--primary); background: rgba(99,102,241,0.15);
    box-shadow: 0 0 20px rgba(99,102,241,0.15);
}
.quiz-nav { display: flex; justify-content: space-between; gap: 16px; }
.quiz-body { position: relative; }

#quiz-result { text-align: center; }
#quiz-result h3 { font-size: 1.5rem; margin-bottom: 12px; }
.quiz-result-line { color: var(--text-muted); margin-bottom: 8px; }
.quiz-result-line strong { color: var(--primary-light); font-size: 1.3rem; }

.contact-pick {
    display: flex; flex-direction: column; gap: 8px; margin: 20px 0;
}
.contact-pick label {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid var(--glass-border);
    font-size: 14px; transition: all 0.2s;
    text-align: left;
}
.contact-pick label:hover { border-color: var(--primary-light); background: rgba(255,255,255,0.04); }
.contact-pick input { width: 16px; height: 16px; accent-color: var(--primary); }
.contact-fields { margin: 16px 0; }

/* ============================================
   CASES
   ============================================ */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.case-card { overflow: hidden; contain: layout style paint; }
.case-head {
    padding: 24px; text-align: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(168,85,247,0.25));
    border-bottom: 1px solid var(--glass-border);
    font-size: 1.25rem; font-weight: 700;
}
.case-body { padding: 28px; }
.case-block { margin-bottom: 20px; }
.case-block h4 { color: var(--primary-light); font-size: 0.95rem; margin-bottom: 8px; font-weight: 600; }
.case-block p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.case-body ul { list-style: none; }
.case-body ul li {
    padding: 8px 0 8px 24px; border-bottom: 1px solid var(--glass-border);
    font-size: 14px; position: relative;
}
.case-body ul li:last-child { border-bottom: none; }
.case-body ul li::before { content: "✓"; color: #22c55e; position: absolute; left: 0; font-weight: bold; }

/* Dashboard */
.dashboard-box { padding: 40px; }
.dashboard-box h3 { text-align: center; margin-bottom: 32px; font-size: 1.4rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi-cell { padding: 24px 16px; text-align: center; }
.kpi-val { display: block; font-size: 2.2rem; font-weight: 800; color: var(--primary-light); line-height: 1; margin-bottom: 6px; }
.kpi-lab { font-size: 12px; color: var(--text-muted); }

/* ============================================
   EXPERT
   ============================================ */
.expert-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 56px; align-items: start; }
.expert-left { display: flex; justify-content: center; }
.expert-photo-wrap {
    position: relative; max-width: 340px; border-radius: var(--radius-xl); overflow: hidden;
}
.expert-photo-wrap img {
    width: 100%; border-radius: var(--radius-xl);
    transition: transform 0.6s var(--ease-out);
}
.expert-photo-wrap:hover img { transform: scale(1.03); }
.photo-glow {
    position: absolute; inset: -2px; border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0.35; filter: blur(20px); z-index: -1;
}
.expert-right { padding-top: 8px; }
.expert-role { color: var(--text-muted); margin-bottom: 28px; font-size: 1.05rem; }
.expert-bio { padding: 28px; margin-bottom: 24px; }
.expert-bio ul { list-style: none; }
.expert-bio ul li {
    padding: 10px 0; border-bottom: 1px solid var(--glass-border);
    font-size: 15px; display: flex; align-items: flex-start; gap: 12px;
}
.expert-bio ul li:last-child { border-bottom: none; }
.expert-bio ul li strong { color: var(--primary-light); min-width: 80px; }
.companies-label { font-weight: 600; margin: 20px 0 12px; font-size: 13px; color: var(--text-muted); }
.companies-row { display: flex; flex-wrap: wrap; gap: 8px; }
.comp-pill {
    padding: 6px 14px; background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--primary-light);
}
.expert-facts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.fact { padding: 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.fact span:first-child { font-size: 1.3rem; flex-shrink: 0; }

/* ============================================
   PACKAGES
   ============================================ */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.package-card {
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    transition: all 0.3s var(--ease-out);
}
.package-card:hover {
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 8px 40px rgba(99,102,241,0.12);
    transform: translateY(-4px);
}

.package-popular {
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 8px 40px rgba(99,102,241,0.2), 0 0 80px rgba(99,102,241,0.08);
}
.package-popular:hover {
    border-color: rgba(99,102,241,0.7);
    box-shadow: 0 12px 50px rgba(99,102,241,0.3), 0 0 100px rgba(99,102,241,0.12);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.3px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(99,102,241,0.4);
}

/* Header */
.package-header {
    padding: 40px 28px 24px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(99,102,241,0.06) 0%, transparent 100%);
}
.package-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.package-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 8px;
}
.package-price span {
    font-size: 2.2rem;
}
.package-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Body */
.package-body {
    flex-grow: 1;
    padding: 24px 28px;
}
.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 4px 0;
}
.package-features li svg {
    flex-shrink: 0;
    color: #22c55e;
}

/* Footer */
.package-footer {
    padding: 0 28px 28px;
    margin-top: auto;
}
.package-footer .btn {
    width: 100%;
}

.package-hint {
    padding: 24px;
    text-align: center;
    margin-top: 28px;
}
.package-hint p { font-size: 14px; color: var(--text-muted); }
.text-link {
    background: none; border: none; color: var(--primary-light);
    font-family: inherit; font-size: 14px; font-weight: 600;
    cursor: pointer; text-decoration: underline;
}
.text-link:hover { color: var(--primary); }

/* ============================================
   OBJECTIONS
   ============================================ */
.objections-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px;
}
.objection-card { padding: 28px 24px; contain: layout style paint; }
.objection-card h3 { font-size: 1.05rem; color: var(--primary-light); margin-bottom: 12px; font-weight: 600; }
.objection-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.guarantee-box {
    padding: 48px 40px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    border: 2px solid rgba(99,102,241,0.5);
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.1), rgba(236,72,153,0.06));
    border-radius: var(--radius-xl);
    box-shadow: 0 0 60px rgba(99,102,241,0.2), 0 0 120px rgba(99,102,241,0.08), inset 0 0 80px rgba(99,102,241,0.06);
    backdrop-filter: blur(12px);
}
.guarantee-shield {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 0 12px rgba(99,102,241,0.5));
}
.guarantee-box h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.guarantee-text {
    font-size: 16px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
}
.guarantee-text strong { color: #fbbf24; font-weight: 700; }
.guarantee-terms {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.guarantee-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
}

/* ============================================
   FINAL CTA
   ============================================ */
.section-final { text-align: center; }
.final-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    max-width: 700px; margin: 40px auto;
}
.final-card { padding: 36px 28px; }
.final-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.final-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.final-form {
    max-width: 640px;
    margin: 48px auto 0;
    padding: 40px;
}
.final-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.final-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.final-form .form-field input,
.final-form .form-field select {
    padding: 14px 16px;
    font-size: 15px;
}
.final-form .form-check {
    margin: 4px 0;
    font-size: 13px;
}
.final-form button[type="submit"] {
    margin-top: 8px;
    padding: 16px;
    font-size: 16px;
}

.final-contacts { margin-top: 48px; }
.final-contacts p { color: var(--text-muted); margin-bottom: 16px; font-size: 14px; }
.contacts-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-pill {
    padding: 10px 22px; border-radius: 50px; font-size: 14px; font-weight: 500;
    transition: all 0.3s var(--ease-out);
}
.contact-pill:hover { transform: translateY(-2px); border-color: var(--primary-light); }

.legal-row { display: flex; gap: 24px; justify-content: center; margin-top: 32px; }
.legal-row a { font-size: 13px; color: var(--text-dim); transition: color 0.2s; }
.legal-row a:hover { color: var(--primary-light); text-decoration: underline; }

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(12px);
    z-index: 1998; opacity: 0; transition: opacity 0.3s;
}
.modal-overlay.active { display: block; opacity: 1; }

.modal {
    display: none; position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.96); z-index: 1999;
    opacity: 0; transition: all 0.3s var(--ease-out);
    width: 92%; max-width: 480px; max-height: 90vh; overflow-y: auto;
}
.modal.active { display: block; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal-box { padding: 36px; position: relative; }
.modal-close {
    position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
    background: rgba(255,255,255,0.08); border: none; border-radius: 50%;
    color: var(--text-muted); font-size: 22px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--text); }
.modal-box h2 { font-size: 1.3rem; margin-bottom: 6px; }
.modal-box > p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-price { font-size: 1.6rem; font-weight: 800; color: var(--primary-light); margin-bottom: 20px; text-align: center; }

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed; bottom: 24px; right: 24px; z-index: 3000;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; padding: 16px 22px; border-radius: var(--radius-lg);
    display: flex; align-items: center; gap: 12px;
    font-weight: 500; font-size: 14px; line-height: 1.5;
    max-width: 420px;
    transform: translateX(150%); transition: transform 0.5s var(--ease-spring);
    box-shadow: var(--shadow-glow);
}
.toast.show { transform: translateX(0); }
.toast-icon { width: 22px; height: 22px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-top {
    position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none; border-radius: 50%; color: white; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.3s var(--ease-out); z-index: 998;
    box-shadow: var(--shadow-glow);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-item {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
    will-change: transform, opacity;
}
.reveal-item.visible {
    opacity: 1; transform: translateY(0);
}

.float-anim { animation: iconFloat 4s ease-in-out infinite; }

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}
.btn:focus-visible,
.nav-link:focus-visible,
.quiz-opt:focus-visible,
.modal-close:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================
   RESPONSIVE — TABLET (768-1024)
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-left { order: 2; }
    .hero-right { order: 1; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    
    .expert-grid { grid-template-columns: 1fr; gap: 40px; }
    .expert-left { order: 1; }
    .expert-right { order: 2; text-align: center; }
    .expert-bio ul li { justify-content: center; }
    .companies-row { justify-content: center; }
    .expert-facts { align-items: center; }
    
    .pain-grid, .steps-timeline, .cases-grid, .objections-grid { grid-template-columns: repeat(2, 1fr); }
    .packages-grid { grid-template-columns: repeat(3, 1fr); }
    .kpi-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   RESPONSIVE — MOBILE (<768)
   ============================================ */
@media (max-width: 768px) {
    .glass {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .nav.scrolled {
        backdrop-filter: blur(8px) saturate(1.5);
    }
    .sticky-bar {
        backdrop-filter: blur(8px) saturate(1.5);
    }
    .modal-overlay {
        backdrop-filter: blur(8px);
    }

    .nav-burger { display: flex; }
    .nav-list {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh;
        background: var(--dark-elevated); flex-direction: column;
        padding: 80px 24px 24px; gap: 6px;
        transition: right 0.35s var(--ease-out);
        border-left: 1px solid var(--glass-border);
        z-index: 1000;
    }
    .nav-list.active { right: 0; }
    .nav-link { padding: 12px 16px; width: 100%; font-size: 15px; }
    .nav-link-cta { margin-top: 8px; }
    
    .hero { padding: 120px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-left { order: 2; }
    .hero-right { order: 1; }
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }
    .hero-trust { justify-content: center; gap: 24px; }
    .trust-number { font-size: 1.8rem; }
    
    .section { padding: 72px 0; }
    .section-title { font-size: 1.6rem; }
    
    .pain-grid, .steps-timeline, .cases-grid, .objections-grid, .kpi-grid { grid-template-columns: 1fr; }
    .packages-grid { grid-template-columns: 1fr; }
    .package-popular { order: -1; }
    .final-grid { grid-template-columns: 1fr; }
    
    .quiz-opts { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    
    .expert-grid { grid-template-columns: 1fr; gap: 32px; }
    .expert-left { order: 1; }
    .expert-right { order: 2; text-align: center; }
    .expert-photo-wrap { max-width: 260px; margin: 0 auto; }
    
    .dashboard-box { padding: 28px 20px; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .kpi-val { font-size: 1.8rem; }
    
    .modal { width: 95%; }
    .modal-box { padding: 28px 24px; }
    
    .counter-number { font-size: 3.5rem; }
    .sticky-bar-inner { flex-direction: column; text-align: center; padding: 8px 0; }
    
    .back-top { bottom: 16px; right: 16px; }
    
    .toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
        font-size: 13px;
    }

    .final-form { padding: 24px 20px; margin-top: 32px; }
    .final-form .form-row { grid-template-columns: 1fr; gap: 12px; }
    .guarantee-box { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.7rem; }
    .trust-number { font-size: 1.5rem; }
    .quiz-box { padding: 24px 20px; }
    .modal-box { padding: 24px 20px; }
    .section { padding: 56px 0; }
    .section-title { font-size: 1.4rem; }
}

/* ============================================
   LEGAL PAGES (Privacy & Terms)
   ============================================ */
.legal-page { padding: 140px 0 80px; min-height: 100vh; }
.legal-wrapper { max-width: 800px; margin: 0 auto; }
.legal-header { text-align: center; margin-bottom: 48px; }
.legal-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.legal-header p { color: var(--text-muted); }
.legal-content { display: flex; flex-direction: column; gap: 32px; }
.legal-section { padding: 32px; }
.legal-section h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; color: var(--primary-light); }
.legal-section p { color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.back-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 40px; padding: 12px 24px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg); color: var(--text); font-weight: 500;
    transition: all 0.3s var(--ease-out);
}
.back-link:hover { border-color: var(--primary-light); background: rgba(255,255,255,0.1); }
.footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--glass-border); margin-top: 60px; }
.footer-bottom p { color: var(--text-dim); font-size: 14px; }
.section-tag {
    display: inline-block; padding: 6px 16px;
    background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
    border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--primary-light);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px;
}
