/* Tunnelix Web — Cyber Neon Design v2 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #080c12;
    --bg2: #0c1018;
    --bg3: #111822;
    --card: #0e1320;
    --card-hover: #121a28;
    --border: #1a2435;
    --text: #e4eaf2;
    --text2: #6b7d99;
    --accent: #00d4ff;
    --accent2: #00b8e6;
    --accent-dim: rgba(0, 212, 255, 0.12);
    --accent-glow: rgba(0, 212, 255, 0.35);
    --green: #00e5a0;
    --green-glow: rgba(0, 229, 160, 0.3);
    --red: #ff5c5c;
    --orange: #ffc857;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #4de8ff; }

/* ===== PARTICLES CANVAS ===== */
#particles { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; overflow: hidden; }

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(8, 12, 18, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(26, 36, 53, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 10px; letter-spacing: -0.3px; }
.logo-img { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4)); }
.logo span { color: var(--accent); text-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a, .nav-links button { padding: 8px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; transition: all 0.25s ease; font-weight: 500; }
.nav-links a { color: var(--text2); }
.nav-links a:hover { color: var(--text); background: var(--accent-dim); }
.nav-links .btn-nav {
    background: linear-gradient(135deg, #00b8e6, #00d4ff);
    color: #080c12;
    border: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.nav-links .btn-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 28px var(--accent-glow); }

/* Burger menu */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MAIN ===== */
#content { flex: 1; max-width: 1100px; margin: 0 auto; padding: 32px 24px; width: 100%; position: relative; z-index: 1; overflow-x: hidden; }

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 70px 24px 60px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 65%);
    pointer-events: none;
    max-width: 100vw;
}
.hero-logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 32px;
    filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.45));
    animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 50px rgba(0, 212, 255, 0.5)); }
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.1;
    letter-spacing: -1px;
    position: relative;
}
.hero h1 .gradient {
    background: linear-gradient(135deg, #00d4ff, #00e5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero p { color: var(--text2); font-size: 1.15rem; max-width: 520px; margin: 0 auto 36px; line-height: 1.6; position: relative; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, #00b8e6, #00d4ff);
    color: #080c12;
    box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px var(--accent-glow);
}
.btn-secondary {
    background: rgba(14, 19, 32, 0.9);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-1px);
}
.btn-danger { background: linear-gradient(135deg, #ff4444, #ff6b6b); color: #fff; }
.btn-success { background: linear-gradient(135deg, #00c896, #00e5a0); color: #080c12; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; border-radius: 8px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none !important; }

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    text-align: center;
    color: var(--text2);
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CARDS ===== */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}
.card:hover {
    border-color: rgba(0, 212, 255, 0.15);
    box-shadow: var(--shadow-glow);
}
.card-header { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.card-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(26, 36, 53, 0.5); }
.card-row:last-child { border-bottom: none; }
.card-label { color: var(--text2); font-size: 0.9rem; }
.card-value { font-weight: 600; }

/* ===== FEATURES ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 50px 0; }
.feature-card {
    background: linear-gradient(145deg, var(--card), rgba(14, 19, 32, 0.6));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, 0.25); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; display: inline-block; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; font-weight: 700; }
.feature-card p { color: var(--text2); font-size: 0.95rem; line-height: 1.6; }

/* ===== STATS BAR ===== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 50px 0;
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    margin-bottom: 4px;
}
.stat-label { color: var(--text2); font-size: 0.85rem; font-weight: 500; }

/* ===== STEPS (How it works) ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 50px 0;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
    opacity: 0.3;
}
.step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #00b8e6);
    color: #080c12;
    font-size: 1.4rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 0 30px var(--accent-glow);
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text2); font-size: 0.9rem; line-height: 1.5; }

/* ===== REVIEWS ===== */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 50px 0; }
.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s;
}
.review-card:hover { border-color: rgba(0, 212, 255, 0.2); }
.review-stars { color: var(--orange); margin-bottom: 12px; font-size: 1rem; }
.review-text { color: var(--text2); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.review-author { font-weight: 600; font-size: 0.9rem; }
.review-platform { color: var(--text2); font-size: 0.8rem; }

/* ===== FAQ ===== */
.faq { max-width: 700px; margin: 50px auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(0, 212, 255, 0.2); }
.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card);
    transition: all 0.2s;
}
.faq-question:hover { background: var(--card-hover); }
.faq-arrow { transition: transform 0.3s; color: var(--accent); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
    color: var(--text2);
    font-size: 0.9rem;
    line-height: 1.6;
    background: rgba(8, 12, 18, 0.5);
}
.faq-item.open .faq-answer { max-height: 300px; padding: 16px 20px; }

/* ===== TIMER BANNER ===== */
.timer-banner {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 229, 160, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    margin: 40px 0;
}
.timer-banner h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.timer-banner p { color: var(--text2); font-size: 0.95rem; margin-bottom: 16px; }
.timer-countdown {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}
.timer-unit {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    min-width: 70px;
}
.timer-unit .num { font-size: 1.8rem; font-weight: 900; color: var(--accent); }
.timer-unit .lbl { font-size: 0.75rem; color: var(--text2); text-transform: uppercase; margin-top: 2px; }

/* ===== SERVER STATUS ===== */
.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 14px;
    font-size: 0.85rem;
    color: var(--text2);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green-glow);
    animation: statusPulse 2s ease infinite;
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 4px var(--green-glow); }
    50% { box-shadow: 0 0 12px var(--green-glow); }
}

/* ===== SCROLL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PRICES ===== */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 50px 0; }
.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.price-card:hover { border-color: rgba(0, 212, 255, 0.3); transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3); }
.price-card.popular {
    border-color: var(--accent);
    background: linear-gradient(145deg, var(--card), rgba(0, 212, 255, 0.05));
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.08);
}
.price-card.popular::before {
    content: "Популярный";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00b8e6, #00d4ff);
    color: #080c12;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px var(--accent-glow);
}
.price-card .period { font-size: 0.95rem; color: var(--text2); margin-bottom: 12px; font-weight: 500; }
.price-card .price { font-size: 2.5rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -1px; }
.price-card .per-day { font-size: 0.85rem; color: var(--text2); margin-bottom: 20px; }
.price-card .btn { margin-top: 8px; }

/* ===== SUBSCRIPTION STATUS ===== */
.sub-status { padding: 24px; border-radius: var(--radius); margin-bottom: 20px; }
.sub-active { background: rgba(0, 229, 160, 0.06); border: 1px solid rgba(0, 229, 160, 0.2); }
.sub-expired { background: rgba(255, 92, 92, 0.06); border: 1px solid rgba(255, 92, 92, 0.2); }
.sub-trial { background: rgba(255, 200, 87, 0.06); border: 1px solid rgba(255, 200, 87, 0.2); }

.progress-bar { width: 100%; height: 6px; background: rgba(26, 36, 53, 0.6); border-radius: 3px; overflow: hidden; margin-top: 14px; }
.progress-fill { height: 100%; border-radius: 3px; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

/* ===== CONFIG DISPLAY ===== */
.config-box {
    background: rgba(8, 12, 18, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.82rem;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 300px;
    overflow-y: auto;
    position: relative;
    line-height: 1.5;
}
.config-box .copy-btn { position: absolute; top: 10px; right: 10px; }

/* ===== AUTH ===== */
.auth-container { max-width: 420px; margin: 60px auto; }
.auth-container h2 { text-align: center; margin-bottom: 28px; font-size: 1.6rem; font-weight: 700; }
.auth-toggle { text-align: center; margin-top: 20px; color: var(--text2); font-size: 0.9rem; }
.auth-toggle a { cursor: pointer; font-weight: 600; }

/* ===== DASHBOARD ===== */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.dash-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: all 0.2s;
}
.dash-stat:hover { border-color: rgba(0, 212, 255, 0.15); }
.dash-stat .label { font-size: 0.78rem; color: var(--text2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }
.dash-stat .value { font-size: 1.6rem; font-weight: 800; }

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #00c896, #00e5a0);
    color: #080c12;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px var(--green-glow);
}
.toast.error { background: linear-gradient(135deg, #ff4444, #ff6b6b); color: #fff; box-shadow: 0 8px 30px rgba(255, 92, 92, 0.3); }
.toast.hidden { opacity: 0; transform: translateY(20px) scale(0.95); pointer-events: none; }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(26, 36, 53, 0.5); font-size: 0.9rem; }
th { color: var(--text2); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
tr:hover td { background: rgba(0, 212, 255, 0.02); }

/* ===== LOADING ===== */
.spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2.5px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading { text-align: center; padding: 48px; color: var(--text2); }

/* ===== TABS ===== */
.tabs { display: flex; gap: 2px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.tab {
    padding: 12px 20px;
    cursor: pointer;
    color: var(--text2);
    border-bottom: 2px solid transparent;
    transition: all 0.25s;
    font-weight: 600;
    font-size: 0.9rem;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text2); margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(8, 12, 18, 0.7);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: all 0.25s;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group .hint { font-size: 0.8rem; color: var(--text2); margin-top: 6px; }
.form-error { color: var(--red); font-size: 0.85rem; margin-top: 6px; font-weight: 500; }

/* ===== QR ===== */
.qr-container { text-align: center; padding: 24px; }
.qr-container img { max-width: 250px; border-radius: var(--radius); background: #fff; padding: 14px; box-shadow: var(--shadow); }

/* ===== FOOTER ===== */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 28px 24px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer p { color: var(--text2); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text2); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .burger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: rgba(8, 12, 18, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        gap: 8px;
    }
    .nav-links.open { display: flex; }
    .nav-links a, .nav-links button { width: 100%; text-align: center; padding: 12px; font-size: 0.95rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero { padding: 36px 16px 24px; }
    .hero-logo { width: 100px; height: 100px; margin-bottom: 24px; }
    .hero p { font-size: 0.95rem; padding: 0 8px; }
    .hero-cta { flex-direction: column; align-items: center; gap: 12px; }
    .hero-cta .btn { width: 100%; max-width: 280px; }
    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 28px; }
    .prices { grid-template-columns: 1fr; gap: 14px; }
    .price-card { padding: 24px 20px; }
    .price-card .price { font-size: 2rem; }
    .features { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 24px 20px; }
    .feature-icon { font-size: 2rem; }
    .feature-card h3 { font-size: 1.05rem; }
    .feature-card p { font-size: 0.9rem; }
    .dash-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dash-stat { padding: 14px; }
    .dash-stat .value { font-size: 1.3rem; }
    .stats-bar { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 16px; margin: 30px 0; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.78rem; }
    .steps { grid-template-columns: 1fr; gap: 24px; margin: 30px 0; }
    .steps::before { display: none; }
    .step { padding: 0 8px; }
    .step-number { width: 50px; height: 50px; font-size: 1.2rem; }
    .step h3 { font-size: 1rem; }
    .step p { font-size: 0.85rem; }
    .reviews { grid-template-columns: 1fr; gap: 14px; margin: 30px 0; }
    .review-card { padding: 20px; }
    .review-text { font-size: 0.85rem; }
    .timer-banner { padding: 20px 16px; margin: 30px 0; }
    .timer-banner h3 { font-size: 1rem; }
    .timer-banner p { font-size: 0.85rem; }
    .timer-countdown { gap: 6px; }
    .timer-unit { min-width: 56px; padding: 10px 12px; }
    .timer-unit .num { font-size: 1.3rem; }
    .timer-unit .lbl { font-size: 0.65rem; }
    .faq { margin: 30px 0; }
    .faq-question { padding: 14px 16px; font-size: 0.9rem; }
    .faq-answer { font-size: 0.85rem; }
    .card { padding: 20px; }
    .config-box { font-size: 0.75rem; padding: 14px; }
    .btn { padding: 12px 20px; font-size: 0.9rem; }
    .btn-sm { padding: 10px 16px; font-size: 0.8rem; }
    .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .footer-links a { font-size: 0.8rem; }
    footer p { font-size: 0.8rem; }
    .toast { left: 16px; right: 16px; bottom: 16px; text-align: center; font-size: 0.85rem; padding: 12px 20px; }
    #content { padding: 20px 16px; }
    .auth-container { margin: 30px auto; padding: 0 16px; }
    .auth-container h2 { font-size: 1.3rem; }
    .table-wrap { font-size: 0.85rem; }
    th, td { padding: 10px 8px; font-size: 0.8rem; }
    .modal-card { margin: 16px; padding: 20px; max-height: 90vh; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 1.5rem; }
    .hero-logo { width: 80px; height: 80px; }
    .stat-number { font-size: 1.3rem; }
    .timer-countdown { gap: 4px; }
    .timer-unit { min-width: 50px; padding: 8px 10px; }
    .timer-unit .num { font-size: 1.1rem; }
}
