/* 👇 ГЛАВНЫЙ ФИКС: СБРОС МОДЕЛИ РАЗМЕРОВ */
* {
    box-sizing: border-box;
}

:root {
    --bg-color: #000000;
    --text-main: #e7e9ea;
    --text-sub: #71767b;
    --accent: #1d9bf0;
    --accent-green: #00ba7c;
    --card-bg: #16181c;
    --border: #2f3336;
}

body {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%; max-width: 1100px;
    padding: 40px 20px;
    display: flex; flex-direction: column;
    position: relative; z-index: 10;
}

/* Glow Effects */
.glow {
    position: fixed; width: 600px; height: 600px;
    background: var(--accent); filter: blur(150px);
    opacity: 0.15; border-radius: 50%; z-index: 0; pointer-events: none;
}
.glow-1 { top: -200px; left: -100px; }
.glow-2 { bottom: -200px; right: -100px; background: #7c3aed; }

/* Header */
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 80px; }
.logo-area { display: flex; align-items: center; gap: 15px; }
.logo { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(29, 155, 240, 0.6)); transition: transform 0.3s; }
.logo:hover { transform: scale(1.1) rotate(5deg); }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.5px; }

/* Hero */
main { text-align: center; flex: 1; }
.hero-title { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -2px; }
.text-gradient {
    background: linear-gradient(90deg, #1d9bf0, #a855f7);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc { font-size: 20px; color: var(--text-sub); max-width: 600px; margin: 0 auto 50px auto; line-height: 1.5; }

.status-badge {
    background: rgba(0, 186, 124, 0.1);
    color: var(--accent-green);
    padding: 8px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 700;
    border: 1px solid rgba(0, 186, 124, 0.2);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 186, 124, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(0, 186, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 186, 124, 0); } }

/* Buttons */
.cta-group { display: flex; justify-content: center; gap: 20px; margin-bottom: 80px; flex-wrap: wrap; }
.btn { padding: 15px 35px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: transform 0.2s; border: none; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-3px); }
.btn-secondary { background: rgba(255, 255, 255, 0.1); color: var(--text-main); display: flex; align-items: center; border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }

.btn-premium {
    background-image: linear-gradient(#000, #000), linear-gradient(90deg, #00ba7c, #1d9bf0);
    background-origin: border-box; background-clip: padding-box, border-box;
    border: 2px solid transparent; color: #fff;
    height: 60px; padding: 0 30px; border-radius: 12px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    cursor: pointer; font-weight: 800; font-size: 16px;
    box-shadow: 0 5px 20px rgba(0, 186, 124, 0.15); transition: transform 0.2s;
}
.btn-premium:hover { transform: scale(1.05); }

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.price-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--border);
    position: relative;
    display: flex; flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
    overflow: hidden; /* Дополнительная защита от вылезания контента */
}
.price-card:hover { transform: translateY(-5px); border-color: #444; }

.price-card.featured {
    border: 2px solid var(--accent-green);
    background: linear-gradient(180deg, rgba(0,186,124,0.05) 0%, rgba(22,24,28,1) 100%);
    box-shadow: 0 20px 60px rgba(0, 186, 124, 0.1);
    /* 👇 ДОБАВИЛ ВЕРХНИЙ ОТСТУП, ЧТОБЫ OSВОБОДИТЬ МЕСТО ДЛЯ БЕЙДЖА */
    padding-top: 60px; 
}

/* BADGE */
.badge {
    position: absolute;
    top: 15px; /* Отступ сверху */
    left: 50%;
    transform: translateX(-50%); /* Центрируем по горизонтали */
    background: var(--accent-green); color: #000;
    font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 20px;
    z-index: 2;
}

.plan-name { font-size: 18px; margin: 0 0 10px 0; color: #fff; }
.price { font-size: 36px; font-weight: 800; margin-bottom: 5px; color: #fff; }
.plan-desc { color: var(--text-sub); font-size: 14px; margin-bottom: 25px; }

.plan-features { list-style: none; padding: 0; margin: 0 0 30px 0; flex: 1; }
.plan-features li { margin-bottom: 12px; font-size: 14px; color: #ccc; display: flex; gap: 10px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.step-card { background: var(--card-bg); padding: 30px; border-radius: 20px; border: 1px solid var(--border); text-align: left; transition: border-color 0.3s; }
.step-card:hover { border-color: var(--accent); }
.step-card h3 { color: #fff; margin-top: 0; }

/* Browser Mockup */
.browser-mockup {
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
    background: #16181c; box-shadow: 0 20px 80px rgba(29, 155, 240, 0.15);
    overflow: hidden; max-width: 600px; margin: 0 auto; transition: transform 0.3s;
}
.browser-header { background: rgba(255,255,255,0.05); padding: 10px 15px; display: flex; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.faq-item summary { padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::after { content: '+'; color: var(--text-sub); }
.faq-item details[open] summary::after { content: '-'; }
.faq-item p { color: var(--text-sub); padding-bottom: 20px; line-height: 1.6; margin-top: -10px; }

/* Footer */
.site-footer { margin-top: 100px; padding: 60px 20px 20px; border-top: 1px solid var(--border); background-color: #000; font-size: 14px; }
.footer-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: left; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: #fff; font-weight: 800; }
.footer-logo img { width: 24px; }
.footer-desc { color: var(--text-sub); line-height: 1.6; }
.footer-socials { display: flex; gap: 15px; margin-top: 20px; }
.social-icon { color: var(--text-sub); transition: color 0.2s; }
.social-icon:hover { color: var(--accent); }
.footer-col h4 { color: #fff; margin-bottom: 20px; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: var(--text-sub); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: #555; font-size: 12px; }

@media (max-width: 768px) {
    .hero-title { font-size: 42px; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
    .site-footer { text-align: center; }
    .footer-logo, .footer-socials { justify-content: center; }
}

/* Modals */
.custom-modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); z-index: 99999; display: none; align-items: center; justify-content: center; }
.custom-modal-overlay.active { display: flex; }
.custom-modal-card { background: #16181c; border: 1px solid #2f3336; padding: 40px 30px; border-radius: 24px; text-align: center; max-width: 400px; width: 90%; }
.hover-scale:hover { transform: scale(1.05); }