:root {
  --bg: #151719;
  --bg-soft: #1c2025;
  --card: #f6f7f8;
  --text: #f6f7f8;
  --muted: #a7b0bb;
  --ink: #161a1f;
  --ink-soft: #606b78;
  --blue: #1f5eff;
  --red: #b42318;
  --line: rgba(255, 255, 255, .11);
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 94, 255, .2), transparent 34rem),
    linear-gradient(180deg, #151719 0%, #111315 58%, #f6f7f8 58%, #f6f7f8 100%);
  font-family: Inter, "Noto Sans SC", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem clamp(1.2rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(21, 23, 25, .82);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .9rem;
  background: linear-gradient(135deg, #1f5eff, #122761);
  font-weight: 800;
  letter-spacing: -.06em;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: .74rem; margin-top: .12rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem; color: #d5dce5; font-size: .92rem; }
nav a { opacity: .8; }
nav a:hover { opacity: 1; }
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}
.language-switcher a {
  padding: .42rem .65rem;
  border-radius: 999px;
  color: #cfd7e1;
  font-size: .78rem;
  font-weight: 900;
}
.language-switcher a.active {
  color: #fff;
  background: var(--blue);
}

.hero, .section, .checkout-band { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  gap: clamp(2rem, 5vw, 4.8rem);
  align-items: center;
  min-height: 720px;
  padding: 4.5rem 0 5.5rem;
}
.eyebrow { color: #9db7ff; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 13ch; margin-bottom: 1.2rem; font-size: clamp(3.2rem, 8vw, 6.7rem); line-height: .9; letter-spacing: -.075em; }
h2 { margin-bottom: .8rem; color: var(--ink); font-size: clamp(2rem, 4vw, 3.4rem); line-height: .98; letter-spacing: -.055em; }
.hero-copy p { max-width: 650px; color: #c7d0da; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0; }
.button, .wp-element-button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.2rem;
  border: 0;
  border-radius: .9rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.primary, .wp-element-button, button { color: #fff; background: var(--blue); }
.secondary, .ghost { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; max-width: 720px; margin-top: 2.2rem; }
.trust-strip span { padding: .8rem .85rem; border: 1px solid var(--line); border-radius: 1rem; color: #e8edf2; background: rgba(255, 255, 255, .045); font-size: .84rem; }
.hero-panel { position: relative; }
.hero-panel svg { display: block; width: 100%; border: 1px solid rgba(255, 255, 255, .12); border-radius: 2rem; box-shadow: var(--shadow); }
.status-card {
  position: absolute;
  top: -1rem;
  right: 1.1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem .95rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 99rem;
  background: rgba(17, 20, 23, .84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  color: #dce4ee;
  font-size: .85rem;
}
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 .35rem rgba(53, 208, 127, .14); }

.section { padding: 5.5rem 0; color: var(--ink); }
.section-head { max-width: 780px; margin-bottom: 2rem; }
.section-head p, .split p, .checkout-band p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }
.section-head.inline { display: flex; align-items: end; justify-content: space-between; gap: 1rem; max-width: none; }
.text-link { color: var(--blue); font-weight: 800; }
.platform-grid, .product-grid, .compliance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.platform-grid article, .compliance-grid article, .content-card {
  min-height: 160px;
  padding: 1.2rem;
  border: 1px solid #dfe4ea;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}
.platform-grid span { color: var(--blue); font-size: .78rem; font-weight: 900; }
.platform-grid strong, .platform-grid small { display: block; }
.platform-grid strong { margin-top: 2.8rem; font-size: 1.3rem; }
.platform-grid small, .compliance-grid span { margin-top: .35rem; color: var(--ink-soft); line-height: 1.6; }
.product-section { border-top: 1px solid #e2e7ec; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid #dfe4ea;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}
.part-visual {
  height: 180px;
  margin-bottom: 1rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, .18), transparent), radial-gradient(circle at 24% 26%, rgba(31, 94, 255, .22), transparent 10rem), #171b20;
}
.part-visual::before, .part-visual::after { content: ""; display: block; position: relative; background: linear-gradient(135deg, #d8e0ea, #697582); box-shadow: 0 20px 40px rgba(0, 0, 0, .28); }
.slide::before { width: 74%; height: 42%; top: 48px; left: 13%; border-radius: 1.4rem; }
.slide::after { width: 16%; height: 30%; top: -18px; left: 42%; border-radius: 50%; background: #171b20; }
.valve::before { width: 72%; height: 16%; top: 72px; left: 14%; border-radius: 99rem; }
.valve::after { width: 30%; height: 30%; top: 40px; left: 35%; border-radius: 50%; }
.housing::before { width: 58%; height: 54%; top: 42px; left: 21%; border-radius: 1.3rem; }
.housing::after { width: 22%; height: 22%; top: -28px; left: 39%; border-radius: .65rem; background: #171b20; }
.trigger::before { width: 64%; height: 20%; top: 52px; left: 18%; border-radius: 99rem; }
.trigger::after { width: 22%; height: 42%; top: 55px; left: 44%; border-radius: 0 0 1.2rem 1.2rem; }
.tag { display: inline-flex; margin-bottom: .7rem; padding: .34rem .58rem; border-radius: 99rem; font-size: .72rem; font-weight: 900; }
.tag.in-stock { color: #0f6a3a; background: #ddf8e9; }
.tag.dealer { color: #113d9a; background: #e3ecff; }
.tag.review { color: #8d1b13; background: #ffe8e5; }
.product-card h3 { margin-bottom: .45rem; font-size: 1.12rem; }
.product-card p { min-height: 3rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }
.product-meta { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; color: var(--ink-soft); font-size: .82rem; }
.product-meta strong { color: var(--ink); }
.product-card .button { width: 100%; min-height: 2.8rem; }
.product-card .ghost { color: var(--ink); box-shadow: inset 0 0 0 1px #d4dae2; }
.split, .checkout-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr); gap: 2rem; align-items: center; }
.capability-list { display: grid; gap: .8rem; }
.capability-list div { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid #dfe4ea; border-radius: 1.1rem; background: #fff; }
.capability-list strong { color: var(--blue); }
.compliance { padding-bottom: 2rem; }
.compliance-grid article { min-height: 190px; }
.compliance-grid strong { display: block; margin-bottom: .8rem; font-size: 1.25rem; }
.checkout-band {
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(31, 94, 255, .25), rgba(180, 35, 24, .08)), #151719;
  box-shadow: var(--shadow);
}
.checkout-band h2 { color: #fff; }
.checkout-band p { color: #c7d0da; }
.checkout-card { display: grid; gap: .85rem; padding: 1rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 1.25rem; background: rgba(255, 255, 255, .07); }
.checkout-card label { display: grid; gap: .35rem; color: #cbd4de; font-size: .82rem; font-weight: 800; }
.checkout-card select { width: 100%; min-height: 3rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: .8rem; color: #fff; background: #101316; font: inherit; padding: 0 .8rem; }
.checkout-card small { color: #9ea8b3; line-height: 1.5; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem clamp(1.2rem, 4vw, 4.5rem); border-top: 1px solid #e2e7ec; color: var(--ink-soft); background: #f6f7f8; font-size: .9rem; }

.woocommerce main, .woocommerce-page main { color: var(--ink); }
.shop-shell h1, .shop-shell h2, .shop-shell h3 { color: var(--ink); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { padding: 1rem; border: 1px solid #dfe4ea; border-radius: 1.2rem; background: #fff; box-shadow: 0 14px 40px rgba(15, 23, 42, .06); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { color: #fff; background: var(--blue); border-radius: .8rem; }

.dealer-page { display: grid; gap: 1.5rem; }
.dealer-hero {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(31, 94, 255, .28), rgba(180, 35, 24, .1)), #151719;
  box-shadow: var(--shadow);
}
.dealer-hero h1 { max-width: 11ch; margin: .65rem 0 1rem; color: #fff; font-size: clamp(2.7rem, 7vw, 5.8rem); }
.dealer-hero p { max-width: 820px; margin-bottom: 0; color: #ccd5df; font-size: 1.08rem; line-height: 1.75; }
.dealer-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dealer-steps article {
  min-height: 150px;
  padding: 1.1rem;
  border: 1px solid #dfe4ea;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}
.dealer-steps strong { color: var(--blue); font-size: .8rem; }
.dealer-steps span { display: block; margin: 1.7rem 0 .35rem; color: var(--ink); font-weight: 900; }
.dealer-steps small { color: var(--ink-soft); line-height: 1.55; }
.dealer-form-card {
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid #dfe4ea;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}
.dealer-application-form { display: grid; gap: 1rem; }
.form-intro { margin: 0; color: var(--ink-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; gap: .42rem; color: var(--ink-soft); font-size: .86rem; font-weight: 800; }
.form-field.full { margin-top: .25rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #cfd6df;
  border-radius: .82rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 500;
  padding: 0 .85rem;
}
.form-field textarea { min-height: 8rem; padding-top: .8rem; resize: vertical; }
.acknowledgement { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-soft); line-height: 1.55; }
.acknowledgement input { margin-top: .25rem; }
.form-error, .form-success {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  line-height: 1.55;
}
.form-error { color: #8d1b13; background: #ffe8e5; }
.form-error ul { margin-bottom: 0; }
.form-success { color: #0f6a3a; background: #ddf8e9; }
.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .hero, .split, .checkout-band { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 3rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-grid, .compliance-grid, .dealer-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { background: radial-gradient(circle at top left, rgba(31, 94, 255, .2), transparent 22rem), linear-gradient(180deg, #151719 0%, #111315 42rem, #f6f7f8 42rem, #f6f7f8 100%); }
  nav { display: none; }
  .language-switcher { align-self: stretch; justify-content: center; }
  h1 { font-size: 3.2rem; }
  .trust-strip, .product-grid, .platform-grid, .compliance-grid { grid-template-columns: 1fr; }
  .dealer-steps, .form-grid { grid-template-columns: 1fr; }
  .section-head.inline { align-items: flex-start; flex-direction: column; }
  .section { padding: 3.4rem 0; }
}
