/* =============================================
   Gymmie Landing Page — style.css
   Color palette matches the app exactly
   ============================================= */

:root {
  --bg:        #1a1a2e;
  --surface:   #242438;
  --accent:    #FF6B35;
  --accent-dim:#cc5a2a;
  --white:     #ffffff;
  --muted:     #9999b8;
  --border:    rgba(255,255,255,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ─────────────────────────────────── */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.btn-nav {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background 0.15s;
}
.btn-nav:hover { background: var(--accent-dim); }

/* ── HERO ────────────────────────────────── */
.hero-content {
  text-align: center;
  padding: 44px 24px 32px;
  max-width: 680px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.tagline {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-appstore {
  display: inline-block;
  transition: opacity 0.15s;
}
.btn-appstore:hover { opacity: 0.8; }
.btn-appstore img { border-radius: 12px; }

/* ── HERO SCREENSHOT ─────────────────────── */
.hero-screenshot {
  padding: 0 24px 64px;
}

.screenshot-hero {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
}

/* ── FEATURES GRID ───────────────────────── */
.features {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.feature {
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.screenshot-sm {
  max-width: 200px;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
}

/* ── SIDE-BY-SIDE SECTIONS ───────────────── */
.side-by-side {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 24px;
}

.side-by-side.reverse { flex-direction: row-reverse; }

.text-block { flex: 1; }

.text-block h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.text-block p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  font-size: 0.9375rem;
  color: var(--muted);
  padding-left: 24px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.screenshot-right,
.screenshot-watch {
  flex-shrink: 0;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

.screenshot-right { max-width: 240px; }
.screenshot-watch { max-width: 180px; }

.watch-pair {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

.watch-front {
  margin-bottom: -16px;
  filter: drop-shadow(0 20px 40px rgba(255,107,53,0.25));
}

.templates-section {
  border-top: 1px solid var(--border);
}

.watch-section {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

/* ── PRIVACY BOX ─────────────────────────── */
.privacy-section {
  border-top: 1px solid var(--border);
  padding: 60px 24px;
}

.privacy-box {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
}

.privacy-icon { font-size: 2rem; flex-shrink: 0; }

.privacy-box h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.privacy-box p {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ── FOOTER ──────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.15s;
}

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

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 700px) {
  .side-by-side,
  .side-by-side.reverse {
    flex-direction: column;
    padding: 60px 24px;
    gap: 32px;
    text-align: center;
  }

  .check-list li { padding-left: 0; }
  .check-list li::before { display: none; }

  .screenshot-right { max-width: 200px; margin: 0 auto; }
  .watch-pair { justify-content: center; }
  .screenshot-watch { max-width: 140px; }

  .privacy-box { flex-direction: column; text-align: center; }
}

/* ── PRICING ─────────────────────────────── */
.pricing-section {
  border-top: 1px solid var(--border);
  padding: 80px 24px;
  text-align: center;
}

.pricing-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.pricing-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

.pricing-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 32px 28px;
  width: 280px;
  text-align: left;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-features {
  margin-top: 0;
}

@media (max-width: 700px) {
  .pricing-grid { flex-direction: column; align-items: center; }
  .pricing-card { width: 100%; max-width: 320px; }
}

/* ── LEGAL PAGES ─────────────────────────── */
.legal-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-page .updated {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.legal-section p,
.legal-section ul {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-section ul {
  padding-left: 20px;
  margin-top: 8px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 40px;
}
