/* =============================================
   IMOU Ranger Mini 3MP — Landing Page Styles
   style.css
   ============================================= */

/* Google Fonts loaded via HTML <link> tag */

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

/* ---- CSS Variables ---- */
:root {
  --orange:       #F58700;
  --orange-dim:   #F5870022;
  --orange-mid:   #F5870055;
  --black:        #080808;
  --surface:      #111111;
  --surface2:     #191919;
  --surface3:     #222222;
  --border:       #2a2a2a;
  --border2:      #333333;
  --text:         #f0ede8;
  --text-muted:   #888880;
  --text-dim:     #444440;
  --white:        #ffffff;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* =============================================
   CUSTOM CURSOR
   ============================================= */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--orange-mid);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.2s, height 0.2s, opacity 0.3s;
}

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s, background 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
  border-color: var(--border);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
}
.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--orange);
  color: #000 !important;
  font-weight: 500 !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-decoration: none;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; color: #000 !important; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 3rem 5rem;
}

/* Radial glow behind camera */
.hero-glow {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, #F5870015 0%, #F5870008 40%, transparent 70%);
  pointer-events: none;
}

/* Scanning ring animations */
.scan-ring {
  position: absolute;
  right: calc(5% + 130px);
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 0.5px solid #F5870022;
  animation: scanPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.scan-ring-2 {
  position: absolute;
  right: calc(5% + 60px);
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 0.5px solid #F5870012;
  animation: scanPulse 3s ease-in-out infinite 1s;
  pointer-events: none;
}

@keyframes scanPulse {
  0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateY(-50%) scale(1.03); }
}

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 0.5px, transparent 0.5px),
    linear-gradient(90deg, var(--border) 0.5px, transparent 0.5px);
  background-size: 60px 60px;
  opacity: 0.2;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, transparent 0%, var(--black) 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  animation: fadeUp 0.9s ease both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  border: 0.5px solid var(--orange-mid);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.9s ease 0.1s both;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: blink 1.5s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s ease 0.2s both;
}
.hero-h1 .accent {
  color: var(--orange);
  display: block;
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s ease 0.3s both;
}
.hero-sub strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: fadeUp 0.9s ease 0.4s both;
}

/* Buttons */
.btn-primary {
  background: var(--orange);
  color: #000;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px #F5870033;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px #F5870055;
}

.btn-ghost {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  cursor: none;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(3px); }

/* Camera illustration */
.hero-camera {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 20px 80px rgba(245,135,0,0.15)) drop-shadow(0 0 120px rgba(245,135,0,0.08));
  animation: floatCam 6s ease-in-out infinite, fadeUp 1s ease 0.3s both;
}

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

/* Hero stats strip */
.hero-stats {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  right: 3rem;
  z-index: 3;
  display: flex;
  gap: 0;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  animation: fadeUp 0.9s ease 0.6s both;
}

.stat-item {
  flex: 1;
  padding: 1.25rem 1.75rem;
  border-right: 0.5px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-val span { color: var(--orange); }

.stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
section { padding: 6rem 3rem; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--orange);
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-section {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #F5870008 0%, transparent 70%);
  pointer-events: none;
}

.features-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feat-card {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  cursor: none;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feat-card:hover { background: var(--surface2); }
.feat-card:hover::before { transform: scaleX(1); }

.feat-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.feat-icon-wrap {
  width: 48px;
  height: 48px;
  border: 0.5px solid var(--border2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--surface3);
  transition: border-color 0.3s, background 0.3s;
}
.feat-card:hover .feat-icon-wrap {
  border-color: var(--orange-mid);
  background: var(--orange-dim);
}

.feat-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-muted);
  transition: stroke 0.3s;
}
.feat-card:hover .feat-icon-wrap svg { stroke: var(--orange); }

.feat-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.feat-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

.feat-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  border: 0.5px solid var(--orange-mid);
  padding: 4px 10px;
  border-radius: 100px;
}

/* =============================================
   COVERAGE SECTION
   ============================================= */
.coverage-section {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.coverage-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.coverage-info-icon {
  width: 40px;
  height: 40px;
  border: 0.5px solid var(--border2);
  border-radius: 10px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coverage-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
}

.coverage-info-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.coverage-info-detail {
  font-size: 12px;
  color: var(--text-muted);
}

.coverage-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.arc-svg { width: 100%; height: 100%; }

@keyframes rotateScan {
  0%   { transform-origin: 200px 200px; transform: rotate(-87.5deg); opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { transform-origin: 200px 200px; transform: rotate(87.5deg); opacity: 0; }
}
.scan-line { animation: rotateScan 4s ease-in-out infinite alternate; }

/* =============================================
   NIGHT VISION SECTION
   ============================================= */
.nightvision-section { background: var(--surface); }

.nv-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 3rem;
}

.nv-mode {
  padding: 1.75rem 1.5rem;
  background: var(--surface2);
  cursor: none;
  transition: background 0.3s;
  position: relative;
}
.nv-mode.active,
.nv-mode:hover { background: var(--surface3); }

.nv-mode.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
}

.nv-mode-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nv-mode-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.nv-mode-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   STORAGE SECTION
   ============================================= */
.storage-section {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.storage-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.storage-card {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color 0.3s, background 0.3s;
  cursor: none;
}
.storage-card:hover,
.storage-card.featured {
  border-color: var(--orange-mid);
  background: var(--surface2);
}

.storage-icon {
  width: 44px;
  height: 44px;
  background: var(--surface3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.storage-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
}

.storage-info { flex: 1; }

.storage-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.storage-detail {
  font-size: 12.5px;
  color: var(--text-muted);
}

.storage-badge {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--orange-dim);
  color: var(--orange);
  border: 0.5px solid var(--orange-mid);
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* =============================================
   SPECS TABLE
   ============================================= */
.specs-section { background: var(--surface); }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
}

.specs-table tr { border-bottom: 0.5px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
  padding: 1rem 0;
  font-size: 14px;
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 35%;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.specs-table td:last-child {
  color: var(--text);
  font-weight: 400;
}

.specs-table td span {
  color: var(--orange);
  font-weight: 500;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--black);
  text-align: center;
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #F5870010 0%, transparent 70%);
}

.cta-section .section-h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.cta-section .section-sub {
  margin: 0 auto 2.5rem;
  text-align: center;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25rem;
  position: relative;
  z-index: 1;
}

.price-tag .currency {
  color: var(--orange);
  font-size: 24px;
  vertical-align: super;
}

.price-tag .cents {
  font-size: 18px;
  vertical-align: middle;
  color: var(--text-muted);
  font-weight: 400;
}

.price-note {
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.footer-logo span { color: var(--orange); }

.footer-text {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 12px;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-muted); }

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }

  .hero { padding: 7rem 1.5rem 12rem; }
  .hero-camera { display: none; }
  .hero-glow, .scan-ring, .scan-ring-2 { display: none; }
  .hero-stats { left: 1.5rem; right: 1.5rem; flex-wrap: wrap; }
  .stat-item { min-width: 45%; }

  .features-grid { grid-template-columns: 1fr; }
  .coverage-section,
  .storage-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .nv-modes { grid-template-columns: 1fr 1fr; }

  section { padding: 4rem 1.5rem; }
  .cta-section { padding: 5rem 1.5rem; }

  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
}
