/* === STYLE.CSS ===
 * assets/css/style.css
 * НАЗНАЧЕНИЕ: Основные стили лендинга TG Guard
 * ЭСТЕТИКА: Dev Terminal SaaS (#12)
 * РАЗМЕР: ~700 строк
 */

/* === RESET + VARIABLES === */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #171717;
    --bg-input: #1a1a1a;
    --bg-tertiary: rgba(255, 255, 255, 0.05);

    --text-primary: #fafafa;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;

    --border-color: #262626;
    --border-focus: #3b82f6;

    --color-primary: #3b82f6;
    --color-primary-hover: #2563eb;
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: all 0.2s ease;
}

html.light-theme {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f0f2f5;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #737373;
    --border-color: #e0e4e8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-hover); }

.hidden { display: none !important; }

/* === HEADER === */
.landing-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

html.light-theme .landing-header {
    background: rgba(245, 247, 250, 0.9);
}

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

.landing-header .landing-container {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    white-space: nowrap;
}

.landing-logo i { color: var(--color-success); width: 24px; height: 24px; }

.landing-nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.landing-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.landing-nav a:hover { color: var(--text-primary); }

.landing-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-theme-toggle {
    width: 40px; height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.landing-theme-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }

.theme-icon-light { display: none; }
.theme-icon-dark { display: block; }
html.light-theme .theme-icon-light { display: block; }
html.light-theme .theme-icon-dark { display: none; }

.landing-mobile-menu {
    display: none;
    background: none; border: none;
    color: var(--text-primary); cursor: pointer; padding: 8px;
}

/* === HERO === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 64px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

html.light-theme .hero-section::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
}

.hero-section .landing-container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content { flex: 1; max-width: 600px; }

.hero-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.hero-badge-accent {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-primary);
}

.hero-badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-warning);
}

.hero-title {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title-prefix { color: var(--color-success); }

.cursor {
    color: var(--color-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-subtitle strong { color: var(--color-success); }

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    text-decoration: none;
}

.landing-cta {
    padding: 16px 28px;
    font-size: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}
.landing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 16px 28px;
    font-size: 16px;
}
.btn-ghost:hover { background: var(--bg-card); color: var(--text-primary); }

/* === HERO VISUAL: TELEGRAM DEMO === */
.hero-visual { flex: 1; max-width: 440px; }

.tg-demo {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tg-demo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.tg-demo-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 14px;
}

.tg-demo-info { flex: 1; }
.tg-demo-name { font-size: 14px; font-weight: 600; }
.tg-demo-status { font-size: 11px; color: var(--color-success); }

.tg-demo-messages {
    padding: 16px;
    min-height: 320px;
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tg-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px 12px 12px 4px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
}

.tg-msg.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.tg-msg-bot {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}

.tg-msg-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    align-self: flex-start;
}

.tg-msg-ok {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    align-self: flex-start;
}

.tg-msg-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    text-align: right;
}

.tg-msg-icon { margin-right: 6px; }

/* === PAIN/SOLUTION === */
.pain-solution-section { padding: 80px 0; }

.pain-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pain-side, .solution-side {
    border-radius: var(--radius-lg);
    padding: 32px;
}

.pain-side {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, var(--bg-card) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

html.light-theme .pain-side {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, var(--bg-card) 100%);
}

.solution-side {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

html.light-theme .solution-side {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.pain-header, .solution-header {
    margin-bottom: 24px;
}

.pain-label, .solution-label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pain-label { color: var(--color-danger); }
.solution-label { color: var(--color-success); }

.pain-list, .solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pain-list li, .solution-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.pain-list li:last-child, .solution-list li:last-child { border-bottom: none; }

.pain-action, .solution-action { color: var(--text-secondary); }

.pain-time {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-danger);
    white-space: nowrap;
}

.solution-time {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-success);
    white-space: nowrap;
}

.pain-total, .solution-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
}

.pain-total { color: var(--color-danger); }
.solution-total { color: var(--color-success); }

/* === FEATURES === */
.features-section { padding: 80px 0; }

.section-title {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.feature-number {
    position: absolute;
    top: 24px; right: 24px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-mono);
    line-height: 1;
}

html.light-theme .feature-number {
    color: rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    margin-bottom: 16px;
}

.feature-icon-green { background: rgba(16, 185, 129, 0.1); color: var(--color-success); }
.feature-icon-red { background: rgba(239, 68, 68, 0.1); color: var(--color-danger); }
.feature-icon-yellow { background: rgba(245, 158, 11, 0.1); color: var(--color-warning); }

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === HOW IT WORKS === */
.steps-section { padding: 80px 0; }

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    max-width: 280px;
    flex: 1;
}

.step-number {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: white;
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}

.step-icon {
    color: var(--color-primary);
    margin-bottom: 16px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    padding-top: 60px;
}

/* === CHECKLIST === */
.checklist-section { padding: 80px 0; }

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.checklist-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.checklist-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checklist-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}

.checklist-dot-red { background: var(--color-danger); }
.checklist-dot-yellow { background: var(--color-warning); }
.checklist-dot-green { background: var(--color-success); }

.checklist-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-items li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checklist-items li i {
    color: var(--text-muted);
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* === PRICING === */
.pricing-section { padding: 80px 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card-featured {
    border-color: var(--color-success);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-name {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pricing-price {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-price-free { color: var(--color-success); }

.pricing-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.pricing-features li i { color: var(--color-success); width: 16px; height: 16px; flex-shrink: 0; }

.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.pricing-btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}
.pricing-btn-primary:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); color: white; }

.pricing-btn-ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.pricing-btn-ghost:hover { background: var(--bg-input); color: var(--text-primary); }

/* === CTA SECTION === */
.cta-section { padding: 80px 0; }

.cta-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
}

html.light-theme .cta-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--color-success);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-title {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.cta-telegram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* === FOOTER === */
.landing-footer {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
}

.landing-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
}

.landing-footer-logo i { color: var(--color-success); width: 18px; height: 18px; }

.landing-footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .hero-section .landing-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content { max-width: 600px; }
    .hero-badges { justify-content: center; }
    .hero-cta { justify-content: center; }
    .hero-visual { max-width: 400px; width: 100%; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .checklist-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-wrap: wrap; justify-content: center; }
    .step-connector { display: none; }
    .step-card { max-width: none; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* =============================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    /* Header — лого слева, actions справа */
    .landing-nav { display: none; }
    .landing-mobile-menu { display: flex; }
    .landing-header .landing-container { gap: 12px; }
    .landing-container { padding: 0 16px; }
    .landing-header-actions { margin-left: auto; }

    /* Mobile nav open state */
    .landing-nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: 16px 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
        z-index: 99;
    }
    .landing-nav.mobile-open a {
        font-size: 16px;
        padding: 8px 0;
    }

    /* Hero */
    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    .hero-section .landing-container { gap: 32px; }
    .hero-title { font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
    .hero-subtitle { font-size: 15px; margin-bottom: 24px; line-height: 1.6; }
    .hero-badges { gap: 8px; margin-bottom: 16px; }
    .hero-badge { font-size: 12px; padding: 6px 12px; }
    .hero-badge i { width: 14px; height: 14px; }
    .hero-cta { flex-direction: column; gap: 10px; }
    .hero-cta .btn,
    .hero-cta .landing-cta,
    .hero-cta .btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    .hero-visual { max-width: 100%; }

    /* TG Demo */
    .tg-demo-messages {
        min-height: 240px;
        max-height: 300px;
        padding: 12px;
    }
    .tg-msg { font-size: 12px; padding: 8px 12px; max-width: 90%; }

    /* Sections */
    .pain-solution-section,
    .features-section,
    .checklist-section,
    .steps-section,
    .pricing-section,
    .cta-section { padding: 48px 0; }

    .section-title { font-size: 22px; margin-bottom: 8px; }
    .section-subtitle { font-size: 14px; margin-bottom: 32px; }

    /* Pain/Solution */
    .pain-solution-grid { grid-template-columns: 1fr; gap: 16px; }
    .pain-side, .solution-side { padding: 20px; }
    .pain-list li, .solution-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 13px;
    }
    .pain-time, .solution-time { font-size: 11px; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { padding: 20px; }
    .feature-title { font-size: 16px; }
    .feature-desc { font-size: 13px; }
    .feature-icon { width: 40px; height: 40px; margin-bottom: 12px; }

    /* Checklist */
    .checklist-grid { grid-template-columns: 1fr; gap: 12px; }
    .checklist-category { padding: 16px; }
    .checklist-items li { font-size: 12px; }

    /* Steps */
    .steps-grid { flex-direction: column; align-items: stretch; gap: 12px; }
    .step-card { padding: 24px; max-width: none; }
    .step-title { font-size: 16px; }
    .step-desc { font-size: 13px; }

    /* Pricing */
    .pricing-grid { max-width: 100%; gap: 16px; }
    .pricing-card { padding: 24px; }
    .pricing-price { font-size: 40px; }
    .pricing-card-featured { margin-top: 8px; }

    /* CTA */
    .cta-card { padding: 32px 20px; }
    .cta-title { font-size: 20px; line-height: 1.3; }
    .cta-text { font-size: 14px; }
    .cta-badge { font-size: 12px; padding: 6px 14px; }
    .cta-telegram { font-size: 16px; }
    .cta-section .landing-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    /* Footer */
    .landing-footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max-width: 380px)
   ============================================= */
@media (max-width: 380px) {
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 14px; }
    .section-title { font-size: 20px; }
    .cta-title { font-size: 18px; }
    .pricing-price { font-size: 36px; }
}

/* =============================================
   LANG SWITCHER
   ============================================= */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: var(--bg-primary);
}

.lang-btn.active {
    color: var(--color-primary);
    background: var(--bg-primary);
}

@media (max-width: 768px) {
    .lang-switcher {
        gap: 1px;
        padding: 2px;
    }
    .lang-btn {
        padding: 3px 6px;
        font-size: 10px;
    }
}

/* === CHECKS SECTION (розшифровка монiторингу) === */
.checks-section {
    padding: 80px 0;
}

.checks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.check-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.check-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.check-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--color-primary);
}

.check-icon svg {
    width: 20px;
    height: 20px;
}

.check-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.check-detail {
    margin-bottom: 10px;
}

.check-detail:last-child {
    margin-bottom: 0;
}

.check-label {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.check-detail p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .checks-section {
        padding: 50px 0;
    }
    .checks-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .check-card {
        padding: 18px;
    }
}

/* === PARTNERS SECTION (партнерська програма) === */
.partners-section {
    padding: 80px 0;
}

.partners-timeline {
    max-width: 640px;
    margin: 40px auto 0;
    position: relative;
    padding-left: 48px;
}

.partners-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary) 80%, transparent);
    border-radius: 1px;
}

.partner-step {
    position: relative;
    padding: 0 0 28px 0;
}

.partner-step:last-child {
    padding-bottom: 0;
}

.partner-step-num {
    position: absolute;
    left: -48px;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    z-index: 1;
}

.partner-step p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-top: 6px;
    margin: 0;
}

.partners-cta-wrap {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .partners-section {
        padding: 50px 0;
    }
    .partners-timeline {
        padding-left: 40px;
        margin-top: 30px;
    }
    .partners-timeline::before {
        left: 14px;
    }
    .partner-step-num {
        left: -40px;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .partner-step p {
        font-size: 13px;
    }
}
