/* ===== DESIGN TOKENS ===== */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #0f0f23;
  --bg-card: #13132b;
  --bg-card-hover: #1a1a3a;
  --bg-card-accent: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(167,139,250,0.08));
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(99,102,241,0.3);
  --text-primary: #f0f0f8;
  --text-secondary: #8888aa;
  --text-muted: #5a5a7a;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99,102,241,0.25);
  --cyan: #06b6d4;
  --green: #22c55e;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --gradient-primary: linear-gradient(135deg, #6366f1, #a78bfa);
  --gradient-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 64px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lightbox-open {
  overflow: hidden;
}
a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: #a5b4fc; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,10,26,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10,10,26,0.95);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo:hover { color: var(--text-primary); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions {
  display: flex;
  gap: 10px;
  margin-left: 16px;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost-nav {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 8px 16px;
  background: transparent;
}
.btn-ghost-nav:hover { color: var(--text-primary); }
.btn-primary-nav {
  background: var(--gradient-primary);
  color: #fff;
  font-size: 14px;
  padding: 8px 20px;
  box-shadow: 0 2px 12px var(--accent-glow);
}
.btn-primary-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
  color: #fff;
}
.btn-hero-primary {
  background: var(--gradient-primary);
  color: #fff;
  font-size: 17px;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(99,102,241,0.35);
  color: #fff;
}
.btn-hero-secondary {
  background:
    linear-gradient(180deg, rgba(99,102,241,0.16), rgba(99,102,241,0.07)),
    rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-size: 17px;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(99,102,241,0.24);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(99,102,241,0.14);
}
.btn-hero-secondary:hover {
  background:
    linear-gradient(180deg, rgba(99,102,241,0.24), rgba(99,102,241,0.1)),
    rgba(255,255,255,0.05);
  border-color: rgba(129,140,248,0.38);
  box-shadow: 0 8px 32px rgba(99,102,241,0.22);
  transform: translateY(-2px);
  color: #fff;
}
.btn-pricing-primary {
  width: 100%;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-pricing-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(99,102,241,0.35);
  color: #fff;
}
.btn-pricing-secondary {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(99,102,241,0.12), rgba(99,102,241,0.04)),
    rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99,102,241,0.2);
  box-shadow: 0 4px 18px rgba(99,102,241,0.1);
}
.btn-pricing-secondary:hover {
  background:
    linear-gradient(180deg, rgba(99,102,241,0.18), rgba(99,102,241,0.08)),
    rgba(255,255,255,0.05);
  border-color: rgba(129,140,248,0.32);
  box-shadow: 0 8px 32px rgba(99,102,241,0.18);
  transform: translateY(-2px);
  color: #fff;
}
.btn-bundle {
  background: var(--gradient-primary);
  color: #fff;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-bundle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(99,102,241,0.28);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,26,0.3) 0%, rgba(10,10,26,0.7) 60%, var(--bg-primary) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(99,102,241,0.15) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-block;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-line {
  display: block;
}
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-platforms {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.platform-tag {
  background: rgba(255,255,255,0.04);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bobUpDown 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bobUpDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== COMPATIBILITY ===== */
.compat {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.compat-label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.compat-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.compat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s;
}
.compat-item:hover { color: var(--text-primary); }
.compat-item small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.compat-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: border-color 0.3s, color 0.3s;
}
.compat-item:hover .compat-icon {
  border-color: var(--border-hover);
  color: var(--accent-light);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  font-weight: 700;
  background: rgba(99,102,241,0.1);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== FEATURES BENTO GRID ===== */
.features {
  padding: 100px 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.bento-large {
  grid-column: span 2;
}
.bento-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 16/9;
}
.bento-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.bento-card:hover .bento-img-wrapper img {
  transform: scale(1.03);
}
.bento-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.bento-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.bento-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.accent-card {
  background: var(--bg-card-accent);
  border-color: rgba(99,102,241,0.15);
}

/* ===== SCREENSHOT GALLERY ===== */
.gallery-item {
  position: relative;
  cursor: pointer;
  outline: none;
}
.gallery-item::before {
  content: "View larger";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(10,10,26,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  color: #eef2ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s, border-color 0.25s;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gallery-item[data-lightbox-type="video"]::before {
  content: "Play video";
}
.gallery-item:hover::before,
.gallery-item:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item:focus-visible {
  box-shadow: 0 0 0 3px rgba(129,140,248,0.35);
}

.screenshots {
  padding: 0 0 100px;
}
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.screenshots-grid-preview .screenshot-card:nth-child(n + 3) {
  display: none;
}
.screenshot-card {
  grid-column: span 4;
  background:
    linear-gradient(180deg, rgba(99,102,241,0.08), rgba(255,255,255,0.02)),
    var(--bg-card);
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.screenshot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,140,248,0.32);
  box-shadow: 0 18px 44px rgba(0,0,0,0.38), 0 0 32px rgba(99,102,241,0.14);
}
.screenshot-card-wide {
  grid-column: span 6;
}
.screenshot-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090914;
}
.screenshot-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(9,9,20,0), rgba(9,9,20,0.42));
  pointer-events: none;
}
.screenshot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.screenshot-card:hover .screenshot-media img {
  transform: scale(1.025);
}
.screenshot-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(10,10,26,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  color: #eef2ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.screenshot-copy {
  padding: 20px 20px 22px;
}
.screenshot-copy h3 {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.screenshot-copy p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ===== REAL DEVICE GALLERY ===== */
.device-gallery {
  padding: 0 0 100px;
  overflow: hidden;
}
.device-grid {
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.device-grid::-webkit-scrollbar {
  display: none;
}
.device-grid-preview {
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
}
.device-grid-preview .device-card:nth-child(n + 4) {
  display: none;
}
.device-card {
  flex: 0 0 clamp(280px, 24vw, 340px);
  background:
    linear-gradient(180deg, rgba(99,102,241,0.08), rgba(255,255,255,0.02)),
    var(--bg-card);
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.device-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,140,248,0.32);
  box-shadow: 0 18px 44px rgba(0,0,0,0.38), 0 0 32px rgba(99,102,241,0.14);
}
.device-card-featured,
.device-card-wide {
  flex-basis: clamp(340px, 30vw, 430px);
}
.device-media {
  position: relative;
  overflow: hidden;
  background: #090914;
}
.device-media-portrait {
  width: min(100%, 220px);
  margin: 18px auto 0;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  border: 1px solid rgba(129,140,248,0.18);
  box-shadow: 0 16px 34px rgba(0,0,0,0.26);
}
.device-media-wide {
  aspect-ratio: 16 / 10;
}
.device-media-contained {
  width: min(100%, 380px);
  margin: 20px auto 0;
  border-radius: 22px;
  border: 1px solid rgba(129,140,248,0.18);
  box-shadow: 0 16px 34px rgba(0,0,0,0.3);
}
.device-media img,
.device-video {
  width: 100%;
  height: 100%;
  display: block;
}
.device-media img {
  object-fit: contain;
  background: #06060d;
}
.device-media-wide img {
  object-fit: cover;
}
.device-media-portrait img {
  object-position: center top;
}
.device-media-contained .device-video {
  object-fit: contain;
  background: #06060d;
}
.device-play-indicator {
  position: absolute;
  inset: auto auto 18px 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(10,10,26,0.82);
  border: 1px solid rgba(255,255,255,0.14);
  color: #eef2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0,0,0,0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.device-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  aspect-ratio: 16 / 10;
  background: #090914;
}
.device-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.device-collage-portrait {
  gap: 14px;
  padding: 14px;
  aspect-ratio: auto;
  align-items: start;
}
.device-collage-portrait .device-media-portrait {
  width: 100%;
  margin: 0;
  max-width: none;
}
.device-collage-portrait .device-media {
  border-radius: 18px;
  border: 1px solid rgba(129,140,248,0.14);
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}
.device-card-video .device-copy {
  padding-top: 16px;
}
.device-copy {
  padding: 20px 20px 22px;
}
.device-copy h3 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.device-copy p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.device-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.device-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(129,140,248,0.18);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gallery-section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.btn-gallery-more {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(99,102,241,0.18), rgba(99,102,241,0.08)),
    rgba(255,255,255,0.05);
  border: 1px solid rgba(129,140,248,0.26);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(99,102,241,0.12);
}
.btn-gallery-more:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(99,102,241,0.24), rgba(99,102,241,0.12)),
    rgba(255,255,255,0.06);
  border-color: rgba(129,140,248,0.38);
  box-shadow: 0 14px 34px rgba(99,102,241,0.18);
  color: #fff;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(99,102,241,0.18), transparent 34%),
    rgba(4,4,10,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}
.lightbox-figure {
  background:
    linear-gradient(180deg, rgba(99,102,241,0.08), rgba(255,255,255,0.02)),
    rgba(12,12,28,0.96);
  border: 1px solid rgba(129,140,248,0.18);
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.48);
  overflow: hidden;
}
.lightbox-frame {
  background: rgba(5,5,14,0.88);
  min-height: min(68vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-frame img {
  width: 100%;
  max-height: min(68vh, 760px);
  object-fit: contain;
}
.lightbox-frame video {
  width: 100%;
  max-height: min(68vh, 760px);
  display: block;
  background: rgba(5,5,14,0.96);
}
.lightbox-caption {
  padding: 20px 22px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.lightbox-caption-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.lightbox-caption h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lightbox-caption p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 920px;
}
.lightbox-counter {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(99,102,241,0.12);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lightbox-close,
.lightbox-nav {
  border: none;
  color: #f5f7ff;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, opacity 0.2s;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  transform: translateY(-1px);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(10,10,26,0.8);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 28px;
  line-height: 1;
}
.lightbox-nav {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(10,10,26,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 42px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid rgba(129,140,248,0.65);
  outline-offset: 2px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-left: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
}
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  flex: 1;
  max-width: 320px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.step-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-arrow {
  color: var(--text-muted);
  padding: 0 12px;
  flex-shrink: 0;
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.pricing-featured {
  border-color: rgba(99,102,241,0.3);
  background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, var(--bg-card) 40%);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}
.pricing-featured:hover {
  transform: scale(1.03) translateY(-3px);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.pricing-header {
  margin-bottom: 10px;
}
.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-cents {
  font-size: 1.5rem;
}
.price-period {
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}
.pricing-features {
  list-style: none;
  margin-bottom: 22px;
  flex: 1;
}
.pricing-features li {
  padding: 5px 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-features li::before {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  margin-top: 2px;
}
.pricing-features li.included {
  color: var(--text-primary);
}
.pricing-features li.included::before {
  content: '✓';
  background: rgba(34,197,94,0.15);
  color: var(--green);
}
.pricing-features li.excluded {
  color: var(--text-muted);
}
.pricing-features li.excluded::before {
  content: '—';
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}

/* Bundle */
.pricing-bundle {
  margin-top: 32px;
}
.bundle-inner {
  background: var(--bg-card);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bundle-inner h3 {
  font-size: 18px;
  font-weight: 700;
}
.bundle-inner p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.bundle-original {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.bundle-current {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.faq-question:hover { color: var(--accent-light); }
.faq-chevron {
  transition: transform 0.3s;
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .device-card {
    flex-basis: clamp(260px, 42vw, 320px);
  }
  .device-card-featured,
  .device-card-wide {
    flex-basis: clamp(320px, 48vw, 380px);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-featured {
    transform: none;
  }
  .pricing-featured:hover {
    transform: translateY(-3px);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .lightbox {
    padding: 24px 18px;
  }
  .lightbox-dialog {
    gap: 12px;
  }
  .lightbox-nav {
    width: 48px;
    height: 48px;
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .screenshots {
    padding-bottom: 84px;
  }
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
  .device-gallery {
    padding-bottom: 84px;
  }
  .device-card,
  .device-card-featured,
  .device-card-wide {
    flex-basis: min(280px, calc(100vw - 56px));
  }
  .device-collage-portrait {
    grid-template-columns: 1fr;
  }
  .device-media-contained {
    width: min(100%, 340px);
  }
  .gallery-item::before {
    opacity: 1;
    transform: none;
    top: auto;
    bottom: 12px;
    right: 12px;
  }
  .bento-large {
    grid-column: span 1;
  }
  .steps-grid {
    flex-direction: column;
    gap: 16px;
  }
  .step-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  .stats-grid {
    gap: 32px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .hero-platforms {
    flex-direction: column;
    gap: 6px;
  }
  .bundle-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lightbox {
    padding: 16px;
  }
  .lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lightbox-nav {
    position: absolute;
    bottom: 122px;
    z-index: 2;
    width: 46px;
    height: 46px;
    font-size: 34px;
  }
  .lightbox-nav-prev {
    left: 12px;
  }
  .lightbox-nav-next {
    right: 12px;
  }
  .lightbox-frame {
    min-height: auto;
  }
  .lightbox-frame img {
    max-height: 52vh;
  }
  .lightbox-caption {
    padding: 18px 18px 22px;
  }
  .lightbox-caption-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .lightbox-caption h3 {
    font-size: 20px;
  }
  .lightbox-caption p {
    font-size: 14px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(24px);
}
.animate-in.visible {
  animation: fadeInUp 0.6s ease forwards;
}
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
.animate-in:nth-child(5) { animation-delay: 0.4s; }
.animate-in:nth-child(6) { animation-delay: 0.5s; }

.hero-note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-meta {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.download-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 140px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(99,102,241,0.2), transparent 34%),
    radial-gradient(circle at top right, rgba(6,182,212,0.15), transparent 28%),
    linear-gradient(180deg, rgba(10,10,26,0.98), rgba(15,15,35,0.98));
}

.download-hero-copy {
  max-width: 820px;
}

.download-hero-copy h1 {
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 18px 0 16px;
}

.download-hero-subtitle {
  font-size: 20px;
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 22px;
}

.download-hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.download-platforms,
.download-support {
  padding: 96px 0;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.download-grid-duo {
  grid-template-columns: repeat(2, minmax(320px, 420px));
  justify-content: center;
}

.download-card,
.download-support-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.download-card {
  padding: 24px;
}

.download-card-muted {
  background: rgba(255,255,255,0.025);
}

.download-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.download-platform-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(99,102,241,0.12);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.download-platform-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.download-card h3 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 12px;
}

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

.download-feature-list {
  list-style: none;
  margin: 18px 0 20px;
  display: grid;
  gap: 12px;
}

.download-feature-list li {
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.download-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.download-card-actions,
.download-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-card-actions .btn,
.download-support-actions .btn {
  flex: 1 1 220px;
}

.download-status {
  min-height: 20px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.download-support-card {
  padding: 40px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(99,102,241,0.1), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.04);
}

.download-support-card h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.download-support-card p {
  max-width: 760px;
  margin: 0 auto 26px;
  font-size: 18px;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .download-hero {
    padding: 120px 0 56px;
    min-height: auto;
  }
  .download-hero-subtitle {
    font-size: 18px;
  }
  .download-card,
  .download-support-card {
    padding: 24px;
  }
  .download-card-actions,
  .download-support-actions {
    flex-direction: column;
  }
}
