/* ═══════════════════════════════════════════
   WHOOP FPV — Cyberpunk Landing Styles
   ═══════════════════════════════════════════ */

@property --glow-cyan {
  syntax: '<color>';
  inherits: false;
  initial-value: #00f3ff;
}
@property --glow-magenta {
  syntax: '<color>';
  inherits: false;
  initial-value: #ff00ff;
}
@property --gradient-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@property --bar-fill {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

:root {
  --bg-dark: #0a0a0f;
  --bg-card: rgba(12, 12, 22, 0.75);
  --bg-card-hover: rgba(18, 18, 32, 0.85);
  --cyan: #00f3ff;
  --magenta: #ff00ff;
  --purple: #b026ff;
  --lime: #39ff14;
  --text-primary: #e8e8f0;
  --text-muted: #7a7a9a;
  --font-display: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --nav-height: 64px;
  --section-gap: clamp(4rem, 10vw, 7rem);
  --glow-cyan: #00f3ff;
  --glow-magenta: #ff00ff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  font-family: var(--font-display);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Background Layers ── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(176, 38, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 75%, rgba(0, 243, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 5% 65%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
    var(--bg-dark);
  animation: bg-shift 14s ease-in-out infinite alternate;
}

.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../svg/grid-pattern.svg');
  background-size: 200px 200px;
  opacity: 0.6;
  animation: grid-drift 25s linear infinite;
}

.bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(176, 38, 255, 0.08) 0%, transparent 50%);
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: particle-rise linear infinite;
  opacity: 0;
}

.particle:nth-child(1)  { left: 10%; animation-duration: 12s; animation-delay: 0s;   background: var(--cyan);    box-shadow: 0 0 6px var(--cyan); }
.particle:nth-child(2)  { left: 20%; animation-duration: 15s; animation-delay: -2s;  background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }
.particle:nth-child(3)  { left: 35%; animation-duration: 10s; animation-delay: -5s;  background: var(--lime);    box-shadow: 0 0 6px var(--lime); }
.particle:nth-child(4)  { left: 50%; animation-duration: 18s; animation-delay: -1s;  background: var(--purple);  box-shadow: 0 0 6px var(--purple); }
.particle:nth-child(5)  { left: 65%; animation-duration: 13s; animation-delay: -7s;  background: var(--cyan);    box-shadow: 0 0 6px var(--cyan); }
.particle:nth-child(6)  { left: 75%; animation-duration: 16s; animation-delay: -3s;  background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }
.particle:nth-child(7)  { left: 85%; animation-duration: 11s; animation-delay: -9s;  background: var(--lime);    box-shadow: 0 0 6px var(--lime); }
.particle:nth-child(8)  { left: 92%; animation-duration: 14s; animation-delay: -4s;  background: var(--purple);  box-shadow: 0 0 6px var(--purple); }
.particle:nth-child(9)  { left: 5%;  animation-duration: 17s; animation-delay: -6s;  background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }
.particle:nth-child(10) { left: 45%; animation-duration: 12s; animation-delay: -8s;  background: var(--cyan);    box-shadow: 0 0 6px var(--cyan); }

.scanline {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0, 0, 0, 0.025) 2px, rgba(0, 0, 0, 0.025) 4px
  );
}

.corner-accent {
  position: fixed;
  width: clamp(60px, 15vw, 120px);
  height: clamp(60px, 15vw, 120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.corner-accent--tl { top: var(--nav-height); left: 0; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); box-shadow: -4px -4px 15px rgba(0, 243, 255, 0.2); }
.corner-accent--br { bottom: 0; right: 0; border-bottom: 2px solid var(--magenta); border-right: 2px solid var(--magenta); box-shadow: 4px 4px 15px rgba(255, 0, 255, 0.2); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, 1100px);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav__logo img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 4px var(--cyan));
}

.nav__logo span {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.nav__links {
  display: none;
  list-style: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav__links a:hover {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.nav__cta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  padding: 0.55em 1.2em;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.6), 0 0 40px rgba(176, 38, 255, 0.3);
}

/* ── Layout ── */
.container {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-label {
  display: inline-block;
  font-size: clamp(0.6rem, 1.8vw, 0.7rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 8px rgba(176, 38, 255, 0.5);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--magenta));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 5s ease infinite;
}

.section-desc {
  margin-top: 0.8rem;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  min-height: 100dvh;
  padding-top: var(--nav-height);
  padding-block: calc(var(--nav-height) + 2rem) clamp(3rem, 8vw, 5rem);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100dvh - var(--nav-height));
  }
}

.hero__content {
  text-align: center;
}

@media (min-width: 900px) {
  .hero__content { text-align: left; }
}

.hero-badge {
  display: inline-block;
  font-size: clamp(0.6rem, 1.8vw, 0.7rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(57, 255, 20, 0.4);
  padding: 0.4em 1.2em;
  border-radius: 2em;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.3), inset 0 0 8px rgba(57, 255, 20, 0.05);
  animation: neon-pulse 3s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(3rem, 12vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
  background: linear-gradient(var(--gradient-angle), var(--cyan) 0%, var(--purple) 40%, var(--magenta) 70%, var(--cyan) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 4s ease infinite, title-float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 2px var(--cyan));
  position: relative;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(24px);
  opacity: 0.55;
  z-index: -1;
  animation: gradient-flow 4s ease infinite;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: clamp(0.8rem, 2vw, 1.5rem);
}

.hero-tagline span {
  color: var(--cyan);
  text-shadow: 0 0 4px var(--cyan), 0 0 12px rgba(0, 243, 255, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 900px) {
  .hero-actions { justify-content: flex-start; }
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.hero__visual::before {
  content: '';
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 38, 255, 0.2) 0%, transparent 70%);
  animation: neon-pulse 4s ease-in-out infinite;
}

.hero__drone {
  width: min(100%, 380px);
  height: auto;
  animation: drone-hover 5s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(0, 243, 255, 0.3));
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 243, 255, 0.15);
  animation: ring-expand 4s ease-out infinite;
}

.hero__ring:nth-child(1) { width: 60%; aspect-ratio: 1; animation-delay: 0s; }
.hero__ring:nth-child(2) { width: 80%; aspect-ratio: 1; animation-delay: -1.3s; border-color: rgba(255, 0, 255, 0.12); }
.hero__ring:nth-child(3) { width: 100%; aspect-ratio: 1; animation-delay: -2.6s; border-color: rgba(57, 255, 20, 0.1); }

/* ── Stats Ticker ── */
.stats-bar {
  border-block: 1px solid rgba(0, 243, 255, 0.1);
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding-block: 1rem;
}

.stats-bar__track {
  display: flex;
  gap: 4rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.stats-bar__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stats-bar__value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.stats-bar__item:nth-child(even) .stats-bar__value { color: var(--magenta); text-shadow: 0 0 8px rgba(255, 0, 255, 0.5); }
.stats-bar__item:nth-child(3n) .stats-bar__value { color: var(--lime); text-shadow: 0 0 8px rgba(57, 255, 20, 0.5); }

/* ── Features ── */
.features {
  padding-block: var(--section-gap);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 243, 255, 0.12);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  animation: card-float 5s ease-in-out infinite;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: -1.6s; }
.feature-card:nth-child(3) { animation-delay: -3.2s; }

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: var(--bg-card-hover);
}

.feature-card:nth-child(1):hover { border-color: rgba(0, 243, 255, 0.5); box-shadow: 0 0 25px rgba(0, 243, 255, 0.25), inset 0 0 20px rgba(0, 243, 255, 0.05); }
.feature-card:nth-child(2):hover { border-color: rgba(57, 255, 20, 0.5); box-shadow: 0 0 25px rgba(57, 255, 20, 0.25), inset 0 0 20px rgba(57, 255, 20, 0.05); }
.feature-card:nth-child(3):hover { border-color: rgba(255, 0, 255, 0.5); box-shadow: 0 0 25px rgba(255, 0, 255, 0.25), inset 0 0 20px rgba(255, 0, 255, 0.05); }

.feature-card__num {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.feature-icon {
  width: clamp(48px, 10vw, 64px);
  height: clamp(48px, 10vw, 64px);
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 243, 255, 0.25);
  background: rgba(0, 243, 255, 0.05);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.15);
  transition: transform 0.4s ease;
  color: var(--cyan);
}

.feature-card:nth-child(2) .feature-icon { color: var(--lime); border-color: rgba(57, 255, 20, 0.25); background: rgba(57, 255, 20, 0.05); box-shadow: 0 0 12px rgba(57, 255, 20, 0.15); }
.feature-card:nth-child(3) .feature-icon { color: var(--magenta); border-color: rgba(255, 0, 255, 0.25); background: rgba(255, 0, 255, 0.05); box-shadow: 0 0 12px rgba(255, 0, 255, 0.15); }

.feature-card:hover .feature-icon { transform: scale(1.12) rotate(8deg); }
.feature-icon svg { width: 50%; height: 50%; filter: drop-shadow(0 0 4px currentColor); }

.feature-title {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.feature-card:nth-child(1) .feature-title { color: var(--cyan); text-shadow: 0 0 8px rgba(0, 243, 255, 0.4); }
.feature-card:nth-child(2) .feature-title { color: var(--lime); text-shadow: 0 0 8px rgba(57, 255, 20, 0.4); }
.feature-card:nth-child(3) .feature-title { color: var(--magenta); text-shadow: 0 0 8px rgba(255, 0, 255, 0.4); }

.feature-desc {
  font-size: clamp(0.82rem, 2vw, 0.92rem);
  color: var(--text-muted);
}

/* ── Specs ── */
.specs {
  padding-block: var(--section-gap);
}

.specs__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 768px) {
  .specs__layout { grid-template-columns: 1fr 1fr; }
}

.specs__panel {
  background: var(--bg-card);
  border: 1px solid rgba(176, 38, 255, 0.15);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2rem);
  backdrop-filter: blur(12px);
}

.specs__panel-title {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 8px rgba(176, 38, 255, 0.4);
}

.spec-row {
  margin-bottom: 1.2rem;
}

.spec-row:last-child { margin-bottom: 0; }

.spec-row__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.spec-row__label { color: var(--text-muted); }
.spec-row__value { font-weight: 700; color: var(--cyan); text-shadow: 0 0 6px rgba(0, 243, 255, 0.4); }

.spec-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.spec-bar__fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
  animation: bar-grow 2s ease forwards;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

.spec-bar__fill--magenta { background: linear-gradient(90deg, var(--magenta), var(--purple)); box-shadow: 0 0 8px rgba(255, 0, 255, 0.5); }
.spec-bar__fill--lime { background: linear-gradient(90deg, var(--lime), var(--cyan)); box-shadow: 0 0 8px rgba(57, 255, 20, 0.5); }

.specs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.spec-chip {
  background: rgba(0, 243, 255, 0.04);
  border: 1px solid rgba(0, 243, 255, 0.12);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.spec-chip:hover {
  border-color: rgba(0, 243, 255, 0.35);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
}

.spec-chip__val {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
  line-height: 1.2;
}

.spec-chip__label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.spec-chip:nth-child(2) .spec-chip__val { color: var(--magenta); text-shadow: 0 0 10px rgba(255, 0, 255, 0.5); }
.spec-chip:nth-child(3) .spec-chip__val { color: var(--lime); text-shadow: 0 0 10px rgba(57, 255, 20, 0.5); }
.spec-chip:nth-child(4) .spec-chip__val { color: var(--purple); text-shadow: 0 0 10px rgba(176, 38, 255, 0.5); }

/* ── Modes ── */
.modes {
  padding-block: var(--section-gap);
}

.modes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .modes__grid { grid-template-columns: repeat(3, 1fr); }
}

.mode-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2rem);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--magenta));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 243, 255, 0.25);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.mode-card:hover::before { opacity: 1; }

.mode-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px currentColor);
}

.mode-card:nth-child(1) .mode-card__icon { color: var(--cyan); }
.mode-card:nth-child(2) .mode-card__icon { color: var(--lime); }
.mode-card:nth-child(3) .mode-card__icon { color: var(--magenta); }

.mode-card__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.mode-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mode-card__tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: 2em;
  border: 1px solid rgba(0, 243, 255, 0.3);
  color: var(--cyan);
}

.mode-card:nth-child(2) .mode-card__tag { border-color: rgba(57, 255, 20, 0.3); color: var(--lime); }
.mode-card:nth-child(3) .mode-card__tag { border-color: rgba(255, 0, 255, 0.3); color: var(--magenta); }

/* ── Gallery ── */
.gallery {
  padding-block: var(--section-gap);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.6rem, 2vw, 1rem);
}

@media (min-width: 640px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 243, 255, 0.1);
  cursor: default;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

@media (min-width: 640px) {
  .gallery__item--wide { grid-column: span 2; }
}

.gallery__item:hover {
  transform: scale(1.03);
  border-color: rgba(0, 243, 255, 0.4);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.2);
  z-index: 2;
}

.gallery__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.gallery__item:hover .gallery__bg { transform: scale(1.08); }

.gallery__bg--1 { background: linear-gradient(135deg, #0a0a2e 0%, #1a0a3e 50%, #0a1a2e 100%); }
.gallery__bg--2 { background: linear-gradient(225deg, #0a2e1a 0%, #0a1a2e 50%, #1a0a2e 100%); }
.gallery__bg--3 { background: linear-gradient(45deg, #2e0a1a 0%, #1a0a2e 50%, #0a0a2e 100%); }
.gallery__bg--4 { background: linear-gradient(315deg, #0a2e2e 0%, #0a0a2e 50%, #2e0a2e 100%); }
.gallery__bg--5 { background: linear-gradient(180deg, #1a0a3e 0%, #0a1a3e 50%, #0a0a1a 100%); }

.gallery__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../svg/grid-pattern.svg');
  background-size: 100px 100px;
  opacity: 0.4;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery__item:hover .gallery__overlay { opacity: 1; }

.gallery__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.gallery__sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ── FAQ ── */
.faq {
  padding-block: var(--section-gap);
}

.faq__list {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid rgba(0, 243, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq__item[open] {
  border-color: rgba(0, 243, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.08);
}

.faq__question {
  padding: 1.2rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__item[open] .faq__question { color: var(--cyan); }

.faq__answer {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
  padding-block: var(--section-gap);
}

.cta-box {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(176, 38, 255, 0.2);
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 243, 255, 0.08), transparent, rgba(255, 0, 255, 0.08), transparent);
  animation: cta-rotate 8s linear infinite;
}

.cta-box__inner {
  position: relative;
  z-index: 1;
}

.cta-box__title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.cta-box__desc {
  color: var(--text-muted);
  font-size: clamp(0.85rem, 2vw, 1rem);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-inline: auto;
}

.cta-button {
  display: inline-block;
  position: relative;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--magenta));
  background-size: 200% 200%;
  padding: 1.1em 2.8em;
  border-radius: 4px;
  animation: gradient-flow 3s ease infinite, neon-pulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.5), 0 0 30px rgba(176, 38, 255, 0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.7), 0 0 50px rgba(176, 38, 255, 0.4), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cta-button:hover::after { left: 100%; }

.cta-button--outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 243, 255, 0.4);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.2);
  animation: neon-pulse 3s ease-in-out infinite;
}

.cta-button--outline:hover {
  background: rgba(0, 243, 255, 0.08);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(0, 243, 255, 0.08);
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover { color: var(--cyan); }

.footer p {
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer-brand {
  color: var(--purple);
  text-shadow: 0 0 8px rgba(176, 38, 255, 0.5);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s ease forwards;
  animation-timeline: view();
  animation-range: entry 5% cover 25%;
}

/* ── Keyframes ── */
@keyframes bg-shift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(12deg); }
}

@keyframes grid-drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(200px); }
}

@keyframes neon-pulse {
  0%, 100% { --glow-cyan: #00f3ff; --glow-magenta: #ff00ff; filter: brightness(1); opacity: 1; }
  50% { --glow-cyan: #66f9ff; --glow-magenta: #ff66ff; filter: brightness(1.12); opacity: 0.93; }
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; --gradient-angle: 0deg; }
  50% { background-position: 100% 50%; --gradient-angle: 180deg; }
  100% { background-position: 0% 50%; --gradient-angle: 360deg; }
}

@keyframes title-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes drone-hover {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(1deg); }
  75% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes prop-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ring-expand {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0; }
}

@keyframes particle-rise {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bar-grow {
  from { width: 0; }
}

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

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
