:root {
  --ink: #f4f1ea;
  --muted: #b7b0a4;
  --panel: rgba(18, 19, 21, 0.82);
  --line: rgba(255, 255, 255, 0.14);
  --black: #08090b;
  --charcoal: #111316;
  --steel: #9ba4a8;
  --red: #c43b34;
  --amber: #d7a847;
  --blue: #2d89c8;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Noto Sans TC", system-ui, sans-serif;
}

body::selection {
  background: var(--red);
  color: white;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(6, 7, 9, 0.9), rgba(6, 7, 9, 0.35));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 72px;
  width: auto;
}

@media (max-width: 720px) {
  .brand-logo {
    height: 60px;
  }
}

.brand strong,
.brand small,
.eyebrow,
.status,
.hero-stats,
.desktop-nav,
.button,
.header-cta,
.timeline span {
  font-family: "Rajdhani", "Noto Sans TC", sans-serif;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: white;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Rajdhani", "Noto Sans TC", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.lang-switch a {
  color: var(--muted);
  transition: color 180ms ease;
}

.lang-switch a:hover {
  color: white;
}

.lang-switch a.active {
  color: var(--amber);
}

.header-cta,
.button,
.filter,
.notify-form button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.header-cta {
  padding: 10px 15px;
  background: rgba(196, 59, 52, 0.18);
  color: white;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 72px) 64px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.05);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.7) 0%, rgba(5, 6, 8, 0.34) 42%, rgba(5, 6, 8, 0.92) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.25) 0%, rgba(5, 6, 8, 0.32) 52%, #08090b 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin-left: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1,
h2 {
  line-height: 0.98;
  font-weight: 900;
}

h1 {
  max-width: 730px;
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 112px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
}

h3 {
  margin-bottom: 9px;
  font-size: 24px;
}

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

.hero-copy {
  max-width: 590px;
  font-size: clamp(17px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 700;
}

.button.primary {
  border-color: transparent;
  background: var(--red);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-stats span {
  min-width: 150px;
  padding: 14px 16px;
  background: rgba(8, 9, 11, 0.64);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.hero-stats strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #111316;
}

.feature {
  padding: clamp(24px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.brand-section {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  max-width: 1200px;
  margin: 0;
}

.brand-image {
  order: 2;
}

.brand-narrative {
  max-width: 780px;
}

.brand-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  filter: saturate(0.85) contrast(1.05);
}

.brand-narrative {
  /* narrative text styling */
}

.brand-narrative h2 {
  margin-bottom: 24px;
}

.brand-narrative p {
  margin-bottom: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.brand-narrative h3 {
  margin-top: 40px;
  margin-bottom: 18px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--amber);
  line-height: 1.15;
}

.brand-mission,
.brand-cta {
  padding: 20px 22px;
  background: rgba(196, 59, 52, 0.10);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}

.brand-mission strong,
.brand-cta strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 980px) {
  .brand-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .brand-image {
    max-width: 480px;
    margin: 0 auto;
  }

}

.feature span,
.detail-item span {
  color: var(--red);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
}

.feature h2 {
  margin: 10px 0;
  font-size: clamp(24px, 3vw, 38px);
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

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

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
  font: 700 15px "Rajdhani", sans-serif;
}

.filter.active,
.filter:hover {
  color: white;
  border-color: rgba(196, 59, 52, 0.8);
  background: rgba(196, 59, 52, 0.16);
}

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

.car-card {
  overflow: hidden;
  min-height: 430px;
  background: #14171a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}

.car-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}

.car-card.is-hidden {
  display: none;
}

.car-visual {
  position: relative;
  height: 230px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.17), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), transparent 48%),
    #0d0f12;
}

.car-visual-img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
}

.car-visual::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 50px;
  height: 54px;
  border-radius: 100px 128px 34px 34px;
  background: linear-gradient(90deg, #292f35, #697178 48%, #171b20);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45);
}

.car-visual::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 38px;
  height: 36px;
  background:
    radial-gradient(circle at 13% 50%, #050506 0 14px, #b8bec2 15px 20px, transparent 21px),
    radial-gradient(circle at 87% 50%, #050506 0 14px, #b8bec2 15px 20px, transparent 21px);
}

.car-visual.redline::before {
  background: linear-gradient(90deg, #4e1513, #c43b34 52%, #250d0b);
}

.car-visual.ivory::before {
  background: linear-gradient(90deg, #ddd5c2, #fff6df 52%, #9e937e);
}

.car-visual.blue::before {
  background: linear-gradient(90deg, #0c2940, #2d89c8 52%, #071925);
}

.car-info {
  padding: 22px;
}

.status {
  color: var(--amber);
  font-size: 14px;
  text-transform: uppercase;
}

.car-info strong {
  display: inline-block;
  margin-top: 14px;
  color: white;
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(45, 137, 200, 0.11), transparent 34%),
    linear-gradient(90deg, #101215, #171517);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-copy {
  max-width: 680px;
}

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

.detail-item {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-item strong {
  font-size: clamp(22px, 3vw, 34px);
}

.drop-section {
  background: #0b0c0f;
}

/* ── Brand Core ── */

.core-section {
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.core-item {
  min-height: 230px;
  padding: clamp(24px, 4vw, 44px);
  background: #111316;
}

.core-item span {
  color: var(--red);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 22px;
}

.core-item h3 {
  margin: 14px 0 10px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--amber);
  line-height: 1.15;
}

.core-item p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.core-visual {
  width: 100%;
  height: 180px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.17), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), transparent 48%),
    #0d0f12;
}

.core-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline li {
  min-height: 230px;
  padding: 24px;
  background: #111316;
}

.timeline span {
  color: var(--red);
  font-size: 22px;
  font-weight: 700;
}

.notify-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: #17191c;
}

.notify-form {
  padding: 24px;
  background: rgba(8, 9, 11, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notify-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.form-row .field {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0e10;
  color: white;
  font: inherit;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0e10;
  color: white;
  font: inherit;
}

.notify-form button {
  min-width: 92px;
  background: var(--red);
  color: white;
  font-weight: 700;
}

.notify-form small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 180ms ease;
}

.footer-icons img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-icons a:hover {
  opacity: 0.6;
}

@media (max-width: 980px) {
  .hero {
    min-height: 880px;
    align-items: end;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.72), rgba(5, 6, 8, 0.52)),
      linear-gradient(180deg, rgba(5, 6, 8, 0.08) 0%, #08090b 90%);
  }

  .feature-band,
  .car-grid,
  .timeline,
  .detail-section,
  .notify-section,
  .core-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
    white-space: nowrap;
  }

  .hero {
    min-height: 760px;
    padding: 96px 18px 40px;
  }

  .hero-image {
    object-position: 42% center;
  }

  h1 {
    font-size: clamp(46px, 15vw, 76px);
  }

  .hero-stats span {
    flex: 1 1 140px;
  }

  .feature-band,
  .car-grid,
  .timeline,
  .detail-section,
  .notify-section,
  .detail-grid,
  .core-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(2) {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .feature:first-child {
    border-top: 0;
  }

  .section,
  .detail-section,
  .notify-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .car-card {
    min-height: 390px;
  }

  .car-visual {
    height: 205px;
  }

  .input-row {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
    gap: 14px;
  }

  .notify-form button {
    min-height: 48px;
  }

  .site-footer {
    flex-direction: column;
  }
}
