﻿/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #3b82f6;
    --blue-dark: #1d4ed8;
    --blue-light: #2563eb;
    --red: #ef4444;
    --red-dark: #dc2626;
    --green: #16a34a;
    --amber: #d97706;
    --bg: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card2: #f8fafc;
    --border: rgba(0,0,0,0.08);
    --text: #0f172a;
    --text-muted: #64748b;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.07);
    --shadow: 0 2px 6px rgba(0,0,0,0.07), 0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.09), 0 20px 56px rgba(0,0,0,0.14);
    --shadow-blue: 0 8px 32px rgba(37,99,235,0.30);
    --shadow-blue-lg: 0 12px 48px rgba(37,99,235,0.40);
}

html { scroll-behavior: smooth; }

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

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

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 12px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    transition: opacity 0.2s;
}

.navbar-logo:hover { opacity: 0.7; }

.navbar-logo svg {
    width: 32px;
    height: 32px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.navbar-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.navbar-link:hover {
    color: var(--blue);
}

.navbar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    transition: background 0.2s;
}

.navbar-phone:hover {
    background: rgba(59, 130, 246, 0.15);
}

.navbar-phone svg {
    width: 18px;
    height: 18px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 110px 0 90px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(160deg, #eef6ff 0%, #f8fafc 55%, #f4f0ff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 20% -10%, rgba(59,130,246,0.12) 0%, transparent 65%),
        radial-gradient(ellipse 700px 500px at 80% 110%, rgba(139,92,246,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.22);
    border-radius: 100px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-light);
    margin-bottom: 32px;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 12px rgba(59,130,246,0.1);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.85); }
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 16px rgba(59,130,246,0.3));
}

.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.hero-title {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-accent {
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: stretch;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    padding: 26px 40px;
}

.stat-num {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    flex-shrink: 0;
}

/* ===== DIAGNOSTIC SECTION ===== */
.diagnostic-section { padding: 20px 0 64px; }

.diagnostic-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border: none;
    border-radius: var(--radius);
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(118, 75, 162, 0.35), 0 8px 16px rgba(102, 126, 234, 0.2);
}

.diagnostic-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.diagnostic-card::after {
    content: '';
    position: absolute;
    bottom: -60px; right: 120px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

.diag-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.diag-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diag-icon-wrap svg { width: 28px; height: 28px; }

.diag-left h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 6px;
}

.diag-left p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.65;
    max-width: 720px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 56px;
}

.about-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-top: 12px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.7;
}

.about-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font);
    white-space: nowrap;
    border: none;
}

.btn-diag {
    background: #ffffff;
    color: var(--blue-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    flex-shrink: 0;
    font-weight: 700;
}

.btn-diag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.btn-diag svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-diag:hover svg { transform: translateX(3px); }

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    font-family: var(--font);
    box-shadow: var(--shadow-sm);
}

.btn-store:hover {
    border-color: rgba(59,130,246,0.35);
    box-shadow: 0 4px 20px rgba(59,130,246,0.14);
    transform: translateY(-2px);
}

.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-store small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== FRAUD SECTION ===== */
.fraud-section { padding: 64px 0; }

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-tag {
    display: inline-block;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.section-tag--light {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
    color: var(--text-muted);
}

.section-header h2 {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 14px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.65;
}

.fraud-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fraud-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px 28px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.fraud-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-light), var(--blue));
}

.fraud-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,99,235,0.18);
}

.fraud-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(140deg, #ebf4ff, #dbeafe);
    border: 1px solid rgba(37,99,235,0.12);
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
    flex-shrink: 0;
}

.fraud-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.fraud-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #78350f;
    background: rgba(251,191,36,0.10);
    border: 1px solid rgba(251,191,36,0.38);
    border-radius: 10px;
    padding: 12px 14px;
    line-height: 1.55;
    font-weight: 500;
}
.warning::before { content: "\26A0\FE0F"; flex-shrink: 0; font-size: 14px; margin-top: 1px; }

/* ===== SPONSORS ===== */
.sponsors-section {
    padding: 52px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.sponsors-label {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 36px;
}

.marquee-wrap {
    overflow: visible;
    /* Убрана маска для статичного вида */
}

.marquee-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
}

/* Анимация отключена - статичный вид */
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(0); }
}

.sponsor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
    cursor: default;
    flex-shrink: 0;
}

.sponsor-item:hover {
    box-shadow: 0 4px 24px rgba(37,99,235,0.14);
    border-color: rgba(37,99,235,0.22);
    transform: translateY(-3px);
}

.sponsor-logo {
    height: 28px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: block;
}

.sponsor-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* ===== APP SECTION ===== */
.app-section { padding: 80px 0; }

.app-card {
    display: flex;
    align-items: center;
    gap: 64px;
    background: linear-gradient(140deg, #eef6ff 0%, #f6f2ff 100%);
    border: 1.5px solid rgba(37,99,235,0.11);
    border-radius: 28px;
    padding: 60px 64px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.app-card::after {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(59,130,246,0.07), transparent 70%);
    pointer-events: none;
}

.app-text { flex: 1; min-width: 0; }

.app-text h2 {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 14px;
    margin-top: 12px;
}

.app-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 420px;
}

.app-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== PHONE MOCKUP ===== */
.app-mockup { flex-shrink: 0; position: relative; }

.phone-frame {
    width: 200px;
    height: 380px;
    background: #e2e8f0;
    border-radius: 36px;
    border: 2px solid rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.8);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #eef4ff 0%, #e2eaf8 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 20px;
    gap: 14px;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #cbd5e1;
    border-radius: 0 0 18px 18px;
}

.phone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.phone-logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--blue-light);
}

.phone-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

.phone-status.safe {
    background: rgba(22,163,74,0.1);
    border: 1px solid rgba(22,163,74,0.22);
    color: #16a34a;
}

.phone-status svg { width: 14px; height: 14px; }

.phone-bar {
    width: 100%;
    height: 8px;
    background: rgba(0,0,0,0.08);
    border-radius: 4px;
}

.phone-bar.short { width: 70%; }

.phone-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.2), transparent 70%);
    pointer-events: none;
    filter: blur(16px);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
    background: var(--bg-card);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-brand .logo-text { font-size: 20px; display: block; margin-bottom: 4px; font-weight: 800; letter-spacing: -0.03em; }
.footer-brand p { font-size: 13px; color: var(--text-muted); }

.footer-hotline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hotline-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
}

.hotline-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}

.hotline-num:hover { color: var(--blue-light); }

.hotline-free { font-size: 11px; color: var(--green); font-weight: 600; letter-spacing: 0.03em; }

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

/* ===== DIAGNOSTIC MODAL ===== */
.diag-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.diag-modal-overlay.active { display: flex; }

.diag-modal-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    min-width: 320px;
    max-width: 420px;
    width: 90vw;
}

.diag-modal-dots { display: flex; gap: 10px; }

.diag-modal-dots span {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--blue);
    animation: diagDotPulse 1.2s ease-in-out infinite;
}

.diag-modal-dots span:nth-child(2) { animation-delay: 0.2s; }
.diag-modal-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes diagDotPulse {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
    40%           { opacity: 1;   transform: scale(1.25); }
}

.diag-modal-text {
    color: var(--text-muted);
    font-size: 15px;
    letter-spacing: 0.01em;
}

/* Stages */
.diag-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.diag-phone-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    letter-spacing: -0.01em;
}

.diag-phone-sub {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: -4px;
}

.diag-phone-wrap { width: 100%; }

.diag-phone-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(0,0,0,0.12);
    background: var(--bg-card2);
    color: var(--text);
    font-size: 16px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
    display: block;
}

.diag-phone-input:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.diag-phone-input.error {
    border-color: #ef4444 !important;
    background: rgba(239,68,68,0.04) !important;
}

.diag-phone-error {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

.diag-phone-error.visible { display: block; }

.diag-phone-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: var(--blue);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

.diag-phone-btn:hover  { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(59,130,246,0.35); }
.diag-phone-btn:active { transform: translateY(0); }
.diag-phone-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

@keyframes diagShake {
    0%, 100% { transform: translateX(0); }
    15%       { transform: translateX(-9px); }
    35%       { transform: translateX(9px); }
    55%       { transform: translateX(-6px); }
    75%       { transform: translateX(6px); }
}

.diag-phone-input.shake { animation: diagShake 0.45s ease; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .app-card { flex-direction: column; padding: 40px 36px; gap: 32px; }
    .app-text p { max-width: 100%; }
}

@media (max-width: 768px) {
    .navbar-menu { display: none; }
    .navbar-phone span { display: none; }
    .navbar-phone { 
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }
    .navbar-phone svg {
        width: 22px;
        height: 22px;
    }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .fraud-cards { grid-template-columns: 1fr 1fr; }
    .app-mockup { display: none; }
    .diagnostic-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
    .btn-diag { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
    .hero { padding: 72px 0 60px; }
    .hero-stats { flex-direction: column; }
    .stat { padding: 18px 28px; }
    .stat-divider { width: 100%; height: 1px; }
    .fraud-cards { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; align-items: center; }
    .footer-brand p, .footer-copy { text-align: center; }
    .diag-left { flex-direction: column; align-items: flex-start; gap: 16px; }
    .app-buttons { flex-direction: column; }
    .btn-store { width: 100%; }
    .diag-modal-box { padding: 32px 24px; }
}
