/* Arrow Escape — marketing site */
:root {
  --bg: #050814;
  --bg-soft: #080c1c;
  --surface: #0c1224;
  --surface-2: #121a32;
  --surface-elev: #182242;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f7ff;
  --muted: #9aa8c7;
  --dim: #6d7a99;

  /* Logo palette: cyan → blue → purple/magenta */
  --cyan: #00ccff;
  --sky: #007fff;
  --royal: #4169e1;
  --magenta: #9400d3;
  --primary: #007fff;
  --primary-2: #00ccff;
  --primary-dark: #003d7a;
  --primary-glow: rgba(0, 204, 255, 0.32);
  --purple-glow: rgba(148, 0, 211, 0.28);

  --hl: #00ccff;
  --hl-soft: rgba(0, 204, 255, 0.14);
  --accent-soft: #7adfff;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
  --max-width: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 8% -8%, rgba(0, 204, 255, 0.18), transparent 58%),
    radial-gradient(780px 520px at 96% 4%, rgba(148, 0, 211, 0.16), transparent 55%),
    radial-gradient(640px 420px at 50% 100%, rgba(65, 105, 225, 0.12), transparent 60%);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(122, 160, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 160, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

ul {
  color: var(--muted);
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(5, 8, 20, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.nav-cta {
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-links a.nav-cta:hover {
  border-color: var(--cyan);
  color: var(--accent-soft);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--sky) 45%, var(--magenta) 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px var(--primary-glow), 0 10px 28px var(--purple-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px var(--primary-glow), 0 14px 36px var(--purple-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--accent-soft);
  transform: translateY(-1px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.2rem 0.7rem 0.95rem;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.store-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 204, 255, 0.45);
}

.store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-badge-text small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.85;
}

.store-badge-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===== Shared section bits ===== */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 1.25rem;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--hl);
  box-shadow: 0 0 12px rgba(0, 204, 255, 0.55);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-heading.left {
  text-align: left;
  margin-left: 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hl);
  margin-bottom: 0.65rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem);
  margin-bottom: 0.65rem;
}

.section-heading p {
  margin: 0;
}

section {
  padding: 4.5rem 0;
}

.accent {
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hl {
  color: var(--hl);
}

/* ===== Product hero ===== */
.product-hero {
  padding: 5.5rem 0 3rem;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-brand img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 10px 28px var(--primary-glow), 0 8px 24px var(--purple-glow);
  background: #050814;
}

.product-brand h1 {
  margin: 0;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  font-weight: 700;
}

.product-brand p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.product-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}

.product-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 0;
}

.product-hero-visual::before {
  content: "";
  position: absolute;
  width: min(78%, 340px);
  height: min(78%, 340px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 204, 255, 0.22) 0%, transparent 68%),
    radial-gradient(circle at 70% 30%, rgba(148, 0, 211, 0.2), transparent 60%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.hero-phone {
  position: relative;
  z-index: 1;
  width: min(100%, 260px);
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(160deg, #1a2744, #0b1020 55%, #15102a);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 204, 255, 0.12),
    0 0 48px rgba(148, 0, 211, 0.1);
}

.hero-phone::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
  pointer-events: none;
}

.hero-phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #050814;
  line-height: 0;
}

.hero-phone-screen img {
  width: 100%;
  height: auto;
  max-height: min(56vh, 500px);
  object-fit: contain;
  object-position: top center;
  display: block;
}

/* ===== Description ===== */
.description-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.callout h3 {
  margin-top: 0;
}

.callout ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.callout li + li {
  margin-top: 0.45rem;
}

/* ===== How to play ===== */
.howto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.howto-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.howto-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 204, 255, 0.35);
}

.howto-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  box-shadow: 0 8px 18px var(--primary-glow);
}

.howto-card h3 {
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.howto-card p {
  margin: 0;
  font-size: 0.9rem;
}

/* ===== Feature showcase (phone cards) ===== */
.features-showcase {
  padding-top: 3.5rem;
}

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

.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 28, 58, 0.95) 0%, rgba(8, 12, 28, 0.98) 55%, #050814 100%);
  box-shadow:
    0 0 0 1px rgba(0, 204, 255, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: radial-gradient(120% 100% at 50% 0%, rgba(0, 204, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 204, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(148, 0, 211, 0.16),
    0 28px 60px rgba(0, 0, 0, 0.45);
}

.showcase-copy {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.1rem 0.5rem;
}

.showcase-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.35rem;
  padding: 0 0.45rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hl);
  background: var(--hl-soft);
  border: 1px solid rgba(0, 204, 255, 0.3);
}

.showcase-copy h3 {
  margin: 0 0 0.4rem;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.showcase-copy p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 28ch;
}

.phone-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.5rem 1.25rem 0;
  margin-top: auto;
}

.phone-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, #050814 88%);
  pointer-events: none;
  z-index: 2;
}

.phone-frame {
  width: min(78%, 200px);
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(16px);
  transition: transform 0.35s var(--ease);
}

.showcase-card:hover .phone-frame {
  transform: translateY(10px);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.5));
  border-radius: 18px;
}

/* ===== Download ===== */
.download {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.download .button-row {
  justify-content: center;
}

.download .section-heading {
  text-align: center;
}

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

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

.footer-brand p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 34ch;
  font-size: 0.92rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: var(--text);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 12, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  max-width: min(92vw, 420px);
  max-height: 85vh;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--surface);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  cursor: pointer;
}

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

/* ===== Legal ===== */
.legal-content {
  padding: 4rem 0 5rem;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
  font-family: "Outfit", "Manrope", sans-serif;
}

.legal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--surface);
  margin-top: 2rem;
}

.legal-card h2 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card a {
  color: var(--cyan);
}

.legal-card a:hover {
  text-decoration: underline;
}

.coming-soon {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.coming-soon h1 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .howto-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 920px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .product-hero-visual {
    order: -1;
  }

  .hero-phone {
    width: min(100%, 240px);
  }

  .hero-phone-screen img {
    max-height: min(52vh, 460px);
  }

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

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    font-size: 0.92rem;
  }

  .button-row {
    width: 100%;
  }

  .btn,
  .store-badge {
    flex: 1 1 auto;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .howto-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    min-height: 420px;
  }

  .phone-frame {
    width: min(68%, 210px);
  }
}
