@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Orbitron:wght@400;700;900&family=Outfit:wght@300;400;600;700&display=swap');

/* --- Reset & Variables --- */
:root {
  --bg-dark: #040408;
  --bg-grid: rgba(0, 240, 255, 0.025);
  --neon-blue: #00f0ff;
  --neon-purple: #bd00ff;
  --neon-pink: #ff007f;
  --neon-white: #ffffff;
  --text-primary: #e2e2ec;
  --text-secondary: #8e90a5;
  
  --font-cyber: 'Orbitron', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --glass-bg: rgba(9, 9, 21, 0.5);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-blur: blur(16px) saturate(180%);
}

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

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

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  /* Cyberpunk grid background */
  background-image: 
    linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
  background-size: 50px 50px;
  background-attachment: fixed;
}

/* Blur lights background overlay */
.cyber-bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: float 22s infinite alternate ease-in-out;
}

.glow-orb-blue {
  background: var(--neon-blue);
  width: 55vw;
  height: 55vw;
  top: -15vw;
  left: -10vw;
  animation-delay: 0s;
}

.glow-orb-purple {
  background: var(--neon-purple);
  width: 50vw;
  height: 50vw;
  bottom: -10vw;
  right: -5vw;
  animation-delay: -5s;
}

.glow-orb-pink {
  background: var(--neon-pink);
  width: 35vw;
  height: 35vw;
  top: 35%;
  left: 65%;
  animation-delay: -11s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(6% , 6%) scale(1.1);
  }
}

/* --- Common Components & Glassmorphism --- */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

/* Section Header */
.section-title {
  font-family: var(--font-cyber);
  font-size: 2.8rem;
  font-weight: 900;
  text-align: center;
  color: var(--neon-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35), 0 0 20px var(--neon-blue);
  letter-spacing: 0.15em;
  margin-bottom: 4.5rem;
  position: relative;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  box-shadow: 0 0 8px var(--neon-blue);
}

/* Unified Cyber Neon Gradient Title Styling */
.cyber-gradient-title {
  background: linear-gradient(to right, #ff00ff, #8a2be2, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-title.cyber-gradient-title,
.secondary-title.cyber-gradient-title {
  text-shadow: none; /* Strip standard text-shadow to prevent clipping mask artifacts */
}

/* Buttons */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-cyber);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-white);
  background: var(--glass-bg);
  border: 1.5px solid var(--neon-blue);
  border-radius: 8px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.btn-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn-cyber:hover {
  color: #000;
  background: var(--neon-blue);
  box-shadow: 0 0 25px var(--neon-blue), 0 0 45px rgba(0, 240, 255, 0.4);
  border-color: var(--neon-blue);
  transform: translateY(-2px);
}

.btn-cyber:hover::before {
  left: 100%;
}

.btn-cyber:active {
  transform: translateY(1px);
  box-shadow: 0 0 10px var(--neon-blue);
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- 1. Hero Section (大画面・ワイド表示 - サイバー起動 & 全画面背景) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  z-index: 10;
  /* Lowered wash opacity to let cyber neon back texture lines show through cleanly */
  background-image: linear-gradient(rgba(4, 4, 8, 0.45), rgba(4, 4, 8, 0.52)), url('https://www.uniqstyle.co.jp/products/rapoo/V500/img/back_texture.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-container {
  max-width: 1360px;
  width: 100%;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hero background glow */
.hero-container::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* Title Scrambled style container */
.hero-title {
  font-family: 'Audiowide', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 0 0 25px var(--neon-blue);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  min-height: 80px; /* Prevent reflow during scramble animation */
}

/* Make V500 PRO 2 steps larger (1.45em relative to parent's 3.2rem) and apply gradient */
.hero-title .cyber-gradient-title {
  font-size: 1.45em;
  text-shadow: none; /* Disable shadow inside the gradient span to maintain clip mask integrity */
}

/* Catchphrase Scrambled style container */
.hero-catch {
  font-family: var(--font-cyber);
  font-size: 2rem;
  font-weight: 700;
  color: var(--neon-white);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 0 15px var(--neon-blue);
  margin-bottom: 3.5rem; /* Expanded bottom margin to balance the removed sub text */
  line-height: 1.3;
  min-height: 40px;
}

/* Key visual wrap (All floating hover animations completely deleted for static look) */
.hero-product-wrap {
  position: relative;
  margin: 0 auto 4rem;
  max-width: 1100px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Scrambled Character highlighting */
.scramble-char {
  color: var(--neon-blue);
  text-shadow: 0 0 8px var(--neon-blue);
  opacity: 0.9;
  font-family: monospace;
}

.hero-product-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.hero-cta-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* --- 2. Features Section --- */
.features {
  padding: 6rem 2rem;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Centered lead text migrated from Hero section */
.features-lead {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-align: center;
  margin: -2.5rem auto 4.5rem;
  max-width: 950px;
  line-height: 1.7;
}

/* --- Feature No.00 Split Banner & Swiper --- */
.feature-zero-swiper {
  width: 100%;
  margin-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.feature-zero-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.feature-zero-container {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 3rem;
  width: 100%;
}

.feature-zero-content {
  flex: 1.1;
  display: flex;
  flex-direction: column;
}

.feature-zero-badge {
  font-family: var(--font-cyber);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--neon-pink);
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

.feature-zero-title {
  font-family: var(--font-cyber);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--neon-white);
  line-height: 1.3;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.feature-zero-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-zero-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-zero-list .check-icon {
  color: var(--neon-blue);
  font-size: 1.2rem;
  font-weight: 900;
  text-shadow: 0 0 8px var(--neon-blue);
  line-height: 1.4;
}

.feature-zero-list .list-text {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.feature-zero-list .list-text strong {
  color: var(--neon-white);
  font-weight: 700;
}

.feature-zero-visual {
  flex: 0.9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-zero-visual:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
}

.feature-zero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Key Features Grid (2x2) */
.key-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  margin-bottom: 6rem;
}

.feature-card-new {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.feature-card-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card-new:hover .feature-card-img {
  transform: scale(1.05);
}

.feature-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feature-card-num {
  font-family: var(--font-cyber);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  margin-bottom: 0.8rem;
}

.feature-card-title {
  font-family: var(--font-cyber);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neon-white);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Hover effects with neon border and shadow */
.feature-card-new.hover-pink:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.3);
  transform: translateY(-6px);
}

.feature-card-new.hover-purple:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 0 25px rgba(189, 0, 255, 0.3);
  transform: translateY(-6px);
}

.feature-card-new.hover-blue:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
  transform: translateY(-6px);
}

/* Secondary Section Title */
.secondary-title {
  font-family: var(--font-cyber);
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  color: var(--neon-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25), 0 0 15px var(--neon-blue);
  letter-spacing: 0.1em;
  margin: 7rem 0 3.5rem;
  position: relative;
}

.secondary-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--neon-blue);
  box-shadow: 0 0 5px var(--neon-blue);
}

/* --- 3D Carousel & Visual Wrapper --- */
.additional-features-wrap {
  position: relative;
  margin-top: 3.5rem;
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Upper Area: Banner Image Display */
.additional-features-banner {
  width: 100%;
  text-align: center;
  position: relative;
}

.additional-features-bg-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.25));
}

/* Lower Area: Swiper Slider */
.additional-features-swiper {
  width: 100%;
  padding: 1.5rem 1rem 3.5rem !important; /* Adjusted padding as background image is moved */
  overflow: hidden;
}

.additional-features-swiper .swiper-slide {
  width: 82% !important;
  max-width: 360px;
  height: auto;
  opacity: 0.45;
  transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.additional-features-swiper .swiper-slide-active {
  opacity: 1;
}

/* Hover & Active card glowing neon cyan style */
.additional-features-swiper .swiper-slide:hover,
.additional-features-swiper .swiper-slide-active {
  opacity: 1;
  border-color: #00f0ff !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.6), inset 0 0 10px rgba(0, 240, 255, 0.2) !important;
}

.additional-features-swiper .swiper-pagination {
  bottom: 0px !important;
}

.additional-features-swiper .swiper-pagination-bullet {
  background: var(--text-secondary);
  opacity: 0.4;
}

.additional-features-swiper .swiper-pagination-bullet-active {
  background: var(--neon-blue) !important;
  opacity: 1;
  box-shadow: 0 0 8px var(--neon-blue);
}

.secondary-card {
  padding: 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.secondary-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.06);
  transform: translateY(-3px);
}

.sec-num {
  font-family: var(--font-cyber);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: block;
}

.sec-title {
  font-family: var(--font-cyber);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neon-white);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.sec-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Infographics Section --- */
.features-infographic {
  margin-top: 6rem;
  padding: 3rem 3.5rem;
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.infographic-title {
  font-family: var(--font-cyber);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-white);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-transform: uppercase;
}

.infographic-title::before {
  content: '';
  display: block;
  width: 5px;
  height: 28px;
  background: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
  border-radius: 2px;
}

.infographic-chart {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.chart-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chart-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.chart-value {
  font-family: 'Audiowide', var(--font-cyber);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.chart-bar-bg {
  width: 100%;
  height: 55px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  width: 0%; /* Dynamic fill width handled by JS intersection observer */
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transition: width 1.5s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

.infographic-summary {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 1.8rem;
  letter-spacing: 0.02em;
}

/* --- 3. Specs Section --- */
.specs {
  padding: 6rem 2rem;
  max-width: 1050px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.specs-panel {
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  /* Red switch mechanism backdrop image with dark visibility overlays */
  background-image: linear-gradient(rgba(4, 4, 8, 0.65), rgba(4, 4, 8, 0.72)), url('https://www.uniqstyle.co.jp/products/rapoo/V500/img/switch_bg.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3.5rem;
  font-size: 1.05rem;
}

.specs-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.specs-table tr:hover {
  background-color: rgba(0, 240, 255, 0.015);
}

.specs-table td {
  padding: 1.3rem 1.5rem;
}

.specs-label {
  font-family: var(--font-cyber);
  font-weight: 700;
  color: var(--neon-blue);
  letter-spacing: 0.05em;
  width: 30%;
  text-transform: uppercase;
}

.specs-value {
  color: var(--text-primary);
  line-height: 1.7;
}

.specs-action {
  display: flex;
  justify-content: center;
}

/* --- 4. Buy Section --- */
.buy {
  padding: 6rem 2rem 10rem;
  max-width: 1000px; /* Expanded for epic proportions */
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.buy-panel {
  padding: 6.5rem 4rem; /* Dynamic padding adjustment */
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Cyberpunk city texture backdrop */
  background-image: linear-gradient(rgba(4, 4, 8, 0.45), rgba(4, 4, 8, 0.55)), url('https://www.uniqstyle.co.jp/products/rapoo/V500/img/back_texture.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
}

.buy-product-wrap {
  max-width: 520px;
  margin: 0 auto 3rem;
  position: relative;
}

.buy-product-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.25));
  transition: transform 0.5s ease;
}

.buy-panel:hover .buy-product-img {
  transform: scale(1.02) translateY(-4px);
}

.buy-copy {
  font-family: var(--font-cyber);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--neon-white);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 15px var(--neon-blue);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  line-height: 1.3;
}

.buy-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 3.5rem;
  line-height: 1.6;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Details Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 6, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 15px 50px rgba(0, 240, 255, 0.15);
  background: linear-gradient(rgba(5, 6, 10, 0.5) 0%, rgba(5, 6, 10, 0.5) 100%), 
              url('../img/switch_bg.jpg') no-repeat center;
  background-size: cover;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--text-secondary);
  transition: background-color 0.3s ease;
}

.modal-close::before { transform: rotate(45deg); }
.modal-close::after { transform: rotate(-45deg); }

.modal-close:hover::before,
.modal-close:hover::after {
  background-color: var(--neon-blue);
}

.modal-title {
  font-family: var(--font-cyber);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--neon-white);
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 0.8rem;
}

.modal-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
}

/* Authorized Retailers Modal Layout & Buttons */
.retailers-links {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0 auto;
  max-width: 400px;
  width: 100%;
}

.btn-retailer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  color: var(--neon-white);
  background: rgba(20, 22, 30, 0.88);
  border: 1px solid var(--neon-blue);
  border-radius: 8px;
  font-family: var(--font-cyber);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.btn-retailer:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  transform: translateY(-2px);
  color: var(--neon-blue);
}

.btn-retailer:active {
  transform: translateY(1px);
}

.modal-container.border-blue { border-color: var(--neon-blue); box-shadow: 0 0 30px rgba(0, 240, 255, 0.25); }

/* --- Footer --- */
footer {
  text-align: center;
  padding: 3.5rem 2rem;
  font-family: var(--font-cyber);
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(3, 3, 8, 0.65);
  position: relative;
  z-index: 10;
}

footer a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--neon-white);
  text-shadow: 0 0 5px var(--neon-blue);
}

/* --- Media Queries --- */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-catch {
    font-size: 1.6rem;
  }
}

@media (max-width: 900px) {
  .key-features-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto 5rem;
  }
  
  .feature-card-img-wrap {
    height: 200px;
  }
  
  .feature-zero-swiper {
    margin-bottom: 3.5rem;
  }
  
  .feature-zero-container {
    flex-direction: column;
    gap: 2rem;
    padding: 2.2rem 1.8rem;
  }
  
  .feature-zero-title {
    font-size: 1.65rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-zero-visual {
    width: 100%;
  }
  
  .additional-features-wrap {
    gap: 1.5rem;
  }
  
  .additional-features-swiper .swiper-slide {
    width: 75% !important;
    max-width: 310px;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 3rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
    min-height: auto;
  }
  
  .hero-catch {
    font-size: 1.35rem;
    min-height: auto;
    margin-bottom: 2.5rem;
  }
  
  .hero-cta-container {
    gap: 1rem;
  }
  
  .hero-cta-container .btn-cyber {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .features-lead {
    font-size: 1.05rem;
    padding: 0 1rem;
    margin: -1.5rem auto 3.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
  }
  
  .secondary-title {
    font-size: 1.6rem;
    margin: 5rem 0 2.5rem;
  }
  
  .features-infographic {
    padding: 2.2rem 1.5rem;
    margin-top: 4.5rem;
  }
  
  .infographic-title {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .specs-panel {
    padding: 2.5rem 1.5rem;
  }
  
  .specs-table, .specs-table tbody, .specs-table tr, .specs-table td {
    display: block;
    width: 100% !important;
  }
  
  .specs-label {
    width: 100% !important;
    font-size: 0.95rem;
    padding: 0.8rem 0 0.2rem !important;
    border-bottom: none !important;
  }
  
  .specs-value {
    width: 100% !important;
    font-size: 0.95rem;
    padding: 0.2rem 0 0.8rem !important;
  }
  
  .buy-panel {
    padding: 5rem 2rem; /* Adjusted for smaller layouts */
  }
  
  .buy-copy {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-catch {
    font-size: 1.1rem;
  }
  
  .hero-cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  
  .hero-cta-container .btn-cyber {
    width: 100% !important;
    padding: 0.8rem 0.5rem;
    font-size: 0.85rem;
    text-align: center;
  }
  
  .specs-table td {
    padding: 0.9rem 0.5rem;
  }
}

/* Gallery popup mobile adjustments */
@media (max-width: 768px) {
  #gallery-prev, #gallery-next {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
  }
}

/* Feature 00 Carousel Navigation Buttons */
.feat00-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 8, 12, 0.7);
  border: 1px solid var(--neon-blue);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: var(--neon-blue);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 8px var(--neon-blue);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  z-index: 10;
  transition: all 0.2s ease;
}

.feat00-nav-btn.prev {
  left: 15px;
}

.feat00-nav-btn.next {
  right: 15px;
}

.feat00-nav-btn:hover {
  background: var(--neon-pink);
  border-color: var(--neon-pink);
  color: #fff;
  text-shadow: 0 0 8px #fff;
  box-shadow: 0 0 15px var(--neon-pink);
}

@media (max-width: 768px) {
  .feat00-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .feat00-nav-btn.prev {
    left: 8px;
  }
  .feat00-nav-btn.next {
    right: 8px;
  }
}

