/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #ff5100;
  --orange-light: #ff7324;
  --orange-glow: rgba(255, 81, 0, 0.35);
  --black: #ffffff;
  --dark: #f4f4f5;
  --dark2: #e8e8ea;
  --dark3: #dedede;
  --gray: #6b7280;
  --gray-dark: #e5e7eb;
  --gray-light: #374151;
  --white: #111111;
  --font: 'Inter', sans-serif;
  --glass: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.95);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== UTILITIES ===== */
.gradient-text {
  background: linear-gradient(135deg, #222222 0%, var(--orange-light) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  background: rgba(255, 81, 0, 0.15);
  border: 1px solid var(--orange);
  color: var(--orange-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(255, 81, 0, 0.3);
  box-shadow: 0 8px 32px rgba(255, 81, 0, 0.12);
}

.hidden {
  display: none !important;
}

/* ===== PAGE ROUTER ===== */
.page-wrapper {
  min-height: calc(100vh - 72px);
}

.page {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.page.entering {
  display: block;
  opacity: 0;
  transform: translateY(16px);
}

/* Active nav link */
.nav-link.active,
.nav-link.is-active {
  color: var(--orange) !important;
}
.nav-link.is-active::after {
  width: 100% !important;
}

/* ===== HOME CTA STRIP ===== */
.home-cta-strip {
  margin-top: 60px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(255,81,0,0.06) 0%, rgba(255,255,255,0.95) 100%);
  border: 1px solid rgba(255, 81, 0, 0.2);
}
.cta-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.cta-text p {
  color: var(--gray);
  font-size: 0.95rem;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ===== SIM INFO GRID ===== */
.sim-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.sim-info-card {
  padding: 32px 24px;
  text-align: center;
}
.sim-info-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.sim-info-card h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.sim-info-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--orange-glow);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 81, 0, 0.6);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-light);
  background: rgba(255, 81, 0, 0.05);
}

.btn-full {
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 1rem;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  transition: all 0.3s ease;
}

.header .header-inner {
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Crop white padding around WheelTop logo PNG */
.logo-img-wrap {
  display: block;
  width: 140px;      /* khung hiển thị */
  height: 36px;
  overflow: hidden;
  position: relative;
}
.logo-img {
  position: absolute;
  width: 200px;      /* ảnh to hơn khung để crop padding */
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-vn {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 81, 0, 0.1);
  border: 1px solid rgba(255, 81, 0, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
  position: relative;
  padding: 8px 14px;
  white-space: nowrap;
  border-radius: 8px;
  border: 1.5px solid transparent;
}
.nav a:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(255, 81, 0, 0.06);
  box-shadow: 0 0 12px rgba(255, 81, 0, 0.2);
}
.nav a.active,
.nav a.is-active {
  color: var(--orange) !important;
  border-color: var(--orange);
  background: rgba(255, 81, 0, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-actions .btn-primary {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover {
  color: #111111;
  background: rgba(0, 0, 0, 0.05);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.35) 60%, rgba(255,255,255,0.92) 100%),
              radial-gradient(circle at 70% 30%, rgba(255, 81, 0, 0.1) 0%, transparent 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 81, 0, 0.2);
  border: 1px solid var(--orange);
  color: var(--orange-light);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  color: var(--gray-light);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
  text-shadow: 0 0 20px var(--orange-glow);
  min-width: 80px;
}
.stat-num .unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-light);
  margin-left: 2px;
}

.stat-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ===== HIGHLIGHTS ===== */
.highlights-section {
  padding: 60px 0;
  background: var(--black);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.highlight-info-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  height: 100%;
}

.highlight-info-card h2 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
}

.highlight-info-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.highlight-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 12px;
  margin-top: 10px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
  transition: transform 0.5s ease;
}
.highlight-info-card:hover .highlight-img {
  transform: scale(1.03);
}

.app-mockup-img {
  max-height: 320px;
}

/* ===== INTERACTIVE SIMULATORS ===== */
.simulators {
  padding: 80px 0;
  background: var(--dark);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 60px;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.simulators-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.sim-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.sim-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--orange-light);
}

.sim-desc {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 30px;
}

/* Simulator 1: Cassette Speed Visuals */
.cassette-visual-container {
  height: 260px;
  background: #1a1a2e;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cassette-wheel {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cassette-ring {
  position: absolute;
  border: 2.5px solid #444;
  border-radius: 50%;
  background: radial-gradient(circle, #222 0%, #151515 100%);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: spinCassette 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cassette-ring::before {
  content: '';
  width: 90%;
  height: 90%;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 50%;
}
.cassette-ring.active-ring {
  border-color: var(--orange);
  box-shadow: 0 0 15px var(--orange-glow), inset 0 0 10px rgba(255, 81, 0, 0.2);
}

@keyframes spinCassette {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.derailleur-mock {
  position: absolute;
  right: 20%;
  top: 50%;
  width: 40px;
  height: 80px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  z-index: 10;
}

.derailleur-body {
  width: 24px;
  height: 35px;
  background: linear-gradient(135deg, #333, #111);
  border: 1px solid #555;
  border-radius: 4px;
  position: relative;
}
.derailleur-body::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -8px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--orange);
}

.derailleur-pulley {
  width: 14px;
  height: 14px;
  background: #222;
  border: 2px solid var(--orange);
  border-radius: 50%;
  animation: spinCassette 2s linear infinite;
}

.slider-control-group {
  margin-bottom: 24px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 10px;
}

.current-speed-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  background: var(--orange);
  padding: 4px 12px;
  border-radius: 15px;
  box-shadow: 0 4px 10px var(--orange-glow);
}

.speed-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #dde1e7;
  border-radius: 3px;
  outline: none;
}
.speed-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  box-shadow: 0 0 10px var(--orange);
  transition: transform 0.1s;
}
.speed-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sim-specs-panel {
  background: rgba(0, 0, 0, 0.04);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.spec-inline {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.spec-inline:last-child {
  border-bottom: none;
}
.spec-inline strong {
  color: var(--gray-light);
}

/* Simulator 2: Phone Micro Adjustment */
.micro-sim-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: center;
  flex-grow: 1;
}

.phone-frame {
  width: 170px;
  height: 330px;
  background: #000;
  border: 8px solid #1a1a2e;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35), inset 0 0 10px rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
  justify-self: center;
}

.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
}

.phone-overlay-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 6, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 12px;
  text-align: center;
}

.app-header {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.app-display {
  background: rgba(0,0,0,0.5);
  padding: 12px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}

.offset-title {
  display: block;
  font-size: 0.65rem;
  color: var(--gray);
  margin-bottom: 2px;
}

.offset-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--orange-light);
  font-family: monospace;
}

.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 8px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
}
.app-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 4px 10px var(--orange-glow);
}
.app-btn svg {
  width: 12px;
  height: 12px;
}

.app-btn-save {
  background: #22c55e;
  border: none;
  border-radius: 6px;
  padding: 10px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.app-btn-save:hover {
  background: #16a34a;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.4);
}

.derailleur-visual-box {
  background: #1a1a2e;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 310px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.chain-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #555, transparent);
  z-index: 1;
}

.virtual-pulley-cage {
  width: 30px;
  height: 140px;
  background: linear-gradient(180deg, #222, #444);
  border-radius: 6px;
  border: 1px solid #666;
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  margin-top: 15px;
}

.pulley-wheel {
  width: 22px;
  height: 22px;
  background: #111;
  border: 2px solid #555;
  border-radius: 50%;
  animation: spinCassette 1s linear infinite;
}

.pulley-cage-plate {
  width: 4px;
  height: 80px;
  background: #777;
}

.offset-indicator-bar {
  width: 100%;
  height: 6px;
  background: #333;
  border-radius: 3px;
  position: relative;
  margin-top: 10px;
}

.indicator-marker {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange);
  transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.offset-status-text {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  height: 24px;
}

/* Product card dual-button */
.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card-actions .btn-outline {
  justify-content: center;
  font-size: 0.88rem;
  padding: 10px 20px;
}
/* Make buttons look like links for consistent styling */
.product-card-actions button.btn-primary,
.product-card-actions button.btn-outline {
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PRODUCTS ===== */
.products {
  padding: 80px 0;
  background: var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-img-wrapper {
  height: 260px;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--orange);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-info {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.product-short {
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.product-specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.03);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.product-specs-list span {
  font-size: 0.85rem;
  color: var(--gray);
}
.product-specs-list span strong {
  color: #111111;
}

/* ===== GEX GRAVEL TECH DETAIL ===== */
.gex-tech-section {
  padding: 80px 0;
  background: var(--dark);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.gex-header {
  text-align: center;
  margin-bottom: 60px;
}

.gex-header h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.gex-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.gex-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.gex-tech-card {
  overflow: hidden;
}

.gex-feature-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.gex-feature-content {
  padding: 32px;
}

.gex-feature-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--orange-light);
}

.gex-feature-content p {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== COMPATIBLE ===== */
.compatible {
  padding: 80px 0;
  background: var(--black);
}

.compat-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.compat-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-select, .form-input, .form-textarea {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #111111;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
  width: 100%;
  transition: all 0.3s ease;
}
.form-select:focus, .form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 81, 0, 0.03);
  box-shadow: 0 0 10px rgba(255, 81, 0, 0.1);
}
.form-select option {
  background: #ffffff;
  color: #111111;
}

.compat-result-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content;
  text-transform: uppercase;
}
.status-badge.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
}
.status-badge svg {
  width: 12px;
  height: 12px;
}

.result-header h3 {
  font-size: 1.6rem;
  font-weight: 900;
}

.result-product-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.result-product-preview img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}
.result-product-preview p {
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.5;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.specs-table td {
  padding: 12px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.specs-table td:first-child {
  color: var(--gray);
  font-weight: 600;
}
.specs-table td:last-child {
  text-align: right;
  color: #111111;
  font-weight: 700;
}

/* ===== TRIATHLON SPOTLIGHT ===== */
.tt-spotlight-section {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tt-spotlight-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transition: transform 10s ease;
}
.tt-spotlight-section:hover .tt-spotlight-bg {
  transform: scale(1.05);
}

.tt-spotlight-inner {
  position: relative;
  z-index: 10;
  width: 100%;
}

.tt-content {
  max-width: 550px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.tt-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.tt-content p {
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.tt-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.benefit-item p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ===== SUPPORT ===== */
.support {
  padding: 80px 0;
  background: var(--black);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.support-item {
  text-align: center;
  padding: 40px 24px;
}

.support-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  text-shadow: 0 0 10px var(--orange-glow);
}

.support-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 6px;
}

.support-label {
  color: #111111;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-item p {
  color: var(--gray);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ===== PARTNERS ===== */
.partners {
  padding: 80px 0;
  background: var(--dark);
}

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

.partner-logo {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  font-weight: 900;
  color: #9ca3af;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}
.partner-logo:hover {
  border-color: var(--orange);
  color: #111111;
  background: rgba(255, 81, 0, 0.05);
  box-shadow: 0 0 15px rgba(255, 81, 0, 0.15);
}

/* ===== REVIEWS & SPOTLIGHT ===== */
.reviews {
  padding: 80px 0;
  background: var(--black);
}

.media-spotlight {
  padding: 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.media-logo {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--orange-light);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.media-quote {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.7;
  color: #111111;
  font-style: italic;
}
.media-quote::before { content: '“'; font-size: 3rem; color: var(--orange); line-height: 0; vertical-align: bottom; }
.media-quote::after { content: '”'; font-size: 3rem; color: var(--orange); line-height: 0; vertical-align: bottom; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  padding: 32px;
}

.review-stars {
  color: var(--orange);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.review-text {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.reviewer-role {
  color: var(--gray);
  font-size: 0.8rem;
}

/* ===== CONTACT ===== */
.contact {
  padding: 80px 0;
  background: var(--dark);
  border-top: 1px solid var(--glass-border);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 60px;
}

.brand-col .logo {
  margin-bottom: 16px;
  color: #ffffff;
}
.brand-col p {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 16px;
}
.social-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
  pointer-events: all;
  position: relative;
  z-index: 10;
  cursor: pointer;
}
.social-links a:hover {
  color: var(--orange);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-col a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #ffffff;
}

.payment-col p {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 24px;
  text-align: center;
}
.footer-bottom p {
  color: #6b7280;
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 2.8rem; }
  .highlights-grid, .simulators-grid, .products-grid, .gex-tech-grid, .compat-layout {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .brand-col, .payment-col {
    grid-column: span 2;
  }
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .stat-card {
    justify-content: center;
  }
  .nav {
    display: none;
  }
  .highlight-info-card {
    padding: 32px;
  }
  .highlight-info-card h2 {
    font-size: 1.8rem;
  }
  .sim-card {
    padding: 24px;
  }
  .micro-sim-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .derailleur-visual-box {
    height: 260px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-form {
    padding: 24px;
  }
  .tt-content {
    padding: 32px;
  }
  .tt-content h2 {
    font-size: 1.8rem;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .brand-col, .payment-col {
    grid-column: span 1;
  }
  .sim-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  .cta-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .sim-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   PRODUCT DETAIL PAGES (pd-*)
======================================== */

/* Product card: make button link to detail page */
.product-card .btn-primary {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hero section of product detail */
.pd-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.pd-back:hover {
  color: var(--orange);
}

.pd-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  margin-top: 10px;
}

.pd-tagline {
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
}

.pd-key-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.pd-spec-pill {
  background: rgba(255, 81, 0, 0.08);
  border: 1px solid rgba(255, 81, 0, 0.2);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pd-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pd-hero-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.pd-hero-img:hover {
  transform: scale(1.03) translateY(-4px);
}

/* Body section */
.pd-body {
  padding: 60px 0 80px;
}

/* Gallery */
.pd-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 60px;
  border-radius: 16px;
  overflow: hidden;
}

.pd-gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}
.pd-gallery-img:hover {
  transform: scale(1.03);
}
.pd-gallery-main {
  height: 280px;
  grid-row: span 1;
}

/* Detail 2-col layout */
.pd-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.pd-detail-left h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.pd-detail-left p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Feature list */
.pd-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.pd-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(0,0,0,0.025);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pd-feature-item:hover {
  border-color: rgba(255, 81, 0, 0.2);
  box-shadow: 0 4px 16px rgba(255, 81, 0, 0.06);
}

.pd-feature-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.pd-feature-item h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #111111;
}

.pd-feature-item p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Spec card */
.pd-spec-card {
  padding: 32px;
  margin-bottom: 24px;
}

.pd-spec-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.pd-spec-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.pd-spec-table tr:last-child {
  border-bottom: none;
}
.pd-spec-table td {
  padding: 11px 0;
  font-size: 0.85rem;
}
.pd-spec-table td:first-child {
  color: var(--gray);
  font-weight: 600;
  width: 45%;
}
.pd-spec-table td:last-child {
  color: #111111;
  font-weight: 700;
  text-align: right;
}

/* Inbox card */
.pd-inbox-card {
  padding: 32px;
}

.pd-inbox-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #111111;
}

.pd-inbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-inbox-list li {
  font-size: 0.88rem;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pd-inbox-list li:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .pd-hero-inner {
    grid-template-columns: 1fr;
  }
  .pd-hero-img-wrap {
    order: -1;
  }
  .pd-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .pd-gallery-main {
    grid-column: span 2;
  }
  .pd-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .pd-title {
    font-size: 2rem;
  }
  .pd-gallery {
    grid-template-columns: 1fr;
  }
  .pd-gallery-main {
    grid-column: span 1;
  }
  .pd-gallery-img {
    height: 220px;
  }
}

/* ================================================
   PD2 — PRODUCT DETAIL PAGES (NEW SYSTEM)
================================================ */

.pd2-breadcrumb {
  background: #f7f7f7;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 12px 0;
}
.pd2-breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #888;
}
.pd2-breadcrumb a { color: #888; text-decoration: none; transition: color 0.2s; }
.pd2-breadcrumb a:hover { color: var(--orange); }
.pd2-breadcrumb span:last-child { color: #333; font-weight: 600; }

.pd2-main { padding: 48px 0 60px; }
.pd2-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Gallery */
.pd2-gallery-col { position: sticky; top: 90px; }
.pd2-main-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f8f8f8;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  margin-bottom: 16px;
}
.pd2-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.pd2-main-img-wrap:hover .pd2-main-img { transform: scale(1.04); }
.pd2-badge-overlay {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pd2-thumbnails { display: flex; gap: 10px; flex-wrap: wrap; }
.pd2-thumb {
  width: calc(20% - 8px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  background: #f8f8f8;
  padding: 4px;
  transition: border-color 0.2s, transform 0.2s;
}
.pd2-thumb:hover { border-color: rgba(255,81,0,0.4); transform: translateY(-2px); }
.pd2-thumb.active { border-color: var(--orange); }

/* Info column */
.pd2-category-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pd2-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0a0a0a;
  margin-bottom: 14px;
}
.pd2-subtitle {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
}

.pd2-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pd2-pill {
  background: rgba(255,81,0,0.07);
  border: 1px solid rgba(255,81,0,0.18);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* Tabs */
.pd2-tabs {
  display: flex;
  border-bottom: 2px solid #e8e8e8;
  margin-bottom: 24px;
}
.pd2-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #999;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.pd2-tab:hover { color: #333; }
.pd2-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.pd2-tab-content { display: none; }
.pd2-tab-content.active { display: block; }
.pd2-tab-content > p { font-size: 0.92rem; line-height: 1.75; color: #555; margin-bottom: 16px; }

/* Feature grid */
.pd2-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.pd2-feat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pd2-feat:hover { border-color: rgba(255,81,0,0.2); box-shadow: 0 4px 16px rgba(255,81,0,0.06); }
.pd2-feat > span { font-size: 1.4rem; flex-shrink: 0; }
.pd2-feat h4 { font-size: 0.85rem; font-weight: 800; color: #111; margin-bottom: 4px; }
.pd2-feat p { font-size: 0.78rem; color: #777; line-height: 1.5; margin: 0; }

/* Spec table */
.pd2-spec-table { width: 100%; border-collapse: collapse; }
.pd2-spec-table tr { border-bottom: 1px solid #f0f0f0; }
.pd2-spec-table tr:last-child { border-bottom: none; }
.pd2-spec-table td { padding: 10px 4px; font-size: 0.85rem; vertical-align: middle; }
.pd2-spec-table td:first-child { color: #888; font-weight: 600; width: 44%; }
.pd2-spec-table td:last-child { color: #111; font-weight: 700; }

/* Inbox */
.pd2-inbox { list-style: none; padding: 0; margin: 0; }
.pd2-inbox li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #f2f2f2;
}
.pd2-inbox li:last-child { border-bottom: none; }
.inbox-check {
  width: 24px; height: 24px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}
.pd2-inbox li strong { font-size: 0.88rem; font-weight: 800; color: #111; display: block; margin-bottom: 2px; }
.pd2-inbox li p { font-size: 0.8rem; color: #888; margin: 0; line-height: 1.4; }

/* CTA wrap */
.pd2-cta-wrap { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* Related */
.pd2-related { background: #f9f9f9; padding: 48px 0; border-top: 1px solid #eee; }
.pd2-related-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 28px; color: #111; }
.pd2-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pd2-related-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pd2-related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.pd2-related-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.pd2-related-info { padding: 14px 16px; }
.pd2-related-cat { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; color: var(--orange); text-transform: uppercase; display: block; margin-bottom: 4px; }
.pd2-related-card h4 { font-size: 0.95rem; font-weight: 800; color: #111; margin: 0; }

/* GeX showcase */
.pd2-features-showcase { padding: 60px 0; background: #fff; border-top: 1px solid #eee; }
.pd2-features-title { font-size: 1.5rem; font-weight: 900; text-align: center; margin-bottom: 36px; color: #111; }
.pd2-showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pd2-showcase-item { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); background: #fff; }
.pd2-showcase-item img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.pd2-showcase-item:hover img { transform: scale(1.04); }
.pd2-showcase-label { padding: 18px 20px; }
.pd2-showcase-label h4 { font-size: 1rem; font-weight: 800; color: #111; margin-bottom: 6px; }
.pd2-showcase-label p { font-size: 0.83rem; color: #666; line-height: 1.55; margin: 0; }

/* TT Spotlight */
.pd2-tt-spotlight {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid #eee;
}
.pd2-tt-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.42);
}
.pd2-tt-spotlight .container { position: relative; z-index: 2; padding: 80px 0; }
.pd2-tt-overlay-content { max-width: 580px; }
.pd2-tt-overlay-content h2 { font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1.2; margin: 16px 0 16px; }
.pd2-tt-overlay-content p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }

/* Responsive pd2 */
@media (max-width: 1100px) {
  .pd2-layout { grid-template-columns: 1fr; gap: 40px; }
  .pd2-gallery-col { position: static; }
  .pd2-showcase-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pd2-title { font-size: 1.6rem; }
  .pd2-feature-grid { grid-template-columns: 1fr; }
  .pd2-related-grid { grid-template-columns: 1fr 1fr; }
  .pd2-showcase-grid { grid-template-columns: 1fr; }
  .pd2-thumb { width: calc(25% - 8px); }
  .pd2-tt-overlay-content h2 { font-size: 1.8rem; }
  .pd2-showcase-item img { height: 180px; }
}
@media (max-width: 480px) {
  .pd2-related-grid { grid-template-columns: 1fr; }
  .pd2-thumb { width: calc(33.33% - 8px); }
}

/* ===================================================
   TRANG BẢO HÀNH — WARRANTY PAGE
   =================================================== */

/* Hero */
.warranty-hero {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.warranty-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,81,0,0.18) 0%, transparent 70%);
}
.warranty-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.warranty-badge-tag {
  display: inline-block;
  background: rgba(255,81,0,0.15);
  border: 1px solid rgba(255,81,0,0.4);
  color: #ff7324;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.warranty-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.warranty-hero .gradient-text {
  background: linear-gradient(90deg, #ff5100, #ff9f50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.warranty-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 48px;
}
.warranty-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.wh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.wh-stat-num {
  font-size: 36px;
  font-weight: 900;
  color: #ff5100;
  line-height: 1;
}
.wh-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  max-width: 100px;
}

/* Sections */
.warranty-section {
  padding: 64px 0;
}
.warranty-section--alt {
  background: #f8f8fa;
}
.warranty-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.warranty-icon {
  font-size: 28px;
}
.warranty-section-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: #111;
}

/* Warranty duration cards */
.warranty-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.warranty-card {
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.warranty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.warranty-card--highlight {
  border-color: #ff5100;
  background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
  box-shadow: 0 8px 32px rgba(255,81,0,0.12);
}
.wc-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.warranty-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}
.wc-duration {
  font-size: 28px;
  font-weight: 900;
  color: #ff5100;
  margin-bottom: 12px;
}
.warranty-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}
.wc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wc-list li {
  font-size: 13px;
  color: #333;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}
.wc-list li:last-child { border-bottom: none; }

/* Covered / Not covered two-column */
.warranty-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.warranty-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.warranty-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.wl-check {
  width: 26px;
  height: 26px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.wl-x {
  width: 26px;
  height: 26px;
  background: #dc2626;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.warranty-list strong {
  display: block;
  font-size: 15px;
  color: #111;
  margin-bottom: 4px;
}
.warranty-list p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Process steps */
.warranty-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.warranty-step {
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.warranty-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.ws-num {
  font-size: 11px;
  font-weight: 800;
  color: #ff5100;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.ws-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.warranty-step h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}
.warranty-step p {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}
.warranty-step-arrow {
  font-size: 20px;
  color: #ff5100;
  font-weight: 700;
  flex-shrink: 0;
}

/* Terms grid */
.warranty-terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.warranty-term-card {
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.warranty-term-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.warranty-term-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.warranty-term-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.warranty-term-card strong {
  color: #ff5100;
}

/* CTA */
.warranty-cta {
  background: linear-gradient(135deg, #ff5100 0%, #ff7324 100%);
  padding: 64px 0;
  text-align: center;
}
.warranty-cta-content h2 {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.warranty-cta-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.warranty-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.warranty-cta .btn-primary {
  background: #fff;
  color: #ff5100;
}
.warranty-cta .btn-primary:hover {
  background: #f0f0f0;
}
.warranty-cta .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.warranty-cta .btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .warranty-cards-grid { grid-template-columns: 1fr 1fr; }
  .warranty-two-col { grid-template-columns: 1fr; gap: 32px; }
  .warranty-terms-grid { grid-template-columns: 1fr 1fr; }
  .warranty-steps { flex-wrap: wrap; }
  .warranty-step-arrow { display: none; }
}
@media (max-width: 600px) {
  .warranty-cards-grid { grid-template-columns: 1fr; }
  .warranty-terms-grid { grid-template-columns: 1fr; }
  .warranty-hero-stats { gap: 28px; }
  .warranty-step { max-width: 100%; }
}

/* ===================================================
   TRANG CỬA HÀNG ĐẠI LÝ — STORE PAGE
   =================================================== */

.store-hero {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.store-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,81,0,0.15) 0%, transparent 70%);
}
.store-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.store-badge {
  display: inline-block;
  background: rgba(255,81,0,0.15);
  border: 1px solid rgba(255,81,0,0.4);
  color: #ff7324;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.store-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.store-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.store-section {
  padding: 64px 0 80px;
  background: #f8f8fa;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* Main store card */
.store-card {
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.store-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}
.store-logo-mark {
  flex-shrink: 0;
}
.store-card-header h2 {
  font-size: 22px;
  font-weight: 900;
  color: #111;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.store-official-badge {
  display: inline-block;
  background: rgba(255,81,0,0.1);
  color: #ff5100;
  border: 1px solid rgba(255,81,0,0.25);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.store-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.store-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f8f8fa;
  border-radius: 12px;
  padding: 16px;
}
.store-info-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.store-info-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin-bottom: 4px;
}
.store-info-value {
  font-size: 14px;
  color: #222;
  line-height: 1.5;
  margin: 0;
}
.store-info-value strong {
  color: #ff5100;
}

.store-map-placeholder {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8ea;
}

.store-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Sidebar */
.store-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.store-sidebar-card {
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 16px;
  padding: 24px;
}
.store-sidebar-card--orange {
  background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
  border-color: rgba(255,81,0,0.2);
}
.store-sidebar-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin-bottom: 16px;
}
.store-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.store-feature-list li {
  font-size: 14px;
  color: #333;
  padding: 8px 12px;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .store-grid { grid-template-columns: 1fr; }
  .store-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .store-card { padding: 20px; }
  .store-card-header { flex-direction: column; text-align: center; }
  .store-cta-row { flex-direction: column; }
}
