/* ===== שיל"ת מצברים – עיצוב על בסיס הלוגו (שחור · זהב · מתכת), מובייל-ראשון, RTL ===== */

:root {
    --black: #0c0c0d;        /* רקע ראשי – תואם לרקע הלוגו */
    --black-2: #131316;
    --charcoal: #1b1c20;     /* כרטיסים */
    --charcoal-2: #232429;
    --gold: #f5b400;         /* זהב הלוגו */
    --gold-bright: #ffcb2e;
    --gold-dark: #d99e00;
    --silver: #d7dbe2;       /* טקסט מתכתי */
    --text: #eceef2;
    --text-soft: #9aa1ab;
    --line: rgba(255, 255, 255, 0.08);
    --bg: var(--black);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    --glow: 0 0 36px rgba(245, 180, 0, 0.35);
    --radius: 16px;
}

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

html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    background: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 84px; /* מקום לכפתור הצף */
}

.container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 18px;
}

img { max-width: 100%; display: block; }

/* לוגו PNG עם רקע שקוף – ללא blend, מוצג כפי שהוא */
.brand__logo,
.hero__logo,
.footer__logo {
    object-fit: contain;
}

/* ===== כותרת עליונה ===== */
.topbar {
    background: rgba(12, 12, 13, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--silver);
    min-width: 0;            /* מאפשר לשם להתכווץ במקום לגלוש */
}
.brand__logo { width: 44px; height: 44px; flex-shrink: 0; }
.brand__name {
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topbar__call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid rgba(245, 180, 0, 0.4);
    padding: 7px 12px;
    border-radius: 999px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(245, 180, 0, 0.16), transparent 55%),
        linear-gradient(180deg, #131316 0%, var(--black) 70%);
    padding: 30px 0 46px;
    text-align: center;
    overflow: hidden;
}
.hero__logo {
    width: clamp(150px, 46vw, 220px);
    height: auto;
    margin: 0 auto 18px;
    filter: drop-shadow(0 10px 30px rgba(245, 180, 0, 0.25));
}
.hero__badge {
    display: inline-block;
    background: rgba(245, 180, 0, 0.12);
    border: 1px solid rgba(245, 180, 0, 0.5);
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.hero__title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    overflow-wrap: break-word;
    background: linear-gradient(180deg, #ffffff 0%, var(--silver) 60%, #aeb4bd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 520px;
    margin: 0 auto 20px;
}

/* פס אמון – שני צ'יפים */
.hero__trust {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.trust-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 132px;
    padding: 14px 22px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(245, 180, 0, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(245, 180, 0, 0.35);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.trust-chip__stars {
    color: var(--gold-bright);
    font-size: 1.25rem;
    letter-spacing: 4px;
    text-shadow: 0 0 14px rgba(245, 180, 0, 0.6);
}
.trust-chip__big {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, #ffe07a, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.trust-chip__main {
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 600;
}
.trust-chip__main strong {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 900;
    margin-inline-end: 4px;
}

/* ===== טופס מספר רכב ===== */
.plate-form {
    background: var(--charcoal);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    text-align: right;
}
.plate-form__label {
    display: block;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.plate-form__row { display: flex; flex-direction: column; gap: 12px; }
.plate-form__input {
    width: 100%;
    background: var(--black);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    direction: ltr;
}
.plate-form__input::placeholder { color: #5c626b; letter-spacing: 2px; }
.plate-form__input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(245, 180, 0, 0.18);
}
.plate-form__error {
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
    min-height: 1.2em;
}

/* ===== כפתורים ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    padding: 16px 22px;
    transition: transform 0.12s ease, box-shadow 0.2s, filter 0.2s;
    width: 100%;
}
.btn:active { transform: translateY(1px) scale(0.995); }

.btn--primary {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #1a1300;
    box-shadow: 0 8px 22px rgba(245, 180, 0, 0.28);
}
.btn--primary:hover { filter: brightness(1.05); }
.btn--primary[disabled] { opacity: 0.6; cursor: not-allowed; }

/* כפתור החיוג – הפעולה הראשית, עם זוהר פועם */
.btn--cta {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-dark));
    color: #1a1300;
    box-shadow: var(--glow);
    animation: pulse 2.2s infinite;
}
.btn--cta:hover { filter: brightness(1.06); }
.btn--lg { font-size: 1.2rem; padding: 18px 22px; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 180, 0, 0.45); }
    50%      { box-shadow: 0 0 28px 6px rgba(245, 180, 0, 0.35); }
}

/* כפתור וואטסאפ */
.btn--whatsapp {
    background: #25d366;
    color: #062b14;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
}
.btn--whatsapp:hover { filter: brightness(1.05); }

/* ספינר טעינה בתוך הכפתור */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(26, 19, 0, 0.35);
    border-top-color: #1a1300;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: -2px;
    margin-left: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== אזור תוצאה ===== */
.result { padding: 26px 0 10px; }
.result__card {
    background: var(--charcoal);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 18px;
    animation: pop 0.3s ease;
}
@keyframes pop {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.result__header {
    background: linear-gradient(180deg, var(--charcoal-2), var(--black-2));
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.result__car { font-weight: 900; font-size: 1.15rem; color: var(--silver); }
.result__plate {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #1a1300;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 8px;
    direction: ltr;
    letter-spacing: 1px;
}
.result__body { padding: 18px; }
.result__image {
    width: 160px;
    max-width: 60%;
    height: auto;
    margin: 0 auto 14px;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(245, 180, 0, 0.18));
}
.result__battery-name {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--gold-bright);
    margin-bottom: 4px;
}
.result__battery-name { text-align: center; }

/* תגית היברידי בולטת */
.result__tag {
    display: inline-block;
    margin-inline-start: 8px;
    background: linear-gradient(180deg, #2ee06a, #1db954);
    color: #042b14;
    font-weight: 900;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 999px;
    vertical-align: middle;
    box-shadow: 0 0 14px rgba(29, 185, 84, 0.45);
}

/* רשימת פרטי הרכב והמצבר */
.result__details {
    margin: 4px 0 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
}
.detail-row:nth-child(odd) { background: var(--black); }
.detail-row dt { color: var(--text-soft); font-size: 0.92rem; }
.detail-row dd { color: var(--silver); font-weight: 700; text-align: left; }

/* הודעת אימות להיברידי */
.result__verify {
    background: rgba(46, 224, 106, 0.08);
    border: 1px solid rgba(46, 224, 106, 0.4);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #7ef0a6;
    margin-top: 10px;
    font-weight: 600;
}
.result__notes {
    background: rgba(245, 180, 0, 0.08);
    border: 1px solid rgba(245, 180, 0, 0.3);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--gold-bright);
}
.result__actions {
    display: grid;
    gap: 10px;
    margin-bottom: 4px;
}
.result__disclaimer {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.82rem;
    margin-top: 12px;
}

/* מצב "לא נמצאה התאמה" */
.result__notfound { text-align: center; padding: 28px 20px; }
.result__notfound-icon { font-size: 2.4rem; margin-bottom: 8px; }
.result__notfound-text { color: var(--text-soft); margin-top: 6px; }

/* ===== כפתור התקשרות ראשי ===== */
.call-cta { padding: 28px 0; text-align: center; }
.call-cta__note { color: var(--text-soft); font-size: 0.9rem; margin-top: 12px; }
.call-cta__alt { color: var(--text-soft); font-size: 0.95rem; margin-top: 6px; }
.call-cta__alt a { color: var(--gold); font-weight: 800; text-decoration: none; }

/* ===== יתרונות ===== */
.benefits { padding: 32px 0; }
.section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--silver);
    margin-bottom: 22px;
}
.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 10px auto 0;
    border-radius: 3px;
}
.benefits__grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.benefit {
    background: var(--charcoal);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.18s, border-color 0.18s;
}
.benefit:hover { transform: translateY(-3px); border-color: rgba(245, 180, 0, 0.45); }
.benefit__icon {
    font-size: 1.8rem;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 180, 0, 0.12);
    border: 1px solid rgba(245, 180, 0, 0.3);
    border-radius: 50%;
    margin-bottom: 4px;
}
.benefit__title { font-weight: 900; color: var(--text); font-size: 1.05rem; }
.benefit__text { color: var(--text-soft); font-size: 0.9rem; }

/* ===== כותרת תחתונה ===== */
.footer {
    background: var(--black);
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    text-align: center;
    padding: 30px 0;
}
.footer__logo { width: 110px; height: auto; margin: 0 auto 12px; }
.footer__brand { font-weight: 900; color: var(--silver); font-size: 1.15rem; }
.footer__text { font-size: 0.9rem; margin: 6px 0 12px; }
.footer__phones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}
.footer__phone {
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
    font-size: 1.15rem;
}
.footer__email {
    display: inline-block;
    margin-top: 10px;
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    direction: ltr;
}

/* ===== כפתור חיוג צף ===== */
/* כפתור וואטסאפ צף */
.floating-wa {
    position: fixed;
    bottom: 84px;          /* מעל פס החיוג במובייל */
    left: 16px;
    z-index: 61;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    animation: waPulse 2.4s infinite;
    transition: transform 0.12s ease;
}
.floating-wa:active { transform: scale(0.94); }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50%      { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

.floating-call {
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 60;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-dark));
    color: #1a1300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(245, 180, 0, 0.4);
}

/* ===== מסכים גדולים יותר ===== */
@media (min-width: 600px) {
    .plate-form__row { flex-direction: row; align-items: stretch; }
    .plate-form__input { flex: 1; }
    .plate-form__btn { width: auto; white-space: nowrap; }
    .benefits__grid { grid-template-columns: repeat(3, 1fr); }
    .result__actions { grid-template-columns: 1fr 1fr; }
    body { padding-bottom: 0; }
    .floating-call { display: none; }
    .floating-wa { bottom: 20px; left: 20px; } /* פס החיוג מוסתר – להוריד למטה */
}
