/* ============================================================================
   HAGANE — shared stylesheet for the whole static site.
   Self-contained: no theme/bootstrap dependency. Coherent across every page.
   ========================================================================== */
:root {
  --red: #F9423A;
  --red-dk: #e23a32;
  --ink: #15171a;
  --muted: #5b5f63;
  --charcoal: #25282A;
  --cream: #f2f1ed;
  --line: #ececec;
  --font: "acumin-pro", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.6; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
section { padding: clamp(60px, 8.5vw, 112px) 0; scroll-margin-top: 84px; }
.red { color: var(--red); }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; font-weight: 700; color: var(--red); margin-bottom: 16px; }
.sec-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.sec-head h2 { font-size: clamp(29px, 4vw, 46px); margin-bottom: 14px; }
.sec-head p { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff; padding: 15px 26px; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1.15; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; box-shadow: 0 10px 24px rgba(249,66,58,.26); border: none; cursor: pointer; }
.btn:hover { background: var(--red-dk); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.6px solid rgba(0,0,0,.2); box-shadow: none; }
.btn-ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--red); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.btn-light:hover { background: #fff; color: var(--red); }
.btn-stack { white-space: nowrap; line-height: 1.12; display: flex; flex-direction: column; }
.btn-stack b { font-weight: 700; }
.btn-stack small { font-weight: 500; font-size: 12.5px; opacity: .85; margin-top: 2px; }

/* ---------------- header (always visible, same on every page) ------------- */
.hgx-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.hgx-bar { max-width: 1180px; margin: 0 auto; padding: 13px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hgx-logo img { height: 46px; }
.hgx-nav { display: flex; align-items: center; gap: 30px; }
.hgx-nav a { color: var(--ink); font-weight: 600; font-size: 15px; }
.hgx-nav a:hover { color: var(--red); }
.hgx-buy { background: var(--red); color: #fff !important; padding: 9px 18px; border-radius: 8px; }
.hgx-buy:hover { background: var(--red-dk); }
.hgx-lang { display: inline-flex; gap: 7px; font-size: 13px; font-weight: 700; color: #a7a7a7; align-items: center; }
.hgx-lang a { color: #a7a7a7; cursor: pointer; }
.hgx-lang a.active { color: var(--ink); }
.hgx-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; cursor: pointer; }
.hgx-burger span { width: 24px; height: 2px; background: var(--ink); display: block; }
.hgx-mobile { display: none; border-top: 1px solid var(--line); padding: 8px 28px 18px; }
.hgx-mobile a { display: block; padding: 12px 0; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
.hgx-mobile .hgx-lang { padding-top: 14px; }
body.overlay-menu-opened .hgx-mobile { display: block; }
@media (max-width: 860px) {
  .hgx-nav { display: none; }
  .hgx-burger { display: flex; }
}

/* ---------------- footer (shared) ----------------------------------------- */
.hgx-footer { background: var(--charcoal); color: #fff; }
.hgx-footer-top { max-width: 1180px; margin: 0 auto; padding: 56px 28px 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.hgx-footer-top img { height: 38px; margin-bottom: 16px; }
.hgx-footer h5 { font-size: 15px; margin-bottom: 12px; }
.hgx-footer small, .hgx-footer p { font-size: 13.5px; color: rgba(255,255,255,.66); display: block; line-height: 1.7; }
.hgx-footer a { color: rgba(255,255,255,.85); }
.hgx-footer a:hover { color: #fff; }
.hgx-footer-bot { border-top: 1px solid rgba(255,255,255,.14); }
.hgx-footer-bot .wrap { padding-top: 20px; padding-bottom: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.hgx-footer-bot p { font-size: 13px; }
@media (max-width: 760px) { .hgx-footer-top { grid-template-columns: 1fr 1fr; } .hgx-footer-bot .wrap { flex-direction: column; text-align: center; } }

/* ---------------- hero ---------------------------------------------------- */
.hero { background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 78px); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 520px; margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge { display: inline-flex; transition: transform .15s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 40px; width: auto; display: block; }
.hero-visual { display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 2.5vw, 32px); }
.hero-lock { height: 396px; width: auto; }
/* reusable phone mockup */
.phone { display: inline-block; background: #0c0c0e; border-radius: 30px; padding: 7px; box-shadow: 0 22px 50px rgba(0,0,0,.42); }
.phone__scr { display: block; border-radius: 24px; overflow: hidden; line-height: 0; }
.phone__scr img { display: block; height: 100%; width: auto; }
.hero-phone .phone__scr img { height: 195px; }
@media (max-width: 860px) {
  .hero-lock { height: 264px; }
  .hero-phone .phone__scr img { height: 132px; }
}

/* ---------------- steps (how it works) ------------------------------------ */
.how { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); }
.step-media { position: relative; height: 400px; border-radius: 20px; background: #161719; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.step-media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.step-media.lock img { max-height: 74%; }
.step-media.photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.step-media.step-phone { background: var(--cream); }
.step-media.step-phone .phone__scr img { height: 350px; }
.step-num { position: absolute; top: 16px; left: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.step h4 { font-size: 21px; margin: 22px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------------- features ------------------------------------------------ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.feat { padding-top: 22px; border-top: 2px solid rgba(0,0,0,.1); }
.feat h4 { font-size: 19px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------------- models -------------------------------------------------- */
.models { background: var(--cream); }
.models-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 3vw, 34px); max-width: 900px; margin: 0 auto; }
.model { border: 1px solid #e7e5e0; border-radius: 22px; padding: 32px; text-align: center; background: #fff; transition: box-shadow .25s ease, transform .2s ease; }
.model:hover { box-shadow: 0 24px 50px rgba(0,0,0,.10); transform: translateY(-3px); }
.model-img { height: 250px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.model-img img { max-height: 100%; width: auto; }
.model-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); background: rgba(249,66,58,.1); padding: 5px 12px; border-radius: 20px; margin-bottom: 12px; }
.model h3 { font-size: 27px; margin-bottom: 10px; }
.model p { color: var(--muted); font-size: 15px; min-height: 66px; }
.model-price { font-size: 30px; font-weight: 700; margin: 16px 0 20px; }
.model-price s { color: #b6b2aa; font-weight: 500; font-size: 18px; margin-left: 8px; }
.model-price .price-ship { display: block; color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 4px; }
.model .btn { width: 100%; }
.secure { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* specs: two products compare */
.spec-models { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,40px); max-width: 900px; margin: 0 auto; text-align: center; }
.spec-model-img { height: 300px; display: flex; align-items: center; justify-content: center; background: var(--cream); border-radius: 18px; padding: 22px; margin-bottom: 16px; }
.spec-model-img img { max-height: 100%; width: auto; }
.spec-model h3 { font-size: 26px; margin-bottom: 6px; }
.spec-model p { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 700px){ .spec-models { grid-template-columns: 1fr; max-width: 420px; } }

/* specs: product comparison table */
.cmp { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: collapse; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 15px; vertical-align: middle; }
.cmp thead th { border-bottom: 2px solid var(--ink); padding-bottom: 20px; }
.cmp tbody td:first-child, .cmp thead th:first-child { text-align: left; }
.cmp tbody td:first-child { font-weight: 600; color: var(--ink); width: 32%; }
.cmp tbody td { color: var(--muted); }
.cmp-prod img { max-height: 150px; max-width: 100%; width: auto; height: auto; margin: 0 auto 10px; }
.cmp-prod span { font-weight: 700; font-size: 18px; color: var(--ink); display: block; }
@media (max-width: 600px){ .cmp th, .cmp td { padding: 11px 8px; font-size: 13px; } .cmp-prod img { height: 76px; } .cmp-prod span { font-size: 15px; } }

/* zoomable images + lightbox */
img.zoomable { cursor: zoom-in; transition: transform .2s ease; }
img.zoomable:hover { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 40px; background: rgba(15,16,18,.86); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s ease; cursor: zoom-out; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 760px); max-height: 86vh; width: auto; height: auto; border-radius: 12px; background: #fff; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.96); transition: transform .25s ease; }
.lightbox.open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 22px; right: 26px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: rgba(255,255,255,.26); }

/* ---------------- page hero (inner pages) --------------------------------- */
.page-hero { background: var(--cream); text-align: center; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); }
.page-hero p { color: var(--muted); font-size: 18px; margin-top: 12px; }

/* ---------------- specs --------------------------------------------------- */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); max-width: 980px; margin: 0 auto; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th { text-align: left; font-size: 22px; padding: 0 0 16px; }
.spec-table td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.spec-table td:first-child { font-weight: 600; width: 42%; padding-right: 16px; }
.spec-table td:last-child { color: var(--muted); }
.box-list { list-style: none; padding: 0; margin: 14px 0 0; }
.box-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.box-list li::before { content: "✓"; color: var(--red); font-weight: 700; margin-right: 12px; }

/* ---------------- faq accordion ------------------------------------------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-section + .faq-section { margin-top: 48px; }
.faq-section > h3 { font-size: 24px; color: var(--red); margin-bottom: 8px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 40px 20px 0; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; position: relative; font-family: inherit; }
.acc-q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--red); transition: transform .2s ease; }
.acc-q:not(.collapsed)::after { content: "−"; }
.acc-panel { display: none; }
.acc-panel.show { display: block; }
.acc-panel .acc-body { padding: 0 30px 22px 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------------- legal --------------------------------------------------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal p { margin-bottom: 18px; font-size: 16px; line-height: 1.75; color: #3c4044; }
.legal p strong { color: var(--ink); }
.back-link { display: inline-block; margin-top: 14px; color: var(--red); font-weight: 600; }

/* ---------------- closing cta band ---------------------------------------- */
.cta { background: var(--red); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(28px, 4.4vw, 50px); color: #fff; margin-bottom: 26px; }
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 10px; font-size: 13px; line-height: 1.15; }
.store img { height: 22px; filter: invert(1); }
.store b { font-size: 16px; display: block; }

/* ---------------- reveal on scroll (fails open) --------------------------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-img { max-width: 440px; margin: 6px auto 0; }
  .steps { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .models-grid, .spec-grid { grid-template-columns: 1fr; max-width: 440px; }
}
@media (max-width: 540px) { .feat-grid { grid-template-columns: 1fr; } }
