@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* ==========================================
   🎨 1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ
   ========================================== */
:root {
    --primary: #F48FB1;
    --primary-dark: #D81B60;
    --dark: #1E293B;
    --text: #475569;
    --bg: #FDFBFB;
    --white: #FFFFFF;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark); font-weight: 700; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.text-white { color: var(--white); }

/* ==========================================
   📌 2. ШАПКА (HEADER)
   ========================================== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 15px 0;
}

.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    font-size: 1.8em; font-weight: 800; font-family: var(--font-main);
    color: var(--dark); text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.logo i { color: var(--primary); }
.logo span { color: var(--primary); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95em; transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }

.btn-login {
    border: 2px solid var(--primary); color: var(--primary) !important;
    padding: 10px 24px; border-radius: 12px; transition: var(--transition); display: flex; align-items: center; gap: 8px;
}
.btn-login:hover { background: var(--primary); color: var(--white) !important; box-shadow: 0 4px 15px rgba(244, 143, 177, 0.4); }

/* ==========================================
   🖼 3. ГЛАВНЫЙ ЭКРАН (HERO)
   ========================================== */
.hero {
    position: relative;
    padding: 120px 0 140px;
    background: linear-gradient(135deg, #FFF0F5 0%, #FDFBFB 100%);
    overflow: hidden;
    text-align: center;
}

.hero-text { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 4em; line-height: 1.15; margin-bottom: 25px; }
.hero h1 span { color: var(--primary-dark); font-style: italic; }
.hero p { font-size: 1.25em; color: var(--text); margin-bottom: 40px; }

.hero-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
    text-decoration: none; padding: 18px 40px; font-size: 1.1em;
    font-weight: 700; border-radius: 14px; transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white);
    box-shadow: 0 10px 25px rgba(216, 27, 96, 0.3);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(216, 27, 96, 0.4); }

.btn-secondary { background: var(--white); color: var(--primary-dark); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.btn-secondary:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* Декоративные пятна (Blobs) */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 1; opacity: 0.6; animation: float 10s infinite ease-in-out alternate; }
.blob-1 { width: 400px; height: 400px; background: #FFD1DC; top: -100px; left: -100px; }
.blob-2 { width: 300px; height: 300px; background: #FFE4E1; bottom: -50px; right: -50px; animation-delay: -5s; }

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

/* ==========================================
   ⭐ 4. ПРЕИМУЩЕСТВА (FEATURES)
   ========================================== */
.section-title { font-size: 2.8em; text-align: center; margin-bottom: 60px; }

.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; position: relative; z-index: 2;
}

.feature-card {
    background: var(--white); padding: 50px 40px; border-radius: 24px;
    text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition); border: 1px solid rgba(0,0,0,0.02);
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(244, 143, 177, 0.15); border-color: rgba(244, 143, 177, 0.2); }

.feature-icon {
    width: 80px; height: 80px; margin: 0 auto 25px;
    background: #FFF0F5; color: var(--primary-dark); font-size: 2em;
    display: flex; align-items: center; justify-content: center; border-radius: 20px;
}
.feature-card h3 { font-size: 1.5em; margin-bottom: 15px; font-family: var(--font-main); }
.feature-card p { opacity: 0.9; }

/* ==========================================
   💎 5. ТАРИФЫ (PRICING)
   ========================================== */
.pricing { background: var(--dark); }

.price-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; align-items: center;
}

.price-card {
    background: var(--white); padding: 50px 40px; border-radius: 24px;
    position: relative; transition: var(--transition); text-align: left;
}
.price-card:hover { transform: translateY(-10px); }

.price-card.pro { transform: scale(1.05); border: 4px solid var(--primary); box-shadow: 0 20px 50px rgba(0,0,0,0.4); z-index: 2; }
.price-card.pro:hover { transform: scale(1.05) translateY(-10px); }

.price-card .badge {
    position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: var(--white); padding: 8px 20px;
    border-radius: 30px; font-weight: 700; font-size: 0.85em; text-transform: uppercase; letter-spacing: 1px;
}

.price-card h3 { font-size: 1.8em; font-family: var(--font-main); margin-bottom: 15px; color: var(--text); }
.price-card .price { font-size: 3em; font-weight: 800; color: var(--dark); margin-bottom: 30px; display: flex; align-items: baseline; }
.price-card .price span { font-size: 0.35em; color: var(--text); font-weight: 500; margin-left: 5px; }
.price-card.pro .price { color: var(--primary-dark); }

.price-features { list-style: none; margin-bottom: 40px; }
.price-features li { margin-bottom: 15px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.price-features li i { color: #10b981; background: #dcfce7; padding: 5px; border-radius: 50%; font-size: 0.7em; }

.btn-buy {
    display: block; text-align: center; text-decoration: none; padding: 16px;
    border-radius: 14px; font-weight: 700; font-size: 1.1em; transition: var(--transition);
}
.btn-outline { background: #F1F5F9; color: var(--dark); }
.btn-outline:hover { background: #E2E8F0; }
.btn-fill { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); box-shadow: 0 10px 20px rgba(216, 27, 96, 0.2); }
.btn-fill:hover { box-shadow: 0 15px 30px rgba(216, 27, 96, 0.3); transform: translateY(-2px); }

/* ==========================================
   🦶 6. ПОДВАЛ (FOOTER)
   ========================================== */
footer { background: var(--white); padding: 40px 0; text-align: center; border-top: 1px solid #f1f5f9; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.footer-content .logo { font-size: 1.5em; margin-bottom: 0; }
.footer-content p { color: var(--text); opacity: 0.7; font-size: 0.95em; }

/* ==========================================
   📱 7. АДАПТИВНОСТЬ (MOBILE)
   ========================================== */
@media (max-width: 900px) {
    .price-card.pro { transform: scale(1); }
    .price-card.pro:hover { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    
    .hero { padding: 80px 0 100px; }
    .hero h1 { font-size: 2.8em; }
    .hero p { font-size: 1.1em; padding: 0 20px; }
    .hero-actions { flex-direction: column; padding: 0 20px; }
    .btn-primary { width: 100%; }

    .section-title { font-size: 2.2em; padding: 0 20px; }
    .section-padding { padding: 60px 0; }
    
    .features-grid { grid-template-columns: 1fr; padding: 0 20px; }
    .price-cards { grid-template-columns: 1fr; padding: 0 20px; }
    
    .header-container { padding: 0 20px; }
}