/* GymWiz marketing landing — unique layout (split hero, bento, timeline) */

:root {
  --gw-purple: #6a3de8;
  --gw-purple-deep: #4f27c9;
  --gw-ink: #101018;
  --gw-muted: #5a5a68;
  --gw-line: #e6e4ef;
  --gw-surface: #f3f1f8;
  --gw-white: #ffffff;
  --gw-sand: #f7f4ef;
  --gw-font: "Sora", "Segoe UI", sans-serif;
  --gw-serif: "Source Serif 4", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body.gw-landing {
  margin: 0;
  font-family: var(--gw-font);
  color: var(--gw-ink);
  background: var(--gw-sand);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

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

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

.gw-stars {
  color: #f5b301;
  letter-spacing: 0.06em;
  font-size: 0.95em;
}

/* Nav */
.gw-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.gw-nav.is-scrolled {
  border-bottom-color: var(--gw-line);
}

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

.gw-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.gw-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.gw-nav-links {
  display: none;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gw-nav-links a {
  color: var(--gw-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

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

.gw-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gw-ink);
  color: var(--gw-white);
  border-radius: 999px;
  padding: 0.62rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gw-btn-pill:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.gw-btn-pill svg {
  width: 14px;
  height: 14px;
}

.gw-btn-pill-light {
  background: var(--gw-purple);
  margin-top: 1rem;
}

@media (min-width: 860px) {
  .gw-nav-links {
    display: flex;
  }
}

/* Split hero */
.gw-hero-shell {
  padding: 1.5rem 0 0;
}

.gw-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0 2rem;
}

@media (min-width: 960px) {
  .gw-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    min-height: min(78vh, 720px);
  }
}

.gw-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(106, 61, 232, 0.12);
  color: var(--gw-purple-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gw-hero-copy h1 {
  font-family: var(--gw-serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.gw-hero-lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--gw-muted);
}

.gw-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.gw-store-badge img {
  height: 52px;
  width: auto;
}

.gw-rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--gw-ink);
}

.gw-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.gw-hero-blob {
  position: absolute;
  inset: 8% 12% 0;
  background: radial-gradient(circle at 40% 30%, #8b5cf6 0%, var(--gw-purple) 45%, #2a1658 100%);
  border-radius: 2rem;
  transform: rotate(-3deg);
  z-index: 0;
}

.gw-hero-phone {
  position: relative;
  z-index: 1;
  width: min(300px, 72vw);
  border-radius: 1.5rem;
  filter: drop-shadow(0 24px 40px rgba(40, 16, 80, 0.35));
  animation: gwRise 0.85s ease-out both;
}

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

/* Proof strip */
.gw-proof {
  border-block: 1px solid var(--gw-line);
  background: var(--gw-white);
}

.gw-proof-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding: 1rem 0;
  font-size: 0.92rem;
  color: var(--gw-muted);
  text-align: center;
}

.gw-proof-inner strong {
  color: var(--gw-ink);
}

.gw-proof-sep {
  opacity: 0.45;
}

/* Sections */
.gw-section {
  padding: 4.25rem 0;
}

.gw-section-muted {
  background: var(--gw-surface);
}

.gw-section-ink {
  background: var(--gw-ink);
  color: var(--gw-white);
}

.gw-section-ink .gw-section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.gw-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.gw-section-head-left {
  text-align: left;
  margin-left: 0;
  max-width: 38rem;
}

.gw-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gw-purple);
}

.gw-eyebrow-light {
  color: #c4b5fd;
}

.gw-section-head h2 {
  font-family: var(--gw-serif);
  font-size: clamp(1.65rem, 3.6vw, 2.45rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.7rem;
  font-weight: 600;
}

.gw-section-head p {
  margin: 0;
  color: var(--gw-muted);
  font-size: 1.02rem;
}

.gw-rating-inline {
  margin-top: 0.75rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gw-ink) !important;
  font-weight: 600;
}

/* Screenshot grid — only App Store 6.7" assets */
.gw-shot-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .gw-shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gw-shot {
  margin: 0;
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: 1.35rem;
  padding: 1rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.gw-shot img {
  border-radius: 1rem;
  background: #111;
  width: 100%;
}

.gw-shot figcaption h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.gw-shot figcaption p {
  margin: 0;
  color: var(--gw-muted);
  font-size: 0.94rem;
}

.gw-feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 760px) {
  .gw-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gw-feature-card {
  border: 1px solid var(--gw-line);
  border-radius: 1.15rem;
  padding: 1.2rem;
  background: var(--gw-white);
}

.gw-feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

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

/* Timeline workflow */
.gw-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.gw-timeline li {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.35rem;
  padding: 1.25rem;
}

@media (min-width: 900px) {
  .gw-timeline li {
    grid-template-columns: auto 1fr 180px;
    align-items: center;
  }
}

.gw-timeline-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gw-purple);
  font-weight: 700;
}

.gw-timeline h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.gw-timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.gw-timeline img {
  border-radius: 0.9rem;
  max-height: 220px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

/* Reviews */
.gw-reviews {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .gw-reviews {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gw-review {
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: 1.2rem;
  padding: 1.25rem;
}

.gw-review-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gw-muted);
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.gw-review h4 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.gw-review p {
  margin: 0 0 0.85rem;
  color: var(--gw-muted);
}

.gw-review-author {
  font-weight: 600;
  font-size: 0.9rem;
}

/* FAQ split */
.gw-faq-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .gw-faq-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.gw-faq {
  display: grid;
  gap: 0.65rem;
}

.gw-faq details {
  border: 1px solid var(--gw-line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: var(--gw-white);
}

.gw-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.gw-faq summary::-webkit-details-marker {
  display: none;
}

.gw-faq details[open] summary {
  margin-bottom: 0.5rem;
}

.gw-faq p {
  margin: 0;
  color: var(--gw-muted);
  font-size: 0.96rem;
}

.gw-legal-note {
  margin-top: 1.75rem;
  color: var(--gw-muted);
  font-size: 0.8rem;
  text-align: left;
}

/* CTA */
.gw-cta-band {
  background: linear-gradient(145deg, var(--gw-purple) 0%, #2d1760 100%);
  color: var(--gw-white);
  border-radius: 1.75rem;
  padding: 2.75rem 1.5rem;
  text-align: center;
}

.gw-cta-band h2 {
  font-family: var(--gw-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 auto 0.8rem;
  max-width: 20ch;
  line-height: 1.2;
  font-weight: 600;
}

.gw-cta-band p {
  margin: 0 auto 1.4rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Footer */
.gw-footer {
  border-top: 1px solid var(--gw-line);
  padding: 2.25rem 0 2rem;
  background: var(--gw-white);
}

.gw-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
}

.gw-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  color: var(--gw-muted);
  font-size: 0.9rem;
}

.gw-footer-bottom {
  color: var(--gw-muted);
  font-size: 0.84rem;
}

.gw-footer-bottom a {
  color: var(--gw-purple);
  font-weight: 600;
}
