/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-primary: #0a0a14; --bg-secondary: #12121f; --bg-card: #1a1a2e;
    --purple: #8b5cf6; --purple-bright: #a78bfa; --cyan: #06d6a0; --blue: #4361ee; --blue-bright: #60a5fa;
    --pink: #f72585; --yellow: #ffd60a; --orange: #ff6b35;
    --text-primary: #ffffff; --text-secondary: #b0b0cc; --text-muted: #7a7a99;
    --border-color: rgba(139, 92, 246, 0.2);
    --gradient-main: linear-gradient(135deg, #8b5cf6, #06d6a0); --gradient-pink: linear-gradient(135deg, #f72585, #ff6b35);
    --gradient-cyan: linear-gradient(135deg, #06d6a0, #4361ee); --gradient-hero: linear-gradient(135deg, #8b5cf6 0%, #4361ee 50%, #06d6a0 100%);
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; } .reveal-delay-2 { transition-delay: 0.2s; } .reveal-delay-3 { transition-delay: 0.3s; } .reveal-delay-4 { transition-delay: 0.4s; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.3); } 50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--gradient-main); color: #fff; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4); text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(139, 92, 246, 0.6); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 2px solid var(--purple); }
.btn-secondary:hover { background: rgba(139, 92, 246, 0.1); border-color: var(--purple-bright); }
.btn-pink { background: var(--gradient-pink); color: #fff; box-shadow: 0 4px 20px rgba(247, 37, 133, 0.4); }
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(247, 37, 133, 0.6); }

/* ===== SECTION LABELS & TYPOGRAPHY ===== */
.section-label { display: inline-block; padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; }
.label-purple { background: rgba(139, 92, 246, 0.15); color: var(--purple-bright); border: 1px solid rgba(139, 92, 246, 0.3); }
.label-cyan { background: rgba(6, 214, 160, 0.15); color: var(--cyan); border: 1px solid rgba(6, 214, 160, 0.3); }
.label-pink { background: rgba(247, 37, 133, 0.15); color: var(--pink); border: 1px solid rgba(247, 37, 133, 0.3); }
.label-blue { background: rgba(67, 97, 238, 0.15); color: var(--blue-bright); border: 1px solid rgba(67, 97, 238, 0.3); }
.label-yellow { background: rgba(255, 214, 10, 0.15); color: var(--yellow); border: 1px solid rgba(255, 214, 10, 0.3); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }
.gradient-text { background: var(--gradient-hero); background-size: 200% 200%; animation: gradient-shift 4s ease infinite; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 14px 0; transition: all 0.3s ease; }
.header.scrolled { background: rgba(10, 10, 20, 0.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-color); padding: 10px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.3rem; font-weight: 900; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.logo span:first-child { color: var(--purple-bright); } .logo span:last-child { color: var(--cyan); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); transition: color 0.3s; white-space: nowrap; }
.nav a:hover { color: var(--text-primary); }
.header-btn { padding: 8px 20px !important; font-size: 0.85rem !important; color: #ffffff !important; background: linear-gradient(135deg, #8b5cf6 0%, #4361ee 100%) !important; border-radius: 8px !important; font-weight: 700 !important; box-shadow: 0 3px 12px rgba(139, 92, 246, 0.35) !important; white-space: nowrap !important; text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
.header-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(139, 92, 246, 0.5) !important; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher { position: relative; margin-right: 16px; }
.lang-btn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-primary); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.lang-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--purple); }
.lang-flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; }
.lang-code { font-weight: 700; letter-spacing: 0.5px; }
.lang-arrow { transition: transform 0.2s; }
.lang-btn[aria-expanded="true"] .lang-arrow { transform: rotate(180deg); }
.lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 8px; min-width: 160px; box-shadow: 0 8px 32px rgba(0,0,0,0.4); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s ease; z-index: 1001; }
.lang-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: 0.85rem; color: var(--text-secondary); transition: all 0.2s; }
.lang-option:hover, .lang-option.active { background: rgba(139, 92, 246, 0.15); color: var(--text-primary); }
.lang-flag-sm { width: 20px; height: 14px; object-fit: cover; border-radius: 3px; }
.footer-lang { margin-left: auto; }

/* ===== MOBILE RESPONSIVE HEADER ===== */
@media (max-width: 1220px) { .container { max-width: 100%; } .nav { gap: 14px; } .nav a { font-size: 0.75rem; padding: 0 1px; } .header-btn { padding: 7px 14px !important; font-size: 0.75rem !important; } .logo { font-size: 1.25rem; } }
@media (max-width: 1070px) { .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10, 10, 20, 0.98); backdrop-filter: blur(16px); padding: 20px; flex-direction: column; align-items: stretch; gap: 14px; border-bottom: 1px solid var(--border-color); z-index: 999; } .nav.open { display: flex; } .mobile-toggle { display: flex; } .header-btn { width: 100%; margin-top: 6px; } }

/* ===== HERO BLOCK ===== */
.hero { height: 100vh; max-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding-top: 70px; background: var(--bg-primary); }
.hero::before { content: ''; position: absolute; top: -10%; right: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -10%; left: -5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(6, 214, 160, 0.1) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; position: relative; z-index: 2; padding-top: 10px; padding-bottom: 10px; }
.hero-content { }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(6, 214, 160, 0.1); border: 1px solid rgba(6, 214, 160, 0.3); border-radius: 50px; font-size: 0.75rem; font-weight: 600; color: var(--cyan); margin-bottom: 14px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; animation: pulse-glow 2s ease infinite; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.1; margin-bottom: 6px; }
.hero-subtitle { font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 600; color: var(--text-primary); margin-bottom: 14px; line-height: 1.3; opacity: 0.95; }
.hero p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 12px; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 24px; justify-content: center; width: 100%; padding-top: 12px; border-top: 1px solid var(--border-color); text-align: center; }
.hero-stat-value { font-size: 1.6rem; font-weight: 900; } .hero-stat-value.purple { color: var(--purple-bright); } .hero-stat-value.cyan { color: var(--cyan); } .hero-stat-value.blue { color: var(--blue-bright); }
.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-mockup { width: 100%; max-width: 480px; max-height: 80vh; background: var(--bg-card); border-radius: 16px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: 0 16px 60px rgba(0,0,0,0.5); animation: float 5s ease-in-out infinite; }
.mockup-topbar { display: flex; align-items: center; gap: 6px; padding: 10px 16px; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--border-color); }
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; } .mockup-dot.r { background: #ff5f57; } .mockup-dot.y { background: #febc2e; } .mockup-dot.g { background: #28c840; }
.mockup-url { margin-left: 10px; font-size: 0.7rem; color: var(--text-muted); background: rgba(255,255,255,0.05); padding: 3px 8px; border-radius: 6px; flex: 1; }
.mockup-body { padding: 16px; }
.mockup-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mockup-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.mockup-icon.purple { background: rgba(139, 92, 246, 0.2); } .mockup-icon.cyan { background: rgba(6, 214, 160, 0.2); } .mockup-icon.blue { background: rgba(67, 97, 238, 0.2); } .mockup-icon.yellow { background: rgba(255, 214, 10, 0.2); }
.mockup-text-main { font-size: 0.8rem; font-weight: 600; } .mockup-text-sub { font-size: 0.65rem; color: var(--text-muted); }
.mockup-badge-value { margin-left: auto; font-size: 0.75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.badge-green { background: rgba(6, 214, 160, 0.15); color: var(--cyan); } .badge-purple { background: rgba(139, 92, 246, 0.15); color: var(--purple-bright); } .badge-blue { background: rgba(67, 97, 238, 0.15); color: var(--blue-bright); }

/* ===== SECTIONS BASE ===== */
.what-is, .roles, .for-whom, .cabinets, .analytics, .pricing, .server-requirements, .final-cta { padding: 100px 0; position: relative; }
.how-it-works, .advantages { padding: 100px 0; background: var(--bg-secondary); position: relative; }
.section-inner { text-align: center; } .section-inner .section-subtitle { margin: 0 auto 50px; }
.section-inner .section-title { margin-bottom: 12px; }

/* ===== WHAT IS GRID ===== */
.what-is-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.what-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 28px 22px; text-align: left; transition: all 0.4s ease; position: relative; overflow: hidden; }
.what-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 18px 18px 0 0; opacity: 0; transition: opacity 0.4s; }
.what-card:nth-child(1)::before { background: var(--gradient-main); } .what-card:nth-child(2)::before { background: var(--gradient-pink); } .what-card:nth-child(3)::before { background: var(--gradient-cyan); }
.what-card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.4); } .what-card:hover::before { opacity: 1; }
.what-card-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.what-card:nth-child(1) .what-card-icon { background: rgba(139, 92, 246, 0.15); } .what-card:nth-child(2) .what-card-icon { background: rgba(247, 37, 133, 0.15); } .what-card:nth-child(3) .what-card-icon { background: rgba(6, 214, 160, 0.15); }
.what-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; } .what-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ''; position: absolute; top: 44px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--purple), var(--cyan)); opacity: 0.3; }
.step { text-align: center; position: relative; }
.step-number { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 900; margin: 0 auto 20px; position: relative; z-index: 2; }
.step:nth-child(1) .step-number { background: linear-gradient(135deg, var(--purple), var(--blue)); box-shadow: 0 6px 24px rgba(139, 92, 246, 0.4); } .step:nth-child(2) .step-number { background: linear-gradient(135deg, var(--pink), var(--orange)); box-shadow: 0 6px 24px rgba(247, 37, 133, 0.4); } .step:nth-child(3) .step-number { background: linear-gradient(135deg, var(--cyan), var(--cyan)); box-shadow: 0 6px 24px rgba(6, 214, 160, 0.4); }
.step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; } .step p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; max-width: 280px; margin: 0 auto; }

/* ===== ROLES GRID ===== */
.roles-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.role-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 24px 16px; transition: all 0.4s ease; text-align: center; }
.role-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.5); box-shadow: 0 10px 32px rgba(139, 92, 246, 0.15); }
.role-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 12px; }
.role-card:nth-child(1) .role-icon { background: rgba(139, 92, 246, 0.15); } .role-card:nth-child(2) .role-icon { background: rgba(6, 214, 160, 0.15); } .role-card:nth-child(3) .role-icon { background: rgba(255, 214, 10, 0.15); } .role-card:nth-child(4) .role-icon { background: rgba(247, 37, 133, 0.15); } .role-card:nth-child(5) .role-icon { background: rgba(67, 97, 238, 0.15); }
.role-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; } .role-card p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

/* ===== ADVANTAGES GRID ===== */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 26px 20px; text-align: left; transition: all 0.4s ease; }
.adv-card:hover { transform: translateY(-4px); border-color: rgba(6, 214, 160, 0.4); }
.adv-icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.adv-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; } .adv-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== AUDIENCE GRID ===== */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.audience-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 28px 24px; display: flex; gap: 16px; align-items: flex-start; text-align: left; transition: all 0.4s ease; }
.audience-card:hover { transform: translateY(-4px); border-color: rgba(247, 37, 133, 0.4); }
.audience-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.audience-card:nth-child(1) .audience-icon { background: rgba(139, 92, 246, 0.15); } .audience-card:nth-child(2) .audience-icon { background: rgba(247, 37, 133, 0.15); } .audience-card:nth-child(3) .audience-icon { background: rgba(6, 214, 160, 0.15); } .audience-card:nth-child(4) .audience-icon { background: rgba(255, 214, 10, 0.15); }
.audience-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; } .audience-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== CABINETS ===== */
.cabinets .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cabinets-content { text-align: left; } .cabinets-content .section-subtitle { margin-bottom: 24px; }
.cabinet-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cabinet-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.cabinet-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(67, 97, 238, 0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-size: 0.7rem; color: var(--blue-bright); }
.cabinets-visual { display: flex; justify-content: center; }
.users-container { width: 280px; height: 280px; border-radius: 50%; background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(6, 214, 160, 0.1)); border: 1px solid rgba(67, 97, 238, 0.2); display: flex; align-items: center; justify-content: center; position: relative; animation: float 5s ease-in-out infinite; }
.users-icon { font-size: 5rem; filter: drop-shadow(0 0 25px rgba(67, 97, 238, 0.4)); }
.users-ring { position: absolute; border-radius: 50%; border: 1px dashed; animation: rotate-slow 20s linear infinite; }
.users-ring:nth-child(2) { width: 320px; height: 320px; border-color: rgba(139, 92, 246, 0.15); } .users-ring:nth-child(3) { width: 360px; height: 360px; border-color: rgba(6, 214, 160, 0.1); animation-direction: reverse; animation-duration: 30s; }

/* ===== ANALYTICS ===== */
.analytics .container { text-align: center; } .analytics .section-subtitle { margin: 0 auto 50px; }
.analytics-mockup { max-width: 860px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; overflow: hidden; box-shadow: 0 16px 60px rgba(0,0,0,0.4); }
.mockup-toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--border-color); }
.mockup-dashboard { padding: 22px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-title { font-size: 1rem; font-weight: 700; }
.dash-tabs { display: flex; gap: 6px; }
.dash-tab { padding: 5px 12px; border-radius: 6px; font-size: 0.7rem; font-weight: 600; background: rgba(255,255,255,0.05); color: var(--text-muted); }
.dash-tab.active { background: var(--purple); color: #fff; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.dash-stat-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 14px; text-align: left; }
.dash-stat-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.dash-stat-value { font-size: 1.3rem; font-weight: 900; }
.dash-stat-change { font-size: 0.7rem; margin-top: 2px; } .change-up { color: var(--cyan); }
.dash-chart { height: 100px; background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%); border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: flex-end; padding: 12px; gap: 5px; }
.chart-bar { flex: 1; border-radius: 3px 3px 0 0; min-width: 6px; }
.analytics-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.analytics-feat { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 20px; text-align: left; transition: all 0.3s; }
.analytics-feat:hover { border-color: rgba(139, 92, 246, 0.4); }
.analytics-feat-icon { font-size: 1.3rem; margin-bottom: 10px; }
.analytics-feat h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; } .analytics-feat p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ===== PRICING ===== */
.pricing .container { text-align: center; } .pricing .section-subtitle { margin: 0 auto 50px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 32px 24px; text-align: left; transition: all 0.4s ease; position: relative; }
.pricing-card.featured { border-color: var(--purple); background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 100%); transform: scale(1.03); }
.pricing-card.featured::before { content: '{$loc['index.php']['00904']}'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--gradient-main); color: #fff; padding: 4px 14px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; }
.pricing-card:hover { transform: translateY(-4px); } .pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-name { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.pricing-price { font-size: 2.2rem; font-weight: 900; margin-bottom: 2px; } .pricing-price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.pricing-desc { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.5; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.pricing-features li { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-secondary); padding: 2px 0; }
.pricing-features li::before { content: '✓'; color: var(--cyan); font-weight: 700; font-size: 0.85rem; }
.pricing-features li.featured {
    background: rgba(255, 214, 10, 0.05);
    color: var(--text-primary);
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 8px;
    margin-left: -8px;
    margin-right: -4px;
    transition: background 0.2s;
}
.pricing-features li.featured:hover {
    background: rgba(255, 214, 10, 0.1);
}
.pricing-features li.featured::before {
    content: '★';
    color: var(--yellow);
    font-size: 0.75rem;
    margin-top: 2px;
}
.pricing-card .btn { width: 100%; justify-content: center; font-size: 0.9rem; padding: 14px; }

/* ===== SERVER REQUIREMENTS ===== */
.server-requirements { padding: 100px 0; background: var(--bg-secondary); position: relative; }
.server-requirements::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.server-requirements .container { text-align: center; }
.server-requirements .section-subtitle { margin: 0 auto 40px; }
.server-configs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto 50px; }
.server-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 32px 24px; text-align: left; transition: all 0.4s ease; position: relative; overflow: hidden; }
.server-card:hover { transform: translateY(-4px); border-color: rgba(67, 97, 238, 0.4); }
.server-card.featured { border-color: var(--cyan); background: linear-gradient(180deg, rgba(6, 214, 160, 0.08) 0%, var(--bg-card) 100%); }
.server-card-badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.server-card-badge { background: rgba(67, 97, 238, 0.15); color: var(--blue-bright); border: 1px solid rgba(67, 97, 238, 0.3); }
.server-card-badge.recommended { background: rgba(6, 214, 160, 0.15); color: var(--cyan); border: 1px solid rgba(6, 214, 160, 0.3); }
.server-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; color: var(--text-primary); }
.server-specs { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.server-specs li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-secondary); }
.spec-icon { font-size: 1.1rem; flex-shrink: 0; }
.server-specs strong { color: var(--text-primary); font-weight: 700; }
.server-card-note { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; padding-top: 12px; border-top: 1px solid var(--border-color); }
.software-requirements { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 28px 24px; max-width: 800px; margin: 0 auto 32px; text-align: left; }
.software-requirements h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; color: var(--text-primary); text-align: center; }
.software-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.software-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; background: rgba(255,255,255,0.03); border-radius: 12px; transition: all 0.3s; }
.software-item:hover { background: rgba(255,255,255,0.06); }
.software-icon { font-size: 1.4rem; flex-shrink: 0; }
.software-item strong { color: var(--text-primary); font-weight: 600; }
.software-item div { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }
.turnkey-note { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(67, 97, 238, 0.1)); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: 16px; padding: 20px 24px; max-width: 800px; margin: 0 auto; display: flex; align-items: flex-start; gap: 14px; text-align: left; }
.turnkey-icon { font-size: 1.5rem; flex-shrink: 0; }
.turnkey-note p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.turnkey-note strong { color: var(--text-primary); font-weight: 700; }

/* ===== FINAL CTA ===== */
.final-cta .container { text-align: center; position: relative; z-index: 1; }
.final-cta p.lead { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto 32px; line-height: 1.6; }
.cta-form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.cta-input { padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; color: var(--text-primary); font-size: 0.95rem; font-family: inherit; outline: none; transition: border-color 0.3s; width: 100%; }
.cta-input:focus { border-color: var(--purple); } .cta-input::placeholder { color: var(--text-muted); }
.form-row { display: flex; gap: 10px; }
.form-select { flex: 1; min-width: 130px; padding: 14px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; color: var(--text-secondary); font-size: 0.95rem; font-family: inherit; outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7a99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }
.form-select option { background: var(--bg-secondary); color: var(--text-primary); }
.checkbox-wrapper { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; cursor: pointer; }
.checkbox-wrapper input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--purple); cursor: pointer; margin-top: 2px; }
.checkbox-wrapper a { color: var(--purple-bright); border-bottom: 1px dashed var(--purple-bright); transition: all 0.2s; }
.checkbox-wrapper a:hover { border-bottom-style: solid; color: var(--purple); }
.checkbox-error { color: var(--pink); font-size: 0.7rem; margin-top: 2px; display: none; }
.cta-form .btn { padding: 16px; font-size: 1rem; margin-top: 6px; }
.cta-guarantee { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta-guarantee span { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); background: rgba(6, 214, 160, 0.08); padding: 8px 14px; border-radius: 50px; border: 1px solid rgba(6, 214, 160, 0.2); transition: all 0.3s; }
.cta-guarantee span::before { content: '★'; color: var(--cyan); } .cta-guarantee span:hover { background: rgba(6, 214, 160, 0.15); transform: translateY(-1px); }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; max-width: 680px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 32px; position: relative; box-shadow: 0 16px 60px rgba(0,0,0,0.6); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1rem; cursor: pointer; transition: all 0.2s; }
.modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.modal-content h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; }
.modal-content h3 { font-size: 1rem; font-weight: 700; margin: 16px 0 8px; color: var(--purple-bright); }
.modal-content p, .modal-content li { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 8px; }
.modal-content ul { padding-left: 18px; }

/* ===== FOOTER ===== */
.footer { padding: 32px 0; border-top: 1px solid var(--border-color); }
.footer .container { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; } .footer-links a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }

/* ===== CALCULATOR BLOCK ===== */
.calculator { padding: 100px 0; background: var(--bg-secondary); position: relative; }
.calculator::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--yellow), transparent); }
.calculator .container { text-align: center; }
.calculator .section-subtitle { margin: 0 auto 40px; }
.calc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.calc-params {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.calc-input-group { position: relative; }
.calc-input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}
.calc-input-wrapper { position: relative; display: flex; align-items: center; }
.calc-input-group input {
    width: 100%;
    padding: 12px 36px 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.3s;
}
.calc-input-group input:focus { border-color: var(--purple); }
.calc-input-group input::-webkit-outer-spin-button,
.calc-input-group input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input-group input[type=number] { -moz-appearance: textfield; }
.calc-input-suffix {
    position: absolute;
    right: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    pointer-events: none;
}
.calc-mode-toggle {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    background: rgba(255,255,255,0.05);
    padding: 4px;
    border-radius: 8px;
}
.calc-mode-btn {
    flex: 1;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.calc-mode-btn.active {
    background: var(--gradient-main);
    color: #fff;
}
.calc-mode-btn:hover:not(.active) { color: var(--text-primary); }
.calc-slider-wrapper { margin: 40px 0 24px; }
.calc-slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.calc-slider-label { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }
.calc-slider-value {
    background: var(--gradient-main);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.calc-slider-container { position: relative; padding: 12px 0 8px; }
.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 28px;
    background: transparent;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin: 0;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-main);
    cursor: pointer;
    border: 3px solid var(--bg-card);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.5), 0 0 0 4px rgba(139, 92, 246, 0.15);
    transition: all 0.2s ease;
    margin-top: -1px;
}
.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.7), 0 0 0 6px rgba(139, 92, 246, 0.2);
}
.calc-slider::-webkit-slider-thumb:active { transform: scale(1.05); }
.calc-slider::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--gradient-main);
    cursor: pointer;
    border: 3px solid var(--bg-card);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.5), 0 0 0 4px rgba(139, 92, 246, 0.15);
    margin-top: 0;
}
.slider-track {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    pointer-events: none;
    z-index: 0;
}
.slider-fill {
    position: absolute;
    top: 12px;
    left: 0;
    height: 6px;
    background: var(--gradient-main);
    border-radius: 3px;
    pointer-events: none;
    z-index: 1;
    transition: width 0.1s ease;
}
.calc-slider-ticks {
    position: absolute;
    top: 12px;
    left: 10px;
    right: 10px;
    height: 6px;
    pointer-events: none;
    z-index: 0;
}
.calc-slider-tick {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 10px;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
}
.calc-slider-tick.major {
    height: 14px;
    width: 3px;
    background: rgba(255,255,255,0.5);
    border-radius: 1px;
}
.calc-slider-tick-label {
    position: absolute;
    top: 16px;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 500;
}
.calc-slider-range {
    display: flex; justify-content: space-between;
    font-size: 0.7rem; color: var(--text-muted);
    margin-top: 8px;
    padding: 0 4px;
}
.calc-result {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.1), rgba(67, 97, 238, 0.1));
    border: 1px solid rgba(6, 214, 160, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-top: 24px;
}
.calc-result-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.calc-result-value {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4px;
}
.calc-result-period { font-size: 0.8rem; color: var(--text-muted); }
.calc-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}
.calc-stat { text-align: center; }
.calc-stat-value { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.calc-stat-value.purple { color: var(--purple-bright); }
.calc-stat-value.cyan { color: var(--cyan); }
.calc-stat-value.blue { color: var(--blue-bright); }
.calc-stat-label { font-size: 0.75rem; color: var(--text-muted); }
.calc-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 20px; padding-top: 0; padding-bottom: 0; } 
    .hero { height: auto; min-height: 100vh; padding-top: 90px; padding-bottom: 40px; max-height: none; }
    .hero-content { max-width: 100%; margin: 0 auto; } 
    .hero-buttons { justify-content: center; } 
    .hero-visual { margin-top: 20px; } 
    .hero-mockup { max-width: 400px; max-height: none; }
    .what-is-grid { grid-template-columns: repeat(2, 1fr); } .roles-grid { grid-template-columns: repeat(3, 1fr); } .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .cabinets .container { grid-template-columns: 1fr; text-align: center; } .cabinets-content { text-align: center; } .cabinet-list { max-width: 480px; margin: 0 auto; text-align: left; } .cabinets-visual { order: -1; margin-bottom: 20px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; } .pricing-card.featured { transform: none; } .pricing-card.featured:hover { transform: translateY(-4px); }
    .section-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .calc-params { grid-template-columns: 1fr; }
    .calc-breakdown { grid-template-columns: 1fr; gap: 12px; }
    .server-configs-grid { grid-template-columns: 1fr; max-width: 480px; }
    .software-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; gap: 30px; } .steps::before { display: none; }
    .roles-grid { grid-template-columns: repeat(2, 1fr); } .what-is-grid, .audience-grid, .advantages-grid { grid-template-columns: 1fr; }
    .analytics-features { grid-template-columns: 1fr; } .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .form-row { flex-direction: column; }
    .users-container { width: 220px; height: 220px; } .users-icon { font-size: 3.5rem; } .users-ring:nth-child(2) { width: 260px; height: 260px; } .users-ring:nth-child(3) { width: 300px; height: 300px; }
    .footer .container { flex-direction: column; gap: 14px; text-align: center; } .modal-content { padding: 20px; }
    .calc-slider-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .calc-result-value { font-size: 1.8rem; }
    .calc-mode-toggle { flex-direction: column; }
    .pricing-features li.featured { margin-left: -4px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; } .hero-buttons { flex-direction: column; align-items: center; } .btn { width: 100%; justify-content: center; }
    .roles-grid { grid-template-columns: 1fr; } .cta-guarantee { flex-direction: column; align-items: center; }
    .calc-card { padding: 28px 20px; }
    .calc-slider-tick-label { display: none; }
    .lang-switcher { margin-right: 0; }
    .lang-dropdown { right: auto; left: 0; }
}
