:root{
  --bg:#0f1116;
  --muted:#9aa0a6;
  --accent:#59d1ff;
  --glass: rgba(255,255,255,0.03);
  --container:1200px;
  font-family: Inter, Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: dark;
}

/* basic reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:var(--bg);color:#fff}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.kicker{color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}

/* ===== HERO (leave visually as you like) ===== */
.zensure-hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:60px 20px;overflow:hidden}
.hero-inner{position:relative;z-index:4;text-align:center;max-width:1100px;margin:0 auto}
.hero-heading.back{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:clamp(6rem,18vw,12rem);font-weight:800;color:rgba(255,255,255,0.03);letter-spacing:8px;z-index:2;pointer-events:none}
.hero-heading.front{font-size:clamp(2rem,4.5vw,3.6rem);font-weight:700;z-index:5;margin-top:10px}
.hero-tagline{color:var(--muted);margin-top:12px}
.zensure-hero {
  margin-top: 0 !important;
}

/* product stack */
.hero-product{position:relative;display:flex;align-items:center;justify-content:center;margin:10px 0;z-index:3}
.hero-light{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;pointer-events:none;max-width:1200px;width:95%}
.hero-light img{width:100%;height:auto;display:block}
.hero-chair{width:560px;max-width:85vw;height:auto;display:block;z-index:4;position:relative;filter:drop-shadow(0 40px 90px rgba(0,0,0,0.6))}

/* hero buttons */
.button-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  position: relative;
  z-index: 3;
}

.hero-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 26px;border-radius:999px;font-weight:700;text-decoration:none}
.hero-btn.buy-now{background:linear-gradient(90deg,#39414a,#5a6672);color:#fff;border:1px solid rgba(255,255,255,0.06)}
.hero-btn.buy-now:hover{background:#fff;color:#0f1116}
.hero-btn.book-demo{background:transparent;border:2px solid rgba(255,255,255,0.12);color:#fff}
.hero-btn.book-demo:hover{background:#fff;color:#0f1116}

/* ===================== FEATURES SECTION ===================== */
.features-section {
  background: linear-gradient(180deg, #0a0b0f 0%, #0d1015 100%);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.features-section .kicker {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #9da3ae;
  letter-spacing: 0.15em;
}

.features-section h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: #fff;
  font-weight: 600;
}

.features-section .kicker {
  color: #59d1ff;
}


/* === Category Title === */
.feature-category {
  margin-bottom: 3rem;
}

.feature-category h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* === Grid Layout === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* === Feature Card === */
.feature-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 28px 18px;
  transition: all 0.4s ease;
  color: #c9ccd1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(89, 209, 255, 0.1);
}

/* === Icon Styling === */
.feature-item i {
  width: 36px;
  height: 36px;
  color: #fff;
  margin-bottom: 14px;
  opacity: 0.9;
  transition: transform 0.4s ease, color 0.4s ease;
}

.feature-item:hover i {
  color: var(--accent, #59d1ff);
  transform: scale(1.15);
}

/* === Feature Name === */
.feature-item span {
  display: block;
  font-weight: 500;
  color: #e3e6ea;
  font-size: 0.95rem;
}

.manual-massage {
  display: flex;
  flex: 1 1 500px;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 100vh;
}

.chair-container {
  position: relative;
  width: 420px;
  max-width: 100%;
}

.chair-base {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.manual-controls {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 10px 20px;
  color: #fff;
  font-family: Poppins, sans-serif;
}

.manual-controls label {
  text-align: right;
  font-weight: 500;
}

.manual-controls input[type="range"] {
  width: 200px;
  accent-color: #00bcd4;
  cursor: pointer;
}


/* 🪑 Chair Container */
.chair-container {
  position: relative;
  width: 100%;
  max-width: 420px; /* adjust if needed */
  aspect-ratio: 595.28 / 841.89; /* match SVG ratio */
  margin: 0 auto;
}

/* 🖼️ Chair Image */
.chair-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 🎯 SVG Overlay */
.chair-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.chair-overlay svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translate(-50%, -50%) scale(10.15);
  transform-origin: center center;
  transition: transform 0.3s ease;
}

/* 📱 Responsive Tweaks */
@media (max-width: 992px) {
  .chair-overlay svg {
    transform: translate(-50%, -50%) scale(9.5);
  }
}

@media (max-width: 768px) {
  .chair-overlay svg {
    transform: translate(-50%, -50%) scale(8.2);
  }
}

@media (max-width: 576px) {
  .chair-overlay svg {
    transform: translate(-50%, -50%) scale(7.3);
  }
}

@media (max-width: 420px) {
  .chair-overlay svg {
    transform: translate(-50%, -50%) scale(6.6);
  }
}


.manual-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.slider-controls {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 350px;
}

.slider label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #fff;
}

.slider input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(to right, #00c6ff 50%, #333 50%);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00c6ff;
  cursor: pointer;
}


object.chair-overlay {
  background: transparent !important;
  border: none !important;
}


/* ===================== PRECISION SECTION ===================== */
.precision-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0f1116 0%, #0a0b0f 100%);
  min-height: 100vh; /* ✅ Full viewport height */
  display: flex;
  align-items: center; /* Vertically center content */
  justify-content: center;
  padding: 0 20px; /* reduced top/bottom padding since we use 100vh */
}

/* Unified kicker style for all sections */
.precision-section .kicker,
.safety-section .kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #59d1ff;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.precision-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.precision-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chair-silhouette {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.silhouette {
  width: 100%;
  display: block;
  z-index: 1;
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}

/* 💡 Glowing light overlay */
.glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.25;
  mix-blend-mode: screen;
  filter: blur(12px);
  animation: glowPulse 3s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes glowPulse {
  0% { opacity: 0.15; transform: scale(1); }
  100% { opacity: 0.35; transform: scale(1.02); }
}

/* SL track path overlay */
.sltrack-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.6s ease;
}

.sl-controls {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 280px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.sl-controls label {
  text-align: center;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Base slider styling */
.sl-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(to right, #00bcd4 50%, #333 50%);
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* WebKit browsers (Chrome, Edge, Safari) */
.sl-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00bcd4;
  box-shadow: 0 0 8px #00bcd4;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sl-controls input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 12px #00e0ff;
  transform: scale(1.1);
}

/* Firefox */
.sl-controls input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00bcd4;
  box-shadow: 0 0 8px #00bcd4;
  border: none;
  cursor: pointer;
}

/* Firefox track */
.sl-controls input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 10px;
  background: #333;
}


/* Text Tiles */
.precision-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.precision-text .tile {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.precision-text .tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(89,209,255,0.08);
}

/* Responsive */
@media (max-width: 980px) {
  .precision-grid { grid-template-columns: 1fr; gap: 32px; }
  .precision-text { text-align: center; }
}


/* ===================== INTELLIGENT COMFORT SECTION ===================== */
.comfort-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 20px;

  overflow: hidden;
}

.comfort-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.comfort-section .kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #59d1ff;
  font-size: 14px;
  margin-bottom: 8px;
}
.comfort-section h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 48px;
  line-height: 1.3;
}

/* Panels layout */
.comfort-panels {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* ---------------- AIR COMPRESSION PANEL ---------------- */
.air-panel {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.air-visual {
  position: relative;
  width: 360px;
  max-width: 90%;
}

.air-chair {
  width: 100%;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}

/* Air zones (soft glowing spots) */
.air-zone {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89,209,255,0.6) 0%, rgba(89,209,255,0.05) 70%);
  opacity: 0.15;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* Positioning for each zone (tweak based on chair image proportions) */
.zone-shoulders { top: 10%; left: 50%; width: 60px; height: 60px; transform: translateX(-50%); }
.zone-arms { top: 30%; left: 20%; width: 80px; height: 80px; }
.zone-hips { top: 50%; left: 60%; width: 70px; height: 70px; }
.zone-calves { bottom: 20%; left: 50%; width: 70px; height: 70px; transform: translateX(-50%); }
.zone-feet { bottom: 5%; left: 50%; width: 60px; height: 60px; transform: translateX(-50%); }

/* Shared styles for slider groups */
.sl-controls,
.air-controls {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 280px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.sl-controls label,
.air-controls label {
  text-align: center;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Shared slider styling */
.sl-controls input[type="range"],
.air-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(to right, #00bcd4 50%, #333 50%);
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* Thumb (WebKit) */
.sl-controls input[type="range"]::-webkit-slider-thumb,
.air-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00bcd4;
  box-shadow: 0 0 8px #00bcd4;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sl-controls input[type="range"]::-webkit-slider-thumb:hover,
.air-controls input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 12px #00e0ff;
  transform: scale(1.1);
}

/* Firefox */
.sl-controls input[type="range"]::-moz-range-thumb,
.air-controls input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00bcd4;
  box-shadow: 0 0 8px #00bcd4;
  border: none;
  cursor: pointer;
}

.sl-controls input[type="range"]::-moz-range-track,
.air-controls input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 10px;
  background: #333;
}


/* Panel text */
.panel-text {
  max-width: 440px;
}
.panel-text h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
}
.panel-text p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------------- HEAT + FOOT ROLLERS PANEL ---------------- */
.heat-panel {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap-reverse;
}

.heat-visual {
  position: relative;
  width: 400px;
  max-width: 90%;
}
.heat-loop {
  width: 100%;
  border-radius: 12px;
  filter: brightness(1.15) contrast(1.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}
.feature-list li {
  color: #ccc;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}
.feature-list li::before {
  content: "•";
  color: #59d1ff;
  position: absolute;
  left: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .air-panel, .heat-panel {
    flex-direction: column;
    text-align: center;
  }
  .panel-text {
    max-width: 90%;
  }
}

/* ===================== CONTROLS SECTION ===================== */
.controls-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 20px;
  background: linear-gradient(180deg, #0c1015 0%, #090b0f 100%);
  overflow: hidden;
}

.controls-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.controls-section .kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #59d1ff;
  font-size: 14px;
  margin-bottom: 8px;
}
.controls-section h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 100px;
  line-height: 1.3;
}

/* Layout grid */
.controls-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 60px;
  align-items: center;
}

/* ---------------- LEFT (Remote + Buttons) ---------------- */
.remote-mock {
  position: relative;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.remote-mock img {
  width: 100%;
  border-radius: 14px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* Remote action buttons */
.remote-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.remote-actions .action {
  background: rgba(89,209,255,0.1);
  border: 1px solid rgba(89,209,255,0.3);
  color: #59d1ff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}
.remote-actions .action:hover {
  background: rgba(89,209,255,0.25);
  transform: translateY(-3px);
}

/* ---------------- RIGHT (Voice + Memory Panels) ---------------- */
.control-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.voice-demo label,
.memory-demo label {
  display: block;
  color: #59d1ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* Voice Assistant Box */
.voice-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(89,209,255,0.25);
  border-radius: 10px;
  padding: 16px 20px;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

/* Memory Presets */
.mem-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.mem-slot {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  padding: 10px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mem-slot:hover {
  background: rgba(89,209,255,0.15);
}
.mem-slot.active {
  background: rgba(89,209,255,0.25);
  border-color: rgba(89,209,255,0.4);
  box-shadow: 0 0 20px rgba(89,209,255,0.2);
}

.memory-demo .muted {
  color: #aaa;
  font-size: 0.85rem;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 980px) {
  .controls-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .remote-actions {
    justify-content: center;
  }
}

.manual-massage-container {
  display: flex;
  justify-content: center;
  margin: 50px 0 20px;
}

#massageSVG {
  width: 600px;
  height: 60px;
}

.massage-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.control {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
}

input[type="range"] {
  width: 120px;
  accent-color: #11b3d8;
  cursor: pointer;
}


/* ================================
   🎛️ Other Functions (Interactive Panel)
================================ */
.other-functions {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 0 40px rgba(0, 123, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.other-functions h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #fff;
}

/* Grid layout only inside .other-functions */
.other-functions .spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

/* Card style inside Other Functions */
.other-functions .spec-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.other-functions .spec-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.15);
}

.other-functions .spec-icon {
  width: 28px;
  height: 28px;
  color: #0dcaf0; /* Light blue accent */
  margin-bottom: 0.5rem;
}

.other-functions .spec-card h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* Controls */
.toggle,
.spec-levels,
.switch {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

/* ================================
   Interactive Other Functions Buttons
================================ */
.mode,
.level,
.switch-btn {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mode:hover,
.level:hover,
.switch-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ✅ Active / ON state (blue) */
.switch-btn.active,
.mode.active,
.level.active {
  background: linear-gradient(90deg, #007bff, #0dcaf0);
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
  border-color: #0dcaf0;
}

/* ❌ OFF / High / Red state */
.switch-btn.off,
.mode.off,
.level.off {
  background: linear-gradient(90deg, #ff4d4d, #ff6a6a);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  border-color: #ff4d4d;
}

/* Icons in Other Functions */
.of-icon,
.roller-icon {
  display: inline-block;      
  transform-origin: center;   
  transition: color 0.3s ease; 
  color: #0dcaf0;  /* default blue */
}

/* ================================
   📱 Responsive Tweaks
================================ */
@media (max-width: 768px) {
  .other-functions {
    padding: 1.5rem;
  }

  .other-functions h3 {
    font-size: 1.2rem;
  }

  .other-functions .spec-card {
    padding: 1rem;
  }

  .mode,
  .level,
  .switch-btn {
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .other-functions .spec-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================== SPECIFICATIONS ===================== */
.specs-section {
  background: linear-gradient(180deg, #0a0b0f 0%, #0d1015 100%);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px 18px;
  transition: all 0.4s ease;
  color: var(--muted);
}
.spec-card h3 {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}
.spec-card p {
  font-size: 0.95rem;
  color: #c9ccd1;
}
.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(89, 209, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .spec-card { padding: 20px; }
}

/* Icon styling for specs */
.spec-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  margin-bottom: 12px;
  opacity: 0.9;
  transition: transform 0.4s ease, color 0.4s ease;
}

.spec-card:hover .spec-icon {
  color: var(--accent);
  transform: scale(1.2);
}



/* ================= ICON STYLING ================= */
.spec-icon {
  width: 36px;
  height: 36px;
  color: #fff;
  margin-bottom: 14px;
  opacity: 0.9;
  transition: transform 0.4s ease, color 0.4s ease;
  display: inline-block;
}

.spec-card:hover .spec-icon {
  color: #59d1ff;
  transform: scale(1.15);
}


/* ===================== SAFETY ===================== */
.safety-section {
  background: linear-gradient(180deg, #0d1015 0%, #0a0b0f 100%);
  min-height: 100vh;
  padding: 120px 20px;
  text-align: center;
  position: relative;
}

.safety-section .kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #59d1ff;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.flip-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  width: 280px;
  height: 220px;
  perspective: 1000px;
  position: relative;
  transition: transform 0.5s ease;
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #fff;
  transition: all 0.6s ease;
}

.flip-front {
  background: rgba(255, 255, 255, 0.04);
}

.flip-back {
  background: rgba(89, 209, 255, 0.08);
  transform: rotateY(180deg);
}

.flip-card.flipped .flip-front {
  transform: rotateY(180deg);
}

.flip-card.flipped .flip-back {
  transform: rotateY(0deg);
}

.toggle {
  margin-top: 12px;
  background: none;
  border: 1px solid rgba(89, 209, 255, 0.5);
  color: #59d1ff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.toggle:hover {
  background: rgba(89, 209, 255, 0.2);
  color: #fff;
}

/* Safety icon */
.safety-icon {
  width: 36px;
  height: 36px;
  color: #59d1ff;
  margin-bottom: 12px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .flip-card { width: 100%; max-width: 320px; }
}


/* =========================
   CTA Section (Zensure III)
========================= */
#cta.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
  padding: 0 40px;
  box-sizing: border-box;

  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)),
    image-set(
      url("../images/zensureIII-bg-desktop.webp") 1x,
      url("../images/zensureIII-bg-desktop@2x.webp") 2x
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#cta .container {
  max-width: 520px;
  margin-left: 12%;
}

#cta .kicker {
  margin: 0 0 1rem 0;
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

#cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

#cta .muted {
  color: #c9ccd1;
  margin-bottom: 2rem;
}

/* Buttons */
.cta-row {
  display: flex;
  gap: 16px;
}

.cta {
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta.primary {
  background: linear-gradient(90deg, #0078ff, #00d1ff);
  color: #071025;
}

.cta.primary:hover {
  background: linear-gradient(90deg, #00a6ff, #00e0ff);
  transform: translateY(-2px);
}

.cta.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cta.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #000;
}

/* =========================
   Tablet (<= 1024px)
========================= */
@media (max-width: 1024px) {
  #cta.section {
    padding: 0 30px;
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)),
      image-set(
        url("../images/zensureIII-bg-tablet.webp") 1x,
        url("../images/zensureIII-bg-tablet@2x.webp") 2x
      );
  }

  #cta .container {
    margin-left: 8%;
    max-width: 450px;
  }
}

/* =========================
   Mobile (<= 600px)
========================= */
@media (max-width: 600px) {
  #cta.section {
    height: auto;
    padding: 60px 20px;
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)),
      image-set(
        url("../images/zensureIII-bg-mobile.webp") 1x,
        url("../images/zensureIII-bg-mobile@2x.webp") 2x
      );
  }

  #cta .container {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
  }

  .cta-row {
    flex-direction: column;
    align-items: center;
  }
}
