/* ======================================================
   DVZ Pro v20 — brighter balanced mobile home design
   ====================================================== */

:root {
    --v19-surface: rgba(15, 20, 28, .95);
    --v19-surface-2: rgba(20, 27, 36, .94);
    --v19-border: rgba(255, 255, 255, .105);
    --v19-border-strong: rgba(80, 202, 255, .30);
    --v19-blue: #48c9ff;
    --v19-green: #5fe39b;
    --v19-amber: #efc16b;
    --v19-muted: #89949f;
}

body {
    background-color: #070a0f;
    background-image:
        radial-gradient(circle at 50% -12%, rgba(0, 157, 222, .18), transparent 38%),
        linear-gradient(180deg, #091019 0%, #060a0f 100%);
}

#app {
    width: min(100%, 640px);
    margin: 0 auto;
}

/* Welcome: less glow, more product-like */
#welcome-screen {
    background:
        radial-gradient(circle at 50% 30%, rgba(0, 170, 255, .16), transparent 34%),
        #06090d;
}
.welcome-content { max-width: 390px; padding: 28px 24px; }
.main-logo-glow {
    width: 132px;
    margin-bottom: 18px;
    filter: drop-shadow(0 8px 26px rgba(0, 170, 255, .30));
}
.welcome-content h1 {
    font-size: 27px;
    letter-spacing: -.02em;
    background: none;
    color: #f4f8fb;
    -webkit-text-fill-color: currentColor;
}
.welcome-content p { color: #a3afb9; font-size: 14px; }
.features { margin: 22px 0 26px; }
.f-item { margin: 10px 0; color: #b3bdc6; font-size: 14px; }
.start-btn {
    min-height: 54px;
    padding: 15px 20px;
    border: 1px solid rgba(72, 201, 255, .42);
    border-radius: 16px;
    background: linear-gradient(180deg, #20b8f1, #0b8fd0);
    box-shadow: 0 12px 30px rgba(0, 160, 225, .28);
    font-size: 15px;
}

/* Header */
.app-header {
    margin: 0 0 12px;
    padding: 11px 12px;
    border: 1px solid rgba(72, 201, 255, .24);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15,22,30,.94), rgba(11,16,22,.90));
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.header-logo { width: 34px; height: 34px; margin-right: 10px; }
.header-text h1 { font-size: 17px; letter-spacing: -.01em; }
.header-text p { margin-top: 2px; color: #98a5af; font-size: 10px; }
.exit-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255,255,255,.035);
}

/* Shared cards: same material, accents only where useful */
.home-garage-profile,
.home-feature-card,
.home-action-card,
.home-catalog-card,
.home-secondary-card,
.consult-home-card,
.tg-promo-btn {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.home-garage-profile {
    gap: 11px;
    min-height: 72px;
    padding: 12px 13px;
    border: 1px solid rgba(95, 227, 155, .28);
    border-radius: 18px;
    background: radial-gradient(circle at 0% 0%, rgba(55, 220, 136, .12), transparent 38%), linear-gradient(145deg, rgba(14, 26, 22, .98), rgba(12, 17, 23, .95));
}
.home-garage-avatar {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #0b1117 !important;
    box-shadow: inset 0 0 0 1px rgba(95, 227, 155, .12) !important;
}
.home-garage-kicker { color: #70dba1; font-size: 7px; letter-spacing: .11em; }
.home-garage-copy strong { font-size: 14px; }
.home-garage-copy small { color: #9ba7b0; font-size: 9px; }
.home-garage-chevron { color: #70dba1; font-size: 22px; }

/* Generated icons had brighter neutral backgrounds; darken them into the UI */
.home-card-icon-img {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    border-radius: inherit !important;
    filter: brightness(.88) contrast(1.16) saturate(1.08) !important;
    opacity: 1;
}
.home-feature-icon .home-card-icon-img,
.home-action-icon .home-card-icon-img,
.home-catalog-icon .home-card-icon-img,
.home-secondary-icon .home-card-icon-img,
.consult-home-icon .home-card-icon-img {
    transform: scale(1.08);
}

/* Search */
.global-search { margin-top: 10px; }
.global-search-box {
    min-height: 54px;
    border: 1px solid rgba(72, 201, 255, .16);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(17,23,31,.97), rgba(12,17,23,.96));
    box-shadow: none;
}
.global-search-icon { opacity: .68; }
.global-search input { color: #eef5f8; }
.global-search input::placeholder { color: #84919c; }

/* Section heading */
.home-hub { margin-top: 17px; }
.home-hub-head { margin-bottom: 11px; }
.home-eyebrow { color: #55c8f5; font-size: 8px; letter-spacing: .14em; }
.home-hub-head h2 { margin: 4px 0 2px; font-size: 19px; letter-spacing: -.015em; }
.home-hub-head p { color: #75818b; font-size: 10px; }
.home-engine-count {
    padding: 6px 8px;
    border-color: rgba(72, 201, 255, .26);
    background: rgba(72, 201, 255, .09);
    color: #78d8ff;
    font-size: 8px;
}

/* Main diagnostic card */
.home-feature-card {
    min-height: 112px;
    grid-template-columns: 48px 1fr 16px;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(95, 227, 155, .32);
    border-radius: 19px;
    background: radial-gradient(circle at 0% 0%, rgba(38, 218, 130, .17), transparent 44%), linear-gradient(145deg, rgba(13, 25, 21, .98), rgba(12, 17, 23, .96));
}
.home-feature-card::after { display: none; }
.home-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #0b1117 !important;
    box-shadow: inset 0 0 0 1px rgba(95, 227, 155, .11) !important;
}
.home-feature-badge {
    margin-bottom: 5px;
    padding: 3px 6px;
    background: rgba(95, 227, 155, .08) !important;
    color: #68daa0 !important;
    font-size: 7px;
}
.home-feature-copy strong { font-size: 16px; }
.home-feature-copy small { margin-top: 5px; color: #a6b1ba; font-size: 9.5px; }
.home-feature-meta { display: none; }
.home-tool-arrow { color: #62d8ff; }

/* Two main actions — equal and quiet */
.home-action-grid { gap: 9px; margin-top: 9px; }
.home-action-card {
    min-height: 126px;
    padding: 13px;
    border: 1px solid var(--v19-border);
    border-radius: 18px;
    background: radial-gradient(circle at 100% 0%, rgba(49, 185, 255, .10), transparent 44%), var(--v19-surface);
}
.home-action-inspection {
    border-color: rgba(72, 201, 255, .27);
    background: radial-gradient(circle at 100% 0%, rgba(56, 182, 255, .13), transparent 42%), linear-gradient(145deg, rgba(13, 22, 31, .98), rgba(12,17,23,.96));
}
.home-action-compare {
    border-color: rgba(239, 193, 107, .24);
    background: radial-gradient(circle at 100% 0%, rgba(239, 193, 107, .11), transparent 42%), linear-gradient(145deg, rgba(22, 20, 16, .98), rgba(12,17,23,.96));
}
.home-action-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 13px;
    background: #0b1117 !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.055) !important;
}
.home-action-card strong { font-size: 12.5px; }
.home-action-card small { color: #9aa6af; font-size: 8.7px; }
.home-action-linktext { color: #69d6ff; font-size: 8.5px; }

/* Catalogue */
.home-catalog-card {
    grid-template-columns: 46px 1fr auto;
    gap: 11px;
    margin-top: 9px;
    padding: 12px 13px;
    border: 1px solid rgba(72, 201, 255, .24);
    border-radius: 18px;
    background: radial-gradient(circle at 100% 0%, rgba(49, 185, 255, .10), transparent 44%), var(--v19-surface);
}
.home-catalog-icon {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 13px;
    background: #0b1117 !important;
    box-shadow: inset 0 0 0 1px rgba(72,201,255,.08) !important;
}
.home-catalog-card strong { font-size: 13px; }
.home-catalog-card small { color: #97a3ad; }
.home-catalog-arrow { color: #6bd9ff; }

/* Utility row */
.home-utility-head { margin: 14px 2px 7px; }
.home-utility-head span { color: #697681; font-size: 8px; }
.home-utility-head small { display: none; }
.home-secondary-grid { gap: 9px; margin-top: 0; }
.home-secondary-card {
    min-height: 62px;
    padding: 11px;
    border: 1px solid var(--v19-border);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(17,22,29,.96), rgba(12,17,23,.95));
}
.home-secondary-card > span,
.home-secondary-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #0b1117 !important;
}
.home-secondary-card strong { font-size: 10.5px; }
.home-secondary-card small { color: #8f9ba5; }
.support-secondary-card { border-color: rgba(72,201,255,.22); }

/* Consultation: premium accent without looking like an ad banner */
.consult-home-wrap { margin-top: 10px; }
.consult-home-card {
    display: grid !important;
    grid-template-columns: 42px 1fr auto !important;
    gap: 11px !important;
    padding: 13px !important;
    border: 1px solid rgba(239,193,107,.26) !important;
    border-radius: 18px !important;
    background: radial-gradient(circle at 100% 0%, rgba(239,193,107,.10), transparent 42%), linear-gradient(145deg, rgba(20,20,20,.97), rgba(12,17,23,.95)) !important;
}
.consult-home-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
    background: #0b1117 !important;
    box-shadow: inset 0 0 0 1px rgba(239,193,107,.09) !important;
}
.consult-home-label { color: #d8ae62 !important; font-size: 7px !important; }
.consult-home-card strong { font-size: 12.5px !important; }
.consult-home-card small { color: #9aa5ae !important; font-size: 8.6px !important; }
.consult-home-price { color: #e9bd6b !important; font-size: 9.5px !important; }

/* Telegram block */
.promo-section { margin-top: 12px; }
.tg-promo-btn {
    border-color: rgba(72,201,255,.22);
    border-radius: 17px;
    background: radial-gradient(circle at 0% 0%, rgba(0,170,255,.10), transparent 46%), rgba(13,18,25,.95);
}

/* Touch/hover polish */
@media (hover: hover) {
    .home-feature-card:hover,
    .home-action-card:hover,
    .home-catalog-card:hover,
    .home-secondary-card:hover,
    .home-garage-profile:hover,
    .consult-home-card:hover {
        transform: translateY(-1px);
        border-color: rgba(72, 201, 255, .22);
        box-shadow: 0 10px 24px rgba(0,0,0,.19) !important;
    }
}

@media (max-width: 480px) {
    body { padding: 9px; }
    .app-header { border-radius: 16px; }
    .home-garage-profile { border-radius: 16px; }
    .home-hub-head { align-items: center; }
    .home-feature-card { min-height: 108px; padding: 13px; }
    .home-action-card { min-height: 122px; }
    .home-catalog-card { grid-template-columns: 44px 1fr auto; }
    .home-catalog-icon { width: 44px; height: 44px; }
}

@media (max-width: 365px) {
    .consult-home-card {
        grid-template-columns: 40px 1fr !important;
    }
    .consult-home-price { grid-column: 2; }
    .home-action-grid { grid-template-columns: 1fr 1fr; }
}


/* V20 balance: clearer hierarchy without returning to heavy neon */
.home-garage-profile,
.home-feature-card,
.home-action-card,
.home-catalog-card,
.home-secondary-card,
.consult-home-card {
    box-shadow: 0 12px 30px rgba(0,0,0,.23), inset 0 1px 0 rgba(255,255,255,.025) !important;
}
.home-feature-card { box-shadow: 0 14px 34px rgba(0,0,0,.24), 0 0 26px rgba(34,211,120,.045) !important; }
.home-action-inspection { box-shadow: 0 12px 28px rgba(0,0,0,.22), 0 0 22px rgba(43,179,255,.035) !important; }
.home-action-compare { box-shadow: 0 12px 28px rgba(0,0,0,.22), 0 0 22px rgba(239,193,107,.025) !important; }
.home-hub-head h2,
.home-feature-copy strong,
.home-action-card strong,
.home-catalog-card strong,
.home-secondary-card strong,
.consult-home-card strong { color:#f5f9fc !important; }
.home-garage-avatar, .home-feature-icon, .home-action-icon, .home-catalog-icon, .home-secondary-icon, .consult-home-icon {
    background: linear-gradient(145deg, rgba(17,24,32,.98), rgba(8,13,18,.98)) !important;
}
