/* ============================================================
   Gym+ Marketing — static styles
   Ported from the Next.js / Tailwind v4 project.
   Design tokens: gold #C9A84C, black #0a0a0a, gold-light #E2C97E
   ============================================================ */

:root {
  --background: #0a0a0a;
  --foreground: #f5f5f5;
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #8B6914;
  --charcoal: #1a1a1a;
  --surface: #111111;
  --border: #2a2a2a;
}

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

html { scroll-behavior: smooth; }

body {
  background: #0a0a0a;
  color: #f5f5f5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

/* Gold gradient text */
.text-gold-gradient {
  background: linear-gradient(135deg, #C9A84C 0%, #E2C97E 50%, #C9A84C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

.gold-border { border: 1px solid #C9A84C33; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #C9A84C55; border-radius: 2px; }

.section-pad { padding: 6rem 1.5rem; }
@media (min-width: 768px) { .section-pad { padding: 8rem 2rem; } }

.gold-line { height: 1px; background: linear-gradient(90deg, transparent, #C9A84C, transparent); }

/* Card hover */
.card-hover { transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover {
  transform: translateY(-4px);
  border-color: #C9A84C66;
  box-shadow: 0 20px 60px rgba(201, 168, 76, 0.1);
}

/* Inputs */
input, textarea, select {
  background: #111111;
  border: 1px solid #2a2a2a;
  color: #f5f5f5;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: #C9A84C; }
input::placeholder, textarea::placeholder { color: #555; }
select option { background: #111111; }

/* ============================================================
   Scroll-in animation (replaces framer-motion useInView)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container-7xl { max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.container-6xl { max-width: 72rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.container-5xl { max-width: 64rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.container-4xl { max-width: 56rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.container-3xl { max-width: 48rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.container-2xl { max-width: 42rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.container-xl  { max-width: 36rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) {
  .container-7xl, .container-6xl, .container-5xl, .container-4xl,
  .container-3xl, .container-2xl, .container-xl { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: #fff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.plus { color: var(--gold); }
.mono-plus { color: var(--gold); font-weight: 900; }

/* Section label */
.section-label { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.section-label .line { height: 1px; width: 2rem; background: var(--gold); }
.section-label .txt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; }

/* Buttons (GoldButton) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; border-radius: 9999px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
  text-align: center;
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-md { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-filled { background: var(--gold); color: #000; }
.btn-filled:hover { background: var(--gold-light); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #000; }
.btn-ghost { color: var(--gold); }
.btn-ghost:hover { color: var(--gold-light); }
.btn-full { width: 100%; }

.icon { width: 1em; height: 1em; }

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .5s ease, border-color .5s ease, backdrop-filter .5s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #C9A84C22;
}
.nav-inner {
  max-width: 80rem; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; height: 4rem;
}
@media (min-width: 640px) { .nav-inner { padding: 0 1.5rem; } }
@media (min-width: 768px) { .nav-inner { height: 5rem; } }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.brand .word { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; color: #fff; }
@media (min-width: 768px) { .brand .word { font-size: 1.875rem; } }
.brand .word span { color: var(--gold); }

.nav-desktop { display: none; align-items: center; gap: 1.5rem; }
.nav-desktop a { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; color: #d1d5db; transition: color .2s ease; }
.nav-desktop a:hover { color: #fff; }
.nav-desktop a.active { color: var(--gold); }
.nav-cta { display: none; }
.nav-cta a {
  padding: 0.625rem 1.25rem; background: var(--gold); color: #000;
  font-size: 0.875rem; font-weight: 700; border-radius: 9999px; transition: background-color .2s ease;
}
.nav-cta a:hover { background: var(--gold-light); }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-cta { display: flex; align-items: center; gap: 0.75rem; }
}
.nav-toggle { color: #fff; padding: 0.5rem; display: inline-flex; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav-mobile {
  display: none;
  background: rgba(0,0,0,0.98); backdrop-filter: blur(20px);
  border-top: 1px solid #C9A84C22;
}
.nav-mobile.open { display: block; }
.nav-mobile nav { display: flex; flex-direction: column; padding: 1.5rem 1rem; gap: 0.25rem; }
.nav-mobile a {
  padding: 0.75rem 0; font-size: 1rem; font-weight: 500;
  color: #d1d5db; border-bottom: 1px solid #ffffff08; transition: color .2s ease;
}
.nav-mobile a.active { color: var(--gold); }
.nav-mobile a.cta {
  margin-top: 1rem; padding: 0.875rem 0; background: var(--gold); color: #000;
  text-align: center; font-weight: 700; border-radius: 9999px; border-bottom: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #000; border-top: 1px solid #C9A84C22; padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(6, 1fr); } }
.footer-brand { grid-column: span 2; }
.footer-brand .word { font-size: 1.875rem; font-weight: 900; color: #fff; display: inline-block; margin-bottom: 1rem; }
.footer-brand .word span { color: var(--gold); }
.footer-brand p { color: #6b7280; font-size: 0.875rem; line-height: 1.6; max-width: 20rem; margin-bottom: 1.5rem; }
.socials { display: flex; align-items: center; gap: 1rem; }
.socials a {
  width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; border: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: center; color: #6b7280;
  font-size: 0.75rem; font-weight: 700; transition: color .2s ease, border-color .2s ease;
}
.socials a:hover { color: var(--gold); border-color: #C9A84C44; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { color: #6b7280; font-size: 0.875rem; transition: color .2s ease; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 1rem; font-size: 0.875rem; color: #4b5563;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .tag { font-weight: 500; color: #C9A84C88; }

/* ============================================================
   Generic reusable blocks
   ============================================================ */
.grid { display: grid; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }

.card {
  border: 1px solid var(--border); border-radius: 0.75rem; background: #0d0d0d; padding: 1.5rem;
}
.card-2xl { border-radius: 1rem; padding: 2rem; }
.card h3 { color: #fff; font-weight: 700; margin-bottom: 0.5rem; }
.card p { color: #6b7280; font-size: 0.875rem; line-height: 1.6; }
.icon-gold { color: var(--gold); }

.feature-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid.sm-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .feature-grid.md-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .feature-grid.lg-3 { grid-template-columns: repeat(3, 1fr); } .feature-grid.lg-4 { grid-template-columns: repeat(4, 1fr); } }

.section-alt { background: #080808; }
.section-darker { background: #050505; }
.border-top-faint { border-top: 1px solid #C9A84C11; }
.border-y-faint { border-top: 1px solid #C9A84C11; border-bottom: 1px solid #C9A84C11; }

h1, h2, h3 { color: #fff; }
.h2 { font-size: 1.875rem; font-weight: 900; }
@media (min-width: 768px) { .h2 { font-size: 3rem; } }
.lead { color: #9ca3af; font-size: 1.125rem; }

/* form helpers */
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: repeat(2, 1fr); } }
label { display: block; font-size: 0.875rem; color: #9ca3af; margin-bottom: 0.375rem; }
.field { margin-bottom: 0; }
.form-space > * + * { margin-top: 1.25rem; }
.success-box {
  text-align: center; padding: 3rem; border: 1px solid #C9A84C44; border-radius: 1rem; background: #111;
}
.success-box .mark { font-size: 3rem; margin-bottom: 1rem; }
.success-box h3 { font-size: 1.5rem; font-weight: 900; color: var(--gold); margin-bottom: 0.5rem; }
.success-box p { color: #9ca3af; }
.hidden { display: none !important; }
