:root {
  --bg: #04060f;
  --bg-soft: #0a1028;
  --surface: #0f1530;
  --text: #e6ecff;
  --text-dim: #9aa6c8;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.18);
  --orange: #ff6d00;
  --orange-soft: rgba(255, 109, 0, 0.18);
  --green: #00ff88;
  --green-soft: rgba(0, 255, 136, 0.18);
  --danger: #ff3366;
  --radius: 14px;
  --maxw: 1120px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  letter-spacing: 0.04em;
  margin: 0 0 0.4em;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--cyan);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 6px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(4, 6, 15, 0.65);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-text {
  font-size: 16px;
}

.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--cyan);
  text-decoration: none;
}

.nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan) !important;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--cyan);
  color: #001820 !important;
  box-shadow: 0 0 20px var(--cyan-soft);
}

/* ---------- Language switcher ---------- */

.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-dim);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-family: inherit;
  transition: all 0.2s;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
}

.lang-toggle svg {
  transition: transform 0.2s;
}

.lang-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: rgba(15, 21, 48, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  padding: 6px;
  margin: 0;
  list-style: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 60;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
  transition: background 0.15s;
}

.lang-menu li:hover {
  background: rgba(0, 229, 255, 0.12);
}

.lang-menu li[aria-selected="true"] {
  background: rgba(0, 229, 255, 0.18);
  color: var(--cyan);
}

.lang-menu li span {
  display: inline-block;
  min-width: 26px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/feature-graphic1.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.95) saturate(1.1);
  z-index: 0;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(4, 6, 15, 0.35) 100%),
    linear-gradient(180deg, transparent 55%, rgba(4, 6, 15, 0.85) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  animation: hero-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-tagline {
  font-size: clamp(17px, 2.6vw, 22px);
  font-weight: 500;
  color: #fff;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.5;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.6);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: hero-scroll 2s ease-in-out infinite;
}

@keyframes hero-scroll {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(14px);
    opacity: 0.3;
  }
}

/* ---------- Play Store Button ---------- */

.btn-play {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 28px;
  background: linear-gradient(180deg, #00e5ff 0%, #00b8cc 100%);
  color: #001820;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.4), 0 0 0 1px rgba(0, 229, 255, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 200px;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(0, 229, 255, 0.55), 0 0 0 1px rgba(0, 229, 255, 0.7);
  text-decoration: none;
}

.btn-play-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.btn-play-store {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-family: 'Orbitron', sans-serif;
}

/* ---------- Sections ---------- */

.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}

.section-lede {
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 52px;
}

/* ---------- Features ---------- */

.features {
  padding: 100px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-soft), transparent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.feature {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0.7;
}

.feature:hover {
  transform: translateY(-4px);
}

.card-cyan::before { background: var(--cyan); }
.card-cyan:hover { border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 20px 60px var(--cyan-soft); }
.card-cyan .feature-icon { color: var(--cyan); text-shadow: 0 0 20px var(--cyan); }

.card-orange::before { background: var(--orange); }
.card-orange:hover { border-color: rgba(255, 109, 0, 0.4); box-shadow: 0 20px 60px var(--orange-soft); }
.card-orange .feature-icon { color: var(--orange); text-shadow: 0 0 20px var(--orange); }

.card-green::before { background: var(--green); }
.card-green:hover { border-color: rgba(0, 255, 136, 0.4); box-shadow: 0 20px 60px var(--green-soft); }
.card-green .feature-icon { color: var(--green); text-shadow: 0 0 20px var(--green); }

.feature-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 18px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
}

.feature h3 {
  font-size: 20px;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Screenshots ---------- */

.screenshots {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, var(--bg-soft) 40%, var(--bg-soft) 60%, transparent);
}

.screenshots .section-title,
.screenshots .section-lede {
  padding: 0 24px;
}

.shot-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 24px 24px 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.shot-strip::-webkit-scrollbar {
  height: 8px;
}

.shot-strip::-webkit-scrollbar-thumb {
  background: var(--cyan-soft);
  border-radius: 4px;
}

.shot-strip figure {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
  cursor: zoom-in;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.shot-strip figure:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 229, 255, 0.25);
  border-color: rgba(0, 229, 255, 0.5);
}

.shot-strip img {
  height: 540px;
  width: auto;
  display: block;
}

/* ---------- CTA strip ---------- */

.cta-strip {
  padding: 100px 24px;
  background-image: url('assets/feature-graphic2.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 15, 0.8), rgba(4, 6, 15, 0.95));
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(32px, 6vw, 52px);
  margin: 0 0 16px;
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.4);
}

.cta-inner p {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0 0 32px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 50px 24px 30px;
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  background: var(--bg);
}

.foot-row {
  max-width: var(--maxw);
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
}

.foot-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.foot-links {
  display: flex;
  gap: 24px;
}

.foot-links a {
  color: var(--text-dim);
  font-size: 14px;
}

.foot-copy {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 40px 100px rgba(0, 229, 255, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 100px 16px 70px;
  }

  .hero-icon {
    width: 72px;
    height: 72px;
  }

  .features {
    padding: 70px 16px;
  }

  .shot-strip img {
    height: 420px;
  }

  .cta-strip {
    padding: 70px 16px;
  }

  .foot-row {
    flex-direction: column;
    text-align: center;
  }
}

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