/* Сброс базовых отступов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные переменные для цветов сайта */
:root {
    --bg-color: #171923; /* Темный серо-синий фон */
    --card-bg: #1e202c; /* Фон светлых карточек */
    --accent-blue: #0f5bc4; /* Основной синий цвет */
    --text-white: #ffffff;
    --text-gray: #a9aeb8;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* Ограничитель ширины контента */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Общие заголовки секций */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #6c88ff, #a573ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   БЛОК 1. ШАПКА И ГЛАВНЫЙ ЭКРАН
========================================= */
.hero-section {
    padding: 80px 0 40px 0;
}

.hero-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1.2;
    text-align: left;
}

.hero-text .gradient-text {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #6c88ff, #a573ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.subtitle {
    font-size: 16px;
    color: var(--text-gray);
    border-left: 3px solid var(--accent-blue);
    padding-left: 15px;
    display: inline-block;
}

/* Картинка и декоративные рамки */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-card {
    width: 100%;
    max-width: 380px;
    height: 420px;
    z-index: 2;
    position: relative;
}

.hero-card h2 {
    font-size: 20px;
    line-height: 1.4;
    text-align: left;
}

.bg-frame {
    position: absolute;
    width: 100%;
    max-width: 380px;
    height: 420px;
    border: 1px solid var(--accent-blue);
    border-radius: 20px;
    z-index: 1;
    top: 50%;
    left: 50%;
}

.frame-1 { transform: translate(-50%, -50%) rotate(-4deg); }
.frame-2 { transform: translate(-50%, -50%) rotate(4deg); }

/* Универсальные стили для картинок с затемнением */
.image-card {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    position: relative;
}

.image-card h2 {
    font-weight: 700;
    z-index: 2;
}

/* Декоративные SVG белые углы на фото */
.corner-svg {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}
.top-right-svg { top: 0; right: 0; width: 100px; height: 100px; }
.bottom-left-svg { bottom: 0; left: 0; width: 150px; height: 150px; }

/* =========================================
   ПРОМЕЖУТОЧНЫЕ 3 СИНИЕ КАРТОЧКИ
========================================= */
.intro-cards-section {
    padding: 0 0 60px 0;
}
.intro-cards-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.intro-blue-card {
    flex: 1;
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    font-size: 15px;
    color: var(--text-white);
}
.intro-blue-card.active-card {
    background-color: var(--accent-blue);
    border: none;
    font-size: 18px;
    font-weight: 600;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(15, 91, 196, 0.3);
}

/* =========================================
   БЛОК 2 И 5. ИНФО СЕКЦИИ С СИНИМ ФОНОМ
========================================= */
.info-section, .changes-section {
    background-color: var(--accent-blue);
    padding: 60px 0;
}

.info-box, .changes-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.info-text, .changes-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
}

.info-image, .changes-image {
    flex: 1;
}

.info-image .image-card, .changes-image .image-card {
    height: 300px;
    width: 100%;
}

.changes-image .large-text { font-size: 32px; text-transform: uppercase; }
.changes-image .large-text span { font-size: 48px; font-weight: 800; }
.accent-line { height: 2px; background-color: var(--text-white); width: 60px; margin: 20px 0; opacity: 0.5; }

/* =========================================
   БЛОК 3. ПРЕИМУЩЕСТВА (4 карточки)
========================================= */
.features-section { 
    padding: 60px 0; 
    background-color: var(--bg-color); /* Сливается с общим фоном */
}

.features-section .section-title {
    font-size: 24px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    /* На компьютере делаем 4 карточки в ряд (или 2х2), а на телефоне будет 1 столбец */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: transparent;
    border: 1px solid rgba(29, 112, 245, 0.3); /* Тонкая синеватая рамка точь-в-точь как на скрине */
    padding: 35px 20px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon { 
    margin-bottom: 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Настройки для векторных иконок */
.feature-icon svg {
    width: 60px;
    height: 60px;
}

.feature-card h3 { 
    font-size: 16px; 
    margin-bottom: 15px; 
    color: var(--text-white);
    line-height: 1.4;
}

.feature-card p { 
    font-size: 13px; 
    color: var(--text-gray); 
    line-height: 1.5;
}

/* Чтобы на мобильных устройствах карточки выстраивались строго друг под другом, как на скриншоте */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   БЛОК 4. ТЕЛЕГРАМ МОКАП
========================================= */
.history-section { padding: 20px 0 80px 0; text-align: center; }
.arrow-down { margin: 40px 0; color: var(--text-gray); font-size: 18px; }
.telegram-mockup { max-width: 400px; margin: 0 auto; }
.tg-placeholder {
    background-color: var(--card-bg);
    height: 500px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    border: 2px dashed rgba(255,255,255,0.1);
}

/* =========================================
   БЛОК 6. МОНЕТИЗАЦИЯ (2%)
========================================= */
.monetization-section { padding: 80px 0; text-align: center; }
.profit-card {
    background-color: #050505;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto 40px auto;
}
.profit-circle { width: 35px; height: 35px; border: 6px solid #d4af37; border-radius: 50%; }
.profit-info h3 { font-size: 24px; color: var(--text-white); }
.profit-info .percent { font-size: 42px; font-weight: 700; margin: 5px 0; color: var(--text-white); }
.profit-info p { color: var(--text-gray); }
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}
.reason-card { background-color: var(--accent-blue); padding: 30px; border-radius: 15px; }
.reason-num { font-size: 32px; font-weight: 700; margin-bottom: 15px; }

/* =========================================
   БЛОК 7. КОМАНДА (С аватаркой)
========================================= */
.team-value-section { padding: 80px 0; background-color: var(--bg-color); }
.team-value-box { display: flex; gap: 50px; align-items: center; }
.team-benefits-left { flex: 1; }
.section-title-left {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #6c88ff, #a573ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.benefit-item { margin-bottom: 30px; }
.benefit-icon-blue { font-size: 24px; margin-bottom: 10px; }
.team-image-right { flex: 1; text-align: right; }
.whippa-main-avatar { max-width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* =========================================
   БЛОК 8. КАК ПРИСОЕДИНИТЬСЯ
========================================= */
.join-section { padding: 80px 0; }
.join-box { display: flex; gap: 50px; align-items: center; }
.join-image { flex: 1; height: 450px; }
.join-steps { flex: 1; }
.join-intro { font-size: 18px; margin-bottom: 30px; font-weight: 600; }
.steps-list { list-style: none; }
.steps-list li {
    background: transparent;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
}

/* =========================================
   БЛОК 9. FOMO (Представьте через 12 мес)
========================================= */
.fomo-section { padding: 80px 0; }
.fomo-subtitle { text-align: center; font-size: 16px; margin-bottom: 50px; color: var(--text-gray); }
.fomo-box { display: flex; gap: 50px; align-items: center; margin-bottom: 60px; }
.fomo-text { flex: 1.2; }
.fomo-warning { font-size: 16px; margin-bottom: 30px; color: var(--text-white); line-height: 1.7; }
.fomo-list { list-style: none; }
.fomo-list li { margin-bottom: 15px; font-size: 16px; display: flex; align-items: center; gap: 10px; color: var(--text-gray); }
.fomo-image { flex: 1; height: 400px; }
.fomo-blue-blocks { display: flex; gap: 30px; align-items: center; }
.blue-title { flex: 1; font-size: 32px; font-weight: 700; line-height: 1.2; }
.blue-cards-wrapper { flex: 2; display: flex; gap: 20px; }
.blue-card { flex: 1; background-color: var(--accent-blue); padding: 30px; border-radius: 15px; font-size: 15px; line-height: 1.6; }

/* =========================================
   БЛОК 10. ПОДВАЛ И КНОПКИ
========================================= */
.footer-section { padding: 60px 0 40px 0; text-align: center; }
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 60px auto;
}
.action-btn {
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
}
.dark-btn { 
    background-color: transparent; 
    border: 1px solid var(--border-color);
}
.main-btn {
    background-color: var(--accent-blue);
    font-size: 18px;
    border: none;
    transition: background-color 0.3s ease;
}
.main-btn b { text-decoration: underline; }
.footer-bottom {
    background-color: var(--accent-blue);
    padding: 30px;
    margin: 0 -20px; /* Вытягиваем фон на всю ширину */
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
.footer-bottom p { color: var(--text-white); }
.footer-bottom a { color: var(--text-white); font-weight: 600; }