:root {
  --bg: #050606;
  --panel: #101313;
  --panel-2: #171a1a;
  --text: #f5f7f6;
  --muted: #a9b2b0;
  --line: rgba(255, 255, 255, 0.12);
  --green: #30ff9f;
  --green-2: #00d66f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Kanit", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(48, 255, 159, 0.2), transparent 28rem),
    radial-gradient(circle at 12% 30%, rgba(0, 214, 111, 0.11), transparent 24rem),
    var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 6, 0.74);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 6, 6, 0.92);
  border-color: var(--line);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: clamp(132px, 14vw, 188px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 16px rgba(48, 255, 159, 0.18));
}

.brand-footer .brand-logo {
  width: clamp(150px, 18vw, 230px);
  height: 64px;
}

.brand-fallback {
  display: none;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #07100c;
  background: linear-gradient(135deg, var(--green), #f6fff9);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(48, 255, 159, 0.35);
}

.brand-text {
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Shared Layout */
.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.6vw, 4.35rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #06110c;
  background: linear-gradient(135deg, var(--green), #caffdf);
  box-shadow: 0 12px 36px rgba(48, 255, 159, 0.26);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(48, 255, 159, 0.16);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  min-height: calc(100vh - 76px);
  gap: 34px;
  padding-top: 60px;
}

.energy-grid {
  position: absolute;
  inset: 0 50% 0 auto;
  width: 60vw;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(48, 255, 159, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 255, 159, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle, black 0%, transparent 70%);
  opacity: 0.62;
}

.hero-text {
  max-width: 620px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-metrics strong {
  display: block;
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  min-height: 520px;
}

.bike-stage {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.bike-stage::before {
  position: absolute;
  width: min(92%, 560px);
  height: 68%;
  content: "";
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 26%, rgba(48, 255, 159, 0.13), transparent 12rem),
    linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 45%),
    rgba(255, 255, 255, 0.026);
  box-shadow: var(--shadow), inset 0 0 70px rgba(48, 255, 159, 0.045);
  transform: perspective(900px) rotateY(-12deg) rotateX(4deg);
}

.lightning-field {
  position: absolute;
  width: min(94%, 620px);
  height: 76%;
  overflow: hidden;
  pointer-events: none;
  transform: perspective(900px) rotateY(-12deg) rotateX(4deg);
}

.lightning-field::before {
  position: absolute;
  inset: 12% 4%;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(48, 255, 159, 0.13), transparent),
    radial-gradient(circle at 58% 50%, rgba(48, 255, 159, 0.18), transparent 15rem);
  filter: blur(16px);
  opacity: 0.72;
}

.bolt {
  position: absolute;
  left: -28%;
  width: 64%;
  height: 18px;
  background: linear-gradient(90deg, transparent, rgba(48, 255, 159, 0.18), var(--green), #f2fff9, var(--green), rgba(48, 255, 159, 0.1), transparent);
  clip-path: polygon(0 44%, 22% 44%, 30% 0, 39% 58%, 56% 58%, 65% 18%, 75% 62%, 100% 62%, 100% 84%, 72% 84%, 63% 44%, 54% 78%, 36% 78%, 29% 30%, 24% 66%, 0 66%);
  filter: drop-shadow(0 0 12px rgba(48, 255, 159, 0.72));
  opacity: 0;
  animation: boltFlow 7.5s linear infinite;
}

.bolt-one {
  top: 25%;
}

.bolt-two {
  top: 48%;
  width: 52%;
  height: 14px;
  animation-delay: 2.2s;
  animation-duration: 8.8s;
}

.bolt-three {
  top: 66%;
  width: 58%;
  height: 12px;
  animation-delay: 4.1s;
  animation-duration: 9.6s;
}

.bike-illustration {
  position: relative;
  z-index: 1;
  width: min(76vw, 470px);
  max-height: 430px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.55));
  animation: floatBike 4.5s ease-in-out infinite;
}

/* Product */
.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 14px;
}

.product-track {
  display: grid;
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 2px 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-track::-webkit-scrollbar {
  display: none;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.product-card {
  min-height: 385px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  border-color: rgba(48, 255, 159, 0.55);
  transform: translateY(-8px);
  box-shadow: 0 26px 90px rgba(48, 255, 159, 0.12);
}

.product-visual {
  height: 168px;
  margin-bottom: 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 42%, rgba(48, 255, 159, 0.26), transparent 8rem),
    linear-gradient(135deg, #1d2222, #090a0a);
  position: relative;
  overflow: hidden;
}

.product-visual.has-product-image {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 58% 35%, rgba(48, 255, 159, 0.18), transparent 9rem),
    linear-gradient(135deg, #151919, #070808);
}

.product-visual.has-product-image.blend-dark {
  background:
    radial-gradient(circle at 64% 32%, rgba(48, 255, 159, 0.18), transparent 9rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(135deg, #151919, #070808);
}

.product-visual.has-product-image.blend-dark::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 52% 46%, transparent 26%, rgba(0, 0, 0, 0.1) 54%),
    linear-gradient(180deg, rgba(5, 6, 6, 0.08), rgba(5, 6, 6, 0.42));
  pointer-events: none;
}

.product-visual.has-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  opacity: 0.92;
  transform: scale(1.02);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.product-visual.has-product-image.blend-dark img {
  object-fit: contain;
  object-position: center;
  padding: 10px;
  mix-blend-mode: multiply;
  filter: contrast(1.18) saturate(1.08) brightness(1.2);
  opacity: 0.98;
}

.product-visual.has-product-image.ncv-thumb {
  background:
    radial-gradient(circle at 52% 38%, rgba(48, 255, 159, 0.16), transparent 9rem),
    linear-gradient(135deg, #151919, #070808);
}

.product-visual.has-product-image.ncv-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.38), transparent 28%, transparent 72%, rgba(5, 6, 6, 0.34)),
    linear-gradient(180deg, rgba(5, 6, 6, 0.04), rgba(5, 6, 6, 0.32));
  pointer-events: none;
}

.product-visual.has-product-image.ncv-thumb img {
  object-position: center 55%;
  filter: contrast(1.08) saturate(1.05) brightness(0.9);
}

.product-visual.has-product-image.goddess-thumb {
  background:
    radial-gradient(circle at 50% 36%, rgba(216, 255, 240, 0.18), transparent 9rem),
    linear-gradient(135deg, #151919, #070808);
}

.product-visual.has-product-image.goddess-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.3), transparent 30%, transparent 72%, rgba(5, 6, 6, 0.3)),
    linear-gradient(180deg, rgba(5, 6, 6, 0.02), rgba(5, 6, 6, 0.3));
  pointer-events: none;
}

.product-visual.has-product-image.goddess-thumb img {
  object-position: center 54%;
  filter: contrast(1.08) saturate(1.02) brightness(0.9);
}

.product-visual.has-product-image.taurus-thumb {
  background:
    radial-gradient(circle at 50% 34%, rgba(48, 255, 159, 0.14), transparent 9rem),
    linear-gradient(135deg, #151919, #070808);
}

.product-visual.has-product-image.taurus-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.32), transparent 30%, transparent 72%, rgba(5, 6, 6, 0.34)),
    linear-gradient(180deg, rgba(5, 6, 6, 0.02), rgba(5, 6, 6, 0.34));
  pointer-events: none;
}

.product-visual.has-product-image.taurus-thumb img {
  object-position: center 48%;
  filter: contrast(1.08) saturate(1.05) brightness(0.92);
}

.product-card:hover .product-visual.has-product-image img {
  opacity: 1;
  transform: scale(1.07);
}

.product-card:hover .product-visual.has-product-image.blend-dark img {
  transform: scale(1.05);
}

.product-visual:not(.has-product-image)::before,
.product-visual:not(.has-product-image)::after {
  position: absolute;
  content: "";
}

.product-visual:not(.has-product-image)::before {
  left: 24px;
  right: 24px;
  bottom: 44px;
  height: 34px;
  border-radius: 24px 48px 18px 22px;
  background: linear-gradient(135deg, #343b3a, #0d0f0f);
  box-shadow: inset 0 -6px 0 var(--accent);
}

.product-visual:not(.has-product-image)::after {
  left: 48px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border: 8px solid #080909;
  border-top-color: var(--accent);
  border-radius: 50%;
  box-shadow: 150px 0 0 -8px #080909, 150px 0 0 0 var(--accent);
}

.product-card h3 {
  font-size: 1.45rem;
}

.product-card p {
  min-height: 58px;
}

.product-meta {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-meta span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* Technology */
.tech-grid,
.news-grid,
.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tech-card,
.news-card,
.service-item,
.contact-card,
.contact-form,
.dealer-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.tech-card {
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.tech-card:hover {
  border-color: rgba(48, 255, 159, 0.48);
  transform: translateY(-6px);
}

.tech-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(48, 255, 159, 0.12);
}

/* Dealer */
.dealer-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(110deg, rgba(48, 255, 159, 0.13), transparent 45%),
    rgba(255, 255, 255, 0.04);
}

/* Service */
.service-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item {
  padding: 26px;
}

/* News */
.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  min-height: 230px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(48, 255, 159, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.04);
}

.news-card span {
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(48, 255, 159, 0.12);
}

textarea {
  resize: vertical;
}

.contact-card {
  padding: 26px;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  margin-bottom: 22px;
  border: 1px solid rgba(48, 255, 159, 0.28);
  border-radius: 8px;
  color: var(--green);
  background:
    linear-gradient(rgba(48, 255, 159, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 255, 159, 0.1) 1px, transparent 1px),
    #0a0d0d;
  background-size: 32px 32px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #030404;
  padding: 42px 0 24px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  color: #717b78;
  font-size: 0.9rem;
}

/* Beats product detail page */
.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: center;
  min-height: calc(100vh - 76px);
  gap: 42px;
  padding-top: 70px;
}

.detail-copy h1 {
  max-width: 620px;
}

.price-panel {
  width: min(100%, 460px);
  margin: 28px 0 10px;
  padding: 22px;
  border: 1px solid rgba(48, 255, 159, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(48, 255, 159, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

.price-panel span,
.price-panel small {
  display: block;
  color: var(--muted);
}

.price-panel strong {
  display: block;
  margin: 2px 0;
  color: var(--green);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
}

.detail-poster {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.detail-poster img {
  display: block;
  width: 100%;
  max-height: 640px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.highlight-card,
.spec-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.highlight-card {
  padding: 24px;
}

.highlight-card span {
  color: var(--muted);
}

.highlight-card strong {
  display: block;
  margin: 8px 0;
  color: var(--green);
  font-size: 1.65rem;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.color-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.color-chip span {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: var(--chip);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

.promo-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(48, 255, 159, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(48, 255, 159, 0.14), transparent 44%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.promo-value {
  color: var(--green);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.spec-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.spec-card {
  padding: 24px;
}

.spec-list {
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.82fr) minmax(0, 1.18fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.spec-list div:last-child {
  border-bottom: 0;
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.spec-note {
  margin: 22px 0 0;
  font-size: 0.9rem;
}

/* Dealer locator page */
.dealer-page {
  padding-top: 76px;
}

.dealer-locator-frame {
  height: min(78vh, 760px);
  min-height: 560px;
  border: 1px solid rgba(48, 255, 159, 0.26);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(48, 255, 159, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.dealer-locator-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0a0d0d;
}

/* Service management blueprint */
.system-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  min-height: calc(100vh - 76px);
  gap: 34px;
  padding-top: 70px;
}

.system-hero-copy h1 {
  max-width: 640px;
}

.system-dashboard,
.module-card,
.ops-panel,
.architecture-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.system-dashboard {
  padding: 20px;
  min-height: 520px;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(48, 255, 159, 0.22);
  border-radius: 8px;
  background: rgba(5, 6, 6, 0.56);
}

.dashboard-topbar span,
.dashboard-metrics span,
.chart-card span,
.timeline-card span {
  color: var(--muted);
}

.dashboard-topbar strong {
  color: var(--green);
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.dashboard-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 1.7rem;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.chart-card,
.timeline-card {
  min-height: 280px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 210px;
  margin-top: 22px;
}

.bar-chart i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--green), rgba(48, 255, 159, 0.08));
  box-shadow: 0 0 24px rgba(48, 255, 159, 0.18);
}

.timeline-card p {
  margin: 22px 0;
}

.timeline-dots {
  display: grid;
  gap: 12px;
}

.timeline-dots i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), rgba(48, 255, 159, 0.08));
}

.capability-grid,
.role-list,
.report-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-grid span,
.role-list span,
.report-list span {
  padding: 10px 14px;
  border: 1px solid rgba(48, 255, 159, 0.22);
  border-radius: 8px;
  color: var(--text);
  background: rgba(48, 255, 159, 0.07);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  padding: 26px;
}

.module-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #06110c;
  background: linear-gradient(135deg, var(--green), #eafff2);
  font-weight: 700;
}

.module-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.workflow-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.workflow-line div {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.workflow-line span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #06110c;
  background: var(--green);
  font-weight: 700;
}

.workflow-line strong,
.workflow-line small {
  display: block;
}

.workflow-line small {
  margin-top: 8px;
  color: var(--muted);
}

.ops-grid,
.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ops-panel,
.architecture-card {
  padding: 26px;
}

.architecture-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blueprint-grid,
.api-grid,
.roadmap-grid {
  display: grid;
  gap: 18px;
}

.blueprint-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blueprint-card,
.api-card,
.roadmap-card,
.table-shell,
.code-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.blueprint-card,
.roadmap-card {
  padding: 26px;
}

.blueprint-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.table-shell {
  overflow-x: auto;
}

.schema-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.schema-table th,
.schema-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.schema-table th {
  color: var(--green);
  background: rgba(48, 255, 159, 0.07);
}

.schema-table td {
  color: var(--muted);
}

.code-panel {
  overflow-x: auto;
  margin-top: 18px;
  padding: 20px;
  color: #d9fff0;
  background: #050808;
}

.code-panel code {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.92rem;
  line-height: 1.7;
}

.api-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.api-card {
  padding: 20px;
}

.api-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  color: #06110c;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.api-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: Consolas, Monaco, monospace;
}

.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roadmap-card span {
  color: var(--green);
  font-weight: 700;
}

.roadmap-card strong {
  display: block;
  margin: 10px 0;
  font-size: 1.12rem;
}

/* Animation states */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatBike {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes boltFlow {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-12deg);
  }
  16% {
    opacity: 0.88;
  }
  55% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateX(220%) skewX(-12deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .contact-layout,
  .product-detail-hero,
  .system-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-visual,
  .bike-stage {
    min-height: 420px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-grid,
  .color-grid,
  .module-grid,
  .architecture-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .navbar {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .brand-logo {
    width: 126px;
    height: 44px;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 6, 6, 0.96);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section-shell {
    padding: 72px 0;
  }

  .hero-metrics,
  .service-list,
  .news-grid,
  .tech-grid,
  .dealer-panel,
  .highlight-grid,
  .color-grid,
  .spec-layout,
  .promo-panel,
  .module-grid,
  .ops-grid,
  .architecture-grid,
  .blueprint-grid,
  .api-grid,
  .roadmap-grid,
  .dashboard-body,
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .workflow-line {
    grid-template-columns: 1fr;
  }

  .promo-panel {
    display: grid;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dealer-locator-frame {
    height: 72vh;
    min-height: 520px;
  }

  .carousel {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    display: grid;
  }

  .bike-illustration {
    width: min(88vw, 360px);
    max-height: 340px;
  }

  .product-track {
    grid-auto-columns: 86%;
  }
}
