/* public/assets/css/index.css */

/* ===== ОБЩИЕ СТИЛИ ===== */
html,
body {
    height: 100%;
    width: 100%;
    background: #0a0a0a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

body {
    background: #0a0a0a;
    margin: 0;
    padding: 0;
}

/* ===== ГЕРОЙ С КАРТИНКОЙ ДОННЫ ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 280px;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

.hero-image video {
    width: 100%;
    height: auto;
    display: block;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    pointer-events: none;
}

.hero-content {
    flex: 1;
    min-width: 280px;
    color: white;
}

.hero .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== КНОПКИ ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== ТАРИФЫ ===== */
.pricing {
    background: white;
    padding: 60px 24px;
    text-align: center;
}

.pricing h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.pricing-sub {
    color: #666;
    margin-bottom: 48px;
    font-size: 16px;
}

.pricing-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.pricing-card {
    flex: 1;
    min-width: 280px;
    background: #f8f9fa;
    border-radius: 32px;
    padding: 32px 24px;
    transition: transform 0.2s;
    position: relative;
    color: #1a1a1a;
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.pricing-card .price {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.pricing-card .price small {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}

.pricing-card ul {
    list-style: none;
    margin: 24px 0;
    text-align: left;
}

.pricing-card li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.pricing-card li::before {
    content: "✅";
    color: #22c55e;
}

/* Популярная карточка */
.pricing-card.popular {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.02);
}

.pricing-card.popular h3 {
    color: white;
}

.pricing-card.popular .price {
    color: white;
}

.pricing-card.popular .price small {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card.popular li {
    color: white;
}

.pricing-card.popular li::before {
    content: "✨";
    color: white;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #1a1a1a;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.btn-price {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 16px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.popular .btn-price {
    background: white;
    color: #667eea;
}

.btn-price:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ===== АУДИТОРИЯ ===== */
.audience {
    background: #f0f2f5;
    padding: 60px 24px;
    text-align: center;
}

.audience h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.audience-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    background: white;
    padding: 24px;
    border-radius: 24px;
    flex: 1;
    min-width: 180px;
}

.stat .percent {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat p {
    margin-top: 12px;
    color: #666;
}

/* ===== ФУТЕР ===== */
.footer {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 32px 24px;
    font-size: 14px;
}

.footer a {
    color: #888;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .hero {
        padding: 80px 16px 40px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .hero-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .pricing h2 {
        font-size: 28px;
    }

    .pricing-card {
        min-width: 260px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .stat .percent {
        font-size: 32px;
    }
}

@supports (padding: max(0px)) {
    .hero {
        padding-top: max(100px, env(safe-area-inset-top));
        padding-bottom: max(60px, env(safe-area-inset-bottom));
    }
    .burger {
        top: max(12px, env(safe-area-inset-top));
        left: max(12px, env(safe-area-inset-left));
    }
}