:root {
  --bg: #070b10;
  --bg-2: #0c131a;
  --surface: #121a22;
  --raised: #18232d;
  --border: rgba(200, 255, 49, 0.14);
  --border-soft: rgba(255, 255, 255, 0.08);
  --lime: #c8ff31;
  --lime-dim: #9df61f;
  --text: #f4f7fa;
  --muted: #93a4b3;
  --danger: #ff7779;
  --max: 1120px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(200, 255, 49, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(56, 189, 248, 0.08), transparent 50%),
    linear-gradient(180deg, #0a1016 0%, var(--bg) 40%, #05080c 100%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.pkg {
  color: var(--text);
  word-break: break-all;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 16, 0.82);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(18, 26, 34, 0.9);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  font-weight: 800;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lime), var(--lime-dim));
  color: #08100a;
  box-shadow: 0 10px 30px rgba(200, 255, 49, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-soft);
}

.btn-nav {
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: end;
  min-height: min(78vh, 760px);
}

.hero-copy {
  padding-bottom: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--lime);
}

.hero-lead {
  margin: 1.2rem 0 1.6rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.08rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.phone {
  position: absolute;
  width: min(280px, 42vw);
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, #1d2a35, #0b1117);
  border: 1px solid var(--border-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  aspect-ratio: 9 / 19.5;
  object-fit: contain;
  object-position: top center;
  background: #0b1117;
}

.phone-a {
  right: 6%;
  top: 0;
  transform: rotate(4deg);
  z-index: 2;
  animation: floatA 7s ease-in-out infinite;
}

.phone-splash {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(200, 255, 49, 0.18),
    0 0 48px rgba(200, 255, 49, 0.16);
}

.phone-b {
  left: 2%;
  bottom: 0;
  transform: rotate(-6deg);
  z-index: 1;
  animation: floatB 8s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-12px); }
}

@keyframes floatB {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(10px); }
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2,
.flow-copy h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-head p,
.flow-copy > p {
  margin: 0;
  color: var(--muted);
}

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

.feature {
  background: linear-gradient(180deg, rgba(24, 35, 45, 0.9), rgba(12, 18, 24, 0.95));
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.35rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Product screens */
.shot-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.shot-card {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.shot-card:hover {
  border-color: rgba(200, 255, 49, 0.28);
  transform: translateY(-3px);
}

.shot-frame {
  background: #0b1117;
  padding: 0.7rem 0.7rem 0;
}

.shot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: contain;
  object-position: top center;
  border-radius: 18px 18px 0 0;
  background: #070b10;
}

.shot-card figcaption {
  padding: 0.9rem 1rem 1.05rem;
  display: grid;
  gap: 0.2rem;
}

.shot-card figcaption strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.shot-card figcaption span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

/* Flow section */
.section-flow {
  padding-top: 1rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.flow-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.flow-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-weight: 600;
}

.flow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(200, 255, 49, 0.45);
}

.flow-phones {
  position: relative;
  min-height: 520px;
}

.phone-solo {
  position: absolute;
  width: min(260px, 46%);
  left: 8%;
  top: 0;
  transform: rotate(-3deg);
  animation: none;
}

.phone-offset {
  left: auto;
  right: 4%;
  top: 12%;
  transform: rotate(5deg);
  z-index: 2;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price-card {
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}

.price-card.pro {
  border-color: rgba(200, 255, 49, 0.35);
  background:
    linear-gradient(160deg, rgba(200, 255, 49, 0.1), transparent 50%),
    var(--raised);
}

.price-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  text-transform: uppercase;
}

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

/* Account deletion (Play Console web resource) */
.delete-callout {
  margin: 0 0 1.75rem;
  padding: 1.5rem 1.4rem 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(200, 255, 49, 0.28);
  background:
    linear-gradient(160deg, rgba(200, 255, 49, 0.1), transparent 55%),
    var(--surface);
}

.delete-callout h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.35rem;
}

.delete-callout > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.delete-steps {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.delete-steps li {
  color: var(--muted);
  font-weight: 600;
}

.delete-steps strong {
  color: var(--text);
}

.delete-timing {
  margin: 0 0 1.15rem !important;
  color: var(--lime) !important;
  font-weight: 700;
}

/* Legal / inner pages */
.legal-hero,
.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.prose {
  background: rgba(18, 26, 34, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 1.6rem 1.5rem 2rem;
  margin: 1.5rem 0 3rem;
}

.prose h2 {
  margin-top: 1.8rem;
  font-size: 1.2rem;
}

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

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.trader-card {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(200, 255, 49, 0.28);
  background: rgba(200, 255, 49, 0.05);
}

.trader-card dt {
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trader-card dd {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-weight: 650;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 2.4rem 0 3rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h4 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer a,
.site-footer p {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.fine {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ========== Tablet ========== */
@media (max-width: 1100px) and (min-width: 761px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone {
    width: min(250px, 38vw);
  }

  .flow-phones {
    min-height: 460px;
  }
}

/* ========== Tablet + phone stack hero ========== */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: start;
  }

  .hero-copy {
    padding-bottom: 0;
    text-align: left;
  }

  .hero-visual {
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    align-items: end;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .phone {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    animation: none;
  }

  .phone-a {
    transform: rotate(2deg);
  }

  .phone-b {
    transform: rotate(-2deg);
    margin-bottom: 1.25rem;
  }

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

  .flow-phones {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    max-width: 520px;
  }

  .phone-solo,
  .phone-offset {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* ========== Mobile ========== */
@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    padding: calc(var(--header-h) + 1rem) 1.25rem 2rem;
    background: rgba(5, 8, 12, 0.96);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.15rem;
    padding: 0.95rem 0.4rem;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text);
  }

  .nav-links .btn-nav {
    margin-top: 1rem;
    border-bottom: 0;
    justify-content: center;
  }

  .hero {
    padding-top: 1.75rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .cta-row .btn {
    width: 100%;
  }

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

  /* Horizontal snap carousel for product shots */
  .shot-rail {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
    margin-inline: -0.625rem;
    padding-inline: 0.625rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .shot-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }

  .shot-card:hover {
    transform: none;
  }

  .flow-phones {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-inline: auto;
  }

  .phone-offset {
    display: none;
  }

  .prose {
    padding: 1.25rem 1rem 1.6rem;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-a,
  .phone-b,
  .shot-card {
    animation: none;
    transition: none;
  }
}
