:root {
  --bg: #f5f6f8;
  --fg: #05060b;
  --muted: #6f7480;
  --accent: #e5362c;
  --accent-soft: rgba(229, 54, 44, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-subtle: 0 8px 26px rgba(15, 23, 42, 0.05);

  --glass-alpha: 0.65;
  --glass-blur: 18px;
  --glass-border: rgba(255, 255, 255, 0.7);
}
/* เลื่อนหน้าแบบนิ่ม ๆ ทั้งเว็บ */
html {
  scroll-behavior: smooth;
}

/* เวลาโดนเลื่อนด้วย anchor (#about ฯลฯ) จะไม่โดน header บัง */
section {
  scroll-margin-top: 90px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

/* BACKGROUND LAYER */

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

.bg-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
}

.bg-blob-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(229, 54, 44, 0.35), transparent 60%);
  top: -80px;
  right: -120px;
}

.bg-blob-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.7), transparent 65%);
  bottom: -120px;
  left: -80px;
}

/* LAYOUT */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 7rem 0;
  position: relative;
}


.section-header {
  margin-bottom: 2.5rem;
}

.section-header.center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.section-sub {
  margin-top: 0.5rem;
  color: var(--muted);
}

.split,
.split-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.split-2.align-center {
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* TYPOGRAPHY */

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.8rem, 4vw, 3.4rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2.1rem, 3vw, 2.5rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.26;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.highlight {
  color: var(--accent);
}

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(245, 246, 248, 0.85), rgba(245, 246, 248, 0.7));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
  padding: 0.6rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 1.4rem;
  background: radial-gradient(circle at 20% 0%, #ffffff, #cbd5f5);
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #e5362c);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  font-size: 0.92rem;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.nav-link.nav-line {
  border: 1px solid rgba(229, 54, 44, 0.3);
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent);
}

/* NAV TOGGLE (MOBILE) */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  border-radius: 999px;
}

/* HERO */

.hero {
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-copy {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 420px;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.85rem;
  padding: 0.7rem 1.6rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.btn.primary {
  background: #000;
  color: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--fg);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.btn.ghost:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-subtle);
}

.btn.full {
  width: 100%;
  justify-content: center;
}

.hero-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.meta-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-value {
  font-size: 0.78rem;
}

/* HERO RIGHT */

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-bike-card {
  position: relative;
  border-radius: 30px;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-bike-main {
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0%, #ffffff, #cbd5f5);
}

.hero-bike-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-bike-strip {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.mini-bike {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.mini-bike img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #f9fafb;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* GLASS CARD */

.glass {
  background: rgba(255, 255, 255, var(--glass-alpha));
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

/* ABOUT */

.about-card {
  padding: 1.8rem;
}

.about-card p + .about-pill {
  margin-top: 1.2rem;
}

.about-pill {
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.75);
  padding: 1rem 1.2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.about-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* FEATURE / WHY CHOOSE */

.feature-card {
  padding: 1.6rem 1.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.feature-card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
  border-color: rgba(229, 54, 44, 0.38);
}

/* CATEGORIES */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2rem;
}

.cat-card {
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.cat-card p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: var(--accent-soft);
  color: var(--accent);
  margin-top: 0.9rem;
}

/* INLINE TITLES */

.inline-title {
  font-size: 1.15rem;
  margin-top: 40px;
}

.inline-sub {
  margin-top: 0.3rem;
  color: var(--muted);
}

/* HIGHLIGHT SLIDER */

.highlight-wrapper {
  position: relative;
  margin-top: 1.6rem;
}

.highlight-slider {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.highlight-slider::-webkit-scrollbar {
  height: 5px;
}

.highlight-slider::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.7);
  border-radius: 999px;
}

.bike-card {
  scroll-snap-align: start;
  min-width: 260px;
  max-width: 280px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bike-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.bike-img-wrap {
  border-radius: 1rem;
  overflow: hidden;
  background: #111827;
}

.bike-img-wrap img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.bike-body .spec {
  color: var(--muted);
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

.bike-body .tagline {
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

/* SLIDER ARROWS */

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  z-index: 2;
}

.slider-arrow.left {
  left: -0.3rem;
}

.slider-arrow.right {
  right: -0.3rem;
}

/* PRICING */

.pricing-tabs {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-inline: auto;
  margin-top: 1.5rem;
}

.tab-button {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0.5rem 1.4rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--muted);
}

.tab-button.active {
  background: #111827;
  color: #f9fafb;
}

.pricing-panel {
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.pricing-scroll {
  max-height: 320px;
  overflow: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  text-align: left;
}

.pricing-table th {
  font-weight: 600;
  font-size: 0.78rem;
}

.pricing-note {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hidden {
  display: none;
}

/* INFO / DOCS */

.info-card {
  padding: 1.5rem;
}

.info-card p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.docs-card {
  margin-top: 1rem;
  padding: 1.5rem;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0.35rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.bullet-list.small li {
  font-size: 0.85rem;
}

.docs-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* STEPS */

.step-card {
  padding: 1.5rem 1.6rem;
}

/* FAQ */

.faq-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  padding: 1rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1rem;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* PROMO */

.promo-card {
  padding: 1.5rem;
}

/* CONTACT */

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.contact-list h3 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-list p {
  font-size: 0.85rem;
  color: var(--muted);
}

.social {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.line-card {
  padding: 1.5rem;
}

.line-qr-placeholder {
  margin: 1rem 0 1.2rem;
  border-radius: 1.2rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* FOOTER */

.footer {
  padding: 1rem 0 1.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
}

.footer-inner {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.1s;
}

.reveal.delay-2 {
  transition-delay: 0.18s;
}

.reveal.delay-3 {
  transition-delay: 0.26s;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .split-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-right {
    order: -1;
    justify-content: flex-start;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slider-arrow.left {
    left: 0.3rem;
  }

  .slider-arrow.right {
    right: 0.3rem;
  }

  .nav-links {
    position: fixed;
    inset: 3.2rem 1rem auto 1rem;
    background: rgba(248, 250, 252, 0.96);
    border-radius: 20px;
    padding: 0.9rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    box-shadow: var(--shadow-soft);
    transform-origin: top center;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-link {
    padding: 0.5rem 0.7rem;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.5rem 0;
  }

  .grid-3,
  .categories-grid,
  .contact-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-bike-card {
    border-radius: 24px;
  }

  .hero-bike-img {
    max-height: 260px;
    object-fit: cover;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.3rem;
  }
}
/* GLOBAL HOVER / MOTION  ----------------------------------- */

/* การ์ดแก้วทุกใบยกขึ้นนิดหน่อยเวลาโฮเวอร์ */
.glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
  border-color: rgba(229, 54, 44, 0.28);
}

/* การ์ดที่มี hover เดิมอยู่แล้ว จะยกขึ้นอีกนิดให้ดูว้าวขึ้น */
.feature-card:hover,
.bike-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 65px rgba(15, 23, 42, 0.28);
}

/* ปุ่มมี pulse เบาๆ (ตัดเมื่อ hover) */
@keyframes subtlePulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
  }
  50% {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.4);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
  }
}

.hero-cta .btn.primary {
  animation: subtlePulse 3.4s ease-in-out infinite;
}

.hero-cta .btn.primary:hover {
  animation: none;
}

/* NAV / LOGO ANIMATIONS ------------------------------------ */

.brand-mark {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-dot {
  animation: dotGlow 3.2s ease-in-out infinite;
}

@keyframes dotGlow {
  0% {
    box-shadow: 0 0 0px rgba(229, 54, 44, 0.0);
  }
  50% {
    box-shadow: 0 0 16px rgba(229, 54, 44, 0.6);
  }
  100% {
    box-shadow: 0 0 0px rgba(229, 54, 44, 0.0);
  }
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.3);
}

/* nav sticky แล้วให้หดลงเล็กน้อย */
.nav {
  transition: backdrop-filter 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav.shrink {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  background: rgba(245, 246, 248, 0.94);
  transform: translateY(-2px);
}

.nav.shrink .nav-inner {
  padding: 0.35rem 0;
}

.nav.shrink .brand-mark {
  transform: scale(0.92);
}

/* nav link hover เนียนๆ */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 14%;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(229, 54, 44, 0.9), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* LINE ปุ่มใน nav ให้เด้งนิดหน่อย */
.nav-link.nav-line {
  box-shadow: 0 10px 30px rgba(229, 54, 44, 0.18);
}

.nav-link.nav-line:hover {
  box-shadow: 0 16px 40px rgba(229, 54, 44, 0.28);
}

/* BACKGROUND BLOBS ลอยตลอดเวลา ----------------------------- */

@keyframes blobDriftUp {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-20px, 20px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes blobDriftDown {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(30px, -20px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.bg-blob-1 {
  animation: blobDriftUp 22s ease-in-out infinite;
}

.bg-blob-2 {
  animation: blobDriftDown 26s ease-in-out infinite;
}

/* HERO ANIMATION ------------------------------------------- */

/* ให้กล่องรถ hero ลอยนิดหน่อย */
@keyframes heroFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.hero-bike-card {
  animation: heroFloat 12s ease-in-out infinite;
}

/* strip รูปรถเล็กเลื่อนขึ้นนิดนึงเวลา hover การ์ดใหญ่ */
.hero-bike-card:hover .hero-bike-strip {
  transform: translateY(-4px);
  transition: transform 0.2s ease;
}

/* SLIDER / CARD MOTION ------------------------------------- */

/* ลากไฮไลต์แล้วการ์ดด้านในจะ scale ขึ้นนิดนึงเมื่อ active/hover */
.bike-card {
  transform-origin: center;
}

/* เพิ่ม motion เวลาโฮเวอร์ categories */
.cat-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cat-card:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.2);
}

/* FAQ แอนิเมชั่นเปิด-ปิดนิ่ม ๆ */
.faq-item {
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

/* LINE QR box มีแสงกะพริบเบา ๆ */
@keyframes qrGlow {
  0% {
    box-shadow: 0 0 0 rgba(229, 54, 44, 0.0);
  }
  50% {
    box-shadow: 0 0 22px rgba(229, 54, 44, 0.35);
  }
  100% {
    box-shadow: 0 0 0 rgba(229, 54, 44, 0.0);
  }
}

.line-qr-placeholder {
  animation: qrGlow 4.4s ease-in-out infinite;
}
/* PRODUCT & SERVICE – IMAGE FIRST  ---------------------------- */

.ps-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  grid-auto-rows: 220px;
  gap: 1.3rem;
}

.ps-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 0;
}

.ps-card-large {
  grid-row: span 2;
}

.ps-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ps-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1), filter 0.35s ease;
}

.ps-card:hover .ps-img-wrap img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.ps-label {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.85));
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.ps-label-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.ps-label-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ROAD / TRACK / EVENT tags */

.ps-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.ps-tag-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
  font-size: 0.8rem;
}

.ps-tag-title {
  font-weight: 600;
}

.ps-tag-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

/* SLIDER – PHOTO OVERLAY MODE -------------------------------- */

.bike-card.photo-only {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.bike-card.photo-only .bike-img-wrap {
  border-radius: 1.4rem;
  overflow: hidden;
}

.bike-card.photo-only .bike-img-wrap img {
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), filter 0.4s ease;
}

.bike-card.photo-only:hover .bike-img-wrap img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

.bike-overlay {
  position: absolute;
  inset-inline: 0.9rem;
  bottom: 0.9rem;
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.bike-overlay h4 {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.bike-overlay span {
  font-size: 0.72rem;
  opacity: 0.85;
}

/* RESPONSIVE -------------------------------------------------- */

@media (max-width: 960px) {
  .ps-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-rows: 200px;
  }

  .ps-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .ps-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 220px;
  }

  .ps-card-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bike-card.photo-only .bike-img-wrap img {
    height: 160px;
  }
}
/* HERO FULL WIDTH STYLE ------------------------------------------ */

.hero-full {
  position: relative;
  padding: 0;
  min-height: 90vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.05);
}

/* layer ทับบนรูปให้ตัวหนังสืออ่านง่าย */
.hero-overlay {
  position: relative;
  width: 100%;
  padding: 7rem 0 6rem;
  background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.86), rgba(15, 23, 42, 0.25)),
              linear-gradient(to bottom, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.65));
  color: #f9fafb;
}

.hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-center {
  font-size: clamp(2.7rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.hero-copy-center {
  margin-top: 1rem;
  max-width: 440px;
  color: rgba(248, 250, 252, 0.9);
}

.hero-cta-center {
  margin-top: 1.9rem;
  justify-content: center;
}

.hero-cta-center .btn.primary {
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.45);
}

.hero-cta-center .btn.ghost {
  background: rgba(15, 23, 42, 0.18);
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.7);
}

.hero-cta-center .btn.ghost:hover {
  background: rgba(15, 23, 42, 0.32);
}

/* bottom UI: dots + mode pill */

.hero-bottom-ui {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
}

.hero-slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.hero-dot.active {
  width: 18px;
  border-radius: 999px;
  background: #ffffff;
}

.hero-dot:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.hero-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
  color: #0f172a;
  font-size: 0.78rem;
}

.hero-mode-label {
  font-weight: 500;
}

.hero-mode-value {
  color: var(--muted);
}

/* hover / motion เล็กน้อย */

.hero-full .btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.6);
}

.hero-full .btn.ghost:hover {
  transform: translateY(-1px);
}

/* RESPONSIVE ------------------------------------------------------ */

@media (max-width: 960px) {
  .hero-overlay {
    padding: 6rem 0 4.5rem;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.8));
  }

  .hero-copy-center {
    max-width: 360px;
  }
}

@media (max-width: 720px) {
  .hero-full {
    min-height: 80vh;
  }

  .hero-title-center {
    font-size: clamp(2.1rem, 8vw, 2.5rem);
  }

  .hero-bottom-ui {
    margin-top: 1.8rem;
  }
}
/* TERMINAL 35 HEADER -------------------------------------------- */

.t35-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  /* ซ่อนตอนอยู่ hero */
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.t35-header--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.t35-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  gap: 1.5rem;
}

/* BRAND --------------------------------------------------------- */

.t35-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.t35-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0%, #ffffff, #cbd5f5);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.25);
  position: relative;
}

.t35-brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, #ffffff, #e5362c);
}

.t35-brand-text {
  display: flex;
  flex-direction: column;
}

.t35-brand-title {
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.t35-brand-sub {
  font-size: 0.7rem;
  color: var(--muted);
}

/* NAV LINKS ----------------------------------------------------- */

.t35-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t35-nav-link {
  position: relative;
  text-decoration: none;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.t35-nav-link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.t35-nav-link.t35-nav-line {
  border: 1px solid rgba(229, 54, 44, 0.45);
  background: rgba(255, 255, 255, 0.98);
  color: var(--accent);
  box-shadow: 0 12px 34px rgba(229, 54, 44, 0.22);
}

/* MOBILE TOGGLE ------------------------------------------------- */

.t35-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
}

.t35-nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* RESPONSIVE ---------------------------------------------------- */

@media (max-width: 960px) {
  .t35-nav-links {
    position: fixed;
    inset: 3.4rem 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.9rem;
    background: rgba(248, 250, 252, 0.98);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.35);
    transform-origin: top center;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .t35-nav-links.t35-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .t35-nav-link {
    padding: 0.6rem 0.7rem;
  }

  .t35-nav-toggle {
    display: flex;
  }
}

@media (max-width: 720px) {
  .t35-brand-sub {
    display: none;
  }
}
/* FORCE HERO TO FULL VIEWPORT HEIGHT */

.hero-full {
  min-height: 100vh;      /* เดิม 90vh */
  height: 100vh;          /* บังคับให้สูงเท่าจอ */
  display: flex;
  align-items: stretch;
}

/* ให้เลเยอร์ตัวหนังสือกินเต็มจอและจัดกลางแนวตั้ง */
.hero-overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;    /* จัดข้อความให้อยู่กลางจอ */
  padding-top: 0;         /* ถ้ารู้สึกสูงไป ลด padding ได้ */
  padding-bottom: 0;
}

/* เผื่อไว้ให้รูปเต็มพื้นที่เสมอ */
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ABOUT – CLEAN PREMIUM ---------------------------------------- */

.about-shell {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.about-heading {
  max-width: 700px;
}

.about-heading h2 {
  margin-bottom: 0.7rem;
}

.about-lede {
  color: var(--muted);
  font-size: 0.95rem;
}

/* แถวหลักสองฝั่ง */

.about-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}

.about-panel {
  padding: 1.7rem 1.8rem;
}

.about-panel h3 {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.about-panel p {
  color: var(--muted);
}

/* bullet ด้านขวา vision */

.about-points {
  margin-top: 0.8rem;
}

/* Stats แถวล่าง */

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.4rem;
}

.about-stat {
  flex: 1;
  min-width: 180px;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.about-stat-num {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.about-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .about-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .about-shell {
    gap: 2.2rem;
  }

  .about-panel {
    padding: 1.4rem 1.3rem;
  }

  .about-stats {
    gap: 0.8rem;
  }
}
