@font-face {
    font-family: "TT Firs Neue";
    src: local("TT Firs Neue Regular"), url("/fonts/TT_Firs_Neue_Regular.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "TT Firs Neue";
    src: local("TT Firs Neue Medium"), url("/fonts/TT_Firs_Neue_Medium.woff2") format("woff2");
    font-weight: 500; font-style: normal; font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --blue: #4224fd;
    --blue-dark: #341ad1;
    --blue-darker: #27149e;
    --blue-light: #eff1fd;
    --blue-subtle: rgba(66,36,253,0.04);
    --red: #e42626;
    --green: #1a8d3f;
    --amber: #b36b00;
    --bg: #fff;
    --bg-light: #f7f8fa;
    --bg-card: #fff;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    --text: #111;
    --text-2: #333;
    --text-3: #666;
    --text-4: #999;
    --font: "TT Firs Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --r: 14px;
    --r-sm: 10px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
    --ease: cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    font-size: 16px;
    background: var(--bg);
    color: var(--text-2);
    line-height: 1.55;
    font-weight: 400;
    overflow-x: hidden;
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.anim-fade-up {
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) forwards;
}
.anim-delay-1 { animation-delay: 0.06s; }
.anim-delay-2 { animation-delay: 0.16s; }
.anim-delay-3 { animation-delay: 0.28s; }
.anim-delay-4 { animation-delay: 0.42s; }

.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== HEADER ===== */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    height: 56px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
    font-size: 19px;
    font-weight: 500;
    color: var(--text);
    line-height: 1;
}

.header-nav { display: flex; gap: 28px; }

.header-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 0; height: 2px;
    background: var(--blue);
    border-radius: 1px;
    transition: width 0.3s var(--ease);
}
.header-nav a:hover { color: var(--blue); }
.header-nav a:hover::after { width: 100%; }

.header-hotline {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-3);
}
.header-hotline a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}
.header-hotline a:hover { color: var(--blue); }

/* ===== HERO ===== */
.hero {
    background: var(--bg-light);
    padding: 80px 0 68px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -300px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(66,36,253,0.035) 0%, transparent 65%);
    pointer-events: none;
}

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

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-3);
    max-width: 460px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

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

.stat {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 4px; flex: 1; padding: 24px 16px;
    transition: background 0.25s var(--ease);
}
.stat:hover { background: var(--blue-light); }
.stat-num {
    font-size: 28px; font-weight: 500;
    color: var(--blue); letter-spacing: -0.02em;
    line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-3); letter-spacing: 0.01em; }
.stat-divider {
    width: 1px; align-self: stretch;
    background: var(--border-light); flex-shrink: 0;
    margin: 12px 0;
}

/* ===== DIAGNOSTIC ===== */
.diagnostic-section { padding: 40px 0 56px; position: relative; z-index: 2; }

.diagnostic-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--bg-card);
    border-radius: var(--r);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s var(--ease);
}
.diagnostic-card:hover { box-shadow: var(--shadow-lg); }

.diag-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.diag-icon-wrap {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.diag-icon-wrap svg { width: 22px; height: 22px; }

.diag-text h2 {
    font-size: 16px; font-weight: 500;
    color: var(--text); margin-bottom: 2px;
}
.diag-text p {
    font-size: 13px; color: var(--text-3); line-height: 1.5;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--r-sm);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-family: var(--font);
    white-space: nowrap;
    border: none;
    line-height: 1.4;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 2px 12px rgba(66,36,253,0.18);
}
.btn-primary:hover {
    background: var(--blue-dark);
    box-shadow: 0 4px 20px rgba(66,36,253,0.28);
    transform: translateY(-1px);
}
.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-outline {
    background: var(--bg);
    color: var(--blue);
    border: 1.5px solid var(--blue);
}
.btn-outline:hover {
    background: var(--blue-subtle);
    transform: translateY(-1px);
}

.btn-store {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: all 0.25s var(--ease);
    font-family: var(--font);
    min-width: 170px;
}
.btn-store:hover {
    border-color: var(--blue);
    background: var(--blue-subtle);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-store span {
    display: flex; flex-direction: column;
    line-height: 1.2; text-align: left;
}
.btn-store small {
    display: block; font-size: 10px; font-weight: 400;
    color: var(--text-4); text-transform: uppercase; letter-spacing: 0.04em;
}

/* ===== FRAUD SECTION ===== */
.fraud-section { padding: 72px 0; background: var(--bg-light); }

.section-header { text-align: center; margin-bottom: 44px; }
.section-tag {
    display: inline-block;
    background: var(--blue-light);
    border-radius: 100px; padding: 5px 16px;
    font-size: 12px; font-weight: 500;
    color: var(--blue);
    text-transform: uppercase; letter-spacing: 0.04em;
    margin-bottom: 14px;
}
.section-header h2 {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 500; color: var(--text); margin-bottom: 10px;
}
.section-header p {
    font-size: 15px; color: var(--text-3);
    max-width: 420px; margin: 0 auto;
}

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

.fraud-card {
    background: var(--bg-card);
    border-radius: var(--r);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    display: flex;
    flex-direction: column;
}

.fraud-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(66,36,253,0.03), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
}

.fraud-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.fraud-card:hover::after { opacity: 1; }

.fraud-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.fraud-card-icon svg { width: 22px; height: 22px; }

.fraud-card h3 {
    font-size: 16px; font-weight: 500;
    color: var(--text); margin-bottom: 8px;
}
.fraud-card p {
    font-size: 14px; color: var(--text-3);
    line-height: 1.6; margin-bottom: 14px;
    flex: 1;
}

.warning {
    font-size: 13px;
    color: var(--blue);
    background: var(--blue-light);
    border-left: 3px solid rgba(66,36,253,0.35);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 10px 14px;
    line-height: 1.5;
    margin-top: auto;
}

/* ===== SPONSORS ===== */
.sponsors-section {
    padding: 28px 0;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    overflow: hidden;
}
.sponsors-label {
    text-align: center; font-size: 11px;
    color: var(--text-4);
    text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 500; margin-bottom: 16px;
}
.sponsors-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.sponsors-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: sponsorScroll 28s linear infinite;
}
.sponsors-track:hover { animation-play-state: paused; }

@keyframes sponsorScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.sponsor-card {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px;
    background: var(--bg-card);
    border-radius: var(--r-sm);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
    flex-shrink: 0;
    cursor: default;
    user-select: none;
}
.sponsor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--border);
}
.sponsor-logo {
    width: 28px; height: 28px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sponsor-logo svg { width: 16px; height: 16px; }
.sponsor-name {
    font-size: 13px; font-weight: 500;
    color: var(--text-2); white-space: nowrap;
}

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

.app-card {
    display: flex; align-items: center; gap: 48px;
    background: var(--bg-card);
    border-radius: var(--r);
    padding: 44px 48px; overflow: hidden;
    box-shadow: var(--shadow);
}

.app-text { flex: 1; min-width: 0; }
.app-text h2 {
    font-size: clamp(24px,3.5vw,34px);
    font-weight: 500; color: var(--text);
    margin-bottom: 12px; margin-top: 10px;
}
.app-text p {
    font-size: 15px; color: var(--text-3);
    line-height: 1.6; margin-bottom: 24px; max-width: 400px;
}
.app-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== PHONE MOCKUP ===== */
.app-mockup { flex-shrink: 0; }
.phone-frame {
    width: 180px; height: 340px;
    background: var(--bg-light);
    border-radius: 28px;
    border: 2px solid var(--border);
    overflow: hidden; position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--ease);
}
.app-card:hover .phone-frame { transform: translateY(-4px); }
.phone-screen {
    width: 100%; height: 100%;
    background: linear-gradient(180deg, #fafbfd, #f0f1f5);
    display: flex; flex-direction: column;
    align-items: center;
    padding: 36px 18px 18px; gap: 12px;
    position: relative;
}
.phone-notch {
    position: absolute; top: 7px; left: 50%;
    transform: translateX(-50%);
    width: 64px; height: 16px;
    background: var(--border); border-radius: 0 0 10px 10px;
}
.phone-content {
    display: flex; flex-direction: column;
    align-items: center; gap: 12px;
    width: 100%; margin-top: 8px;
}
.phone-logo { font-size: 18px; font-weight: 500; color: var(--blue); }
.phone-status {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 10px; font-weight: 500; padding: 4px 10px; border-radius: 100px;
}
.phone-status.safe {
    background: rgba(26,141,63,0.06);
    border: 1px solid rgba(26,141,63,0.15);
    color: var(--green);
}
.phone-status svg { width: 12px; height: 12px; }
.phone-bar { width: 100%; height: 7px; background: rgba(66,36,253,0.04); border-radius: 4px; }
.phone-bar.short { width: 70%; }

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    background: var(--bg-light);
}
.footer-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 28px; flex-wrap: wrap;
}
.footer-logo {
    display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.footer-logo .logo-text { font-size: 16px; }
.footer-brand p { font-size: 12px; color: var(--text-3); }
.footer-hotline {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hotline-label {
    font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-4); font-weight: 500;
}
.hotline-num {
    font-size: 17px; font-weight: 500;
    color: var(--text); text-decoration: none; transition: color 0.2s;
}
.hotline-num:hover { color: var(--blue); }
.hotline-free { font-size: 11px; color: var(--green); font-weight: 500; }
.footer-copy { text-align: right; }
.footer-copy p { font-size: 12px; color: var(--text-4); }

/* ===== DIAGNOSTIC MODAL ===== */
.diag-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center; justify-content: center;
}
.diag-modal-overlay.active { display: flex; animation: fadeIn 0.2s ease; }

body.modal-open { overflow: hidden; }

.diag-modal-box {
    background: #fff;
    border-radius: var(--r);
    padding: 36px 28px;
    display: flex; flex-direction: column;
    align-items: center; gap: 16px;
    box-shadow: var(--shadow-lg);
    min-width: 300px; max-width: 380px; width: 90vw;
    animation: scaleIn 0.3s var(--ease);
    position: relative;
}

.diag-modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-light);
    border: none; border-radius: 50%;
    color: var(--text-3);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.diag-modal-close:hover {
    background: var(--border-light);
    color: var(--text);
}

.diag-modal-dots { display: flex; gap: 7px; }
.diag-modal-dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--blue);
    animation: diagDot 1.4s ease-in-out infinite;
}
.diag-modal-dots span:nth-child(2) { animation-delay: .15s; }
.diag-modal-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes diagDot {
    0%,80%,100% { opacity: .15; transform: scale(.8); }
    40% { opacity: 1; transform: scale(1.1); }
}
.diag-modal-text { color: var(--text-3); font-size: 14px; }

.diag-stage {
    display: flex; flex-direction: column;
    align-items: center; gap: 14px; width: 100%;
}
.diag-phone-title { font-size: 17px; font-weight: 500; color: var(--text); text-align: center; }
.diag-phone-sub { font-size: 13px; color: var(--text-3); text-align: center; margin-top: -4px; }
.diag-phone-wrap { width: 100%; }

.diag-phone-input {
    width: 100%; height: 50px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--border);
    background: var(--bg); color: var(--text);
    font-size: 16px; font-family: var(--font);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.diag-phone-input::placeholder { color: #bbb; }
.diag-phone-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(66,36,253,0.08);
}
.diag-phone-input.error {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(228,38,38,0.06) !important;
}
.diag-phone-error {
    display: none; color: var(--red);
    font-size: 12px; margin-top: 4px; font-weight: 500;
}
.diag-phone-error.visible { display: block; }

.diag-phone-btn {
    width: 100%; padding: 13px;
    border-radius: var(--r-sm);
    background: var(--blue); color: #fff; border: none;
    font-size: 15px; font-weight: 500;
    cursor: pointer; font-family: var(--font);
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(66,36,253,0.18);
}
.diag-phone-btn:hover { background: var(--blue-dark); }
.diag-phone-btn:active { transform: scale(0.98); }
.diag-phone-btn:disabled {
    background: var(--border); color: var(--text-3);
    cursor: default; transform: none; box-shadow: none;
}

@keyframes diagShake {
    0%,100% { transform: translateX(0); }
    15% { transform: translateX(-8px); }
    35% { transform: translateX(8px); }
    55% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.diag-phone-input.shake { animation: diagShake 0.4s ease; }

/* ===== RESPONSIVE ===== */

/* Large desktops 1440+ */
@media (min-width: 1440px) {
    .container { max-width: 1140px; }
    .hero { padding: 96px 0 80px; }
    .hero-title { font-size: 56px; }
    .hero-sub { font-size: 18px; max-width: 500px; }
    .hero-stats { padding: 28px 56px; }
    .stat-num { font-size: 32px; }
    .fraud-section { padding: 88px 0; }
    .app-section { padding: 88px 0; }
    .app-card { padding: 48px 56px; gap: 56px; }
}

/* Ultra-wide 1920+ */
@media (min-width: 1920px) {
    .container { max-width: 1200px; }
    .hero { padding: 110px 0 90px; }
    .fraud-cards { gap: 24px; }
}

/* Tablets landscape & small laptops */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .header-nav { gap: 20px; }
    .app-card { gap: 36px; padding: 36px 36px; }
    .phone-frame { width: 160px; height: 300px; border-radius: 24px; }
    .phone-screen { padding: 32px 16px 16px; }
    .phone-notch { width: 56px; height: 14px; }
}

/* Tablets portrait */
@media (max-width: 900px) {
    .header-nav { display: none; }
    .header-hotline { display: none; }
    .header-inner { justify-content: center; }
    .app-card { flex-direction: column; padding: 28px 24px; gap: 24px; }
    .app-text p { max-width: 100%; }
    .app-text h2 { margin-top: 0; }
    .hero { padding: 64px 0 56px; }
    .fraud-section { padding: 56px 0; }
    .app-section { padding: 56px 0; }
}

/* Large phones landscape & small tablets */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .fraud-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
    .fraud-card { padding: 24px 20px; }
    .app-mockup { display: none; }
    .diagnostic-card {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 16px;
    }
    .diagnostic-card .btn-primary { width: 100%; justify-content: center; }
    .stat-num { font-size: 24px; }
    .stat { padding: 20px 12px; }
    .section-header { margin-bottom: 32px; }
    .sponsor-card { padding: 10px 18px; }
    .footer-inner { gap: 24px; }
    .diag-modal-box { padding: 28px 20px; margin: 0 16px; }
}

/* Phones */
@media (max-width: 640px) {
    .hero { padding: 48px 0 40px; }
    .hero-title { margin-bottom: 16px; }
    .hero-sub { font-size: 15px; margin-bottom: 28px; }
    .hero-stats { width: 100%; }
    .stat { padding: 18px 8px; }
    .stat-num { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .fraud-cards { grid-template-columns: 1fr; gap: 14px; }
    .fraud-card { padding: 22px 20px; }
    .fraud-card-icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px; }
    .fraud-card-icon svg { width: 20px; height: 20px; }
    .fraud-card h3 { font-size: 15px; }
    .fraud-card p { font-size: 13px; }
    .footer-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-logo { justify-content: center; }
    .footer-copy { text-align: center; }
    .footer-hotline { align-items: center; }
    .app-card { padding: 24px 20px; }
    .app-text h2 { font-size: 24px; }
    .app-buttons { flex-direction: column; }
    .btn-store { width: 100%; justify-content: center; }
    .sponsors-section { padding: 28px 0; }
    .sponsors-track { animation-duration: 20s; gap: 10px; }
    .sponsor-card { padding: 10px 16px; gap: 8px; }
    .sponsor-logo { width: 28px; height: 28px; }
    .sponsor-name { font-size: 13px; }
    .sponsors-label { margin-bottom: 18px; }
    .diagnostic-section { margin-top: -20px; padding-bottom: 40px; }
    .diag-content { flex-direction: column; align-items: flex-start; gap: 12px; }
    .diag-text h2 { font-size: 15px; }
    .btn { padding: 12px 20px; font-size: 14px; }
    .btn-primary { padding: 13px 22px; }
    .section-header h2 { font-size: 22px; }
    .section-header p { font-size: 14px; }
}

/* Small phones */
@media (max-width: 380px) {
    .container { padding: 0 14px; }
    .hero { padding: 40px 0 32px; }
    .hero-title { font-size: 26px; }
    .hero-sub { font-size: 14px; margin-bottom: 24px; }
    .hero-stats { padding: 16px 20px; }
    .stat-num { font-size: 20px; }
    .diagnostic-card { padding: 16px; }
    .fraud-card { padding: 20px 16px; }
    .warning { font-size: 12px; padding: 8px 12px; }
    .sponsors-section { padding: 24px 0; }
    .sponsors-track { animation-duration: 16s; gap: 8px; }
    .sponsor-card { padding: 8px 12px; }
    .sponsor-logo { width: 24px; height: 24px; border-radius: 6px; }
    .sponsor-name { font-size: 12px; }
    .app-card { padding: 20px 16px; }
    .footer { padding: 28px 0; }
    .diag-modal-box { padding: 24px 16px; min-width: 0; }
    .diag-phone-title { font-size: 16px; }
    .header-inner { height: 48px; }
    .logo-icon { width: 28px; height: 28px; }
    .logo-text { font-size: 17px; }
}

/* Touch target safety */
@media (pointer: coarse) {
    .btn { min-height: 44px; }
    .header-nav a { padding: 8px 0; }
    .hotline-num { padding: 4px 0; }
}

/* Safe areas for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
    .diag-modal-overlay { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .anim-fade-up { opacity: 1; transform: none; }
    .reveal { opacity: 1; transform: none; }
}
