/* ==========================================================================
   My Battery Guys — "Volt" theme
   Design language ported from the MyBatteryGuys eBay listing template:
   near-black ink, electric lime accent, Inter + mono, pill badges,
   caps-letterspaced eyebrows, rounded tier cards.
   ========================================================================== */

:root {
    --ink: #0b0f14;
    --panel: #151c24;
    --panel-2: #1b2530;
    --panel-3: #25313d;
    --volt: #d7ff3f;
    --volt-soft: #f3ffd0;
    --volt-mid: #e7f5a5;
    --ok: #18c37e;
    --bad: #ff4d4d;
    --warn: #ffb000;
    --muted: #667382;
    --line: #d9e0e7;
    --bg: #f5f7fa;
    --bg-2: #eef1f4;
    --white: #ffffff;
    --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    --mono: 'SF Mono', 'Roboto Mono', Consolas, Monaco, monospace;
    --radius: 18px;
    --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* --- Type helpers -------------------------------------------------------- */
.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before { content: '●'; color: var(--volt); font-size: 10px; }
.on-dark .eyebrow, .eyebrow.lime { color: var(--volt); }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

.sub { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.on-dark .sub { color: rgba(255, 255, 255, 0.72); }

.mono-line {
    font-family: var(--mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    color: var(--volt);
}
.mono-line .sep { color: rgba(255, 255, 255, 0.5); padding: 0 0.35em; }

/* --- Buttons & pills ----------------------------------------------------- */
.btn {
    display: inline-block;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.85rem 1.7rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    font-family: var(--font);
}
.btn:active { transform: translateY(1px); }
.btn-volt { background: var(--volt); color: var(--ink); box-shadow: 0 6px 22px rgba(215, 255, 63, 0.35); }
.btn-volt:hover { background: #e4ff70; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--panel-3); transform: translateY(-2px); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
}
.pill-dark { background: var(--ink); color: var(--volt); }
.pill-volt { background: var(--volt); color: var(--ink); }
.pill-soft { background: var(--bg-2); color: var(--muted); }

/* --- Nav ----------------------------------------------------------------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 15, 20, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 14px 24px;
    max-width: 1120px;
    margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav-logo img { height: 40px; width: auto; border-radius: 8px; }
.nav-logo span { color: var(--white); font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; }
.nav a.link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nav a.link:hover { color: var(--volt); }
.nav .btn { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* --- Hero ---------------------------------------------------------------- */
.hero { background: var(--ink); color: var(--white); padding: 80px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 14px; }
.hero h1 .volt-text { color: var(--volt); }
.hero .mono-line { margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--mono); font-weight: 700; font-size: 1.4rem; color: var(--volt); }
.hero-stat .lbl { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.hero-photo { position: relative; }
.hero-photo img {
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.hero-photo .tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
}

/* --- Callout banner ------------------------------------------------------ */
.callout { background: var(--volt-soft); padding: 26px 0; }
.callout-inner { display: flex; gap: 18px; align-items: flex-start; }
.callout-badge {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--volt);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.2rem;
}
.callout p { font-size: 1.02rem; }
.callout strong { font-weight: 800; }

/* --- Sections ------------------------------------------------------------ */
section.block { padding: 84px 0; }
.block.tint { background: var(--bg); }
.block.dark { background: var(--ink); color: var(--white); }
.block-head { margin-bottom: 44px; }
.block-head h2 { margin: 14px 0 10px; }

/* --- Steps --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
}
.dark .step { background: var(--panel); border-color: rgba(255, 255, 255, 0.1); }
.step-num {
    font-family: var(--mono);
    font-weight: 700;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--volt);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.dark .step-num { background: var(--volt); color: var(--ink); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }
.dark .step p { color: rgba(255, 255, 255, 0.7); }

/* --- Price/tier cards ---------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tier {
    border-radius: var(--radius);
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tier .pill { align-self: flex-start; }
.tier h3 { font-size: 1.45rem; }
.tier .spec { font-family: var(--mono); font-weight: 700; font-size: 0.95rem; color: var(--ok); }
.tier ul { list-style: none; display: grid; gap: 9px; }
.tier ul li { padding-left: 26px; position: relative; font-size: 0.97rem; color: var(--muted); }
.tier ul li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.tier .price { font-family: var(--mono); font-weight: 700; font-size: 1.6rem; margin-top: auto; }
.tier-volt { background: var(--volt-soft); border: 2px solid var(--volt); box-shadow: 0 14px 40px rgba(215, 255, 63, 0.25); }
.tier-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tier-dark .spec { color: var(--volt); }
.tier-dark ul li { color: rgba(255, 255, 255, 0.75); }
.tier-dark ul li::before { color: var(--ok); }

/* --- Brand price cards + modal ------------------------------------------- */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brand-card {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.brand-card img.brand-logo { height: 46px; width: auto; }
.brand-card .range { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; }
.brand-card .note { color: var(--muted); font-size: 0.95rem; }

.modal-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 20, 0.7);
    backdrop-filter: blur(4px);
    z-index: 100;
    padding: 24px;
    overflow-y: auto;
}
.modal-mask.open { display: block; }
.modal {
    max-width: 560px;
    margin: 6vh auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 28px;
    position: relative;
}
.modal .close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 0;
    background: var(--bg-2);
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 800;
}
.modal .close:hover { background: var(--volt); }
.warranty-banner {
    background: var(--volt-soft);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 16px 0 6px;
}
.price-category h4 {
    margin: 20px 0 10px;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}
.price-category ul { list-style: none; }
.price-category li {
    display: flex;
    justify-content: space-between;
    padding: 9px 2px;
    border-bottom: 1px dashed var(--line);
    font-size: 0.98rem;
}
.price-category li span:last-child { font-family: var(--mono); font-weight: 700; }

/* --- CTA strip ----------------------------------------------------------- */
.cta-strip {
    margin-top: 40px;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius);
    padding: 34px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.dark .cta-strip { background: var(--panel); }
.cta-strip .big-phone {
    font-family: var(--mono);
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    color: var(--volt);
    text-decoration: none;
}

/* --- Photos strip -------------------------------------------------------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.photo-grid img {
    border-radius: var(--radius-sm);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
}
.dark .photo-grid img { border-color: rgba(255, 255, 255, 0.12); }

/* --- Videos -------------------------------------------------------------- */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0; }
.video-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    aspect-ratio: 16 / 9;
    background: var(--panel);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Testimonials -------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
}
.quote .stars { color: var(--warn); letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 1rem; margin-bottom: 14px; }
.quote .who { font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: var(--muted); }

/* --- Contact ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: start; }
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 30px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 7px;
}
.field input, .field select, .field textarea {
    width: 100%;
    font-family: var(--font);
    font-size: 1rem;
    padding: 0.8rem 0.95rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--ink);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--volt);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(215, 255, 63, 0.35);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.form-msg { display: none; border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 700; margin-bottom: 16px; }
.form-msg.ok { display: block; background: rgba(24, 195, 126, 0.12); color: var(--ok); }
.form-msg.err { display: block; background: rgba(255, 77, 77, 0.1); color: var(--bad); }

.info-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 32px 30px; }
.info-card .row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.info-card .row:last-child { border-bottom: 0; }
.info-card .ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--panel-2);
    display: grid;
    place-items: center;
    color: var(--volt);
    font-size: 1.1rem;
    flex: 0 0 auto;
}
.info-card a { color: var(--white); text-decoration: none; font-weight: 700; }
.info-card a:hover { color: var(--volt); }
.info-card .lbl { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* --- Footer -------------------------------------------------------------- */
footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); padding: 46px 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.foot a:hover { color: var(--volt); }
.foot .fine { font-size: 0.8rem; width: 100%; text-align: center; margin-top: 18px; color: rgba(255, 255, 255, 0.4); }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .steps, .quotes { grid-template-columns: 1fr; }
    .brands { grid-template-columns: 1fr; }
    .videos { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-inner { flex-wrap: wrap; gap: 12px; }
    .nav .links { order: 3; width: 100%; display: flex; gap: 16px; overflow-x: auto; padding-bottom: 4px; }
    section.block { padding: 60px 0; }
}
@media (min-width: 901px) {
    .nav .links { display: flex; gap: 22px; align-items: center; }
}
