/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0088cc;
    --secondary-color: #00c6ff;
    --dark-color: #0f1419;
    --light-color: #ffffff;
    --gray-color: #8899a6;
    --bg-color: #fafafa;
    --card-bg: #ffffff;
    --text-color: #0f1419;
    --text-secondary: #536471;
    --gradient: linear-gradient(135deg, #0088cc 0%, #00c6ff 100%);
    --gradient-hover: linear-gradient(135deg, #0077bb 0%, #00b5ee 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Темная тема */
[data-theme="dark"] {
    --primary-color: #00b4ff;
    --secondary-color: #00e1ff;
    --dark-color: #ffffff;
    --light-color: #0a0e16;
    --gray-color: #94a3b8;
    --bg-color: #0a0e16;
    --card-bg: #151b28;
    --text-color: #e2e8f0;
    --text-secondary: #94a3b8;
    --gradient: linear-gradient(135deg, #00b4ff 0%, #00e1ff 100%);
    --gradient-hover: linear-gradient(135deg, #00a3ee 0%, #00d0ee 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.8);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

[data-theme="dark"] .header {
    background: rgba(10, 14, 22, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* NAVBAR - новая структура */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    flex-shrink: 0;
    z-index: 1002;
}

.logo i {
    font-size: 1.5rem;
}

/* Навигационные ссылки */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Правая часть навбара */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Кнопка меню (гамбургер) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Переключатель темы */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 136, 204, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(0, 136, 204, 0.2);
    transform: scale(1.05);
}

.theme-icon {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.theme-toggle:active .theme-icon {
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .nav-link {
    color: #e2e8f0;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-color);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    height: 100%;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    height: 40px;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary-color);
    color: #0a0e16;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-white {
    background: #ffffff;
    color: #0088cc;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
    background: #f0f9ff;
}

[data-theme="dark"] .btn-white {
    background: #ffffff;
    color: #1e3a8a;
}

[data-theme="dark"] .btn-white:hover {
    background: #f0f9ff;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

[data-theme="dark"] .btn-outline-white {
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: -1;
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero-bg {
    background: linear-gradient(135deg, #0f1419 0%, #1a202c 100%);
}

[data-theme="dark"] .hero-bg::before {
    background: radial-gradient(circle, rgba(0, 180, 255, 0.15) 0%, transparent 70%);
}

[data-theme="dark"] .hero-bg::after {
    background: radial-gradient(circle, rgba(0, 225, 255, 0.1) 0%, transparent 70%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

[data-theme="dark"] .hero-subtitle {
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Статистика - полностью переделанный блок */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 100%;
}

.stat {
    text-align: center;
    flex: 0 0 auto;
    padding: 0 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

/* Специальный стиль для денежной статистики */
.stat-number-money {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.money-amount {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.money-currency {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

body.dark-theme .money-currency {
    color: #60a5fa;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}

[data-theme="dark"] .stat-label {
    color: #94a3b8;
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Позволяем элементам выходить за границы, но не создаем горизонтальный скролл */
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #1a1a1a; /* Черный корпус */
    border-radius: 50px;
    padding: 12px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

/* Экран телефона */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 42px;
    overflow: hidden;
}

/* Вырез для камеры (Dynamic Island) */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Контент внутри экрана */
.phone-content {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.telegram-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

/* Пульсация иконки */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: floatCard 3s ease-in-out infinite;
    z-index: 5; /* Карточки ЗА телефоном */
    white-space: nowrap; /* Не переносим текст */
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 8%;
    left: -12%;
    color: #10b981;
    animation-delay: 0s;
}

.card-2 {
    top: 42%;
    right: -20%; /* Увеличил отступ, чтобы не наезжала на телефон */
    color: var(--primary-color);
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: -15%;
    color: #f59e0b;
    animation-delay: 2s;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 100px 0;
    background: var(--card-bg);
    transition: background 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-color);
}

[data-theme="dark"] .section-title {
    color: #f1f5f9;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

[data-theme="dark"] .section-subtitle {
    color: #94a3b8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

[data-theme="dark"] .feature-card {
    background: #1a202c;
    border-color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .feature-card:hover {
    background: #1e2635;
    border-color: rgba(0, 180, 255, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

[data-theme="dark"] .feature-card h3 {
    color: #f1f5f9;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.how-it-works .section-title,
.how-it-works .section-subtitle {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .how-it-works {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.steps {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.3;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.step-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .step-number {
    opacity: 0.2;
}

.cta-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .cta-box {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==================== BENEFITS ==================== */
.benefits {
    padding: 100px 0;
    background: var(--card-bg);
    transition: background 0.3s ease;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

[data-theme="dark"] .benefit-card {
    background: #1a202c;
    border-color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .benefit-card:hover {
    background: #1e2635;
    border-color: rgba(0, 180, 255, 0.3);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .benefit-card p,
[data-theme="dark"] .benefit-card h3 {
    color: #e2e8f0;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-color);
    transition: background 0.3s ease;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

[data-theme="dark"] .testimonial-card {
    background: #1a202c;
}

[data-theme="dark"] .testimonial-card:hover {
    background: #1e2635;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

[data-theme="dark"] .testimonial-text {
    color: #cbd5e1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
}

.author-name {
    font-weight: 700;
}

.author-role {
    color: var(--gray-color);
    font-size: 0.9rem;
}

[data-theme="dark"] .author-name {
    color: #e2e8f0;
}

[data-theme="dark"] .author-role {
    color: #94a3b8;
}

/* ==================== FAQ ==================== */
.faq {
    padding: 100px 0;
    background: var(--card-bg);
    transition: background 0.3s ease;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-color);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .faq-item {
    background: #1a202c;
}

[data-theme="dark"] .faq-item.active {
    background: #1e2635;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .faq-answer p {
    color: #94a3b8;
}

[data-theme="dark"] .faq-question h3 {
    color: #e2e8f0;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Анимированный фон для CTA */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .cta-section::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .cta-content h2,
[data-theme="dark"] .cta-content p {
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==================== BLOG PREVIEW ==================== */
.blog-preview {
    padding: 100px 0;
    background: var(--bg-color);
    transition: background 0.3s ease;
}

[data-theme="dark"] .blog-preview {
    background: #0f1419;
}

.blog-preview .feature-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.blog-preview .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.blog-preview .feature-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .blog-preview .feature-card {
    background: #1a202c;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .blog-preview .feature-card:hover {
    background: #1e2635;
    border-color: rgba(0, 180, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 180, 255, 0.2);
}

/* ==================== CONTACT ==================== */
.contact {
    padding: 100px 0;
    background: var(--card-bg);
    transition: background 0.3s ease;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: var(--bg-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-card {
    background: #1a202c;
}

[data-theme="dark"] .contact-card:hover {
    background: #1e2635;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    opacity: 0.7;
}

[data-theme="dark"] .contact-card h3,
[data-theme="dark"] .contact-card p {
    color: #e2e8f0;
}

[data-theme="dark"] .contact-card p {
    color: #94a3b8;
}

[data-theme="dark"] .contact-card a {
    color: var(--primary-color);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0f1419;
    color: white;
    padding: 60px 0 20px;
    transition: background 0.3s ease;
}

[data-theme="dark"] .footer {
    background: #060911;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .footer-col p,
[data-theme="dark"] .footer-bottom {
    color: #94a3b8;
}

[data-theme="dark"] .footer-col ul li a {
    color: #94a3b8;
}

[data-theme="dark"] .footer-col ul li a:hover {
    color: var(--primary-color);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-col p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--gray-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-color);
}

.footer-bottom i {
    color: #ef4444;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

/* ==================== ANIMATIONS ==================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    /* Скрываем десктопные ссылки */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--card-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 0;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    [data-theme="dark"] .nav-links {
        background: rgba(10, 14, 22, 0.98);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1.1rem;
    }

    [data-theme="dark"] .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(0, 136, 204, 0.1);
        padding-left: 2.5rem;
    }

    /* Показываем кнопку меню */
    .menu-toggle {
        display: flex;
    }

    /* Скрываем текст в кнопке на мобильных */
    .btn span {
        display: none;
    }

    .btn i {
        margin: 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .money-amount {
        font-size: 2.5rem;
    }
    
    .money-currency {
        font-size: 2rem;
    }
    
    .stat {
        padding: 0 0.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    /* Скрываем весь блок с телефоном на мобильных */
    .hero-image {
        display: none;
    }
    
    /* Центрируем контент */
    .hero-content {
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        padding: 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .money-amount {
        font-size: 2.5rem;
    }
    
    .money-currency {
        font-size: 2rem;
    }

    .btn-large {
        padding: 14px 30px;
        font-size: 1rem;
    }

    /* Блок с телефоном уже скрыт на планшетах */
}

