/* =========================================
   MASHKA THEME: PREMIUM WARM DARK MODE
   ========================================= */
:root {
    /* Тёплая тёмная палитра */
    --bg-color: #120f1c; /* Глубокий тёплый фиолетово-чёрный */
    --text-main: #f8fafc; /* Мягкий белый */
    --text-secondary: #94a3b8; /* Спокойный серый */
    
    /* Тёплые акценты */
    --primary-purple: #8b5cf6; /* Мягкий фиолетовый */
    --warm-accent: #ff4b72; /* Сочный коралловый (для кнопки скачать) */
    --warm-peach: #ffb4a2; /* Персиковый для деталей */
    
    /* Элегантное стекло */
    --glass-bg: rgba(30, 26, 43, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Мягкие скругления */
    --border-radius-lg: 24px; 
    --border-radius-md: 16px;
    --border-radius-sm: 12px;
    
    /* Мягкие тени без неона */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.4);

    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
}

/* =========================================
   GLOBAL RESET & BODY
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    font-size: 17px; 
    line-height: 1.5;
    letter-spacing: -0.01em; 
    overflow-x: hidden;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Мягкие тёплые блики на фоне */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 40%, rgba(255, 75, 114, 0.08) 0%, transparent 40%);
}

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

h1, h2, h3, h4 { color: var(--text-main); font-weight: 600; letter-spacing: -0.02em; }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 24px; position: sticky; top: 16px; margin: 0 24px;
    border-radius: 100px; background: rgba(18, 15, 28, 0.85);
    backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
    z-index: 100; border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
/* =========================================
   ОБОСОБЛЕННЫЙ ЛОГОТИП
   ========================================= */
.logo { 
    font-size: 22px; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: #fff; 
    text-decoration: none;
    
    /* Делаем из логотипа стильную плашку */
    padding: 6px 18px 6px 8px; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.06); 
    border-radius: 100px; 
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Оформляем сердечко в акцентный кружок */
.logo::before { 
    content: "♥"; 
    color: var(--warm-peach); 
    font-size: 16px; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 180, 162, 0.15); /* Полупрозрачный фон цвета персика */
    border-radius: 50%;
}
.site-nav, .site-nav .main-menu { overflow: visible !important; }
.site-nav .main-menu { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 32px !important; list-style: none; margin: 0; padding: 0; }
.site-nav .main-menu > li { position: relative !important; padding: 10px 0 !important; white-space: nowrap !important; }
.site-nav .main-menu a { text-decoration: none; color: var(--text-secondary); font-size: 15px; font-weight: 500; transition: color 0.2s ease; }
.site-nav .main-menu > li > a:hover, .site-nav .main-menu .current-menu-item > a { color: #fff; }

/* Простое и аккуратное подменю */
.site-nav .main-menu .sub-menu {
    position: absolute !important; top: 100% !important; left: 50% !important; transform: translateX(-50%) translateY(10px) !important;
    background: #1a1726 !important; border: 1px solid var(--glass-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4) !important; border-radius: 16px !important;
    padding: 8px 0 !important; min-width: 220px !important; z-index: 9999 !important; margin: 0 !important; list-style: none !important;
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; display: block !important; transition: all 0.3s ease !important;
}
.site-nav .main-menu li:hover > .sub-menu { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translateX(-50%) translateY(0) !important; }
.site-nav .main-menu .sub-menu li a { padding: 10px 24px !important; color: var(--text-main) !important; font-size: 14px !important; transition: all 0.2s ease !important; }
.site-nav .main-menu .sub-menu li a:hover { background-color: rgba(255, 255, 255, 0.05) !important; color: var(--warm-peach) !important; }

/* Языки и Валюты */
.header-utils { background-color: rgba(255, 255, 255, 0.04) !important; border-radius: 100px !important; padding: 6px 16px !important; display: flex !important; align-items: center !important; gap: 16px !important; height: 38px !important; margin-right: 16px !important; border: 1px solid rgba(255,255,255,0.02); }
.header-utils ul { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 12px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.header-utils ul li { margin: 0 !important; padding: 0 !important; line-height: 1 !important; }
.header-utils ul li a { display: flex !important; align-items: center !important; gap: 6px !important; font-size: 14px !important; font-weight: 500 !important; color: var(--text-secondary) !important; text-decoration: none !important; transition: 0.2s ease !important; white-space: nowrap !important; }
.header-utils ul li a:hover, .header-utils ul li.active a, .header-utils ul li.wpm-active a { color: #fff !important; }
.header-utils ul li img { width: 18px !important; height: 18px !important; object-fit: cover !important; border-radius: 50% !important; display: block !important; }
.header-utils ul::after { content: ''; display: block; width: 1px; height: 16px; background-color: rgba(255,255,255,0.1); margin-left: 4px; }
.header-utils form { margin: 0 !important; padding: 0 !important; display: flex !important; align-items: center !important; }
.header-utils select, .header-utils .dd-container, .header-utils .dd-select { background: transparent !important; border: none !important; font-size: 14px !important; font-weight: 500 !important; color: var(--text-secondary) !important; cursor: pointer !important; outline: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; width: auto !important; min-width: 40px !important; max-width: 80px !important; -webkit-appearance: none !important; appearance: none !important; }
.header-utils .dd-selected { display: flex !important; align-items: center !important; white-space: nowrap !important; color: var(--text-secondary) !important;}
.header-utils .dd-desc, .header-utils .woocs_price_info_icon { display: none !important; }

/* =========================================
   BUTTONS (ИЕРАРХИЯ)
   ========================================= */
.btn { padding: 12px 24px; border-radius: 100px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }

/* КНОПКА PRO (Второстепенная, аккуратная) */
.btn-primary { 
    background-color: rgba(255, 255, 255, 0.08); 
    color: #fff; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: none;
}
.btn-primary:hover { background-color: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.2); }

/* КНОПКА СКАЧАТЬ (Главная, яркая, тёплая) */
.btn-light-pink { 
    background-color: var(--warm-accent); 
    color: #fff; 
    box-shadow: 0 8px 24px rgba(255, 75, 114, 0.3); 
}
.btn-light-pink:hover { background-color: #ff335f; box-shadow: 0 12px 32px rgba(255, 75, 114, 0.4); }

.btn-outline { background-color: transparent; color: var(--text-main); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { background-color: rgba(255,255,255,0.05); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero { display: flex; align-items: center; padding: 100px 0 80px; gap: 60px; }
.hero-content { flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.05); padding: 8px 16px; border-radius: 100px; font-size: 14px; color: var(--text-main); margin-bottom: 24px; border: 1px solid rgba(255, 255, 255, 0.1); font-weight: 500; }
.badge::before { content: "♥"; color: var(--warm-peach); }
.hero h1 { font-size: 56px; line-height: 1.1; margin-bottom: 24px; }
.hero p { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; max-width: 90%; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-social-proof { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--text-secondary); }
.avatars { display: flex; }
.avatars div { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg-color); margin-left: -10px; }
.avatars div:first-child { margin-left: 0; background: var(--warm-peach); }
.avatars div:nth-child(2) { background: #818cf8; }
.avatars div:nth-child(3) { background: #34d399; }

/* Мокапы */
.hero-visual { flex: 1; position: relative; height: 600px; }
.mockup-tablet { position: absolute; width: 380px; height: 520px; top: 0; right: 40px; background: #000; border-radius: var(--border-radius-lg); border: 8px solid #232031; box-shadow: 0 20px 60px rgba(0,0,0,0.5); z-index: 1; }
.mockup-phone { position: absolute; width: 220px; height: 460px; bottom: 0; right: -20px; background: #000; border-radius: 36px; border: 6px solid #232031; box-shadow: 0 24px 48px rgba(0,0,0,0.6); z-index: 2; }
.mockup-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

/* =========================================
   SECTIONS & CARDS
   ========================================= */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; display: inline-flex; align-items: center; gap: 12px; }
.section-header h2::before { content: "♥"; color: var(--warm-peach); font-size: 24px; }

/* Карточки возможностей */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature-card { background: var(--glass-bg); padding: 24px; border-radius: var(--border-radius-md); box-shadow: var(--shadow-card); border: 1px solid var(--glass-border); grid-column: span 1; transition: transform 0.2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(255,255,255,0.15); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; background: rgba(255,255,255,0.05); color: #fff; }
.feature-card:nth-child(1) .feature-icon { color: #818cf8; background: rgba(129, 140, 248, 0.15); }
.feature-card:nth-child(2) .feature-icon { color: var(--warm-accent); background: rgba(255, 75, 114, 0.15); }
.feature-card:nth-child(3) .feature-icon { color: #a78bfa; background: rgba(167, 139, 250, 0.15); }
.feature-card:nth-child(4) .feature-icon { color: #94a3b8; background: rgba(148, 163, 184, 0.15); }
.feature-card:nth-child(5) .feature-icon { color: #e879f9; background: rgba(232, 121, 249, 0.15); }
.feature-card:nth-child(6) .feature-icon { color: #fb7185; background: rgba(251, 113, 133, 0.15); }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; color: #fff; font-weight: 600; }
.feature-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 0; line-height: 1.5; }

/* =========================================
   VERSIONS SECTION
   ========================================= */
.versions { padding: 80px 0; }
.versions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.version-card { padding: 40px; border-radius: var(--border-radius-lg); position: relative; overflow: hidden; background: var(--glass-bg); border: 1px solid var(--glass-border); }
.version-logo { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px; color: #fff; background: rgba(255,255,255,0.1); }
.v-adult .version-logo { color: #818cf8; background: rgba(129, 140, 248, 0.15); }
.v-kids .version-logo { color: var(--warm-accent); background: rgba(255, 75, 114, 0.15); }
.v-teen .version-logo { color: #a78bfa; background: rgba(167, 139, 250, 0.15); }
.version-card h3 { font-size: 24px; margin-bottom: 12px; }
.version-card p { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; max-width: 85%; }
.version-card a { font-size: 15px; color: #fff; text-decoration: none; font-weight: 500; opacity: 0.8; transition: opacity 0.2s; }
.version-card a:hover { opacity: 1; }
.version-mockup { position: absolute; right: -20px; bottom: -60px; width: 140px; height: 280px; background: #000; border-radius: 24px; border: 4px solid #232031; box-shadow: var(--shadow-soft); }

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works { padding: 80px 0; }
.steps-wrapper { display: flex; justify-content: space-between; align-items: center; position: relative; padding: 40px; border-radius: var(--border-radius-lg); background: var(--glass-bg); border: 1px solid var(--glass-border); }
.step { display: flex; align-items: flex-start; gap: 20px; flex: 1; position: relative; z-index: 2; }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.step-content h3 { font-size: 17px; margin-bottom: 4px; color: #fff; }
.step-content p { font-size: 14px; color: var(--text-secondary); margin-bottom: 0; }
.step-connector { position: absolute; top: 50%; left: 10%; right: 10%; border-top: 2px dashed rgba(255, 255, 255, 0.1); z-index: 1; }

/* =========================================
   EMOTIONAL BLOCK
   ========================================= */
.emotional-block { background: var(--glass-bg); border-radius: var(--border-radius-lg); display: flex; box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 100px; border: 1px solid var(--glass-border); }
.emotional-img { flex: 0 0 40%; min-height: 300px; background: #1a1726; }
.emotional-content { flex: 1; padding: 60px; }
.quote { font-size: 24px; font-weight: 500; margin-bottom: 40px; line-height: 1.5; position: relative; color: #fff; }
.quote::before { content: "“"; font-size: 60px; position: absolute; left: -40px; top: -20px; color: rgba(255,255,255,0.1); }
.emotional-features { display: flex; gap: 24px; }
.em-feature { display: flex; align-items: center; gap: 16px; }
.em-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.05); color: #fff; }
.em-feature p { font-size: 13px; color: var(--text-secondary); line-height: 1.4; margin-bottom: 0;}
.em-feature strong { display: block; margin-bottom: 4px; color: #fff; font-size: 15px; }

/* =========================================
   FOOTER
   ========================================= */
footer { padding: 60px 0 40px; background: #0b0912; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 15px; margin-bottom: 20px; color: #fff; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a, .footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-menu a:hover, .footer-col a:hover { color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-social { display: flex; gap: 12px; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.2s; background: rgba(255,255,255,0.05); color: #fff; }
.social-icon:hover { transform: scale(1.1); background: rgba(255,255,255,0.1); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: var(--text-secondary); }
.footer-bottom a { color: var(--text-secondary); text-decoration: none; margin-left: 24px; transition: color 0.2s;}
.footer-bottom a:hover { color: #fff; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    header { margin: 10px; padding: 12px 20px; border-radius: 20px; }
    header .container { flex-wrap: wrap !important; row-gap: 16px !important; justify-content: center !important; }
    .hero { flex-direction: column; text-align: center; }
    .hero p, .hero-actions, .hero-social-proof { margin-left: auto; margin-right: auto; justify-content: center; }
    .hero-visual { width: 100%; height: 400px; }
    .mockup-tablet { position: relative; margin: 0 auto; right: 0; }
    .mockup-phone { display: none; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .versions-grid { grid-template-columns: 1fr; }
    .steps-wrapper { flex-direction: column; gap: 24px; }
    .step-connector { display: none; }
    .emotional-block { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .site-nav { display: none !important; } 
    .features-grid { grid-template-columns: 1fr; }
    .emotional-features { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .header-utils { display: none !important; } 
}