/* Swing Loop — Brand styles */
:root {
  --navy: #0b1a2e;
  --navy-deep: #060f1a;
  --teal: #1ec8b0;
  --cyan: #2dd4cf;
  --lime: #7ee787;
  --lime-bright: #a3f7b5;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-subtle: rgba(255, 255, 255, 0.55);
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.1);
  --gradient-hero: linear-gradient(135deg, var(--navy-deep) 0%, #0d2847 35%, #0f4c5c 65%, #1a6b4a 100%);
  --gradient-accent: linear-gradient(90deg, var(--cyan), var(--lime));
  --font: "Noto Sans", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--lime);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--lime-bright);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Background glow orbs */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.bg-glow::before {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(30, 200, 176, 0.25), transparent 70%);
}

.bg-glow::after {
  width: 600px;
  height: 600px;
  bottom: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(126, 231, 135, 0.3), transparent 70%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(6, 15, 26, 0.82);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.brand:hover {
  color: var(--white);
  opacity: 0.9;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-name {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-name .light {
  font-weight: 400;
}

.brand-name .bold {
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: var(--navy-deep) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  opacity: 0.92;
  color: var(--navy-deep) !important;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  background: var(--gradient-hero);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--lime);
  margin-bottom: 1.25rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 .light {
  font-weight: 400;
}

.hero h1 .bold {
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.store-link {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  line-height: 0;
}

.store-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge {
  height: 50px;
  width: auto;
  display: block;
}

.store-badge.google-play {
  height: 50px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
  width: min(340px, 80vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 207, 0.2), transparent 70%);
}

.hero-logo {
  position: relative;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Sections */
section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 3rem;
}

/* Features */
.features {
  background: var(--navy);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(126, 231, 135, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy-deep);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.fps-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.fps-tag {
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(126, 231, 135, 0.15);
  color: var(--lime);
  border: 1px solid rgba(126, 231, 135, 0.25);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--navy-deep);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* CTA */
.cta-section {
  background: var(--gradient-hero);
  text-align: center;
}

.cta-section .section-desc {
  margin-inline: auto;
}

.cta-section .store-buttons {
  justify-content: center;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--navy-deep);
  border-top: 1px solid var(--card-border);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
  max-width: 22rem;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* Legal pages */
.legal-page {
  position: relative;
  z-index: 1;
  padding: 3rem 0 5rem;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--text-subtle);
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--lime);
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}

.legal-content li {
  margin-bottom: 0.375rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .store-buttons,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-wrap {
    width: min(260px, 70vw);
  }

  .features-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.25rem;
    background: rgba(6, 15, 26, 0.96);
    border-bottom: 1px solid var(--card-border);
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .site-header .container {
    position: relative;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  section {
    padding: 3.5rem 0;
  }
}
