/*
Theme Name: GYM&GO
Theme URI: https://gymgo.com
Author: GYM&GO Team
Description: Landing page theme for GYM&GO - Train Anywhere. One Pass, Multiple Gyms.
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: dark, fitness, landing-page, responsive
Text Domain: gymgo
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --color-bg:         #0a0a0a;
  --color-bg-card:    #111111;
  --color-bg-card2:   #181818;
  --color-accent:     #00e5c8;
  --color-accent-alt: #e84c1e;
  --color-text:       #ffffff;
  --color-text-muted: #aaaaaa;
  --color-border:     rgba(255,255,255,0.08);
  --color-overlay:    rgba(0,0,0,0.55);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--color-accent);
  color: #000;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(0,229,200,0.35); }

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding: 10px 0;
  font-size: 13px;
}
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover { color: var(--color-accent); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-accent {
  background: var(--color-accent);
  color: #000;
  font-size: 13px;
  padding: 10px 20px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(10,10,10,0.98);
}

.header-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
}

.header-logo span { color: var(--color-accent); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--color-text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color var(--transition);
  border-radius: 50%;
}
.header-icon-btn:hover { color: var(--color-text); background: var(--color-border); }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}
.mobile-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
}

.hero-bg-img {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
  transition: transform 8s ease;
}

.hero-bg-img:hover img { transform: scale(1.04); }

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.1) 40%,
    rgba(10,10,10,0.7) 75%,
    rgba(10,10,10,1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.hero-title {
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 16px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   VALUE PROP BANNER
   ============================================ */
.value-banner {
  background: var(--color-accent);
  padding: 14px 24px;
  text-align: center;
}

.value-banner p {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 100px 0;
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-it-works .section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
}

.how-it-works .section-header p {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step-card {
  background: var(--color-bg-card);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition);
}

.step-card:hover {
  background: var(--color-bg-card2);
}

.step-card.step-img {
  padding: 0;
  overflow: hidden;
}

.step-card.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.8);
  transition: transform var(--transition), filter var(--transition);
}

.step-card.step-img:hover img {
  transform: scale(1.05);
  filter: brightness(0.85) saturate(1);
}

.step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-number::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.step-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   WHAT'S INCLUDED
   ============================================ */
.whats-included {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.included-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.included-img {
  position: relative;
  min-height: 480px;
}

.included-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.included-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,76,30,0.4) 0%, transparent 60%);
}

.included-img-logo {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.included-content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.included-content h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 32px;
}

.included-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.included-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 100px 0;
}

.pricing .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing .section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

.plan-card {
  background: var(--color-bg-card);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--transition), transform var(--transition);
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background var(--transition);
}

.plan-card:hover {
  background: var(--color-bg-card2);
  z-index: 1;
}

.plan-card:hover::before {
  background: var(--color-accent);
}

.plan-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.plan-price {
  margin-bottom: 24px;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-text);
}

.plan-price .currency {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  vertical-align: super;
  margin-right: 2px;
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.plan-features li::before {
  content: '·';
  color: var(--color-accent);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.plan-card .btn {
  font-size: 12px;
  padding: 11px 20px;
  justify-content: center;
  width: 100%;
}

.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ============================================
   DAY PASS SECTION
   ============================================ */
.day-pass {
  padding: 0 0 100px;
}

.day-pass-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}

.day-pass-content {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.day-pass-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 8px;
}

.day-pass-content .sub {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 28px;
}

.day-pass-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.day-pass-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.day-pass-features li::before {
  content: '→';
  color: var(--color-accent);
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 1px;
}

.day-pass-img {
  position: relative;
  overflow: hidden;
}

.day-pass-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.9);
  transition: transform 0.6s ease;
}

.day-pass:hover .day-pass-img img {
  transform: scale(1.03);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.footer-country {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-text); }

.footer-copy {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 200;
  flex-direction: column;
  padding: 80px 32px 40px;
}

.mobile-menu.open { display: flex; }

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 28px;
  color: var(--color-text);
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .step-card.step-img {
    grid-column: span 2;
    min-height: 240px;
  }
  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }
  .header-nav { display: none; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .site-header {
    padding: 0 20px;
    height: 58px;
  }

  .mobile-menu-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .hero { min-height: 100svh; padding-bottom: 60px; }

  .hero-bg-grid { grid-template-columns: 1fr 1fr; }
  .hero-bg-img:nth-child(3),
  .hero-bg-img:nth-child(4) { display: none; }

  .how-it-works { padding: 72px 0; }
  .steps-grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }
  .step-card.step-img { grid-column: span 1; min-height: 200px; }

  .included-inner {
    grid-template-columns: 1fr;
  }
  .included-img { min-height: 300px; }
  .included-content { padding: 40px 32px; }

  .plans-grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .day-pass-inner {
    grid-template-columns: 1fr;
  }
  .day-pass-content { padding: 48px 32px; }
  .day-pass-img { min-height: 260px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-bg-grid { grid-template-columns: 1fr; }
  .hero-bg-img:nth-child(2) { display: none; }
  .hero-title { font-size: 52px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; justify-content: center; max-width: 300px; }
  .value-banner p { font-size: 11px; }
}
