:root {
  --bg-color: #0f172a;
  --text-color: #f8fafc;
  --accent-primary: #3b82f6;
  --accent-secondary: #8b5cf6;
  --card-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
  opacity: 0.16;
  border-radius: 50%;
  z-index: -1;
  filter: blur(80px);
}

.glow-1 {
  top: -100px;
  left: -100px;
}

.glow-2 {
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.18;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

p {
  color: #94a3b8;
  font-size: 1.05rem;
}

a {
  color: inherit;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.top-nav,
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 0;
  max-width: 1200px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border);
}

.hero,
.hero-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4.6rem 1rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-compact {
  padding-top: 3rem;
}

.badge,
.eyebrow {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  padding: 0.46rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  display: inline-block;
}

.hero-subtitle,
.hero-copy {
  margin-bottom: 2rem;
  max-width: 700px;
}

.cta-group,
.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.78rem 1.34rem;
  border-radius: 9px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mockup-wrap {
  margin-top: 0.4rem;
}

.mockup-container,
.device-frame,
.visual,
.visual-frame {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.mockup-container {
  max-width: min(920px, 100%);
  margin: 0 auto 4rem;
  position: relative;
}

.mockup-header,
.window-chrome {
  display: flex;
  gap: 8px;
  padding: 0.9rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(7, 14, 28, 0.7);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red {
  background: #ef4444;
}

.yellow {
  background: #f59e0b;
}

.green {
  background: #22c55e;
}

.hero-shot,
.visual img,
.visual-frame img,
.shot-card img,
.detailed-card img {
  display: block;
  width: 100%;
}

.lightbox-trigger {
  display: block;
  cursor: zoom-in;
  text-decoration: none;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  text-align: inherit;
}

.lightbox-trigger img {
  transition: filter 0.2s ease, transform 0.2s ease;
}

.lightbox-trigger:hover img {
  filter: brightness(1.08);
}

.lightbox-trigger:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
  border-radius: 10px;
}

.hero-shot {
  max-height: min(62vh, 520px);
  object-fit: contain;
  background: rgba(2, 6, 23, 0.7);
}

.features {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
}

.feature-card,
.card,
.support-template,
.shot-card,
.detailed-card,
.faq-list details,
.policy {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

.feature-card {
  padding: 1.55rem;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #dbeafe;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 3.7rem auto;
}

.split-section .visual {
  max-width: 560px;
  margin: 0 auto;
}

.split-section .visual img {
  max-height: 360px;
  object-fit: contain;
  background: rgba(2, 6, 23, 0.7);
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.content p {
  margin-bottom: 1.5rem;
}

.detailed-features-section,
.gallery {
  margin: 5rem auto 1rem;
}

.section-head,
.gallery-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head p,
.gallery-head p {
  max-width: 640px;
  margin: 0 auto;
}

.detailed-features-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.detailed-card,
.shot-card {
  padding: 0.9rem;
}

.detailed-card img,
.shot-card img {
  height: clamp(160px, 18vw, 220px);
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(2, 6, 23, 0.7);
}

.detailed-card h3,
.shot-card h3 {
  margin: 0.65rem 0 0.3rem;
  color: #fff;
  font-size: 1.02rem;
}

.feature-detail ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.feature-detail li {
  color: #b8c5d6;
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.support-template {
  margin-top: 2.5rem;
  padding: 1.5rem;
}

.support-template h2 {
  margin-bottom: 0.6rem;
}

pre {
  margin: 10px 0 14px;
  border: 1px solid var(--glass-border);
  background: rgba(2, 6, 23, 0.9);
  color: #d6f1ff;
  border-radius: 12px;
  padding: 14px;
  overflow: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

.copy-state {
  min-height: 1.2em;
  color: #93c5fd;
  margin-top: 8px;
}

.capability-list {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
}

.capability-list li {
  color: #b8c5d6;
  margin: 0.35rem 0;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(2px);
}

.lightbox-figure {
  margin: 0;
  max-width: min(1300px, 94vw);
  padding: 10px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.98);
}

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: #020617;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

#lightbox-caption {
  margin-top: 10px;
  text-align: center;
  color: #dbeafe;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(30, 41, 59, 0.92);
}

.faq-list {
  max-width: 920px;
  margin: 1rem auto 0;
}

.faq-list details {
  padding: 1rem 1.1rem;
  margin-bottom: 0.8rem;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-list p,
.policy p {
  color: #b8c5d6;
}

.faq-list a,
.policy a,
.link-list a {
  color: #93c5fd;
}

.policy {
  max-width: 920px;
  margin: 1rem auto 0;
  padding: 1.3rem;
}

.policy h2 {
  font-size: 1.26rem;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

.policy ul {
  margin: 0.25rem 0 1rem;
  padding-left: 1.1rem;
}

.policy li {
  color: #b8c5d6;
  margin: 0.3rem 0;
}

.footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
  color: #64748b;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 0.7rem;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 2.3rem auto;
  }

  .hero-shot {
    max-height: 46vh;
  }

  .split-section .visual img {
    max-height: 300px;
  }

  .detailed-card img,
  .shot-card img {
    height: 180px;
  }

  .split-reverse {
    direction: ltr;
  }

  .top-nav,
  nav {
    padding: 1.1rem 0;
  }

  .hero,
  .hero-compact {
    padding-top: 3rem;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-figure img {
    max-height: 78vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
