/* ======================================================================
   NILGIRI · Home Page
   ====================================================================== */

/* ---------- shared section primitives ---------- */
.section-h {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-100);
  margin: 0.75rem 0 1rem;
}

.section-p {
  color: var(--text-70);
  font-size: clamp(0.98rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.section-head { margin-bottom: 3rem; }
.section-head .eyebrow { margin-bottom: 1rem; }
.hero-content .eyebrow { color: var(--bg); border: 1px solid var(--bg); }

/* ---------- Buttons ---------- */
.btn-glow {
  --mx: 0px;
  --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--grad-accent);
  color: #04111f;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translate(var(--mx), var(--my));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-glow:hover {
  transform: translate(var(--mx), calc(var(--my) - 2px));
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: #04111f;
  filter: brightness(1.05);
}

.btn-glow i { font-size: 0.85rem; }

.btn-ghost {
  --mx: 0px;
  --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-100);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border-2);
  backdrop-filter: blur(10px);
  transform: translate(var(--mx), var(--my));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, border-color 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.5);
  color: var(--text-100);
  transform: translate(var(--mx), calc(var(--my) - 2px));
}

/* legacy alias for any markup that still references .btn-electric */
.btn-electric {
  --mx: 0px;
  --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--grad-accent);
  color: #04111f;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.28);
  transform: translate(var(--mx), var(--my));
  transition: transform 0.3s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.btn-electric:hover {
  transform: translate(var(--mx), calc(var(--my) - 2px));
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.4);
  color: #04111f;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(6%);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

.hero-carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 15%, rgba(34, 211, 238, 0.22), transparent 35%),
    linear-gradient(90deg, rgba(8, 12, 22, 0.72) 10%, rgba(8, 12, 22, 0.44) 48%, rgba(8, 12, 22, 0.76) 100%);
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 5.2rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  transition: width 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hero-carousel-dot.is-active {
  width: 30px;
  background: #22d3ee;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.7) inset;
}

.hero-grid {
  position: absolute;
  inset: -56px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
  opacity: 0.7;
  animation: gridDrift 18s linear infinite;
}

@keyframes gridDrift {
  to { background-position: 56px 56px; }
}

/* Electric beam sweep across the hero */
.hero-beam {
  position: absolute;
  top: -10%;
  left: -30%;
  width: 60%;
  height: 120%;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(34, 211, 238, 0.0) 30%,
    rgba(34, 211, 238, 0.18) 48%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(34, 211, 238, 0.18) 52%,
    rgba(34, 211, 238, 0.0) 70%,
    transparent 100%);
  filter: blur(20px);
  transform: rotate(8deg);
  animation: beamSweep 7s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes beamSweep {
  0% { transform: translateX(-40%) rotate(8deg); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(260%) rotate(8deg); opacity: 0; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 14s ease-in-out infinite;
}
.hero-orb--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 70%);
  top: -120px;
  left: -120px;
}
.hero-orb--2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 70%);
  bottom: -160px;
  right: -120px;
  animation-delay: -5s;
}
.hero-orb--3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -9s;
  opacity: 0.35;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 1.2rem 0 1.2rem;
  color: var(--text-100);
  filter: drop-shadow(5px 10px 6px black);
}

.hero-sub {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--text);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 540px;
}

.hero-stat {
  padding: 1rem 1.1rem;
  background: var(--surface-0);
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  backdrop-filter: blur(10px);
}

.hero-stat .stat-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat .stat-value span {
  font-size: 0.85rem;
  color: var(--text-70);
  margin-left: 0.2rem;
  font-weight: 600;
}
.hero-stat .stat-label {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-70);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Hero product visual */
.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-halo {
  position: absolute;
  inset: 10% 5%;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.55), transparent 50%),
    radial-gradient(circle at 50% 60%, rgba(59, 130, 246, 0.35), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  z-index: -1;
  animation: spin-slow 30s linear infinite;
}
.hero-ring--1 {
  width: 92%;
  aspect-ratio: 1;
}
.hero-ring--2 {
  width: 70%;
  aspect-ratio: 1;
  border-style: solid;
  border-color: rgba(34, 211, 238, 0.18);
  animation-direction: reverse;
  animation-duration: 40s;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.hero-product {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(34, 211, 238, 0.2));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-spec {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: rgba(12, 14, 22, 0.85);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  min-width: 200px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-spec i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-accent-soft);
  color: var(--accent-1);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.hero-spec .spec-k {
  font-size: 0.78rem;
  color: var(--text-50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.hero-spec .spec-v {
  font-size: 0.9rem;
  color: var(--text-100);
  font-weight: 600;
}

.hero-spec--top { top: 8%; left: -1%; }
.hero-spec--bottom { bottom: 10%; right: -1%; }

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-50);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  z-index: 2;
  transition: color 0.25s ease;
}
.hero-scroll:hover { color: var(--text-100); }
.hero-scroll span {
  width: 22px;
  height: 36px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  position: relative;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent-1);
  border-radius: 3px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 6px); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ======================================================================
   MISSION
   ====================================================================== */
.mission-section {
  padding: 7rem 0;
  background:
    radial-gradient(700px 400px at 90% 20%, rgba(34, 211, 238, 0.05), transparent 60%),
    var(--bg-0);
}

.mission-media {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.mission-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  /*background: radial-gradient(circle, rgba(34, 211, 238, 0.4) 0%, rgba(59, 130, 246, 0.2) 40%, transparent 70%);*/
  filter: blur(50px);
  z-index: -1;
  animation: pulse 6s ease-in-out infinite;
}

.mission-ring {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  z-index: -1;
  animation: spin-slow 35s linear infinite;
}

.mission-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  /*filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(34, 211, 238, 0.18));*/
  animation: floaty 7s ease-in-out infinite;
  /*border: 5px solid rgb(59, 130, 246);*/
  border-radius: 30px;
}

.mission-stat-card {
  position: absolute;
  right: 4%;
  top: 8%;
  background: rgba(12, 14, 22, 0.9);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(14px);
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  z-index: 2;
}

.mission-stat-card .ms-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.mission-stat-card .ms-num small { font-size: 1.4rem; }
.mission-stat-card .ms-label {
  font-size: 0.78rem;
  color: var(--text-70);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  font-weight: 600;
}

.feature {
  padding: 1.1rem 0;
}
.feature-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent-1);
  background: var(--grad-accent-soft);
  border: 1px solid var(--border-1);
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}
.feature h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-100);
}
.feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-70);
  line-height: 1.65;
}

.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-90);
  font-size: 0.95rem;
  font-weight: 500;
}
.check-list i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #04111f;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ======================================================================
   VIDEO
   ====================================================================== */
.video-section {
  padding: 5rem 0 7rem;
  background: var(--bg-0);
}

.video-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-2), 0 0 80px rgba(34, 211, 238, 0.08);
}
.video-wrap iframe { border: 0; }

/* ======================================================================
   MODELS CAROUSEL
   ====================================================================== */
.models-section {
  padding: 6rem 0 7rem;
  background:
    radial-gradient(800px 500px at 20% 0%, rgba(59, 130, 246, 0.08), transparent 60%),
    var(--bg-0);
}

.models-wrap {
  position: relative;
  margin-top: 1rem;
}

#modelSlider .carousel-item { transition: transform 0.7s ease, opacity 0.5s ease; }

.model-slide {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 3rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  /*border: 1px solid var(--border-1);*/
  border: 2px solid rgb(59, 130, 246);
  border-radius: var(--r-xl);
  border-color: #3b82f6;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 540px;
}

.model-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 0% 100%, rgba(34, 211, 238, 0.1), transparent 60%),
    radial-gradient(500px 350px at 100% 0%, rgba(59, 130, 246, 0.08), transparent 60%);
  pointer-events: none;
}

.model-image {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.model-image-halo {
  position: absolute;
  inset: 8% 8%;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.45), transparent 55%),
    radial-gradient(circle at 50% 65%, rgba(59, 130, 246, 0.25), transparent 65%);
  filter: blur(35px);
  z-index: -1;
}

.model-image-ring {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  z-index: -1;
  animation: spin-slow 32s linear infinite;
}

.model-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  cursor: zoom-in;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 30px rgba(34, 211, 238, 0.15));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 20px;
}

.model-image img:hover { transform: translateY(-6px) scale(1.02); }

.model-copy { position: relative; z-index: 1; }

.model-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.model-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--grad-accent);
  color: #04111f;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.model-chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-0);
  color: var(--text-70);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border-1);
}

.model-name {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-100);
  margin: 0.3rem 0 0.6rem;
}

.model-desc {
  color: var(--text-70);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  max-width: 480px;
}

.model-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.model-highlights span {
  padding: 0.4rem 0.85rem;
  background: var(--surface-0);
  border: 1px solid var(--border-1);
  color: var(--text-90);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.model-specs {
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1.4rem;
  background: var(--surface-0);
  font-size: 0.88rem;
  max-width: 480px;
}

.model-specs .spec-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border-bottom: 1px solid var(--border-soft);
}
.model-specs .spec-row:last-child { border-bottom: none; }

.model-specs .k,
.model-specs .v {
  padding: 0.65rem 1rem;
  line-height: 1.4;
}
.model-specs .k {
  color: var(--text-70);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.model-specs .v {
  color: var(--text-100);
  font-weight: 500;
}

/* Carousel controls */
#modelSlider .carousel-control-prev,
#modelSlider .carousel-control-next {
  width: 56px;
  height: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  opacity: 1;
  color: var(--text-100);
  transition: all 0.25s ease;
}
#modelSlider .carousel-control-prev { left: -1.5rem; }
#modelSlider .carousel-control-next { right: -1.5rem; }
#modelSlider .carousel-control-prev:hover,
#modelSlider .carousel-control-next:hover {
  background: var(--grad-accent);
  color: #04111f;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}
#modelSlider .carousel-control-prev i,
#modelSlider .carousel-control-next i { font-size: 0.95rem; }

#modelSlider .carousel-indicators {
  position: relative;
  margin: 1.4rem 0 0;
  gap: 0.4rem;
}
#modelSlider .carousel-indicators button {
  width: 30px;
  height: 4px;
  border-radius: 4px;
  background: var(--border-2);
  border: 0;
  margin: 0;
  opacity: 1;
  transition: all 0.3s ease;
}
#modelSlider .carousel-indicators button.active {
  background: var(--grad-accent);
  width: 50px;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* 360 viewer modal */
#viewer360Modal .modal-content {
  background: rgba(12, 14, 22, 0.95);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  color: var(--text-90);
  backdrop-filter: blur(20px);
}
#viewer360Modal .modal-header {
  border-bottom: 1px solid var(--border-soft);
}
.viewer-360-wrap { position: relative; overflow: hidden; border-radius: var(--r-md); }
.viewer-360-img { user-select: none; }
.viewer-360-hint {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-50);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ======================================================================
   TEST RIDE CTA CARD
   ====================================================================== */
.ride-section { padding: 4rem 0 7rem; }

.ride-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 3.5rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #0a1226 0%, #0d1626 60%, #08111d 100%);
  /*border: 1px solid var(--border-1);*/
  isolation: isolate;
  border: 2px solid rgb(59, 130, 246);
}

.ride-card-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ride-card-bg .ride-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 65%);
  filter: blur(60px);
  right: -10%;
  top: -20%;
  animation: float 12s ease-in-out infinite;
}

.ride-card-bg .ride-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, #000 30%, transparent 90%);
  opacity: 0.6;
}

.ride-card-content { position: relative; z-index: 1; }
.ride-card-content .section-h { margin: 1rem 0 1rem; }

.ride-card-visual {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.ride-card-visual .ride-product-halo {
  position: absolute;
  inset: 5%;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.5), transparent 60%),
    radial-gradient(circle at 50% 70%, rgba(59, 130, 246, 0.3), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.ride-card-visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
  animation: floaty 5s ease-in-out infinite;
}

/* ======================================================================
   SAVINGS SECTION
   ====================================================================== */
.savings-section {
  padding: 6rem 0;
  background:
    radial-gradient(900px 600px at 10% 80%, rgba(59, 130, 246, 0.08), transparent 60%),
    var(--bg-0);
}

.savings-card {
  padding: 2rem;
  border-radius: var(--r-lg);
  background: var(--surface-0);
  border: 1px solid var(--border-1);
  backdrop-filter: blur(10px);
}

.calc-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-70);
  font-weight: 500;
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.calc-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-100);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-family: var(--font-body);
}

.calc-input::placeholder { color: var(--text-30); opacity: 1; }
.calc-input:focus {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}
.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.calc-input:-webkit-autofill,
.calc-input:-webkit-autofill:hover,
.calc-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-100);
  -webkit-box-shadow: 0 0 0 1000px rgba(20, 24, 36, 0.95) inset;
  caret-color: var(--text-100);
  transition: background-color 9999s ease-in-out 0s;
}

.result-chart {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  color: var(--text-90);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.result-head { margin-bottom: 1rem; }
.result-label {
  font-size: 0.85rem;
  color: var(--text-100);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.result-hint { font-size: 0.82rem; color: var(--text-50); margin-top: 0.2rem; }

.range-wrap { margin-bottom: 1rem; }

.compare-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: var(--border-1);
  outline: none;
}
.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-accent);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18), 0 4px 12px rgba(34, 211, 238, 0.4);
}
.compare-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-1);
  cursor: pointer;
  border: 0;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-50);
  font-weight: 500;
}

.compare-layout { flex: 1; }

.compare-board {
  position: relative;
  border-bottom: 1px solid var(--border-1);
  height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  gap: 2rem;
  padding: 1.5rem 1rem 0 3rem;
  background-image: repeating-linear-gradient(to top, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 20%);
  background-size: 100% calc(100% - 36px);
  background-repeat: no-repeat;
  background-position: 0 0;
}

.y-ticks {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 36px;
  width: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-50);
  font-weight: 500;
  text-align: right;
  padding-right: 0.5rem;
}

.compare-bar-wrap {
  width: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.compare-bar {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  min-height: 2px;
  height: 0;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.seg-fixed { background: linear-gradient(180deg, #1e2a4a, #0e1428); }
.seg-maint { background: linear-gradient(180deg, #3b82f6, #1e3a8a); }
.seg-run { background: linear-gradient(180deg, #6b7791, #353d52); }
.seg-save { background: linear-gradient(180deg, #22d3ee, #0891b2); box-shadow: 0 0 16px rgba(34, 211, 238, 0.5) inset; }

.bar-name {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-90);
  font-family: var(--font-display);
}

.compare-legend {
  margin-top: 1rem;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  align-items: center;
  color: var(--text-50);
  font-size: 0.78rem;
  font-weight: 500;
}
.compare-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 0.4rem;
  transform: translateY(1px);
}

/* ======================================================================
   TRUST SECTION
   ====================================================================== */
.trust-section {
  padding: 6rem 0;
  background:
    radial-gradient(700px 400px at 80% 50%, rgba(139, 92, 246, 0.06), transparent 60%),
    var(--bg-0);
}

.trust-tile {
  height: 100%;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  padding: 1.5rem 1.4rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.trust-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
}

.trust-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-accent-soft);
  color: var(--accent-1);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-1);
}

.trust-tile h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-100);
  margin: 0 0 0.4rem;
}
.trust-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-70);
  line-height: 1.65;
}

/* ======================================================================
   FAQ
   ====================================================================== */
.faq-section {
  padding: 6rem 0 8rem;
  background:
    radial-gradient(700px 500px at 20% 30%, rgba(34, 211, 238, 0.05), transparent 60%),
    var(--bg-0);
}

.faq-section .accordion-item {
  background: var(--surface-0);
  border: 1px solid var(--border-1);
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 0.7rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-section .accordion-item:hover { border-color: var(--border-2); }

.faq-section .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-100);
  background: transparent;
  padding: 1.1rem 1.3rem;
}

.faq-section .accordion-button:not(.collapsed) {
  background: rgba(34, 211, 238, 0.06);
  color: var(--text-100);
  box-shadow: none;
}

.faq-section .accordion-button::after {
  filter: invert(1) brightness(2);
  opacity: 0.7;
}

.faq-section .accordion-button:focus { box-shadow: none; }

.faq-section .accordion-body {
  color: var(--text-70);
  line-height: 1.75;
  font-size: 0.95rem;
  padding: 0 1.3rem 1.3rem;
}

/* ======================================================================
   EASY RIDE SECTION
   ====================================================================== */
.easy-ride-section {
  background:
    radial-gradient(circle at 50% 18%, rgba(44, 197, 94, 0.18), transparent 20%),
    radial-gradient(circle at 20% 75%, rgba(59, 130, 246, 0.12), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(34, 197, 94, 0.14), transparent 22%),
    linear-gradient(180deg, #050505 0%, #0b0b0b 48%, #111111 100%);
  padding: clamp(4rem, 7vw, 6rem) 0;
  overflow: hidden;
}

.easy-ride-stage {
  position: relative;
  min-height: 760px;
}

.easy-ride-content {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(620px, calc(100% - 8rem));
  text-align: center;
  color: #ffffff;
  z-index: 3;
  padding: clamp(2.5rem, 4vw, 3.75rem);
  border-radius: 34px;
  /* background: rgba(255, 255, 255, 0.04); */
  /* border: 1px solid rgba(255, 255, 255, 0.09); */
  /* box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35); */
  /* backdrop-filter: blur(10px); */
}

.easy-ride-content h2 {
  margin: 1rem 0 0;
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #ffffff !important;
}

.easy-ride-content p {
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  color: rgba(255, 255, 255, 0.72);
}

.easy-ride-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.easy-ride-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.easy-feature-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 290px;
  max-width: 320px;
  padding: 1rem 1.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  z-index: 1;
}

.easy-feature-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #ecfdf3 0%, #e3f8ea 100%);
  border: 1px solid rgba(34, 197, 94, 0.18);
  color: #22c55e;
  font-size: 1.35rem;
}

.easy-feature-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.easy-feature-copy p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.35;
}

.easy-ride-stage .reveal {
  transition-delay: var(--easy-delay, 0s);
}

.easy-feature-card.reveal {
  opacity: 0;
  transition:
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.easy-feature-card--1.reveal,
.easy-feature-card--3.reveal,
.easy-feature-card--5.reveal,
.easy-feature-card--7.reveal {
  transform: translateX(-42px);
}

.easy-feature-card--2.reveal,
.easy-feature-card--4.reveal,
.easy-feature-card--6.reveal,
.easy-feature-card--8.reveal {
  transform: translateX(42px);
}

.easy-ride-content.reveal {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(36px) scale(0.96);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.easy-feature-card.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.easy-ride-content.reveal.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0) scale(1);
}

.easy-feature-card--1 { top: 8%; left: 6%; }
.easy-feature-card--2 { top: 8%; right: 6%; }
.easy-feature-card--3 { top: 30%; left: -1%; }
.easy-feature-card--4 { top: 30%; right: -1%; }
.easy-feature-card--5 { bottom: 30%; left: 0; }
.easy-feature-card--6 { bottom: 30%; right: 0; }
.easy-feature-card--7 { bottom: 8%; left: 7%; }
.easy-feature-card--8 { bottom: 8%; right: 7%; }

/* ======================================================================
   Responsive
   ====================================================================== */
@media (max-width: 1199px) {
  .hero-spec--top { top: 4%; left: -2%; }
  .hero-spec--bottom { bottom: 6%; right: -2%; }
  #modelSlider .carousel-control-prev { left: -0.5rem; }
  #modelSlider .carousel-control-next { right: -0.5rem; }

  .easy-feature-card {
    min-width: 260px;
    max-width: 290px;
    padding: 0.9rem 1.1rem;
  }
  .easy-feature-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
  .easy-ride-content {
    width: min(560px, calc(100% - 6rem));
  }
  .easy-feature-card--3,
  .easy-feature-card--5 { left: -1%; }
  .easy-feature-card--4,
  .easy-feature-card--6 { right: -1%; }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 4rem;
  }
  .hero-visual { min-height: 380px; margin-top: 2rem; }
  .hero-spec { min-width: 170px; padding: 0.6rem 0.8rem; }
  .hero-spec i { width: 32px; height: 32px; }

  .mission-section, .savings-section, .trust-section, .faq-section, .models-section, .ride-section, .video-section {
    padding: 4.5rem 0;
  }
  .mission-media { min-height: 380px; }

  .model-slide {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1.5rem;
    min-height: auto;
  }
  .model-image { min-height: 240px; }

  .ride-card {
    grid-template-columns: 1fr;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
  }

  .easy-ride-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
  }
  .easy-ride-content {
    position: static;
    inset: auto;
    transform: none;
    order: -1;
    width: 100%;
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
  }
  .easy-feature-card {
    position: static;
    min-width: 0;
    max-width: none;
  }
  .easy-ride-content.reveal,
  .easy-ride-content.reveal.is-visible {
    transform: none;
  }
  .easy-feature-card--1.reveal,
  .easy-feature-card--2.reveal,
  .easy-feature-card--3.reveal,
  .easy-feature-card--4.reveal,
  .easy-feature-card--5.reveal,
  .easy-feature-card--6.reveal,
  .easy-feature-card--7.reveal,
  .easy-feature-card--8.reveal {
    transform: translateY(28px);
  }
  .easy-feature-card.reveal.is-visible {
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .hero { padding: 4rem 0 3rem; height: 200px; }
  .hero-carousel-dots { bottom: 1rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .hero-stat { padding: 0.7rem 0.75rem; }
  .hero-stat .stat-value { font-size: 1.2rem; }
  .hero-stat .stat-value span { font-size: 0.7rem; }
  .hero-stat .stat-label { font-size: 0.65rem; }
  .hero-spec { display: none; }
  .hero-actions { gap: 0.6rem; }
  .hero-actions a { padding: 0.7rem 1.1rem; font-size: 0.88rem; }
  .hero-scroll { display: none; }

  .mission-section, .savings-section, .trust-section, .faq-section, .models-section, .ride-section, .video-section {
    padding: 3.5rem 0;
  }
  .mission-section .container {
    text-align: center;
  }
  .mission-section .check-list {
    text-align: left;
  }
  .mission-section .feature.tilt .feature-ic {
    margin: 0 auto 1rem;
  }
  .section-head { margin-bottom: 2rem; }
  .section-h { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }

  .mission-media { min-height: 280px; }
  .mission-stat-card { right: 2%; top: 2%; padding: 0.7rem 0.85rem; }
  .mission-stat-card .ms-num { font-size: 1.7rem; }

  .ride-card { padding: 2rem 1.4rem; }
  .ride-card-visual img { max-width: 320px; }

  .savings-card { padding: 1.5rem; }
  .compare-board { height: 260px; gap: 1.2rem; padding-left: 2.6rem; }
  .compare-bar-wrap { width: 60px; }

  #modelSlider .carousel-control-prev,
  #modelSlider .carousel-control-next {
    width: 44px;
    height: 44px;
  }
  #modelSlider .carousel-control-prev { left: 0.3rem; }
  #modelSlider .carousel-control-next { right: 0.3rem; }

  .model-slide { padding: 1.5rem; }
  .model-image img { max-width: 320px; }
  .model-name { font-size: 1.7rem; }

  .easy-ride-section { padding: 3.5rem 0; }
  .easy-ride-stage {
    grid-template-columns: 1fr;
  }
  .easy-ride-content {
    width: 100%;
    padding: 2rem 1.35rem;
    border-radius: 24px;
  }
  .easy-ride-content h2 { font-size: clamp(2rem, 10vw, 3.25rem); }
  .easy-ride-content p { font-size: 0.95rem; }
  .easy-feature-card {
    padding: 0.95rem 1rem;
    border-radius: 24px;
  }
  .easy-feature-copy h3 { font-size: 0.98rem; }
  .easy-feature-copy p { font-size: 0.9rem; }
}
