/* GYMZO Landing Page — Brand Theme */

:root {
  --bg: #061736;
  --bg-alt: #0A1E3D;
  --accent: #00FFC2;
  --accent-dark: #00D9A5;
  --surface: #0A2040;
  --secondary: #0D2347;
  --text-primary: #FFFFFF;
  --text-secondary: #8BA3C1;
  --icon-muted: #4A6B8A;
  --border-glass: rgba(255, 255, 255, 0.12);
  --accent-glass: rgba(0, 255, 194, 0.15);
  --accent-glow: rgba(0, 255, 194, 0.3);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(180deg, #0a3a4a 0%, #082a3e 15%, var(--bg) 50%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

/* ─── Aurora Background ─────────────────────── */

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.aurora-blob--a {
  width: 100vw;
  height: 16vh;
  top: -6vh;
  left: -20vw;
  background: radial-gradient(ellipse at center, rgba(0, 255, 194, 0.18) 0%, rgba(0, 255, 194, 0.054) 70%, transparent 100%);
  filter: blur(80px);
  animation: aurora-a 6.2s ease-in-out infinite;
}

.aurora-blob--b {
  width: 110vw;
  height: 14vh;
  top: -6vh;
  left: 15vw;
  background: radial-gradient(ellipse at center, rgba(0, 217, 232, 0.14) 0%, rgba(0, 217, 232, 0.042) 70%, transparent 100%);
  filter: blur(90px);
  animation: aurora-b 7.4s ease-in-out infinite;
}

.aurora-blob--c {
  width: 70vw;
  height: 12vh;
  top: -1vh;
  left: 15vw;
  background: radial-gradient(ellipse at center, rgba(74, 107, 138, 0.10) 0%, rgba(74, 107, 138, 0.03) 70%, transparent 100%);
  filter: blur(60px);
  animation: aurora-c 5s ease-in-out infinite;
}

.aurora-blob--d {
  width: 80vw;
  height: 12vh;
  top: -6vh;
  left: -20vw;
  background: radial-gradient(ellipse at center, rgba(74, 107, 255, 0.09) 0%, rgba(74, 107, 255, 0.027) 70%, transparent 100%);
  filter: blur(80px);
  animation: aurora-d 8.6s ease-in-out infinite;
}

@keyframes aurora-a {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(8vw, 1vh) scale(1.08); }
  50%  { transform: translate(15vw, 2vh) scale(1); }
  75%  { transform: translate(8vw, 1vh) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes aurora-b {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-6vw, 1vh) scale(1.08); }
  50%  { transform: translate(-12vw, 2vh) scale(1); }
  75%  { transform: translate(-6vw, 1vh) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes aurora-c {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(9vw, 1vh) scale(1.08); }
  50%  { transform: translate(18vw, 2vh) scale(1); }
  75%  { transform: translate(9vw, 1vh) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes aurora-d {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(5vw, 1vh) scale(1.08); }
  50%  { transform: translate(10vw, 2vh) scale(1); }
  75%  { transform: translate(5vw, 1vh) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

.nav,
.hero,
.features,
.about,
.legal,
.footer {
  position: relative;
  z-index: 1;
}

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

a:hover {
  text-decoration: underline;
}

/* ─── Nav ────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.nav-brand span {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 24px;
}

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

/* ─── Hero ───────────────────────────────────── */

.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 32px;
  box-shadow: 0 0 40px rgba(0, 255, 194, 0.15);
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-tagline {
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.store-btn--secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.store-btn--secondary:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 6px 28px rgba(0, 255, 194, 0.3);
}

.store-btn svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.store-btn small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  text-align: left;
}

.store-btn strong {
  display: block;
  font-size: 15px;
  text-align: left;
}

/* ─── Features ───────────────────────────────── */

.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.features h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--accent-glow);
  transform: translateY(-2px);
}

.feature-icon {
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── About ──────────────────────────────────── */

.about {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
  text-align: center;
}

.about h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.about p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Legal ──────────────────────────────────── */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.legal h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.legal-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.legal-link {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 20px 28px;
  text-decoration: none;
  text-align: center;
  min-width: 200px;
  transition: border-color 0.2s, transform 0.2s;
}

.legal-link:hover {
  border-color: var(--accent-glow);
  transform: translateY(-2px);
  text-decoration: none;
}

.legal-link span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.legal-link small {
  display: block;
  font-size: 13px;
  color: var(--icon-muted);
  margin-top: 4px;
}

/* ─── Footer ─────────────────────────────────── */

.footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border-glass);
  color: var(--icon-muted);
  font-size: 13px;
}

.footer a {
  color: var(--icon-muted);
}

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

.footer p {
  margin-bottom: 6px;
}

/* ─── Responsive ─────────────────────────────── */

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 16px;
  }

  .nav-links a {
    margin-left: 16px;
    font-size: 13px;
  }

  .hero {
    padding: 48px 16px 40px;
  }

  .hero-logo {
    width: 88px;
    height: 88px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .store-btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  .features {
    padding: 24px 16px 60px;
  }

  .features h2 {
    font-size: 24px;
  }

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

  .about {
    padding: 0 16px 60px;
  }

  .legal {
    padding: 0 16px 60px;
  }

  .legal-links {
    flex-direction: column;
    align-items: center;
  }

  .legal-link {
    width: 100%;
    max-width: 320px;
  }
}
