:root {
  --bg: #0a100e;
  --bg-2: #101916;
  --bg-3: #17221e;
  --ink: #ecf3ee;
  --muted: #9aaca3;
  --lime: #c6f04d;
  --lime-2: #9bd12a;
  --teal: #1f6f56;
  --line: rgba(198, 240, 77, 0.16);
  --card: #141d1a;
  --danger: #ff6b4a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
button, a, .chip { -webkit-tap-highlight-color: rgba(198,240,77,.25); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(10, 16, 14, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 16px; }
.brand-sub { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--lime), var(--lime-2));
  color: #111; display: grid; place-items: center; font-weight: 800;
}
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--lime); }
.nav-links .nav-contact { display: none; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  color: var(--lime); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap;
}
.nav-phone:hover { color: var(--lime-2); }
.contact-phone { margin-top: 16px; color: var(--ink); font-weight: 700; line-height: 1.6; }
.contact-phone a { color: var(--lime); }
.nav-cta {
  background: var(--lime); color: #111; border: 0; border-radius: 999px;
  padding: 10px 16px; font-weight: 700; cursor: pointer;
}
.cart-btn {
  background: var(--bg-3); color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 14px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.cart-btn span {
  min-width: 20px; height: 20px; border-radius: 999px; background: var(--lime); color: #111;
  display: inline-grid; place-items: center; font-size: 12px;
}
.text-link {
  background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-align: left;
}
.text-link:hover { color: var(--lime); }
.burger { display: none; background: none; border: 0; color: var(--ink); font-size: 24px; }

/* HERO */
.hero { position: relative; min-height: 88vh; display: flex; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,16,14,0.92) 0%, rgba(10,16,14,0.35) 46%, rgba(10,16,14,0.2) 100%),
    url("../img/products/cover.jpg?v=50") center 30%/cover no-repeat;
}
.hero-content { position: relative; padding: 88px 0 22px; max-width: none; width: 100%; min-height: 88vh; display: flex; flex-direction: column; justify-content: space-between; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lime); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 12px; margin-bottom: 16px;
}
h1 {
  font-family: "Sora", Manrope, sans-serif;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.95; letter-spacing: -0.05em; font-weight: 700;
}
h1 span { color: var(--lime); }
.hero p.lead { margin: 22px 0 30px; color: var(--muted); font-size: 18px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  border: 0; border-radius: 999px; padding: 13px 20px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-lime { background: var(--lime); color: #10210f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat { border-top: 1px solid var(--line); padding-top: 14px; }
.stat b { display: block; font-size: 28px; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 13px; }

/* SECTIONS */
section { padding: 88px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
h2 { font-family: "Sora", sans-serif; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.04em; }
.sec-head p { color: var(--muted); max-width: 460px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  border: 1px solid var(--line); background: var(--bg-2); color: var(--muted);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 13px;
}
.chip.active, .chip:hover { background: var(--lime); color: #111; border-color: var(--lime); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; min-height: 100%;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(198,240,77,.4); }
.card-img {
  height: 240px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-origin: content-box;
  padding: 8px 22px;
  position: relative;
}
.badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,16,14,.8); color: var(--lime); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700;
}
.stock {
  position: absolute; top: 12px; right: 12px;
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800;
}
.stock-in { background: var(--lime); color: #111; }
.stock-pre { background: rgba(10,16,14,.82); color: #d7c38a; border: 1px solid rgba(215,195,138,.35); }
.price-row { margin-top: 2px; }
.price { color: var(--lime); font-size: 18px; letter-spacing: -0.03em; }
.card-body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 22px; letter-spacing: -0.03em; }
.specs-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.specs-mini div { background: var(--bg-3); border-radius: 12px; padding: 8px 10px; }
.specs-mini b { display: block; font-size: 14px; }
.specs-mini span { color: var(--muted); font-size: 11px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions button { flex: 1; }

/* COMPARE BAR */
.compare-bar {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(120%);
  bottom: 18px; z-index: 30; width: min(860px, calc(100% - 24px));
  background: #1a2722; border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.compare-bar.show { transform: translateX(-50%) translateY(0); }
.compare-items { display: flex; gap: 8px; flex: 1; overflow: auto; }
.cmp-pill { background: var(--bg-3); border-radius: 999px; padding: 6px 10px; font-size: 13px; white-space: nowrap; }

/* MODAL */
.modal {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.62);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal-card {
  width: min(980px, 100%); max-height: 90vh; overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px;
}
.modal-hero { height: 280px; background: #0d1411 center/cover no-repeat; position: relative; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; font-size: 20px;
}
.modal-body { padding: 26px; }
.modal-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 0; width: 48%; }
.spec-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* APPS + PANELS */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app {
  border-radius: 16px; overflow: hidden; position: relative; background: #111;
  display: flex; align-items: end; padding: 12px;
  aspect-ratio: 2.6 / 1;
  min-height: 0;
}
.app-tall { grid-row: auto; }
.app img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.app-fill img { object-fit: contain; }
.app h3 { position: relative; z-index: 1; }
.app::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.72)); }

.series-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.series-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
}
.series-card h3 { margin: 8px 0 6px; }
.series-card p { color: var(--muted); font-size: 14px; }

/* FORM */
.contact {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px;
  background: linear-gradient(180deg, #14201b, #101815);
  border: 1px solid var(--line); border-radius: 28px; padding: 32px;
}
form { display: grid; gap: 10px; }
input, select, textarea {
  background: #0d1411; color: var(--ink); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
}
textarea { min-height: 110px; resize: vertical; }
.ok { color: var(--lime); display: none; margin-top: 14px; }
.form-error { color: var(--danger); display: none; margin-top: 14px; }
.setup-box { max-width: 640px; margin: 40px auto; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.setup-box ol { color: var(--muted); padding-left: 20px; margin: 12px 0 20px; display: grid; gap: 8px; }

footer { padding: 28px 0 50px; color: var(--muted); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.compare-table th { color: var(--lime); }

.cart-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; width: min(420px, 100%); height: 100vh;
  background: #121c18; z-index: 210; border-left: 1px solid var(--line);
  transform: translateX(104%); transition: transform .28s ease;
  display: flex; flex-direction: column; padding: 18px;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-drawer h2 { font-size: 26px; }
.cart-empty { color: var(--muted); }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { border-radius: 12px; background: #0d1411 center/cover no-repeat; min-height: 72px; }
.cart-meta { display: grid; gap: 4px; align-content: start; }
.cart-meta span { color: var(--muted); font-size: 13px; }
.qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.qty button, .qty input {
  background: var(--bg-3); color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  height: 32px; width: 32px; text-align: center;
}
.qty input { width: 44px; }
.qty .linkish { width: auto; padding: 0 8px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.cart-footer { margin-top: auto; display: grid; gap: 8px; padding-top: 14px; }
.cart-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--lime); color: #111; font-weight: 700; padding: 10px 16px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: .25s ease; z-index: 70;
}
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 960px) {
  .wrap { width: min(1200px, calc(100% - 24px)); }
  .grid, .series-band, .modal-grid, .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .apps { grid-template-columns: 1fr; }
  .app { aspect-ratio: 2.4 / 1; }
  .nav {
    padding-top: env(safe-area-inset-top);
  }
  .nav-inner { height: 60px; gap: 8px; }
  .nav {
    background: #0c1210;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 80;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0; right: 0; bottom: 0;
    background: #0c1210;
    flex-direction: column;
    padding: calc(72px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));
    gap: 0;
    z-index: 75;
    overflow: auto;
  }
  .nav-links.open a {
    display: block;
    padding: 16px 4px;
    font-size: 20px;
    border-bottom: 1px solid var(--line);
    color: #f3f6f1;
    background: transparent;
  }
  body.nav-open .nav {
    background: #0c1210;
  }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; font-size: 26px; }
  .nav-cta { display: none; }
  .nav-phone { font-size: 13px; }
  .hero { min-height: 78vh; }
  .hero-content { min-height: 78vh; padding: 84px 0 16px; }
  .hero h1 { font-size: 34px; margin-bottom: 0; }
  h1 { font-size: clamp(32px, 11vw, 52px); }
  .hero p.lead { font-size: 16px; margin: 16px 0 22px; }
  section { padding: 52px 0; }
  .sec-head { flex-direction: column; align-items: start; }
  .filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .chip { flex: 0 0 auto; padding: 10px 14px; }
  .card:hover { transform: none; }
  .card-img { height: 200px; }
  .card-actions { flex-wrap: wrap; }
  .card-actions button { min-height: 44px; }
  .modal { padding: 0; align-items: stretch; }
  .modal-card {
    width: 100%; max-height: 100dvh; border-radius: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .modal-hero { height: 220px; }
  .modal-body { padding: 18px 16px 28px; }
  .contact { padding: 20px 16px; border-radius: 18px; }
  input, select, textarea { font-size: 16px; min-height: 48px; }
  textarea { min-height: 120px; }
  form .btn { min-height: 48px; justify-content: center; width: 100%; }
  .compare-bar {
    flex-wrap: wrap; bottom: calc(10px + env(safe-area-inset-bottom));
    width: calc(100% - 16px);
  }
  .cart-drawer {
    width: 100%;
    height: 100dvh;
    padding: calc(12px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  }
  .qty button, .qty input { width: 40px; height: 40px; }
  footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .nav-phone { font-size: 11px; max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }
  .cart-label { display: none; }
  .brand { font-size: 15px; }
  .apps { grid-template-columns: 1fr; }
  .stats { gap: 10px; margin-top: 32px; }
  .stat b { font-size: 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; width: 100%; min-height: 48px; }
  .grid { grid-template-columns: 1fr; }
}

@media (min-width: 641px) and (max-width: 960px) {
  .grid { grid-template-columns: 1fr 1fr; }
}

.warranty-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 24px; color: var(--muted); font-size: 15px; line-height: 1.55;
}
.warranty-box p { margin: 0 0 12px; }
.warranty-box ul { margin: 0 0 14px 18px; }
.warranty-box li { margin: 6px 0; }
.warranty-box a { color: var(--lime); }

.menu-close { display: none; }
@media (max-width: 960px) {
  .menu-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: calc(14px + env(safe-area-inset-top));
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #1a2420;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    z-index: 81;
  }
  body.nav-open .burger { color: #fff; font-size: 32px; }
}

.cart-x {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #c6f04d; color: #111; font-size: 30px; line-height: 1;
  cursor: pointer; font-weight: 700;
}

.model-page { padding: 36px 0 60px; }
.model-page h1 { margin: 8px 0 18px; }
.model-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; margin-bottom: 24px; }
.model-grid img { width: 100%; background: #fff; border-radius: 18px; }
.model-page .price { font-size: 28px; font-weight: 800; }
@media (max-width: 800px) { .model-grid { grid-template-columns: 1fr; } }

.cart-close-bar { margin-top: 12px; }
.cart-close-bar .btn { width: 100%; justify-content: center; }

.hero-note { background: #101815; border-bottom: 1px solid var(--line); padding: 28px 0 32px; }
.hero-note p { color: #e7eee8; font-size: 17px; line-height: 1.55; max-width: 760px; margin: 0; }
.hero-note .stats { margin-top: 22px; }

.hero-top { max-width: 680px; }
.hero-top .kicker { text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.hero-top h1 { text-shadow: 0 2px 14px rgba(0,0,0,.45); }
