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

:root {
    /* Премиальная темная палитра */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0f;
    --bg-tertiary: #111118;
    --bg-card: rgba(15, 15, 25, 0.8);
    --bg-card-hover: rgba(20, 20, 35, 0.95);
    
    /* Текст */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.6);
    
    /* Премиальные акценты */
    --accent-primary: #8b5cf6;
    --accent-secondary: #a855f7;
    --accent-tertiary: #c084fc;
    --accent-gold: #fbbf24;
    --accent-cyan: #06b6d4;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(167, 85, 247, 0.1) 100%);
    
    /* Границы и эффекты */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(139, 92, 246, 0.5);
    --border-gold: rgba(251, 191, 36, 0.3);
    
    /* Тени */
    --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 80px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.4);
    --shadow-glow-hover: 0 0 100px rgba(167, 85, 247, 0.6);
    --shadow-gold: 0 0 40px rgba(251, 191, 36, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(167, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Блокируем скролл, когда открыт мобильный бургер */
body.menu-open {
    overflow: hidden;
}

/* Компактная шапка (используется на мобильных при скролле) */
.navbar.navbar-compact {
    padding: 0.4rem 0;
}

.navbar.navbar-compact .logo {
    font-size: 1rem;
    filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.4));
}

/* Полное скрытие шапки на мобильных при прокрутке */
.navbar.navbar-hidden {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(167, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 25s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Навигация - Премиум стиль */
.navbar {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    transition: padding 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 4px 20px rgba(139, 92, 246, 0.4));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
    filter: drop-shadow(0 8px 40px rgba(167, 85, 247, 0.6));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Выбор языка в навигации */
.language-selector {
    position: relative;
    margin-left: 2rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-selector.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.language-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.language-selector-btn:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(167, 85, 247, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.current-language-flag {
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.current-language-code {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.language-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.language-selector-btn.active .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.5rem;
    min-width: 180px;
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(139, 92, 246, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.language-option:hover {
    background: rgba(139, 92, 246, 0.15);
    transform: translateX(4px);
}

.language-option .language-flag {
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.language-option .language-name {
    flex: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Главная секция - Премиум */
.hero {
    background: #0a0a0f;
    position: relative;
    padding: 10rem 0 8rem;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 50%);
    pointer-events: none;
    animation: heroGlow 15s ease-in-out infinite;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(34, 197, 94, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 15% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 85% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
    pointer-events: none;
    animation: heroGlowSecondary 20s ease-in-out infinite;
    filter: blur(100px);
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes heroGlowSecondary {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.15) rotate(5deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 
        0 0 40px rgba(255, 255, 255, 0.2),
        0 10px 60px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
    color: #e5e7eb;
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 5rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
    padding: 2rem;
    background: rgba(15, 15, 25, 0.6);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 180px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(20, 20, 35, 0.7);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: #e5e7eb;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Кнопки - Премиум */
.btn {
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: rgba(15, 15, 25, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(20, 20, 35, 0.8);
}

.btn-outline {
    background: rgba(139, 92, 246, 0.15);
    border: 2px solid rgba(139, 92, 246, 0.5);
    color: var(--accent-primary);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(167, 85, 247, 0.7);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 60px rgba(167, 85, 247, 0.5);
    color: var(--accent-secondary);
}

/* Типы инвестиций - Премиум */
.investment-types {
    padding: 8rem 0;
    background: var(--bg-primary);
    position: relative;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
    filter: drop-shadow(0 4px 30px rgba(139, 92, 246, 0.4));
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.3rem;
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.type-card {
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        var(--shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(139, 92, 246, 0.1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.type-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.type-card:hover::before {
    transform: scaleX(1);
}

.type-card:hover::after {
    opacity: 1;
}

.type-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        var(--shadow-lg),
        0 0 80px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(167, 85, 247, 0.2);
}

.type-card:nth-child(1) { animation-delay: 0.1s; }
.type-card:nth-child(2) { animation-delay: 0.2s; }
.type-card:nth-child(3) { animation-delay: 0.3s; }
.type-card:nth-child(4) { animation-delay: 0.4s; }
.type-card:nth-child(5) { animation-delay: 0.5s; }
.type-card:nth-child(6) { animation-delay: 0.6s; }
.type-card:nth-child(7) { animation-delay: 0.7s; }
.type-card:nth-child(8) { animation-delay: 0.8s; }

.type-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--accent-primary);
    animation: iconBounce 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
    position: relative;
    filter: drop-shadow(0 8px 20px rgba(139, 92, 246, 0.4));
}

.type-card:nth-child(1) .type-icon { animation-delay: 0.2s; }
.type-card:nth-child(2) .type-icon { animation-delay: 0.3s; }
.type-card:nth-child(3) .type-icon { animation-delay: 0.4s; }
.type-card:nth-child(4) .type-icon { animation-delay: 0.5s; }
.type-card:nth-child(5) .type-icon { animation-delay: 0.6s; }
.type-card:nth-child(6) .type-icon { animation-delay: 0.7s; }
.type-card:nth-child(7) .type-icon { animation-delay: 0.8s; }
.type-card:nth-child(8) .type-icon { animation-delay: 0.9s; }

.type-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.type-card:hover .type-icon::before {
    opacity: 1;
}

.type-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    filter: drop-shadow(0 8px 20px rgba(139, 92, 246, 0.5));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.type-card:hover .type-icon svg {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 12px 30px rgba(167, 85, 247, 0.7));
    color: var(--accent-secondary);
}

.type-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.type-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 3.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.type-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.type-risk,
.type-return {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.type-risk {
    color: var(--text-muted);
}

.type-risk.low {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.type-return {
    color: var(--accent-primary);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* Калькулятор - Премиум */
.calculator {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.calculator-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    padding: 4rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(139, 92, 246, 0.15);
    animation: fadeInUp 1s ease-out;
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.form-group input {
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 
        0 0 0 4px rgba(139, 92, 246, 0.2),
        0 0 30px rgba(139, 92, 246, 0.3);
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.calculator-result {
    background: rgba(0, 0, 0, 0.4);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
}

.result-placeholder {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    font-size: 1.1rem;
}

.result-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(167, 85, 247, 0.15) 100%);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    animation: fadeInUp 0.5s ease-out;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 8px 24px rgba(139, 92, 246, 0.15);
    transition: all 0.4s ease;
}

.result-item:hover {
    transform: translateX(8px);
    border-color: rgba(167, 85, 247, 0.5);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 12px 40px rgba(139, 92, 246, 0.25);
}

.result-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(139, 92, 246, 0.4));
    letter-spacing: -1px;
}

/* Отзывы - Премиум */
.reviews {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.review-card {
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        var(--shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.review-card:hover::before {
    transform: scaleX(1);
}

.review-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        var(--shadow-lg),
        0 0 60px rgba(139, 92, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }

.review-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.review-author {
    flex: 1;
    min-width: 150px;
}

.review-author h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.review-author p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.star {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.star.filled,
.review-rating .star {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.3));
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-method {
    padding: 0.75rem 1.25rem;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.review-method span {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* О нас - Премиум */
.about {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.9;
    animation: fadeInUp 0.8s ease-out;
    font-weight: 400;
}

.about-features {
    display: grid;
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        var(--shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: waveSlideIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.25s; }
.feature-item:nth-child(3) { animation-delay: 0.4s; }

.feature-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        var(--shadow-lg),
        0 0 60px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(167, 85, 247, 0.4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    color: var(--accent-primary);
    animation: iconBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
    filter: drop-shadow(0 8px 20px rgba(139, 92, 246, 0.4));
}

.feature-item:nth-child(1) .feature-icon { animation-delay: 0.3s; }
.feature-item:nth-child(2) .feature-icon { animation-delay: 0.45s; }
.feature-item:nth-child(3) .feature-icon { animation-delay: 0.6s; }

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    filter: drop-shadow(0 8px 20px rgba(139, 92, 246, 0.5));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.feature-item:hover .feature-icon svg {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 12px 30px rgba(167, 85, 247, 0.7));
    color: var(--accent-secondary);
}

.feature-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Футер - Премиум */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.footer-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    line-height: 1.8;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-contact-buttons .modern-contact-btn {
    flex: 0 0 auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Модальное окно - Премиум */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeIn 0.4s ease;
}

.modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    margin: 3% auto;
    padding: 4rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    position: relative;
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        0 0 100px rgba(139, 92, 246, 0.3);
    animation: slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 40px 40px 0 0;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.6);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.close svg {
    width: 24px;
    height: 24px;
}

.modal-details h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 30px rgba(139, 92, 246, 0.4));
    font-weight: 900;
    letter-spacing: -1px;
}

.modal-details p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.1rem;
}

.modal-details ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 2;
}

.modal-details li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.modal-details h3:not(:first-of-type),
.modal-details h4 {
    margin-top: 2.5rem;
    font-size: 1.75rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.modal-details h4 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Кнопки контактов - Премиум */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.6s ease-out;
}

.contact-buttons-small {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Большая кнопка на Telegram канал */
.btn-telegram-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: rgba(0, 136, 204, 0.25);
    border: 2px solid rgba(0, 136, 204, 0.6);
    border-radius: 20px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    min-width: 300px;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 
        0 8px 32px rgba(0, 136, 204, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: pulse 2s ease-in-out 0.3s 3;
}

.btn-telegram-channel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-telegram-channel:hover::before {
    left: 100%;
}

.btn-telegram-channel:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(0, 136, 204, 0.8);
    box-shadow: 
        0 20px 60px rgba(0, 136, 204, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 60px rgba(0, 136, 204, 0.5);
    background: rgba(0, 136, 204, 0.35);
}

.btn-telegram-channel:active {
    transform: translateY(-2px) scale(1.02);
}

.telegram-channel-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.modern-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    min-width: 180px;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.modern-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.modern-contact-btn:hover::before {
    left: 100%;
}

.modern-contact-btn:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.modern-contact-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.contact-btn-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Telegram кнопка */
.telegram-btn {
    background: rgba(0, 136, 204, 0.25);
    border-color: rgba(0, 136, 204, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 136, 204, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: pulse 2s ease-in-out 0.5s 3;
}

.telegram-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1) 0%, rgba(0, 102, 170, 0.05) 100%);
    pointer-events: none;
}

.telegram-btn:hover {
    border-color: rgba(0, 136, 204, 0.8);
    box-shadow: 
        0 20px 60px rgba(0, 136, 204, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 60px rgba(0, 136, 204, 0.5);
    background: rgba(0, 136, 204, 0.35);
}

/* WhatsApp кнопка */
.whatsapp-btn {
    background: rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.6);
    box-shadow: 
        0 8px 32px rgba(37, 211, 102, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: pulseWhatsApp 2s ease-in-out 0.7s 3;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(30, 169, 82, 0.05) 100%);
    pointer-events: none;
}

.whatsapp-btn:hover {
    border-color: rgba(37, 211, 102, 0.8);
    box-shadow: 
        0 20px 60px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 60px rgba(37, 211, 102, 0.5);
    background: rgba(37, 211, 102, 0.35);
}

@keyframes pulseWhatsApp {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.25);
    }
    50% {
        box-shadow: 0 8px 48px rgba(37, 211, 102, 0.4);
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-80px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes waveSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-80px) scale(0.9);
    }
    50% {
        transform: translateX(15px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes iconBounce {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    60% {
        transform: scale(1.2) rotate(15deg);
    }
    80% {
        transform: scale(0.95) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 136, 204, 0.25);
    }
    50% {
        box-shadow: 0 8px 48px rgba(0, 136, 204, 0.4);
    }
}

/* Адаптивность для кнопок контактов */
@media screen and (max-width: 768px) {
    .contact-buttons {
        gap: 1.5rem;
        width: 100%;
        padding: 0 20px;
        margin-top: 3rem;
    }

    .contact-buttons-small {
        gap: 1.5rem;
        flex-direction: column;
        width: 100%;
    }

    .btn-telegram-channel {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        min-width: auto;
        min-height: 70px;
    }

    .telegram-channel-icon {
        width: 28px;
        height: 28px;
    }

    .modern-contact-btn {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 1rem;
        min-height: 60px;
        border-radius: 20px;
    }

    .contact-btn-icon {
        width: 24px;
        height: 24px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        padding: 0.6rem 0;
    }

    .nav-content {
        flex-wrap: wrap;
        gap: 1rem;
        position: relative;
    }

    .logo {
        font-size: 1.2rem;
        flex: 1;
    }

    /* Мобильное меню: компактный дропдаун под шапкой, а не полноэкранный оверлей */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        background: rgba(5, 5, 12, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 1.25rem 1.5rem 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 999;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
        transition: opacity 0.25s ease, max-height 0.25s ease, transform 0.25s ease;
    }

    .nav-menu.active {
        display: flex;
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 0.75rem 0;
        width: 100%;
        text-align: left;
    }

    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .language-selector-btn {
        width: 100%;
        justify-content: space-between;
    }

    .language-dropdown {
        right: auto;
        left: 0;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
        order: 3;
        z-index: 1001;
    }

    .navbar {
        position: sticky;
    }

    /* Закрытие меню при клике на ссылку */
    .nav-menu.active .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 1rem 0;
    }

    .hero {
        padding: 2.5rem 0 2.5rem;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6.5vw, 3rem);
        margin-bottom: 1rem;
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin-bottom: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-item {
        width: 100%;
        min-width: auto;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .calculator-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .calculator-form {
        gap: 1.5rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input {
        font-size: 1rem;
        padding: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-item {
        padding: 2rem 1.5rem;
    }

    .types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .type-card {
        padding: 2rem 1.5rem;
    }

    .type-title {
        font-size: clamp(1.3rem, 5vw, 1.4rem);
        margin-bottom: 1rem;
    }

    .type-description {
        font-size: clamp(0.9rem, 3vw, 0.95rem);
        line-height: 1.6;
        margin-bottom: 1.5rem;
        min-height: auto;
    }

    .investment-card {
        padding: 2rem 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-card {
        padding: 2rem 1.5rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .review-rating {
        align-self: flex-start;
    }

    .review-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .modal-content {
        margin: 5% auto;
        padding: 2rem 1.5rem;
        max-width: 95%;
        border-radius: 24px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-details h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .modal-details p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .modal-details ul {
        margin-left: 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-bottom: 2.5rem;
    }

    .language-modal-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }

    .language-modal-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .language-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .language-btn {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        gap: 1rem;
    }

    .language-flag {
        font-size: 1.3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-section {
        width: 100%;
    }

    .footer-contact-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Мобильные устройства (маленькие экраны) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 2rem;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .section-title {
        font-size: clamp(1.75rem, 7vw, 2rem);
    }

    .section-subtitle {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }

    .investment-card,
    .type-card {
        padding: 1.5rem 1rem;
    }

    .investment-card h3,
    .type-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .investment-card p,
    .type-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .investment-card .card-meta,
    .type-card .card-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .card-meta-item {
        width: 100%;
    }

    .type-info {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .type-risk,
    .type-return {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    .type-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .btn-outline {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .calculator-card {
        padding: 1.5rem 1rem;
    }

    .review-card {
        padding: 1.5rem 1rem;
    }

    .modal-content {
        padding: 1.5rem 1rem;
        margin: 2% auto;
        max-height: 95vh;
    }

    .modal-details h3 {
        font-size: 1.5rem;
    }

    .modal-details h3:not(:first-of-type),
    .modal-details h4 {
        font-size: 1.3rem;
        margin-top: 2rem;
    }

    .language-modal-content {
        padding: 1.5rem 1rem;
    }

    .language-btn {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .btn-telegram-channel {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .modern-contact-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .type-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .type-icon svg {
        width: 100%;
        height: 100%;
    }

    .btn-outline {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-primary {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Улучшение скролла на мобильных */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Исправление для фиксированных элементов */
    .navbar {
        position: sticky;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Модальное окно выбора языка */
.language-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}


.language-modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    padding: 4rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        0 0 100px rgba(139, 92, 246, 0.3);
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.language-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 40px 40px 0 0;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.language-modal-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 3rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 30px rgba(139, 92, 246, 0.4));
    letter-spacing: -0.5px;
}

.language-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .language-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.75rem 2.5rem;
    background: rgba(139, 92, 246, 0.15);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.language-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.language-btn:hover::before {
    left: 100%;
}

.language-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(167, 85, 247, 0.6);
    box-shadow: 
        0 20px 60px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 60px rgba(167, 85, 247, 0.5);
}

.language-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.language-flag {
    font-size: 2rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.language-name {
    letter-spacing: 0.5px;
}

/* Скроллбар - Премиум */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.6) 0%, rgba(167, 85, 247, 0.6) 100%);
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(167, 85, 247, 0.8) 100%);
}
