/* ===================================
   QUANTUM - Cloud Security Platform
   Version 3.2
   =================================== */

/* CSS Variables */
:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2332;

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent-primary: #00d4aa;
    --accent-secondary: #3b82f6;
    --accent-tertiary: #8b5cf6;

    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    --blur-amount: 20px;
    --border-radius: 16px;
    --border-radius-sm: 8px;

    --transition-normal: 0.3s ease;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-bs-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;

    --text-primary: #0f172a;
    --text-secondary: rgba(15, 23, 42, 0.7);
    --text-muted: rgba(15, 23, 42, 0.5);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 23, 42, 0.1);
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--transition-normal), color var(--transition-normal);
}

body, html {
    max-width: 100%;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}


/* ===================================
   LOGO STYLES
   =================================== */

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Вариант 1: Логотип как единое изображение */
.logo-img {
    height: 36px;
    width: auto;
    transition: all var(--transition-normal);
}

.glass-nav.scrolled .logo-img {
    height: 32px;
}

/* Вариант 2: Иконка + текст */
.logo-icon {
    width: 40px;
    height: 40px;
 
 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon-img {
    width: 24px;
    height: 24px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* При скролле делаем логотип чуть меньше */
.glass-nav.scrolled .logo-icon {
    width: 36px;
    height: 36px;
}

.glass-nav.scrolled .logo-text {
    font-size: 1.35rem;
}

/* Hover эффект */
.navbar-brand:hover .logo-img {
    transform: scale(1.02);
}

/* Адаптив */
@media (max-width: 767.98px) {
    .logo-img {
        height: 32px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 1.35rem;
    }
}


/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 1rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 280px;
}

.cookie-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.cookie-text strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.cookie-text p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cookie-text a {
    color: var(--accent-primary);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
        align-items: center;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons .btn {
        flex: 1;
    }
}

/* ===================================
   ANIMATED BACKGROUND
   =================================== */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-primary);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridScroll 30s linear infinite;
    opacity: 0.5;
}

[data-bs-theme="light"] .grid-overlay {
    background-image:
        linear-gradient(rgba(0, 100, 80, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 100, 80, 0.05) 1px, transparent 1px);
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-60px, -60px); }
}

.glow-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    will-change: transform, opacity;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation: orbFloat1 25s infinite ease-in-out, orbPulse 4s infinite ease-in-out;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    top: 40%;
    right: -15%;
    animation: orbFloat2 30s infinite ease-in-out, orbPulse 5s infinite ease-in-out 1s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent-tertiary) 0%, transparent 70%);
    bottom: -10%;
    left: 25%;
    animation: orbFloat3 28s infinite ease-in-out, orbPulse 6s infinite ease-in-out 2s;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(80px, 50px) rotate(90deg); }
    50% { transform: translate(40px, 100px) rotate(180deg); }
    75% { transform: translate(-30px, 50px) rotate(270deg); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-60px, -40px) rotate(-90deg); }
    50% { transform: translate(-100px, 30px) rotate(-180deg); }
    75% { transform: translate(-40px, 80px) rotate(-270deg); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(70px, -50px) scale(1.1); }
    66% { transform: translate(-50px, -30px) scale(0.9); }
}

@keyframes orbPulse {
    0%, 100% { opacity: 0.3; filter: blur(80px); }
    50% { opacity: 0.6; filter: blur(100px); }
}

/* Dynamic Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dynamic-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

/* Старые статичные частицы - скрываем */
.particle-dot {
    display: none;
}

/* ===================================
   GLASSMORPHISM COMPONENTS
   =================================== */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: var(--glass-shadow), 0 0 30px rgba(0, 212, 170, 0.1);
}

.glass-button {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.glass-button-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--bg-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
}

.glass-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 212, 170, 0.3);
    color: var(--bg-primary);
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
}

.glass-input {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--border-radius-sm) !important;
    color: var(--text-primary) !important;
    transition: all var(--transition-normal);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1) !important;
}

.gradient-bg {
    background: var(--gradient-primary);
}

/* ===================================
   NAVIGATION
   =================================== */

.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.glass-nav.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--glass-shadow);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--bg-primary);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-primary);
    background: rgba(0, 212, 170, 0);
}

.theme-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.theme-icon-light, .theme-icon-dark {
    position: absolute;
    transition: all var(--transition-normal);
}

[data-bs-theme="dark"] .theme-icon-light { opacity: 1; transform: rotate(0deg); }
[data-bs-theme="dark"] .theme-icon-dark { opacity: 0; transform: rotate(-90deg); }
[data-bs-theme="light"] .theme-icon-light { opacity: 0; transform: rotate(90deg); }
[data-bs-theme="light"] .theme-icon-dark { opacity: 1; transform: rotate(0deg); }

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-bs-theme="light"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    padding-top: 80px;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.hero-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

/* ===================================
   HERO FEATURES - ЕДИНЫЙ БЛОК С GRID
   =================================== */

.hero-features {
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    background: rgba(0, 212, 170, 0.05);
    transform: translateX(5px);
}

.hero-feature-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--bg-primary);
}

.hero-feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-feature-content strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-feature-content span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* ===================================
   HERO BUTTONS & STATS
   =================================== */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* ===================================
   HERO VISUAL - ANIMATED SHIELD
   =================================== */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    animation: fadeInUp 1s ease 0.3s both;
    position: relative;
    min-height: 450px;
}

.shield-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Orbit rings */
.orbit-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
}

.orbit-1 {
    width: 160px;
    height: 160px;
    border-color: rgba(0, 212, 170, 0.2);
    animation: orbitSpin 8s linear infinite;
}

.orbit-2 {
    width: 230px;
    height: 230px;
    border-color: rgba(59, 130, 246, 0.15);
    animation: orbitSpin 12s linear infinite reverse;
}

.orbit-3 {
    width: 300px;
    height: 300px;
    border-color: rgba(139, 92, 246, 0.1);
    animation: orbitSpin 16s linear infinite;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--accent-primary);
}

.orbit-2 .orbit-dot {
    background: var(--accent-secondary);
    box-shadow: 0 0 15px var(--accent-secondary);
    width: 8px;
    height: 8px;
    top: -4px;
}

.orbit-2 .orbit-dot.delay {
    top: auto;
    bottom: -4px;
}

.orbit-3 .orbit-dot {
    background: var(--accent-tertiary);
    box-shadow: 0 0 15px var(--accent-tertiary);
    width: 7px;
    height: 7px;
    top: -3.5px;
}

/* Shield core */
.shield-core {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bg-primary);
    z-index: 10;
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.5);
    animation: corePulse 3s infinite ease-in-out;
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(0, 212, 170, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 80px rgba(0, 212, 170, 0.7); }
}

.shield-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: shieldPulse 2.5s ease-out infinite;
}

.shield-pulse.delay {
    animation-delay: 1.25s;
}

@keyframes shieldPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Threat indicators (blocked) */
.threat-indicators {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.threat-blocked {
    position: absolute;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 0.8rem;
    animation: threatFloat 4s ease-in-out infinite;
}

.threat-blocked.t1 {
    top: 8%;
    right: 5%;
    animation-delay: 0s;
}

.threat-blocked.t2 {
    bottom: 18%;
    right: 8%;
    animation-delay: 1.3s;
}

.threat-blocked.t3 {
    top: 30%;
    left: 2%;
    animation-delay: 2.6s;
}

@keyframes threatFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) scale(1.1); 
        opacity: 1;
    }
}

/* Success indicators (allowed) */
.success-indicators {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.success-check {
    position: absolute;
    width: 28px;
    height: 28px;
    background: rgba(0, 212, 170, 0.15);
    border: 2px solid rgba(0, 212, 170, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 0.75rem;
    animation: successPop 3s ease-in-out infinite;
}

.success-check.s1 {
    bottom: 12%;
    left: 12%;
    animation-delay: 0.5s;
}

.success-check.s2 {
    top: 12%;
    left: 22%;
    animation-delay: 2s;
}

@keyframes successPop {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.15); 
        opacity: 1;
    }
}

/* ===================================
   SCROLL INDICATOR
   =================================== */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.scroll-indicator a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: color var(--transition-normal);
}

.scroll-indicator a:hover {
    color: var(--accent-primary);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.5s infinite;
}

@keyframes wheelScroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1199.98px) {
    .shield-container {
        width: 280px;
        height: 280px;
    }
    
    .orbit-1 { width: 140px; height: 140px; }
    .orbit-2 { width: 200px; height: 200px; }
    .orbit-3 { width: 260px; height: 260px; }
    
    .shield-core {
        width: 85px;
        height: 85px;
        font-size: 2rem;
    }
    
    .shield-pulse {
        width: 85px;
        height: 85px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 10px;
    }
    
    .hero-section .row {
        min-height: auto;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-feature-item {
        text-align: left;
    }
    
    .hero-feature-item:hover {
        transform: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        min-height: 350px;
    }
    
    .shield-container {
        width: 260px;
        height: 260px;
    }
    
    .orbit-1 { width: 130px; height: 130px; }
    .orbit-2 { width: 185px; height: 185px; }
    .orbit-3 { width: 240px; height: 240px; }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        top: 20px;
        bottom: 60px;
    }
    
    .hero-features {
        padding: 1rem;
    }
    
    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hero-feature-item {
        padding: 0.6rem;
    }
    
    .hero-feature-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1rem;
    }
    
    .hero-feature-content strong {
        font-size: 0.9rem;
    }
    
    .hero-feature-content span {
        font-size: 0.78rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        min-height: 300px;
    }
    
    .shield-container {
        width: 220px;
        height: 220px;
    }
    
    .orbit-1 { width: 110px; height: 110px; }
    .orbit-2 { width: 155px; height: 155px; }
    .orbit-3 { width: 200px; height: 200px; }
    
    .shield-core {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .shield-pulse {
        width: 70px;
        height: 70px;
    }
    
    .threat-blocked {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
    }
    
    .success-check {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }
    
    .hero-features {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-feature-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .shield-container {
        width: 200px;
        height: 200px;
    }
    
    .orbit-1 { width: 100px; height: 100px; }
    .orbit-2 { width: 140px; height: 140px; }
    .orbit-3 { width: 180px; height: 180px; }
    
    .shield-core {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .shield-pulse {
        width: 60px;
        height: 60px;
    }
}

/* ===================================
   16:9 OPTIMIZATION
   =================================== */

@media (min-width: 1200px) and (max-height: 800px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features-grid {
        gap: 0.75rem;
    }
    
    .hero-feature-item {
        padding: 0.5rem;
    }
    
    .hero-feature-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1rem;
    }
    
    .hero-feature-content strong {
        font-size: 0.9rem;
    }
    
    .hero-feature-content span {
        font-size: 0.78rem;
    }
    
    .hero-buttons {
        margin-bottom: 1.5rem;
    }
    
    .hero-visual {
        min-height: 380px;
    }
    
    .shield-container {
        width: 280px;
        height: 280px;
    }
}

@media (min-width: 1400px) and (min-height: 900px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-features {
        padding: 1.5rem;
    }
    
    .hero-features-grid {
        gap: 1.25rem;
    }
    
    .hero-feature-item {
        padding: 0.85rem;
    }
    
    .hero-feature-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 1.25rem;
    }
    
    .hero-feature-content strong {
        font-size: 1rem;
    }
    
    .hero-feature-content span {
        font-size: 0.88rem;
    }
    
    .hero-visual {
        min-height: 500px;
    }
    
    .shield-container {
        width: 350px;
        height: 350px;
    }
    
    .orbit-1 { width: 175px; height: 175px; }
    .orbit-2 { width: 250px; height: 250px; }
    .orbit-3 { width: 330px; height: 330px; }
    
    .shield-core {
        width: 110px;
        height: 110px;
        font-size: 2.75rem;
    }
    
    .shield-pulse {
        width: 110px;
        height: 110px;
    }
}
/* ===================================
   SECTIONS GENERAL
   =================================== */

.section-padding {
    padding: 50px 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.diagram-hint {
    font-size: 0.875rem;
    color: var(--accent-primary);
    margin-top: 1rem;
    opacity: 0.8;
}

.diagram-hint i {
    margin-right: 0.5rem;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features-section {
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.feature-list {
    list-style: none;
    margin-top: auto;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.feature-list i {
    color: var(--accent-primary);
}

/* ===================================
   INTERACTIVE DIAGRAM - DESKTOP
   =================================== */

.how-it-works-section {
    background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.03), transparent);
    overflow: visible;
    position: relative;
    z-index: 10;
}

.architecture-diagram {
    margin: 3rem 0;
    padding: 2rem;
    position: relative;
    z-index: 1000;
}

.diagram-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 500px;
    z-index: 1000;
}

/* Diagram Nodes */
.diagram-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    z-index: 1010;
    transition: transform 0.1s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.diagram-node:active {
    cursor: grabbing;
}

.diagram-node.dragging {
    z-index: 2000 !important;
    box-shadow: 0 20px 60px rgba(0, 212, 170, 0.3);
    border-color: var(--accent-primary);
}

.diagram-node:hover {
    border-color: rgba(0, 212, 170, 0.5);
    box-shadow: 0 10px 40px rgba(0, 212, 170, 0.2);
}

/* Node positions */
.users-node {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.quantum-node {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem 2rem;
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
    z-index: 1020;
}

.resources-node {
    top: 20%;
    right: 0;
    transform: translateY(-50%);
}

.internet-node {
    top: 80%;
    right: 0;
    transform: translateY(-50%);
}

.node-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.quantum-node .node-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    animation: iconPulse 3s infinite ease-in-out;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 170, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 170, 0.6); }
}

.node-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.node-sublabel {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.node-glow {
    position: absolute;
    width: 300%;
    height: 300%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    animation: nodeGlowPulse 4s infinite ease-in-out;
}

@keyframes nodeGlowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.status-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Sub nodes */
.sub-nodes {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.75rem;
    max-width: 180px;
}

.sub-node {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    cursor: pointer;
}

.sub-node:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: scale(1.05);
}

.sub-node i {
    color: var(--accent-primary);
    font-size: 0.7rem;
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1005;
}

.connection-lines svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Line badges */
.line-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1015;
}

.line-badge {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 0.8rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.3);
    animation: badgePulse 3s infinite ease-in-out;
}

.line-badge:hover {
    transform: scale(1.2);
    background: rgba(0, 212, 170, 0.2);
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.5);
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 170, 0.2); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 170, 0.4); }
}

/* Threats Container - без обрезания */
.threats-container {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1015;
    transition: transform 0.1s ease;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.threats-blocked {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(10px);
    width: 100%;
    justify-content: center;
    overflow: visible;
}

.threat-icons {
    display: flex;
    gap: 0.5rem;
    overflow: visible;
}

.threat-icon {
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 0.75rem;
    animation: threatPulse 2s infinite ease-in-out;
    position: relative;
    flex-shrink: 0;
}

.threat-icon::after {
    content: '✕';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 14px;
    height: 14px;
    background: #ef4444;
    border-radius: 50%;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.threat-icon:nth-child(1) { animation-delay: 0s; }
.threat-icon:nth-child(2) { animation-delay: 0.3s; }
.threat-icon:nth-child(3) { animation-delay: 0.6s; }

@keyframes threatPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

.blocked-label {
    font-size: 0.7rem;
    color: #ef4444;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.falling-threats {
    position: absolute;
    top: 100%;
    left: 10%;
    width: 80%;
    height: 80px;
    overflow: visible;
    pointer-events: none;
}

.falling-threat {
    position: absolute;
    font-size: 1rem;
    color: #ef4444;
    opacity: 0;
    animation: threatFall 4s infinite ease-in;
}

@keyframes threatFall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    80% { opacity: 0.7; }
    100% { transform: translateY(80px) rotate(180deg); opacity: 0; }
}

/* ===================================
   MOBILE DIAGRAM
   =================================== */

.mobile-diagram {
    padding: 1rem 0;
}

.mobile-diagram-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 350px;
    margin: 0 auto;
}

.mobile-node {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    width: 100%;
    transition: all 0.3s ease;
}

.mobile-node:hover {
    border-color: rgba(0, 212, 170, 0.3);
}

.mobile-node-main {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
}

.mobile-node-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.mobile-node-content {
    flex: 1;
    text-align: left;
}

.mobile-node-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.mobile-node-sublabel {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mobile-sub-nodes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.mobile-sub-node {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-secondary);
}

.mobile-sub-node i {
    color: var(--accent-primary);
}

/* Mobile connectors */
.mobile-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    position: relative;
}

.connector-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    position: relative;
}

.connector-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--glass-bg);
    border: 1px solid var(--accent-primary);
    border-radius: 20px;
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    color: var(--accent-primary);
    margin: 0.5rem 0;
}

.connector-dots {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.connector-dots span {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: dotPulse 1.5s infinite;
}

.connector-dots span:nth-child(2) { animation-delay: 0.2s; }
.connector-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

.mobile-connector-split {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0.5rem 0;
    width: 100%;
}

.connector-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.connector-branch .connector-line {
    height: 30px;
}

.mobile-node-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.mobile-node-small {
    flex: 1;
    padding: 0.75rem;
}

.mobile-node-small .mobile-node-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
}

.mobile-node-small .mobile-node-label {
    font-size: 0.85rem;
}

.mobile-threats {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
    overflow: visible;
}

.mobile-threats .threats-blocked {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    overflow: visible;
}

.mobile-threats .threat-icons {
    gap: 0.4rem;
    overflow: visible;
}

.mobile-threats .threat-icon {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
}

.mobile-threats .threat-icon::after {
    width: 12px;
    height: 12px;
    font-size: 7px;
    top: -4px;
    right: -4px;
}

.mobile-threats .blocked-label {
    font-size: 0.65rem;
}


/* ===================================
   PROCESS STEPS
   =================================== */

.step-card {
    padding: 1.25rem;
    text-align: center;
    height: 100%;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
  /*   -webkit-text-fill-color: transparent; */
    background-clip: text;
    opacity: 0.9;
    line-height: 1;
}

.step-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.step-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===================================
   ADVANTAGES SECTION
   =================================== */

.advantages-section {
    position: relative;
    z-index: 1;
}

.advantage-card {
    padding: 1.25rem;
    height: 100%;
}

.advantage-card.large {
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.advantage-content {
    flex: 1;
}

.advantage-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.advantage-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.advantage-stats {
    display: flex;
    gap: 1.5rem;
}

.adv-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: block;
}

.adv-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.advantage-icon-sm {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--bg-primary);
    margin-bottom: 0.75rem;
}

.advantage-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.advantage-card > p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===================================
   TRUST SECTION
   =================================== */

.trust-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.trust-content {
    padding: 2rem;
}

.trust-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-content .lead {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.trust-numbers {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.trust-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: block;
}

.trust-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.cert-item {
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.cert-item i {
    font-size: 1rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.03), transparent);
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: 1.5rem;
    height: 100%;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}

.contact-text a,
.contact-text span {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-text a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    text-decoration: none;
}

/* Contact Form */
.contact-form-wrapper {
    padding: 1.5rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.char-counter {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 0.25rem;
}

.form-floating > label {
    color: var(--text-muted);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--accent-primary);
}

.form-check-input {
    background-color: var(--glass-bg);
    border-color: var(--glass-border);
}

.form-check-input:checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.form-check-label a {
    color: var(--accent-primary);
}

.invalid-feedback {
    font-size: 0.7rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-primary);
    margin: 0 auto 1rem;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.form-success h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    max-width: 280px;
}

.footer h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-divider {
    border-color: var(--glass-border);
    margin: 1.5rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.125rem;
    transition: color var(--transition-normal);
}

.footer-social a:hover {
    color: var(--accent-primary);
}

/* ===================================
   BACK TO TOP
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===================================
   TOOLTIPS
   =================================== */

.diagram-tooltip {
    position: fixed;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    font-size: 0.75rem;
    max-width: 220px;
    text-align: center;
    z-index: 10001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px) scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: normal;
    line-height: 1.4;
}

.diagram-tooltip.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.diagram-tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--bg-secondary);
}

.diagram-tooltip.tooltip-bottom::before {
    bottom: auto;
    top: -6px;
    border-top: none;
    border-bottom: 6px solid var(--bg-secondary);
}

/* ===================================
   MODAL
   =================================== */

/* .modal-content.glass-card {
    background: var(--bg-secondary);
} */

.modal-header {
    border-bottom-color: var(--glass-border);
}

.modal-footer {
    border-top-color: var(--glass-border);
}

.modal-body h6 {
    color: var(--accent-primary);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.modal-body h6:first-child {
    margin-top: 0;
}

.modal-body p,
.modal-body li {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===================================
   ANIMATIONS (AOS-like)
   =================================== */

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-down"] { transform: translateY(-30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 991.98px) {
    .hero-section {
        padding: 90px 0 60px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 0; /* Убираем отступ, т.к. визуал скрыт */
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-feature-item {
        text-align: left;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        margin-left: 0;
    }
    
    /* Скрываем анимацию щита на планшетах и мобильных */
    .hero-visual {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 85px 0 50px;
    }
    
    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem; /* Отступ между кнопками */
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Дополнительный отступ между кнопками */
    .hero-actions .glass-button {
        margin-top: 0.25rem;
    }
    
    .hero-stats {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    /* Щит скрыт */
    .hero-visual {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
    }
    
    .hero-feature-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 0.85rem;
    }
    
    .hero-feature-content strong {
        font-size: 0.8rem;
    }
    
    .hero-feature-content span {
        font-size: 0.7rem;
    }
    
    .hero-actions {
        gap: 0.6rem;
    }
    
    .hero-actions .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Щит скрыт */
    .hero-visual {
        display: none;
    }
}

/* ===================================
   REDUCED MOTION
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   STATISTICS SECTION
   =================================== */

.statistics-section {
    /* background: linear-gradient(180deg, transparent, rgba(239, 68, 68, 0.03), transparent);
    position: relative;
    overflow: hidden; */
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   /*  background: 
        radial-gradient(ellipse at 20% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%); */
    pointer-events: none;
}

/* Stat Cards */
.stat-card {
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.stat-card.danger::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.stat-card.warning::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.stat-card.alert::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.stat-card.critical::before {
    background: linear-gradient(90deg, #ec4899, #db2777);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card.danger .stat-card-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.stat-card.warning .stat-card-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.stat-card.alert .stat-card-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.stat-card.critical .stat-card-icon {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.stat-card-value {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-card.danger .stat-card-value {
    color: #ef4444;
}

.stat-card.warning .stat-card-value {
    color: #f59e0b;
}

.stat-card.alert .stat-card-value {
    color: #8b5cf6;
}

.stat-card.critical .stat-card-value {
    color: #ec4899;
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Threats Table */
.threats-table-wrapper {
    position: relative;
}

.table-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(239, 68, 68, 0.05);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.table-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.table-header h3 i {
    color: #ef4444;
}

.threats-table {
    width: 100%;
    border-collapse: collapse;
}

.threats-table thead {
    background: var(--glass-bg);
}

.threats-table thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    white-space: nowrap;
}

.threats-table thead th i {
    color: var(--accent-primary);
}

.threats-table tbody tr {
    transition: background 0.2s ease;
}

.threats-table tbody tr:hover {
    background: rgba(0, 212, 170, 0.03);
}

.threats-table tbody td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--glass-border);
    vertical-align: top;
}

.threats-table tbody tr:last-child td {
    border-bottom: none;
}

.threat-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.threat-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.threat-icon.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.threat-icon.danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.threat-icon.critical {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

.threat-icon.alert {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.threat-icon.phishing {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.threat-name span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.threats-table tbody td p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.loss-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loss-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ef4444;
    width: fit-content;
}

/* Statistics CTA */
.statistics-cta {
    padding: 2rem;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .stat-card-value {
        font-size: 1.5rem;
    }
    
    .stat-card-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .threats-table thead {
        display: none;
    }
    
    .threats-table tbody tr {
        display: block;
        padding: 1rem 1.25rem;
        margin-bottom: 0;
        border: none;
        border-bottom: 1px solid var(--glass-border);
        border-radius: 0;
        background: transparent;
    }
    
    .threats-table tbody tr:last-child {
        border-bottom: none;
    }
    
    .threats-table tbody tr:hover {
        background: transparent;
    }
    
    .threats-table tbody td {
        display: block;
        padding: 0.5rem 0;
        border-bottom: none;
    }
    
    .threats-table tbody td:first-child {
        padding-bottom: 0.75rem;
        border-bottom: none;
        margin-bottom: 0.5rem;
    }
    
    .threats-table tbody td:before {
        content: attr(data-label);
        display: block;
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--text-muted);
        margin-bottom: 0.35rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .threat-name {
        flex-direction: row;
    }
    
    .loss-badge {
        background: transparent;
        border: 1px solid rgba(239, 68, 68, 0.4);
        padding: 0.25rem 0.6rem;
    }
}

@media (max-width: 575.98px) {
    .table-header {
        padding: 1rem;
    }
    
    .table-header h3 {
        font-size: 1rem;
    }
    
    .statistics-cta {
        padding: 1.5rem 1rem;
    }
}
/* ===================================
   PRICING SECTION - COMPACT VERSION
   =================================== */

.section-padding-compact {
    padding: 3rem 0;
}

.pricing-section {
    background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.03), transparent);
    position: relative;
}

.pricing-section .section-header {
    margin-bottom: 1.5rem;
}

.pricing-section .section-title {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.pricing-compact {
    margin-top: 1rem;
}

/* ===================================
   SECTION GROUPS
   =================================== */

.pricing-section-group {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.required-group {
    border-color: rgba(0, 212, 170, 0.2);
    background: rgba(0, 212, 170, 0.02);
}

.optional-group {
    border-style: dashed;
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.02);
    padding: 0.75rem 1.25rem;
}

.section-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.optional-group .section-group-header {
    margin-bottom: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.collapse-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.optional-group .section-group-header[aria-expanded="false"] .collapse-icon {
    transform: rotate(-90deg);
}

.group-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

.group-badge.required {
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.group-badge.optional {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.group-badge i {
    font-size: 0.8rem;
}

.group-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ===================================
   PRICING ROW
   =================================== */

.pricing-row {
    margin-bottom: 1rem;
}

.pricing-row:last-child {
    margin-bottom: 0;
}

.pricing-row-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.row-number {
    width: 22px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.row-number.optional-number {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1;
}

.row-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===================================
   TARIFF SELECTOR - UPDATED
   =================================== */

.tariff-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tariff-option {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tariff-option:hover {
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-2px);
}

.tariff-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tariff-option.selected {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.08);
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.15);
}

.tariff-option.popular {
    border-color: rgba(0, 212, 170, 0.3);
}

/* ===================================
   TARIFF SELECTOR - FIXED
   =================================== */

.tariff-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start; /* Карточки не растягиваются по высоте */
}

/* ===================================
   TARIFF OPTION LAYOUT
   =================================== */

.tariff-option {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    cursor: default;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tariff-option.selected {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.08);
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.15);
}

.tariff-option.popular {
    border-color: rgba(0, 212, 170, 0.3);
}

.tariff-option-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ===================================
   TARIFF DETAILS - НЕ ВЛИЯЕТ НА КНОПКУ
   =================================== */

.tariff-option-body {
    /* Не используем flex-grow, чтобы кнопка была сразу после body */
}

.tariff-details-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 6px;
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
    align-self: flex-start;
}

.tariff-details-toggle:hover {
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.4);
}

.tariff-details-toggle i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.tariff-details-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Details Content */
.tariff-details-content {
    display: none;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--glass-border);
    animation: slideDown 0.3s ease;
}

.tariff-details-content.show {
    display: block;
}
/* ===================================
   TARIFF OPTION - FIXED POINTER EVENTS
   =================================== */

.tariff-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
}

.tariff-option {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    cursor: default;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    /* pointer-events должен быть auto (по умолчанию) */
}

.tariff-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tariff-option.selected {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.08);
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.15);
}

.tariff-option.popular {
    border-color: rgba(0, 212, 170, 0.3);
}

.tariff-option-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    /* БЕЗ pointer-events: none !!! */
}

/* ===================================
   TARIFF SELECT BUTTON
   =================================== */

.tariff-select-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    /* ВАЖНО: кнопка должна быть кликабельной */
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.tariff-select-btn:hover {
    background: rgba(0, 212, 170, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.2);
}

.tariff-select-btn .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tariff-select-btn .btn-selected {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.tariff-select-btn .btn-selected i {
    font-size: 1.1rem;
}

/* Выбранное состояние */
.tariff-option.selected .tariff-select-btn {
    background: var(--gradient-primary);
 
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.tariff-option.selected .tariff-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 170, 0.4);
}

.tariff-option.selected .tariff-select-btn .btn-text {
    display: none;
}

.tariff-option.selected .tariff-select-btn .btn-selected {
    display: inline-flex;
}



/* ===================================
   TARIFF DETAILS TOGGLE
   =================================== */

.tariff-details-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 6px;
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
    align-self: flex-start;
    /* ВАЖНО */
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.tariff-details-toggle:hover {
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.4);
}

.tariff-details-toggle i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.tariff-details-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Details Content */
.tariff-details-content {
    display: none;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--glass-border);
}

.tariff-details-content.show {
    display: block;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1200px) {
    .tariff-selector {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tariff-select-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 1;
}

/* Tariff Check */
.tariff-check {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.tariff-option.selected .tariff-check {
    opacity: 1;
    transform: scale(1);
}

/* Tariff Option Header */
.tariff-option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border);
}

.tariff-option-title {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 3.5rem; /* Фиксированная минимальная высота */
}

.tariff-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tariff-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    line-height: 1.3;
    /* Ограничиваем двумя строками */
    display: block;
       min-height: 4em; /* Минимум 2 строки */
}

.tariff-sla {
    font-size: 0.7rem;
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tariff-sla i {
    font-size: 0.65rem;
}

.tariff-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-align: right;
    white-space: nowrap; 
}

.tariff-price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Tariff Specs - bandwidth & users */
.tariff-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 212, 170, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 170, 0.1);
}

.spec-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.spec-item i {
    color: var(--accent-primary);
    font-size: 0.85rem;
}

.tariff-option.selected .tariff-specs {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.2);
}

/* Tariff Option Body */
.tariff-option-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tariff-option-body .tariff-features-list {
    margin-bottom: auto;
}

/* Tariff Features List */
.tariff-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tariff-features-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.tariff-features-list i {
    color: var(--accent-primary);
    font-size: 0.7rem;
}

/* Details Toggle Button */
.tariff-details-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: none;
    color: var(--accent-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.tariff-details-toggle:hover {
    color: var(--accent-primary);
}

.tariff-details-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.tariff-details-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Details Content */
.tariff-details-content {
    display: none;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--glass-border);
    animation: slideDown 0.3s ease;
}

.tariff-details-content.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tariff-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.detail-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(0, 212, 170, 0.3);
}

.detail-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.detail-item-inherit {
    border-left-color: var(--accent-secondary);
    color: var(--accent-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.detail-item-inherit i {
    font-size: 0.7rem;
}

/* Service Note - Highlighted */
.tariff-service-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(0, 212, 170, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
}

.tariff-service-note i {
    color: #a78bfa;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tariff-service-note span {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

/* ===================================
   COMPACT OPTIONS (VPN)
   =================================== */

.option-selector {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
}

.compact-option {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.5rem 0.35rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.compact-option:hover {
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-2px);
}

.compact-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.compact-option.selected {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.1);
}

.compact-option.custom {
    border-style: dashed;
}

.compact-option-check {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 0.55rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.compact-option.selected .compact-option-check {
    opacity: 1;
    transform: scale(1);
}

.option-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.option-price {
    font-size: 0.7rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.option-sub {
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* Optional Group Options */
.optional-group .compact-option {
    border-style: dashed;
    opacity: 0.9;
}

.optional-group .compact-option:hover {
    opacity: 1;
    border-style: solid;
}

.optional-group .compact-option.selected {
    border-style: solid;
    opacity: 1;
    border-color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
}

.optional-group .compact-option.selected .compact-option-check {
    background: #8b5cf6;
}

/* ===================================
   PERIOD SELECTOR
   =================================== */

.period-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.period-option {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.period-option:hover {
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-2px);
}

.period-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.period-option.selected,
.period-option:has(input:checked) {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.08);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.period-option.recommended {
    border-color: rgba(0, 212, 170, 0.4);
}

.period-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.period-option-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.period-duration {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.period-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.period-discount {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.period-discount.best {
    color: var(--accent-primary);
    font-size: 0.95rem;
}

/* Period Check Animation */
.period-option::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.period-option.selected::after,
.period-option:has(input:checked)::after {
    opacity: 1;
    transform: scale(1);
    content: '✓';
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   SUMMARY BAR - COMPACT
   =================================== */

.pricing-summary-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 212, 170, 0.05);
    border-color: rgba(0, 212, 170, 0.25);
    border-radius: var(--border-radius);
}

.summary-config-inline {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.config-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.config-tag i {
    font-size: 0.7rem;
    color: var(--accent-primary);
}

.config-tag.has-value {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
    color: var(--text-primary);
}

.config-tag.optional-tag {
    border-color: rgba(139, 92, 246, 0.3);
}

.config-tag.optional-tag i {
    color: #a78bfa;
}

.config-tag.optional-tag.has-value {
    background: rgba(139, 92, 246, 0.1);
}

.summary-price-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.price-info {
    text-align: right;
}

.old-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
}

.current-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-price #totalPrice {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
}

.monthly-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.savings-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.savings-inline i {
    color: var(--accent-primary);
}

.savings-inline strong {
    color: var(--accent-primary);
}

.btn-order {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

/* ===================================
   MODAL ORDER SUMMARY - UPDATED
   =================================== */

.modal-order-summary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.mos-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 1rem;
}

.mos-row:last-child {
    border-bottom: none;
}

.mos-row > span:first-child {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mos-row > span:last-child {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
}

.mos-total {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 212, 170, 0.2);
}

.mos-total > span:last-child {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.modal-price-comparison {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}

.modal-old-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.modal-current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.mos-monthly {
    border-bottom: none;
    padding-top: 0;
    padding-bottom: 0;
}

.mos-monthly-price {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

.mos-vpn {
    opacity: 0.7;
}

.mos-vpn.has-value {
    opacity: 1;
}

/* ===================================
   RESPONSIVE - PRICING
   =================================== */

@media (max-width: 1200px) {
    .tariff-selector {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tariff-option {
        padding: 1rem;
    }
    
    .tariff-specs {
        flex-direction: row;
    }
    
    .option-selector {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .pricing-summary-bar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .summary-config-inline {
        width: 100%;
    }
    
    .summary-price-block {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-order {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tariff-option-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tariff-price {
        text-align: left;
    }
    
    .tariff-specs {
        flex-direction: column;
        gap: 0.35rem;
    }
    
    .tariff-service-note {
        flex-direction: column;
        text-align: center;
    }
    
    .tariff-service-note i {
        align-self: center;
    }
    
    .period-selector {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .period-option {
        padding: 0.75rem 1rem;
    }
    
    .option-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .section-padding-compact {
        padding: 2rem 0;
    }
    
    .pricing-section-group {
        padding: 0.75rem 1rem;
    }
    
    .summary-price-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .price-info {
        text-align: left;
    }
}

/* ===================================
   BADGE FIXES FOR MOBILE
   =================================== */

/* Fix badge overlap on mobile */
.popular-badge,
.period-badge {
    z-index: 2;
}

.tariff-option {
    overflow: visible;
    margin-top: 12px; /* Space for badge */
}

.period-option {
    overflow: visible;
    margin-top: 12px; /* Space for badge */
}

.period-option.recommended {
    margin-top: 12px;
}

/* ===================================
   RESPONSIVE FIXES
   =================================== */

@media (max-width: 1200px) {
    .tariff-selector {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .tariff-option {
        margin-top: 14px;
    }
}

@media (max-width: 768px) {
    .tariff-selector {
        gap: 1.5rem;
    }
    
    .tariff-option {
        margin-top: 16px;
    }
    
    .popular-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
        top: -12px;
    }
    
    .period-selector {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .period-option {
        margin-top: 14px;
        padding: 0.85rem 1rem;
    }
    
    .period-option.recommended {
        margin-top: 14px;
    }
    
    .period-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
        top: -12px;
    }
}

@media (max-width: 576px) {
    .tariff-option {
        margin-top: 18px;
    }
    
    .period-option {
        margin-top: 16px;
    }
}

/* ===================================
   TARIFF CARD CLICKABLE AREA FIX
   =================================== */

.tariff-option {
    position: relative;
    cursor: pointer;
}

.tariff-option-content {
    pointer-events: none;
}

.tariff-details-toggle {
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

.tariff-details-content {
    pointer-events: auto;
}

.tariff-details-content a,
.tariff-details-content button {
    pointer-events: auto;
}

/* ===================================
   DETAILS TOGGLE BUTTON STYLE
   =================================== */

.tariff-details-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 6px;
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
}

.tariff-details-toggle:hover {
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.4);
}

.tariff-details-toggle i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.tariff-details-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* ===================================
   VPN SELECTOR SPACING
   =================================== */

.optional-group .pricing-row {
    padding-top: 0.75rem;
}
/* ===================================
   FLOATING CTA BUTTON
   =================================== */

.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 
        0 4px 20px rgba(0, 212, 170, 0.4),
        0 0 40px rgba(0, 212, 170, 0.2);
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cta.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.floating-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(0, 212, 170, 0.5),
        0 0 50px rgba(0, 212, 170, 0.3);
    color: var(--bg-primary);
}

.floating-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1rem;
}

.floating-cta-text {
    letter-spacing: 0.3px;
}

.floating-cta-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: var(--gradient-primary);
    animation: floatingPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes floatingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Hide when at pricing section */
.floating-cta.at-pricing {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

/* ===================================
   ORDER MODAL
   =================================== */

#orderModal .modal-dialog {
    max-width: 600px;
}

#orderModal .modal-content {
    padding: 0.5rem;
}

.modal-order-summary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.mos-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    gap: 1rem;
}

.mos-row span:first-child {
    flex-shrink: 0;
    white-space: nowrap;
}

.mos-row span:last-child {
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

.mos-row.mos-total {
    border-top: 1px solid var(--glass-border);
    margin-top: 0.5rem;
    padding-top: 0.6rem;
}

.mos-row.mos-total span:last-child {
    font-size: 1.15rem;
    color: var(--accent-primary);
}

.modal-price-comparison {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.modal-old-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.modal-savings {
    font-size: 0.7rem;
    color: var(--accent-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.modal-current-price {
    font-size: 1.15rem;
    color: var(--accent-primary);
    font-weight: 700;
}

.order-form {
    padding-top: 0.5rem;
}

/* ===================================
   RESPONSIVE - PRICING
   =================================== */

@media (max-width: 1199.98px) {
    .pricing-row-dual {
        grid-template-columns: 1fr 240px;
    }
    
    .option-selector {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .section-padding-compact {
        padding: 2.5rem 0;
    }
    
    .pricing-row-dual {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tariff-selector {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .tariff-option {
        padding: 0.75rem 1rem;
    }
    
    .tariff-option-header {
        margin-bottom: 0.4rem;
        padding-bottom: 0.4rem;
    }
    
    .option-selector {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .period-selector {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .period-option {
        flex: 1;
        flex-direction: column;
        text-align: center;
        padding: 0.5rem;
    }
    
    .period-option::after {
        top: 4px;
        right: 4px;
    }
    
    .pricing-summary-bar {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }
    
    .summary-config-inline {
        width: 100%;
        justify-content: center;
    }
    
    .summary-price-block {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .price-info {
        text-align: center;
    }
    
    .btn-order {
        width: 100%;
        justify-content: center;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .section-group-header {
        flex-wrap: wrap;
    }
    
    .option-selector {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .current-price #totalPrice {
        font-size: 1.35rem;
    }
    
    .savings-inline {
        width: 100%;
        justify-content: center;
    }
    
    .floating-cta-text {
        display: none;
    }
    
    .floating-cta {
        padding: 1rem;
        border-radius: 50%;
    }
    
    .floating-cta-icon {
        width: 24px;
        height: 24px;
        background: none;
    }
}

@media (max-width: 575.98px) {
    .section-padding-compact {
        padding: 2rem 0;
    }
    
    .pricing-section-group {
        padding: 0.85rem 1rem;
    }
    
    .pricing-section .section-title {
        font-size: 1.4rem;
    }
    
    .tariff-option-header {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .tariff-price {
        text-align: left;
    }
    
    .option-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .config-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    #orderModal .modal-dialog {
        max-width: calc(100% - 1rem);
        margin: 0.5rem;
    }
    
    .floating-cta {
        bottom: 15px;
        right: 15px;
    }
}

/* ===================================
   HIDE FLOATING CTA WHEN BACK-TO-TOP VISIBLE
   (Optional - prevents overlap)
   =================================== */

#backToTop.visible ~ .floating-cta,
.floating-cta.has-back-to-top {
    bottom: 90px;
}

@media (max-width: 767.98px) {
    #backToTop.visible ~ .floating-cta,
    .floating-cta.has-back-to-top {
        bottom: 80px;
    }
}
/* ===================================
   CONNECTION PLAN SECTION
   =================================== */

.connection-plan-section {
    background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.02), transparent);
    position: relative;
    overflow: hidden;
}

/* Timeline Container */
.connection-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

/* Animated Line */
.timeline-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--glass-border);
    border-radius: 3px;
    z-index: 1;
    overflow: hidden;
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 1.5s ease-out;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.5);
}

.connection-timeline.animated .timeline-line-progress {
    width: 100%;
}

/* Timeline Step */
.timeline-step {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.connection-timeline.animated .timeline-step {
    opacity: 1;
    transform: translateY(0);
}

.connection-timeline.animated .timeline-step[data-step="1"] { transition-delay: 0.2s; }
.connection-timeline.animated .timeline-step[data-step="2"] { transition-delay: 0.5s; }
.connection-timeline.animated .timeline-step[data-step="3"] { transition-delay: 0.8s; }
.connection-timeline.animated .timeline-step[data-step="4"] { transition-delay: 1.1s; }

/* Step Connector (Dot) */
.step-connector {
    position: relative;
    margin-bottom: 1.5rem;
}

.step-dot {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 3px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
}

.step-dot span {
    position: relative;
    z-index: 2;
}

.connection-timeline.animated .step-dot {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--bg-primary);
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.4);
}

/* Pulsing effect */
.dot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0;
    z-index: 1;
}

.connection-timeline.animated .dot-pulse {
    animation: dotPulseAnim 2s infinite ease-out;
}

.connection-timeline.animated .timeline-step[data-step="1"] .dot-pulse { animation-delay: 0s; }
.connection-timeline.animated .timeline-step[data-step="2"] .dot-pulse { animation-delay: 0.5s; }
.connection-timeline.animated .timeline-step[data-step="3"] .dot-pulse { animation-delay: 1s; }
.connection-timeline.animated .timeline-step[data-step="4"] .dot-pulse { animation-delay: 1.5s; }

@keyframes dotPulseAnim {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Step Content Card */
.timeline-step .step-content {
    padding: 1.5rem;
    text-align: center;
    max-width: 220px;
    transition: all 0.3s ease;
}

.timeline-step .step-content:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.15);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.timeline-step .step-content:hover .step-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--bg-primary);
    transform: scale(1.1) rotate(5deg);
}

.timeline-step .step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-step .step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Step Time Badge */
.step-time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-secondary);
}

.step-time i {
    font-size: 0.7rem;
}

/* Step 4 Special Badge */
.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 212, 170, 0.15);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 600;
}

/* Connection CTA */
.connection-cta {
    margin-top: 4rem;
}

.connection-cta .cta-content {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 3rem;
    background: rgba(0, 212, 170, 0.05);
    border-color: rgba(0, 212, 170, 0.2);
}

.connection-cta .cta-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-primary);
    margin-bottom: 1rem;
    animation: ctaIconPulse 2s infinite ease-in-out;
}

@keyframes ctaIconPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 50px rgba(0, 212, 170, 0.5);
    }
}

.connection-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.connection-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ===================================
   CONNECTION PLAN SECTION
   =================================== */

.connection-plan-section {
    background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.02), transparent);
    position: relative;
}

/* Steps Grid */
.cp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

/* Single Step */
.cp-step {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.cp-step:hover {
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 10px 40px rgba(0, 212, 170, 0.1);
}

.cp-step.cp-final {
    background: rgba(0, 212, 170, 0.05);
    border-color: rgba(0, 212, 170, 0.2);
}

/* Step Header */
.cp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Step Number */
.cp-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Step Icon */
.cp-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Step Body */
.cp-body {
    flex: 1;
    margin-bottom: 1.25rem;
}

.cp-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cp-body p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Step Footer */
.cp-footer {
    margin-top: auto;
}

.cp-time,
.cp-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cp-time i,
.cp-status i {
    font-size: 0.875rem;
    color: var(--accent-secondary);
}

.cp-status {
    color: var(--accent-primary);
    font-weight: 600;
}

.cp-status i {
    color: var(--accent-primary);
}

/* Step Arrow */
.cp-arrow {
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 0.875rem;
    z-index: 10;
}

.cp-step.cp-final .cp-arrow {
    display: none;
}

/* Total Time Block */
.cp-total {
    margin-top: 3rem;
}

.cp-total-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
}

.cp-total-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
}

.cp-total-text {
    display: flex;
    flex-direction: column;
}

.cp-total-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cp-total-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

/* ===================================
   CONNECTION PLAN - RESPONSIVE
   =================================== */

@media (max-width: 1199.98px) {
    .cp-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .cp-arrow {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .cp-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cp-step {
        padding: 1.25rem;
    }

    .cp-header {
        margin-bottom: 1.25rem;
    }

    .cp-number {
        font-size: 2rem;
    }

    .cp-icon {
        font-size: 1.75rem;
    }

    .cp-body {
        margin-bottom: 1rem;
    }

    .cp-body h3 {
        font-size: 1rem;
    }

    .cp-body p {
        font-size: 0.8rem;
    }

    .cp-total-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .cp-total-text {
        align-items: center;
    }

    .cp-total-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .cp-step {
        padding: 1rem;
    }

    .cp-number {
        font-size: 1.75rem;
    }

    .cp-icon {
        font-size: 1.5rem;
    }
}

/* ===================================
   FOOTER REQUISITES
   =================================== */

.footer-requisites {
    padding: 1.5rem 0;
}

.requisites-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requisites-company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.requisites-company i {
    color: var(--accent-primary);
    font-size: 1.125rem;
}

.requisites-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.requisites-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.requisites-item i {
    color: var(--accent-primary);
    font-size: 0.875rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.requisites-item:first-child {
    flex-basis: 100%;
}

@media (max-width: 767.98px) {
    .requisites-details {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .requisites-company {
        font-size: 0.85rem;
    }
    
    .requisites-company i {
        font-size: 1rem;
    }
    
    .requisites-item {
        font-size: 0.75rem;
    }
}

/* ===================================
   SAFARI iOS FIXES
   =================================== */

/* Fix for Safari backdrop-filter */
@supports (-webkit-touch-callout: none) {
    .glass-card,
    .glass-button,
    .glass-nav,
    .tariff-card,
    .option-card,
    .calculator-summary {
        -webkit-backdrop-filter: blur(var(--blur-amount));
    }
    
    /* Ensure pricing cards are visible */
    .pricing-calculator {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .tariff-cards,
    .options-grid {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Force GPU acceleration for Safari */
.tariff-card,
.option-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Scroll Indicator - Hide on Scroll */
.scroll-indicator {
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    visibility: hidden;
    pointer-events: none;
}

/* ===================================
   SUCCESS TOAST
   =================================== */

.success-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.success-toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-primary);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 212, 170, 0.3);
    max-width: 90vw;
}

.success-toast-content i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.success-toast-content span {
    color: var(--text-primary);
    font-weight: 500;
}

.success-toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
}

.success-toast-close:hover {
    color: var(--text-primary);
}

@media (max-width: 576px) {
    .success-toast {
        top: 80px;
        left: 1rem;
        right: 1rem;
        transform: translateY(-20px);
    }
    
    .success-toast.show {
        transform: translateY(0);
    }
    
    .success-toast-content {
        padding: 0.875rem 1rem;
    }
}

/* ===================================
   CONTACT FORM SUCCESS
   =================================== */

.form-success {
    text-align: center;
    padding: 2rem 1rem;
}

.form-success .success-icon {
    font-size: 4rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    animation: successPulse 2s ease infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.form-success h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.form-success-timer {
    opacity: 0.7;
}

.form-success-timer span {
    font-weight: 600;
    color: var(--accent-primary);
}



/* ===================================
   DOCUMENTS SECTION
   =================================== */

.documents-section {
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.02), transparent);
    position: relative;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

/* Document Card */
.document-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.document-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-4px);
    box-shadow: 
        0 15px 40px rgba(0, 212, 170, 0.1),
        0 0 0 1px rgba(0, 212, 170, 0.1);
    color: var(--text-primary);
}

.document-card:hover::before {
    opacity: 1;
}

/* Document Icon */
.document-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.document-card:hover .document-icon {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
    transform: scale(1.05);
}

/* Document Content */
.document-content {
    flex: 1;
    min-width: 0;
}

.document-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.document-description {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Document Action */
.document-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.document-format {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.document-action i {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.document-card:hover .document-action i {
    color: var(--accent-primary);
    transform: translateY(2px);
}

/* Documents Note */
.documents-note {
    margin-top: 2rem;
}

.documents-note p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.documents-note a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.documents-note a:hover {
    opacity: 0.8;
}

/* ===================================
   DOCUMENTS - RESPONSIVE
   =================================== */

@media (max-width: 1199.98px) {
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .document-card {
        padding: 1rem 1.25rem;
    }
    
    .document-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.2rem;
    }
    
    .document-title {
        font-size: 0.9rem;
    }
    
    .document-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .document-card {
        padding: 0.85rem 1rem;
        gap: 0.75rem;
    }
    
    .document-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
    }
    
    .document-action {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Бейдж для HTML документов */
.document-format.html {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-primary);
}

/* ===================================
   POLICY MODALS - ОБЩИЕ СТИЛИ
   Для Privacy Policy и Cookie Policy
   =================================== */

/* Modal Card */
.modal-card {
    background: var(--bg-secondary);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
}

/* Заголовок модального окна */
#cookieModal .modal-title,
#privacyModal .modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

#cookieModal .modal-title i,
#privacyModal .modal-title i {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

/* Контейнер контента */
.privacy-policy-content,
.cookie-policy-content {
    font-size: 0.9rem;
    line-height: 1.6;
}

.privacy-policy-content a,
.cookie-policy-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.privacy-policy-content a:hover,
.cookie-policy-content a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* ===================================
   POLICY HEADER - ШАПКА ДОКУМЕНТА
   =================================== */

.policy-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.policy-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.3rem 0.6rem;
    background: var(--glass-bg);
    border-radius: 6px;
}

.policy-meta i {
    color: var(--accent-primary);
}

.policy-for {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.policy-for strong {
    color: var(--accent-primary);
}

/* ===================================
   POLICY OWNER - ПРАВООБЛАДАТЕЛЬ
   =================================== */

.policy-owner {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.policy-owner-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.policy-owner-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.policy-owner-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ===================================
   POLICY INTRO - ВВЕДЕНИЕ
   =================================== */

.policy-intro {
    border-left: 4px solid var(--accent-primary);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0 !important;
    padding: 1rem !important;
    margin-bottom: 1.5rem;
}

.policy-intro p {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.policy-intro p:last-child {
    margin-bottom: 0;
}

.policy-intro-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ===================================
   POLICY SECTIONS - РАЗДЕЛЫ
   =================================== */

.policy-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.policy-section:last-of-type {
    border-bottom: none;
}

.policy-section h6 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-num {
    color: var(--accent-primary);
    font-weight: 700;
}

.policy-section > p {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===================================
   TERMS LIST - СПИСОК ТЕРМИНОВ
   =================================== */

.terms-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.term-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.term-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-secondary);
    min-width: 28px;
}

.term-content {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.term-content strong {
    color: var(--text-primary);
}

.term-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.65rem;
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid var(--accent-secondary);
    border-radius: 0 6px 6px 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.term-note i {
    color: var(--accent-secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===================================
   POLICY POINTS - ПУНКТЫ ПОЛИТИКИ
   =================================== */

.policy-points {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.policy-point {
    display: flex;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.point-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-secondary);
    min-width: 28px;
}

.policy-point p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===================================
   CONSENT - БЛОКИ СОГЛАСИЯ
   =================================== */

/* Выделение согласия (Privacy Policy) */
.consent-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 10px;
}

.consent-highlight i {
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.consent-highlight p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Блок согласия с иконкой (Cookie Policy) */
.consent-info {
    display: flex;
    gap: 1rem;
    padding: 1rem !important;
    margin-bottom: 1.5rem;
}

.consent-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consent-info-icon i {
    font-size: 1.5rem;
    color: var(--bg-primary);
}

.consent-info-text p {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.consent-info-text p:last-child {
    margin-bottom: 0;
}

/* ===================================
   PURPOSES & CONDITIONS - СПИСКИ
   =================================== */

.purposes-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.purpose-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.purpose-item i {
    color: var(--accent-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.conditions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.condition-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.condition-item i {
    color: var(--accent-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===================================
   DEFINITION CARD - ОПРЕДЕЛЕНИЕ
   =================================== */

.definition-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: 12px;
}

.definition-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--bg-primary);
}

.definition-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.definition-text strong {
    color: var(--text-primary);
}

/* ===================================
   ALERTS - ИНФОРМАЦИОННЫЕ БЛОКИ
   =================================== */

.info-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    margin-top: 1rem;
}

.info-alert > i {
    color: var(--accent-secondary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-alert p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.info-alert strong {
    color: var(--text-primary);
}

.warning-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    margin-top: 1rem;
}

.warning-alert > i {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.warning-alert p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===================================
   LEGAL NOTE - ПРАВОВАЯ ЗАМЕТКА
   =================================== */

.legal-note {
    display: flex;
    gap: 1rem;
    padding: 1rem !important;
}

.legal-note-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-primary);
}

.legal-note-text p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.legal-note-text p:last-child {
    margin-bottom: 0;
}

.legal-note-text strong {
    color: var(--text-primary);
}

/* ===================================
   THIRD PARTY CARD - ТРЕТЬЯ СТОРОНА
   =================================== */

.third-party-card {
    padding: 0 !important;
    overflow: hidden;
    margin-top: 1rem;
}

.third-party-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

.third-party-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.third-party-title {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.third-party-title strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.third-party-title span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.third-party-body {
    padding: 1rem;
}

.third-party-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.third-party-body p:last-child {
    margin-bottom: 0;
}

.third-party-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding: 0.75rem;
    background: var(--glass-bg);
    border-radius: 8px;
    margin-top: 0.75rem;
}

.third-party-details .detail-row {
    display: flex;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.third-party-details .detail-label {
    color: var(--text-muted);
}

.third-party-details .detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===================================
   COOKIE TYPES - ТИПЫ COOKIES
   =================================== */

.cookie-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.cookie-type-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.cookie-type-card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-type-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.cookie-type-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.cookie-type-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.cookie-type-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cookie-type-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cookie-type-body {
    padding: 1rem;
}

.cookie-type-body p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.cookie-type-body p:last-child {
    margin-bottom: 0;
}

.cookie-type-body strong {
    color: var(--text-primary);
}

.cookie-type-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Cookie Type Colors - Essential */
.cookie-type-header.essential {
    background: rgba(0, 212, 170, 0.08);
}

.cookie-type-header.essential .cookie-type-icon {
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-primary);
}

.cookie-type-tag.essential {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-primary);
}

/* Cookie Type Colors - Session */
.cookie-type-header.session {
    background: rgba(59, 130, 246, 0.08);
}

.cookie-type-header.session .cookie-type-icon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-secondary);
}

/* Cookie Type Colors - Persistent */
.cookie-type-header.persistent {
    background: rgba(139, 92, 246, 0.08);
}

.cookie-type-header.persistent .cookie-type-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

/* Cookie Type Colors - Analytics */
.cookie-type-header.analytics {
    background: rgba(245, 158, 11, 0.08);
}

.cookie-type-header.analytics .cookie-type-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

/* ===================================
   CONTACTS - КОНТАКТЫ
   =================================== */

.support-contacts {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.support-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--accent-primary);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 6px;
    transition: all var(--transition-normal);
}

.support-contacts a:hover {
    background: rgba(0, 212, 170, 0.2);
    text-decoration: none;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.contact-method:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    text-decoration: none;
}

.contact-method i {
    color: var(--accent-primary);
}

/* ===================================
   COMPANY INFO - ИНФОРМАЦИЯ О КОМПАНИИ
   =================================== */

.company-info {
    padding: 1.25rem !important;
}

.company-name {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.company-name i {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.company-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.company-detail {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.company-detail:last-child {
    grid-column: 1 / -1;
}

.detail-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.detail-value a {
    color: var(--accent-primary);
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

/* ===================================
   POLICY DATE - ДАТА ПУБЛИКАЦИИ
   =================================== */

.policy-date {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    margin-top: 1rem;
    background: var(--glass-bg);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.policy-date i {
    color: var(--accent-primary);
}

/* ===================================
   LIGHT THEME
   =================================== */

[data-bs-theme="light"] .cookie-type-card {
    background: rgba(0, 0, 0, 0.02);
}

[data-bs-theme="light"] .cookie-type-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .definition-card {
    background: rgba(0, 212, 170, 0.04);
}

[data-bs-theme="light"] .consent-info-icon,
[data-bs-theme="light"] .definition-icon {
    background: var(--gradient-primary);
}

[data-bs-theme="light"] .consent-info-icon i,
[data-bs-theme="light"] .definition-icon i {
    color: #ffffff;
}

[data-bs-theme="light"] .third-party-header {
    background: rgba(139, 92, 246, 0.04);
}

[data-bs-theme="light"] .policy-intro {
    background: rgba(0, 212, 170, 0.04);
}

[data-bs-theme="light"] .info-alert {
    background: rgba(59, 130, 246, 0.05);
}

[data-bs-theme="light"] .warning-alert {
    background: rgba(245, 158, 11, 0.05);
}

[data-bs-theme="light"] .third-party-details {
    background: rgba(0, 0, 0, 0.02);
}

[data-bs-theme="light"] .term-item {
    background: rgba(0, 0, 0, 0.02);
}

[data-bs-theme="light"] .purpose-item {
    background: rgba(0, 0, 0, 0.02);
}

/* ===================================
   RESPONSIVE - АДАПТИВ
   =================================== */

@media (max-width: 991.98px) {
    .cookie-types-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .privacy-policy-content,
    .cookie-policy-content {
        font-size: 0.85rem;
    }
    
    .policy-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .term-item {
        flex-direction: column;
        gap: 0.35rem;
    }
    
    .term-number {
        font-size: 0.7rem;
    }
    
    .support-contacts,
    .contact-methods {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-method {
        justify-content: center;
    }
    
    .company-details {
        grid-template-columns: 1fr;
    }
    
    .policy-owner,
    .consent-info {
        flex-direction: column;
        text-align: center;
    }
    
    .policy-owner-icon,
    .consent-info-icon {
        margin: 0 auto;
    }
    
    .definition-card {
        flex-direction: column;
        text-align: center;
    }
    
    .definition-icon {
        margin: 0 auto;
    }
    
    .legal-note {
        flex-direction: column;
    }
    
    .legal-note-icon {
        margin: 0 auto;
    }
    
    .legal-note-text {
        text-align: center;
    }
    
    .third-party-header {
        flex-direction: column;
        text-align: center;
    }
    
    .third-party-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .policy-section h6 {
        font-size: 0.95rem;
    }
    
    .term-content,
    .policy-point p,
    .purpose-item,
    .condition-item {
        font-size: 0.8rem;
    }
    
    .cookie-type-card {
        border-radius: 10px;
    }
    
    .cookie-type-header {
        padding: 0.75rem;
    }
    
    .cookie-type-body {
        padding: 0.85rem;
    }
    
    .cookie-type-name {
        font-size: 0.85rem;
    }
    
    .cookie-type-body p {
        font-size: 0.78rem;
    }
    
    .policy-intro {
        border-radius: 0 8px 8px 0 !important;
    }
    
    .consent-info,
    .policy-owner {
        padding: 0.85rem !important;
    }
    
    .consent-info-icon,
    .policy-owner-icon {
        width: 40px;
        height: 40px;
    }
    
    .consent-info-icon i,
    .policy-owner-icon i {
        font-size: 1.1rem;
    }
    
    .policy-date {
        flex-direction: column;
        gap: 0.25rem;
    }
}