/* ===== MOBILE FIRST ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0b0d0f;
    color: #e0e4ea;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding: 0 16px;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 4px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: #2b7cf5;
    color: #fff;
}
.btn-primary:active {
    opacity: 0.8;
}

.btn-secondary {
    background: #1a1e24;
    color: #c0c8d4;
    border: 1px solid #2a303a;
}
.btn-secondary:active {
    background: #252b33;
}

.btn-outline {
    background: transparent;
    color: #c0c8d4;
    border: 1px solid #2a303a;
}
.btn-outline:active {
    background: #14181e;
}

/* ===== HERO ===== */
.hero {
    padding: 40px 0 20px;
    text-align: center;
}

.hero-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 34px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 40%, #2b7cf5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 17px;
    color: #8892a0;
    margin: 6px 0 24px;
}

.hero .btn {
    max-width: 320px;
    margin: 0 auto;
}

.hero .hint {
    margin-top: 14px;
    color: #4e5a6b;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* ===== 7 DAYS ===== */
.block-seven {
    padding: 24px 0 8px;
}

.seven-card {
    background: #11161d;
    border: 1px solid #2b7cf5;
    border-radius: 20px;
    padding: 32px 20px 28px;
    text-align: center;
    box-shadow: 0 0 50px rgba(43, 124, 245, 0.06);
}

.seven-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.seven-card h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 6px;
}

.seven-card p {
    color: #8892a0;
    font-size: 15px;
    margin-bottom: 22px;
}

.seven-card .btn {
    max-width: 280px;
    margin: 0 auto;
}

/* ===== 12 HOURS ===== */
.block-twelve {
    padding: 20px 0 8px;
}

.twelve-card {
    background: #0f1217;
    border: 1px solid #1a1e24;
    border-radius: 16px;
    padding: 24px 18px 22px;
    text-align: center;
}

.twelve-icon {
    font-size: 30px;
    margin-bottom: 4px;
}

.twelve-card h3 {
    font-size: 19px;
    color: #c8d0dc;
}

.twelve-card p {
    color: #5e6a7a;
    font-size: 14px;
    margin: 4px 0 16px;
}

.twelve-card .btn-secondary {
    max-width: 220px;
    margin: 0 auto;
    padding: 14px 16px;
    font-size: 15px;
}

.output-box {
    margin-top: 14px;
    padding: 12px 14px;
    background: #080b0e;
    border-radius: 10px;
    border: 1px dashed #1f252e;
    color: #b0bac8;
    font-size: 13px;
    word-break: break-all;
    min-height: 20px;
    font-family: 'Courier New', monospace;
}

/* ===== TARIFFS ===== */
.prices {
    padding: 30px 0 10px;
}

.prices h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #e8ecf2;
}

.price-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-card {
    background: #11161d;
    border: 1px solid #1a1e24;
    border-radius: 16px;
    padding: 18px 16px 20px;
    text-align: center;
}

.price-card.popular {
    border-color: #2b7cf5;
    position: relative;
}

.badge {
    display: inline-block;
    background: #2b7cf5;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 14px;
    border-radius: 20px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.price-card h4 {
    font-size: 17px;
    font-weight: 500;
    color: #bcc6d4;
}

.price-card .price {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 6px 0 14px;
}

.price-card .btn {
    padding: 12px 16px;
    font-size: 15px;
    max-width: 200px;
    margin: 0 auto;
}

/* ===== INSTRUCTION ===== */
.instruction {
    padding: 30px 0 10px;
}

.instruction h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 18px;
    color: #e8ecf2;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #0f1217;
    border: 1px solid #1a1e24;
    border-radius: 12px;
    padding: 12px 16px;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #1a1e24;
    border-radius: 50%;
    font-weight: 700;
    font-size: 15px;
    color: #2b7cf5;
    flex-shrink: 0;
}

.step p {
    font-size: 15px;
    color: #b8c4d4;
}

.step strong {
    color: #e0e4ea;
}

.instruction .note {
    text-align: center;
    margin-top: 18px;
    color: #4e5a6b;
    font-size: 13px;
}

/* ===== FOOTER ===== */
footer {
    padding: 30px 0 20px;
    border-top: 1px solid #11151b;
    margin-top: 10px;
    text-align: center;
    color: #2a323f;
    font-size: 13px;
}

/* ===== DESKTOP MINIMAL (не ломается) ===== */
@media (min-width: 600px) {
    body {
        padding: 0 24px;
    }
    .container {
        max-width: 480px;
    }
    .price-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .price-card {
        flex: 1 1 140px;
        max-width: 180px;
    }
    .price-card .btn {
        max-width: 140px;
    }
    .hero .btn,
    .seven-card .btn {
        max-width: 320px;
    }
}

/* ===== ОГРАНИЧЕНИЕ ДЛЯ ДЕСКТОПА (нежелательный заход) ===== */
@media (min-width: 1024px) {
    body::before {
        content: '📱 Откройте этот сайт на телефоне';
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #0b0d0f;
        color: #e0e4ea;
        font-size: 22px;
        z-index: 9999;
        padding: 40px;
        text-align: center;
    }
    body > * {
        display: none;
    }
}
