/* ==========================================================================
   Spy Camera OS (SCOS) - Modern Website Design System
   Aesthetic: Dark Stealth Tech, Glassmorphism, Neon Emerald Accents
   Mobile-First, Responsive, High Performance Vanilla CSS
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-darkest: #070a11;
  --bg-main: #0b1120;
  --bg-surface: #131c31;
  --bg-surface-elevated: #1a2642;
  --bg-surface-glass: rgba(19, 28, 49, 0.75);
  --bg-surface-glass-card: rgba(26, 38, 66, 0.65);
  
  /* Brand Green / Emerald */
  --color-primary: #10b981;
  --color-primary-light: #34d399;
  --color-primary-dark: #059669;
  --color-primary-glow: rgba(16, 185, 129, 0.25);
  --color-accent-mint: #00e599;

  /* Neutrals & Text */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(16, 185, 129, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.25);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Roboto Mono', Menlo, Consolas, monospace;

  /* Dimensions */
  --container-max-width: 1200px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.15), transparent 70%),
    radial-gradient(circle 800px at 100% 40%, rgba(0, 229, 153, 0.05), transparent 60%),
    radial-gradient(circle 600px at 0% 80%, rgba(16, 185, 129, 0.05), transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw + 1rem, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.25rem, 1.6rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Top Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-surface-glass);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 15px var(--color-primary-glow);
  border: 2px solid var(--color-primary);
  transition: transform var(--transition-smooth);
}

.brand:hover .brand-logo {
  transform: rotate(15deg) scale(1.05);
}

.brand-text-accent {
  color: var(--color-primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1),
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2),
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3),
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-cta {
  display: none;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #052216;
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 20px var(--color-primary);
  opacity: 0;
  animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 8px var(--color-primary-light);
  animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Download Subtext & Version Code Badge */
.hero-download-wrapper,
.cta-download-wrapper,
.cta-license-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.cta-download-wrapper,
.cta-license-wrapper {
  align-items: center;
}

.download-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.download-subtext strong {
  color: var(--text-white);
  font-weight: 600;
}

.version-code-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.52rem;
  border-radius: var(--radius-full);
  background: rgba(0, 230, 153, 0.08);
  border: 1px solid rgba(0, 230, 153, 0.28);
  color: var(--color-primary-light);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.license-subtext {
  color: var(--text-dim);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta-item svg {
  color: var(--color-primary);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.trust-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.trust-card-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Device Mockup Visual & Authentic Android Phone Showcase */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.phone-mockup {
  width: 275px;
  max-width: 100%;
  aspect-ratio: 9 / 18.5;
  background: #000000;
  border-radius: 38px;
  border: 9px solid #1a2538;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 25px 65px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.phone-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 0 0 2px rgba(16, 185, 129, 0.4),
    0 30px 75px rgba(0, 0, 0, 0.9),
    0 0 55px rgba(16, 185, 129, 0.3);
}

/* Android Status Bar */
.phone-status-bar {
  height: 28px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  z-index: 5;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 600;
  user-select: none;
}

.phone-camera-hole {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #090e17;
  border: 1.5px solid #1f2d42;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.9);
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}

/* Phone Screen */
.phone-screen {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-display-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.phone-display-img.switching {
  opacity: 0.3;
  transform: scale(0.97);
}

.phone-screen-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Android Navigation Pill */
.phone-nav-bar {
  height: 18px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.phone-nav-pill {
  width: 70px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}

/* Hero Screen Switcher */
.hero-switcher {
  margin-top: 1.25rem;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-switcher-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-switcher-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(13, 20, 36, 0.75);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.hero-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-tab .tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: background var(--transition-fast);
}

.hero-tab:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.hero-tab.active {
  background: var(--bg-card);
  color: var(--color-primary);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tab.active .tab-dot {
  background: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
}

.hero-switcher-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  min-height: 2.2em;
  line-height: 1.35;
  transition: opacity 0.2s ease;
}

/* Sections Common */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
}

/* Next-Gen CameraX Spotlight Banner */
.camerax-spotlight {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(11, 17, 32, 0.85) 50%, rgba(0, 230, 153, 0.04) 100%);
  border: 1px solid rgba(0, 230, 153, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 230, 153, 0.08);
  overflow: hidden;
}

.camerax-spotlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 230, 153, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.camerax-spotlight-content {
  position: relative;
  z-index: 1;
}

.camerax-spotlight-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.camerax-spotlight-header .badge {
  background: rgba(0, 230, 153, 0.12);
  border: 1px solid rgba(0, 230, 153, 0.35);
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
}

.camerax-spotlight-header h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.camerax-spotlight-header p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
}

.camerax-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.camerax-pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}

.camerax-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 153, 0.35);
  background: rgba(0, 230, 153, 0.04);
}

.camerax-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 230, 153, 0.1);
  border: 1px solid rgba(0, 230, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.camerax-pillar-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.camerax-pillar-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.camerax-pill-metric {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  background: rgba(0, 230, 153, 0.15);
  color: var(--color-primary-light);
  border: 1px solid rgba(0, 230, 153, 0.3);
}

@media (max-width: 860px) {
  .camerax-pillars {
    grid-template-columns: 1fr;
  }
  .camerax-spotlight {
    padding: 1.75rem 1.25rem;
    margin-bottom: 2.5rem;
  }
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

/* Cards & Glassmorphism */
.card {
  background: var(--bg-surface-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Use Cases / Safety Scenarios */
.use-case-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.use-case-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.use-case-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-light);
  margin-bottom: 1rem;
}

.use-case-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.use-case-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.safety-compliance-callout {
  margin-top: 2.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.22);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  line-height: 1.6;
}

.safety-compliance-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.safety-compliance-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.safety-compliance-text strong {
  color: var(--text-primary);
}

@media (max-width: 640px) {
  .safety-compliance-callout {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.15rem;
  }
}

/* Screenshots Gallery Carousel */
.gallery-container {
  width: 100%;
  position: relative;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.gallery-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--color-primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}

.gallery-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse-ring 2s infinite;
}

.gallery-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-arrow-btn:hover {
  background: var(--color-primary);
  color: #052216;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.gallery-arrow-btn:active {
  transform: translateY(0);
}

.gallery-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.25rem 1.5rem;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  user-select: none;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.25);
}

.gallery-phone-frame {
  position: relative;
  background: #000000;
  border-radius: 20px;
  border: 2px solid #202e44;
  padding: 6px;
  margin-bottom: 1rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.gallery-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  background: #111a28;
  border-radius: 3px;
  z-index: 3;
}

.gallery-img-container {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #060b14;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.gallery-card:hover .gallery-img-container img {
  transform: scale(1.03);
}

.gallery-zoom-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(7, 13, 26, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--color-primary-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.gallery-card:hover .gallery-zoom-badge {
  background: var(--color-primary);
  color: #052216;
  border-color: var(--color-primary);
}

.gallery-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.gallery-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.gallery-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0;
}

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.gallery-dot.active {
  width: 30px;
  background: var(--color-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 7, 15, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.lightbox-dialog {
  max-width: 880px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-height: 94vh;
}

.lightbox-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.25rem 0.75rem;
}

.lightbox-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.lightbox-close-btn {
  color: var(--text-white);
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--color-primary);
  color: #052216;
  border-color: var(--color-primary);
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  position: relative;
}

.lightbox-image-wrap {
  max-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000000;
  box-shadow: var(--shadow-xl);
}

.lightbox-image-wrap img {
  max-height: 68vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lightbox-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--color-primary);
  color: #052216;
  border-color: var(--color-primary);
  transform: scale(1.06);
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--text-primary);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 650px;
}

.lightbox-mobile-controls {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding: 0 0.5rem;
}

.lightbox-mobile-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.lightbox-mobile-counter {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* 3-Step Installation Guide */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-surface-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.faq-item.active {
  border-color: var(--border-glow);
}

.faq-question-btn {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  gap: 1rem;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Download CTA Banner Box */
.cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.25) 0%, rgba(19, 28, 49, 0.9) 70%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(2rem, 3.5vw + 1rem, 3rem);
  margin-bottom: 1.25rem;
}

.cta-banner p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.25rem;
  color: var(--text-secondary);
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.legal-disclaimer-callout {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sticky Mobile Download Bar */
.mobile-download-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glow);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: space-between;
}

.mobile-download-bar-info {
  display: flex;
  flex-direction: column;
}

.mobile-download-bar-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
}

.mobile-download-bar-sub {
  font-size: 0.75rem;
  color: var(--color-primary-light);
}

/* Static Subpages (Privacy, Terms, Documentation) */
.content-page {
  padding: 4rem 0 6rem;
}

.content-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
}

.content-header h1 {
  margin-bottom: 0.75rem;
}

.content-body {
  max-width: 820px;
  background: var(--bg-surface-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.content-body h2 {
  font-size: 1.6rem;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-white);
}

.content-body h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--color-primary-light);
}

.content-body p, 
.content-body li {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.content-body ul, 
.content-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.content-body li {
  margin-bottom: 0.5rem;
}

.content-body strong {
  color: var(--text-white);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-download-wrapper {
    align-items: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    background: #090a0f;
  }

  body.menu-open .site-header::before {
    display: none;
  }

  body.menu-open .mobile-download-bar {
    display: none !important;
  }

  .site-header nav {
    display: contents;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: #090a0f;
    flex-direction: column;
    padding: 1.5rem 1.25rem 6rem;
    gap: 0.65rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    z-index: 999;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
  }

  .nav-link:hover,
  .nav-link:active,
  .nav-link.active {
    color: var(--text-white);
    background: rgba(0, 230, 153, 0.08);
    border-color: rgba(0, 230, 153, 0.3);
  }

  .nav-link::after {
    display: none;
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 0.75rem;
    width: 100%;
  }

  .mobile-nav-cta .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    font-size: 1.05rem;
  }

  .nav-actions .btn {
    display: none;
  }

  .mobile-download-bar {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }

  /* Gallery Mobile Layout */
  .gallery-card {
    flex: 0 0 78vw;
    max-width: 290px;
  }

  .gallery-track {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 1rem;
  }

  /* Lightbox Mobile Adjustments */
  .lightbox-stage .lightbox-nav-btn {
    display: none;
  }

  .lightbox-mobile-controls {
    display: flex;
  }

  .lightbox-image-wrap {
    max-height: 58vh;
  }

  .lightbox-image-wrap img {
    max-height: 58vh;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .content-body {
    padding: 2rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
