/* =============================================
   PERFECT COLOURS – LIYU PRODUCT PAGES
   Shared Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,600;0,700;1,400&family=Barlow+Condensed:wght@400;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:        #007a8c;
  --brand-dark:   #005f6e;
  --brand-light:  #009ab0;
  --brand-faint:  #e0f5f8;
  --white:        #ffffff;
  --off-white:    #f7f8fa;
  --light-gray:   #e4e7ec;
  --mid-gray:     #6b6f7c;
  --dark:         #0f1117;
  --text:         #3a3d47;
  --gold:         #c87c00;
  --gold-dk:      #a86800;
  --gold-lt:      #fff3d6;
  --font-body:    'Barlow', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; }

/* ── HERO VIDEO ── */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  border: none;
  pointer-events: none;
}
.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d2a2e 0%, #071a1e 60%, #000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.18);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.18;
}

/* ── INTRO ── */
.intro-section { width: 100%; background: var(--white); border-bottom: 1px solid var(--light-gray); }
.intro-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 64px;
}
.intro-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 108px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--dark);
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.intro-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 400;
  color: var(--mid-gray);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.intro-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brand);
  padding: 8px 18px;
  margin-bottom: 52px;
}
.intro-label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.intro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
}
.intro-body-full { grid-column: 1 / -1; }
.intro-inner p {
  font-size: 20px;
  line-height: 1.85;
  color: var(--text);
}
.intro-inner p strong { font-weight: 700; color: var(--dark); }
.intro-pull {
  border-left: 3px solid var(--brand);
  padding-left: 28px;
  font-size: 22px !important;
  font-style: italic;
  color: var(--brand-dark) !important;
  line-height: 1.65 !important;
}

/* ── PRODUCT VISUAL / IMAGE SECTION ── */
.product-visual {
  width: 100%;
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  padding: 88px 48px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  align-self: flex-start;
  max-width: 960px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light-gray);
  max-width: 200px;
}
.product-section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 52px;
  align-self: flex-start;
  max-width: 960px;
  width: 100%;
}
.product-image-wrap {
  width: 100%;
  max-width: 960px;
  position: relative;
  line-height: 0;
  border: 1px solid var(--light-gray);
  background: white;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.image-placeholder {
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #fafafa;
  color: var(--light-gray);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.image-placeholder svg {
  width: 72px;
  height: 72px;
  color: var(--light-gray);
}

/* ── HOTSPOTS ── */
.hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}
.hotspot-ring, .hotspot-dot, .hotspot-tooltip { pointer-events: none; }
.hotspot-dot {
  position: relative; z-index: 3;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,122,140,0.88);
  border: 2.5px solid rgba(255,255,255,0.95);
  box-shadow: 0 2px 12px rgba(0,122,140,0.45);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.hotspot-dot::after {
  content: ''; width: 9px; height: 9px;
  border-radius: 50%; background: white; display: block;
}
.hotspot:hover .hotspot-dot {
  background: var(--brand-dark);
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(0,122,140,0.55);
}
.hotspot-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(0,122,140,0.45);
  animation: pulseRing 2.2s ease-out infinite;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hotspot-ring:nth-child(1) { width: 40px; height: 40px; animation-delay: 0s; }
.hotspot-ring:nth-child(2) { width: 54px; height: 54px; animation-delay: 0.55s; }
.hotspot-ring:nth-child(3) { width: 68px; height: 68px; animation-delay: 1.1s; }
@keyframes pulseRing {
  0%   { opacity: 0.7; transform: translate(-50%,-50%) scale(0.82); }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.15); }
}
.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  background: var(--dark);
  color: white;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 16px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(4px);
  z-index: 20;
}
.hotspot-tooltip::after {
  content: '';
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--dark);
}
.hotspot:hover .hotspot-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── VIDEO POPUP ── */
.video-popup {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.video-popup.active { opacity: 1; visibility: visible; }
.video-popup-header {
  position: absolute; top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--dark);
  display: flex; align-items: center;
  padding: 0 28px; justify-content: space-between;
}
.video-popup-title-text {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: white;
}
.video-popup-close {
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  font-size: 22px; cursor: pointer;
  padding: 4px 8px;
  transition: color 0.18s;
}
.video-popup-close:hover { color: white; }
.video-popup-inner {
  width: min(90vw, 960px);
  aspect-ratio: 16/9;
  margin-top: 56px;
  background: #000;
}
.video-popup-inner iframe { width: 100%; height: 100%; border: none; }

/* ── TABS ── */
.tabs-section { width: 100%; background: white; }
.tabs-nav {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--light-gray);
  overflow-x: auto;
  background: var(--white);
  padding: 0 16px;
}
.tab-btn {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mid-gray);
  background: none; border: none;
  padding: 22px 36px;
  cursor: pointer;
  position: relative; white-space: nowrap;
  transition: color 0.2s;
  text-transform: uppercase;
}
.tab-btn::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.tab-btn.active { color: var(--brand); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover { color: var(--brand-dark); }

/* Request Info button in tabs nav */
.tabs-nav .btn-submit {
  margin-left: auto;
  margin-right: 0;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  background: var(--gold);
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.tabs-nav .btn-submit:hover { background: var(--gold-dk); transform: translateY(-1px); }

.tabs-content { max-width: 1100px; margin: 0 auto; padding: 64px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.desc-headline {
  display: block;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 900;
  color: var(--dark); letter-spacing: -0.2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand-faint);
}
.tab-panel p {
  font-size: 19px; line-height: 1.85;
  color: var(--text); margin-bottom: 22px;
  max-width: 860px;
}
.tab-panel p strong { color: var(--dark); font-weight: 700; }

.features-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 23px; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand); margin: 40px 0 12px;
}
.features-title::before { content: ''; width: 18px; height: 2px; background: var(--brand); }
.features-subtitle { font-size: 18px; color: var(--mid-gray); font-style: italic; margin-bottom: 18px !important; }

.feature-list {
  list-style: none; margin-bottom: 28px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px 40px; max-width: 860px;
}
.feature-list li {
  font-size: 18px; line-height: 1.55;
  color: var(--text); padding-left: 20px; position: relative;
}
.feature-list li::before {
  content: ''; position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%; background: var(--brand);
}

/* ── SPEC TABLE ── */
.spec-table {
  width: 100%; max-width: 860px;
  border-collapse: collapse;
  margin-top: 8px; font-size: 17px;
}
.spec-table thead tr { background: var(--brand); }
.spec-table th {
  text-align: left; padding: 16px 22px;
  color: white; font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.spec-table tbody tr:nth-child(odd)  { background: var(--brand-faint); }
.spec-table tbody tr:nth-child(even) { background: white; }
.spec-table tbody tr:hover { background: #c8edf2; }
.spec-table td { padding: 14px 22px; border-bottom: 1px solid var(--light-gray); vertical-align: top; }
.spec-table td:first-child { font-weight: 600; color: var(--dark); width: 38%; }

/* ── REQUEST FORM ── */
.request-form p { margin-bottom: 36px !important; max-width: 680px; }
.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 22px; max-width: 560px; }
.form-row label { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-body); font-size: 17px; color: var(--text);
  border: 1.5px solid var(--light-gray);
  padding: 13px 18px; background: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: 0; appearance: none; width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,122,140,0.1);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-error { color: #c00; font-size: 13px; font-weight: 600; margin-top: 2px; }
.form-alert-error {
  background: #fff0f0; border: 1.5px solid #f5c6c6; color: #c00;
  font-size: 15px; padding: 14px 18px; margin-bottom: 24px; max-width: 560px;
}
.form-alert-success {
  background: var(--brand-faint); border: 1.5px solid rgba(0,122,140,0.3); color: var(--brand-dark);
  font-size: 16px; padding: 18px 22px; margin-bottom: 24px; max-width: 560px; font-weight: 600;
}
.btn-submit {
  margin-top: 10px; font-family: var(--font-body);
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: white;
  background: var(--gold); border: none;
  padding: 18px 48px; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none; display: inline-block;
}
.btn-submit:hover { background: var(--gold-dk); transform: translateY(-1px); }
.form-note { font-size: 13px; color: var(--mid-gray); margin-top: 12px !important; max-width: 560px; }

/* ── SPEED CHART ── */
.speed-chart {
  max-width: 860px;
  margin-top: 8px;
  border: 1px solid var(--light-gray);
  overflow: hidden;
}
.speed-chart-header {
  background: var(--brand);
  color: white;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 22px;
}
.speed-row {
  display: flex; align-items: center;
  padding: 14px 22px; gap: 20px;
  border-bottom: 1px solid var(--light-gray);
}
.speed-row:nth-child(odd)  { background: var(--brand-faint); }
.speed-row:nth-child(even) { background: white; }
.speed-row:last-child { border-bottom: none; }
.speed-label { flex: 1; font-size: 16px; color: var(--text); font-weight: 600; }
.speed-sub   { font-size: 12px; font-weight: 400; color: var(--mid-gray); display: block; }
.speed-val   { font-size: 20px; font-weight: 900; color: var(--brand); font-family: var(--font-display); white-space: nowrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .intro-inner  { padding: 64px 40px; }
  .tabs-content { padding: 48px 40px; }
  .product-visual { padding: 64px 32px 72px; }
  .tab-btn { padding: 18px 24px; font-size: 14px; }
}
@media (max-width: 768px) {
  .hero-video { height: 56vw; min-height: 240px; }
  .hero-video iframe { width: 100%; height: 100%; top: 0; left: 0; transform: none; min-width: unset; min-height: unset; }
  .intro-inner { padding: 48px 24px; }
  .intro-inner h1 { font-size: clamp(44px, 11vw, 72px); }
  .intro-inner h2 { font-size: clamp(22px, 6vw, 36px); margin-bottom: 20px; }
  .intro-label  { font-size: 11px; margin-bottom: 36px; }
  .intro-body   { grid-template-columns: 1fr; gap: 24px; }
  .intro-body-full { grid-column: 1; }
  .intro-inner p { font-size: 16px; }
  .intro-pull { font-size: 17px !important; padding-left: 18px; }
  .product-visual { padding: 48px 20px 56px; }
  .product-section-title { font-size: clamp(24px, 6vw, 38px); margin-bottom: 32px; }
  .hotspot { width: 24px; height: 24px; }
  .hotspot-dot { width: 24px; height: 24px; }
  .hotspot-dot::after { width: 7px; height: 7px; }
  .hotspot-ring:nth-child(1) { width: 30px; height: 30px; }
  .hotspot-ring:nth-child(2) { width: 42px; height: 42px; }
  .hotspot-ring:nth-child(3) { width: 54px; height: 54px; }
  .hotspot-tooltip { font-size: 11px; padding: 5px 10px; }
  .tabs-nav { justify-content: flex-start; flex-wrap: wrap; }
  .tabs-nav .btn-submit { margin-left: 0; width: 100%; justify-content: center; }
  .tab-btn  { padding: 16px 18px; font-size: 13px; letter-spacing: 0.02em; }
  .tabs-content { padding: 36px 24px; }
  .desc-headline { font-size: 20px; margin-bottom: 24px; }
  .tab-panel p { font-size: 16px; max-width: 100%; }
  .features-title { font-size: 18px; }
  .features-subtitle { font-size: 15px; }
  .feature-list { grid-template-columns: 1fr; gap: 10px; max-width: 100%; }
  .feature-list li { font-size: 16px; }
  .spec-table { font-size: 14px; max-width: 100%; }
  .spec-table th { padding: 12px 14px; font-size: 11px; }
  .spec-table td { padding: 10px 14px; }
  .spec-table td:first-child { width: 42%; }
  .form-row { max-width: 100%; }
  .form-row input, .form-row select, .form-row textarea { font-size: 16px; }
  .btn-submit { width: 100%; text-align: center; }
  .video-popup-inner { width: 95vw; }
}
@media (max-width: 480px) {
  .hero-video { height: 56vw; min-height: 200px; }
  .intro-inner { padding: 36px 18px; }
  .intro-inner h1 { font-size: clamp(38px, 12vw, 56px); }
  .intro-inner h2 { font-size: clamp(18px, 6vw, 28px); }
  .intro-inner p { font-size: 15px; }
  .intro-pull { font-size: 15px !important; }
  .product-visual { padding: 36px 16px 44px; }
  .product-section-label { font-size: 11px; }
  .product-section-title { font-size: clamp(22px, 7vw, 32px); margin-bottom: 24px; }
  .hotspot { width: 20px; height: 20px; }
  .hotspot-dot { width: 20px; height: 20px; }
  .hotspot-dot::after { width: 6px; height: 6px; }
  .hotspot-ring:nth-child(1) { width: 26px; height: 26px; }
  .hotspot-ring:nth-child(2) { width: 36px; height: 36px; }
  .hotspot-ring:nth-child(3) { width: 46px; height: 46px; }
  .hotspot-tooltip { display: none; }
  .tab-btn { padding: 14px 14px; font-size: 12px; }
  .tabs-content { padding: 28px 18px; }
  .desc-headline { font-size: 18px; }
  .tab-panel p { font-size: 15px; }
  .feature-list li { font-size: 15px; }
  .features-title { font-size: 16px; }
  .spec-table { font-size: 13px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .spec-table th, .spec-table td { padding: 10px 12px; min-width: 120px; }
}