/* ==========================================================================
   Camera X Design System & Theme Stylesheet
   Premium Obsidian Glass & Cinematic Camera Visual System
   ========================================================================== */

:root {
  --bg-main: #07090e;
  --bg-surface: #0e111a;
  --bg-surface-elevated: #161a27;
  --bg-card: rgba(20, 24, 38, 0.65);
  --bg-glass: rgba(255, 255, 255, 0.035);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 240, 255, 0.35);
  --border-gold: rgba(255, 184, 0, 0.35);

  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.4);
  --accent-amber: #ffb800;
  --accent-amber-glow: rgba(255, 184, 0, 0.35);
  --accent-crimson: #ff3366;
  --accent-violet: #8a2be2;

  --text-primary: #f5f7fa;
  --text-secondary: #9aa4bf;
  --text-muted: #5e6882;
  --text-inverse: #07090e;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-cyan: 0 8px 30px rgba(0, 240, 255, 0.25);
  --shadow-amber: 0 8px 30px rgba(255, 184, 0, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background: 
    radial-gradient(circle at 15% 10%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(255, 184, 0, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(138, 43, 226, 0.06) 0%, transparent 50%),
    var(--bg-main);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent-cyan);
  color: var(--text-inverse);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 99999;
  transition: top var(--transition-fast);
  text-decoration: none;
}
.skip-link:focus {
  top: 20px;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

p, li, span, td, th {
  overflow-wrap: break-word;
}

p {
  color: var(--text-secondary);
}

code, pre {
  font-family: var(--font-mono);
  word-break: break-all;
  overflow-wrap: anywhere;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
  overflow-wrap: break-word;
}
a:hover {
  color: #66f5ff;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-smooth);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
}
.brand-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-text span.brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 2px 6px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-sm);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Primary Store Button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #111420 0%, #1a1e30 100%);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-store::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.btn-store:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-2px);
  color: #fff;
}
.btn-store:hover::before {
  opacity: 1;
}

.btn-store svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary-cta {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0099ff 100%);
  color: #030814;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(0, 240, 255, 0.35);
  transition: all var(--transition-smooth);
}
.btn-primary-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0, 240, 255, 0.5);
  color: #000;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
}

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

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseGlow 2s infinite;
}

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

.hero-badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 50%, var(--accent-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.stat-num span.star {
  color: var(--accent-amber);
  font-size: 1.3rem;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Media & Device Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.02) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
}

.hero-mockup-inner {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #000;
  aspect-ratio: 992 / 1586;
}

.hero-mockup-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-mockup-frame:hover .hero-mockup-inner img {
  transform: scale(1.03);
}

/* Floating Camera HUD Tags */
.hud-tag {
  position: absolute;
  z-index: 5;
  background: rgba(14, 17, 26, 0.85);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  animation: floatHUD 5s ease-in-out infinite;
}

.hud-tag-top {
  top: 15%;
  left: -24px;
}

.hud-tag-bottom {
  bottom: 12%;
  right: -24px;
  animation-delay: -2.5s;
}

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

.hud-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--accent-cyan);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Feature Showcase Grid */
.features-section {
  padding: 100px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.1);
}

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

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.feature-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-amber);
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.feature-card-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.feature-thumb-preview {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  max-height: 220px;
}
.feature-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-thumb-preview img {
  transform: scale(1.05);
}

/* Feature Image Banner Section */
.banner-section {
  padding: 60px 0 100px;
}

.banner-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0d101a;
  box-shadow: var(--shadow-lg);
}

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

/* Screenshots Gallery Showcase */
.gallery-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 17, 26, 0.7) 50%, transparent 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0a0d14;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 992 / 1586;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 9, 14, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 8, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all var(--transition-fast);
}
.lightbox-close:hover {
  background: var(--accent-crimson);
  transform: rotate(90deg);
}

/* Specs & Comparison Table */
.specs-section {
  padding: 90px 0;
}

.specs-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 20px 28px;
  text-align: left;
}

.specs-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition-fast);
}
.specs-table tr:last-child {
  border-bottom: none;
}
.specs-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.spec-name {
  font-weight: 700;
  color: var(--text-primary);
  width: 35%;
}

.spec-val {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* FAQs Accordion */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-fast);
}
.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-cyan);
  transition: transform var(--transition-smooth);
}

.faq-card.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  display: none;
}
.faq-card.open .faq-answer {
  display: block;
}

/* Big CTA Banner */
.cta-banner-section {
  padding: 100px 0 120px;
}

.cta-banner-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.15) 0%, rgba(20, 24, 38, 0.95) 75%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 240, 255, 0.15);
  overflow: hidden;
}

.cta-banner-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.cta-banner-card p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Footer */
.site-footer {
  background: #05060a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h4 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
}

/* ==========================================================================
   Legal Pages Visual Styles (Privacy & Terms)
   ========================================================================== */

.legal-header {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-breadcrumbs a {
  color: var(--text-secondary);
}
.legal-breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.legal-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.legal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 60px 0 100px;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.legal-toc-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc-list a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  display: block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.legal-toc-list a:hover {
  background: rgba(0, 240, 255, 0.08);
  color: var(--accent-cyan);
}

.legal-content-body {
  max-width: 800px;
}

.legal-section {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}

.legal-section h2 {
  font-size: 1.55rem;
  margin-bottom: 18px;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-cyan);
  padding-left: 14px;
}

.legal-section p,
.legal-section ul {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.legal-section ul {
  padding-left: 24px;
}

.legal-section li {
  margin-bottom: 10px;
}

/* Print Styles */
@media print {
  .site-header, .site-footer, .legal-sidebar, .btn-store, .header-actions {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .legal-layout {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
  }
  .legal-section h2 {
    color: #000 !important;
    border-left-color: #000 !important;
  }
  .legal-section p, .legal-section li {
    color: #222 !important;
  }
}

/* Reduced Motion */
@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;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .legal-sidebar {
    display: none;
  }
  .hud-tag-top {
    left: 8px;
    top: 8%;
  }
  .hud-tag-bottom {
    right: 8px;
    bottom: 8%;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none;
  }
  .nav-wrap {
    height: 68px;
  }

  /* Spacing */
  .hero-section {
    padding: 48px 0 64px;
  }
  .features-section,
  .gallery-section,
  .specs-section,
  .faq-section {
    padding: 64px 0;
  }
  .banner-section {
    padding: 30px 0 60px;
  }
  .cta-banner-section {
    padding: 60px 0 80px;
  }

  /* Hero & Visual */
  .hero-title br {
    display: none;
  }
  .hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }
  .hero-mockup-frame {
    max-width: 300px;
    border-radius: 32px;
    padding: 10px;
  }
  .hero-mockup-inner {
    border-radius: 22px;
  }
  .hud-tag {
    display: none !important;
  }

  /* Hero Stats */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding-top: 24px;
  }
  .stat-item {
    align-items: center;
    text-align: center;
  }
  .stat-num {
    font-size: 1.35rem;
    justify-content: center;
  }
  .stat-lbl {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-card {
    padding: 26px 22px;
  }

  /* Screenshots Gallery (2 cols on mobile) */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gallery-item {
    border-radius: 16px;
  }
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 9, 14, 0.95) 100%);
    padding: 14px;
  }
  .gallery-tag {
    font-size: 0.68rem;
  }
  .gallery-title {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  /* Specs Table -> Mobile Card Transformation */
  .specs-table, 
  .specs-table thead, 
  .specs-table tbody, 
  .specs-table th, 
  .specs-table tr, 
  .specs-table td {
    display: block;
  }
  .specs-table thead {
    display: none;
  }
  .specs-table tr {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .specs-table td {
    padding: 3px 0;
    width: 100% !important;
  }
  .spec-name {
    font-size: 0.82rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }
  .spec-val {
    font-size: 0.98rem;
    color: var(--text-primary);
    line-height: 1.5;
  }

  /* CTA Banner */
  .cta-banner-card {
    padding: 50px 24px;
    border-radius: var(--radius-lg);
  }
  .cta-banner-card h2 {
    font-size: clamp(1.75rem, 5vw, 2.4rem);
    margin-bottom: 16px;
  }
  .cta-banner-card p {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-col code {
    word-break: break-all;
    overflow-wrap: anywhere;
    font-size: 0.82rem;
    display: inline-block;
  }

  /* Legal Pages */
  .legal-header {
    padding: 40px 0 28px;
  }
  .legal-layout {
    padding: 32px 0 60px;
  }
  .legal-meta {
    gap: 8px 12px;
    font-size: 0.85rem;
  }
  .legal-meta code {
    word-break: break-all;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  /* Container Padding */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Header & Brand */
  .nav-wrap {
    height: 60px;
    gap: 10px;
  }
  .brand-logo {
    gap: 8px;
    min-width: 0;
  }
  .brand-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .brand-text {
    font-size: 1.02rem;
  }
  .brand-tag {
    display: none;
  }

  .btn-store {
    padding: 8px 12px;
    font-size: 0.82rem;
    gap: 6px;
  }
  .btn-store svg {
    width: 16px;
    height: 16px;
  }
  .header-actions button.btn-outline {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 36px 0 52px;
  }
  .hero-badge-wrap {
    padding: 4px 12px;
    margin-bottom: 18px;
  }
  .hero-badge-text {
    font-size: 0.78rem;
  }
  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  /* Full Width CTA Buttons */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 28px;
  }
  .btn-primary-cta,
  .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }

  /* Hero Mockup Frame */
  .hero-mockup-frame {
    max-width: 260px;
    border-radius: 28px;
    padding: 8px;
  }
  .hero-mockup-inner {
    border-radius: 20px;
  }

  /* Hero Stats */
  .hero-stats {
    gap: 8px;
    padding-top: 20px;
  }
  .stat-num {
    font-size: 1.2rem;
  }
  .stat-lbl {
    font-size: 0.7rem;
  }

  /* Section Header */
  .section-header {
    margin-bottom: 40px;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Gallery Grid on small mobile */
  .gallery-grid {
    gap: 10px;
  }
  .gallery-item {
    border-radius: 12px;
  }
  .gallery-overlay {
    padding: 8px;
  }
  .gallery-tag {
    font-size: 0.6rem;
  }
  .gallery-title {
    font-size: 0.78rem;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 18px;
    font-size: 1rem;
    gap: 12px;
  }
  .faq-answer {
    padding: 0 18px 18px;
    font-size: 0.92rem;
  }

  /* CTA Banner Card */
  .cta-banner-card {
    padding: 40px 16px;
  }
  .cta-banner-card .btn-primary-cta {
    max-width: 100%;
  }

  /* Lightbox */
  .lightbox-content {
    max-width: 95vw;
  }
  .lightbox-close {
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 360px) {
  .brand-text {
    font-size: 0.92rem;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-item {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }
  .stat-num {
    font-size: 1.15rem;
  }
  .stat-lbl {
    font-size: 0.8rem;
  }
  .btn-store span {
    font-size: 0.75rem;
  }
  .header-actions button.btn-outline {
    display: none;
  }
}
