/* IronPeak Gym — Website Theme (exact copy of React source) */
:root {
  --ip-green: #39d353;
  --ip-green-dark: #2ab342;
  --ip-green-glow: rgba(57, 211, 83, 0.2);
  --ip-bg: #0b0b0f;
  --ip-bg-card: #111116;
  --ip-bg-surface: #18181f;
  --ip-border: rgba(255, 255, 255, 0.08);
  --ip-text: #f0f0f0;
  --ip-muted: #8b8b9a;
  --bs-font-sans-serif: 'Inter', system-ui, sans-serif;
  --bs-body-bg: var(--ip-bg);
  --bs-body-color: var(--ip-text);
  --bs-border-color: var(--ip-border);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--ip-bg);
  color: var(--ip-text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.display-hero {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}
.section-title { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
.text-green { color: var(--ip-green) !important; }
.text-muted-ip { color: var(--ip-muted) !important; }

/* Navbar */
.navbar-ip {
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ip-border);
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.navbar-ip.scrolled { padding: 0.6rem 0; background: rgba(11, 11, 15, 0.98); }
.navbar-brand-ip {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--ip-text) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-brand-ip .brand-icon {
  width: 34px; height: 34px;
  background: var(--ip-green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #000;
}
.navbar-ip .nav-link {
  color: rgba(240, 240, 240, 0.75) !important;
  font-weight: 500; font-size: 0.9rem;
  padding: 0.4rem 0.8rem !important;
  border-radius: 6px; transition: all 0.2s; letter-spacing: 0.01em;
}
.navbar-ip .nav-link:hover, .navbar-ip .nav-link.active {
  color: var(--ip-text) !important; background: rgba(255, 255, 255, 0.06);
}
.navbar-toggler { border-color: var(--ip-border) !important; color: var(--ip-text) !important; }
.navbar-toggler-icon { filter: invert(1); }

/* Buttons */
.btn-ip-primary {
  background: var(--ip-green); color: #000; font-weight: 700; font-size: 0.9rem;
  padding: 0.6rem 1.4rem; border-radius: 8px; border: none; cursor: pointer;
  transition: all 0.2s; text-decoration: none; display: inline-flex;
  align-items: center; gap: 0.4rem; letter-spacing: 0.01em;
}
.btn-ip-primary:hover {
  background: var(--ip-green-dark); color: #000;
  transform: translateY(-1px); box-shadow: 0 6px 24px var(--ip-green-glow);
}
.btn-ip-primary:disabled { opacity: 0.6; pointer-events: none; }
.btn-ip-outline {
  background: transparent; color: var(--ip-green); font-weight: 600; font-size: 0.9rem;
  padding: 0.6rem 1.4rem; border-radius: 8px; border: 1.5px solid var(--ip-green);
  cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-flex;
  align-items: center; gap: 0.4rem;
}
.btn-ip-outline:hover { background: var(--ip-green-glow); color: var(--ip-green); transform: translateY(-1px); }
.btn-ip-ghost {
  background: transparent; color: rgba(240, 240, 240, 0.7); font-weight: 500; font-size: 0.9rem;
  padding: 0.5rem 1rem; border-radius: 8px; border: none; cursor: pointer;
  transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-ip-ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--ip-text); }

/* Hero */
.hero-section {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--ip-bg);
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(57, 211, 83, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 20%, rgba(57, 211, 83, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(57, 211, 83, 0.1); border: 1px solid rgba(57, 211, 83, 0.25);
  color: var(--ip-green); padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px; background: var(--ip-green);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; }
.hero-stat { text-align: left; }
.hero-stat .stat-number { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; color: var(--ip-green); line-height: 1; }
.hero-stat .stat-label { font-size: 0.78rem; color: var(--ip-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.1rem; }

/* Cards */
.ip-card {
  background: var(--ip-bg-card); border: 1px solid var(--ip-border);
  border-radius: 16px; overflow: hidden; transition: all 0.3s ease;
}
.ip-card:hover {
  border-color: rgba(57, 211, 83, 0.3); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.service-icon {
  width: 56px; height: 56px; background: var(--ip-green-glow);
  border: 1px solid rgba(57, 211, 83, 0.2); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--ip-green); margin-bottom: 1.2rem;
}

/* Plan cards */
.plan-card {
  background: var(--ip-bg-card); border: 1px solid var(--ip-border);
  border-radius: 20px; padding: 2rem; position: relative; transition: all 0.3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5); }
.plan-card.featured {
  border-color: var(--ip-green);
  background: linear-gradient(145deg, rgba(57,211,83,0.07), var(--ip-bg-card));
  box-shadow: 0 0 40px rgba(57, 211, 83, 0.1);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ip-green); color: #000; font-size: 0.72rem; font-weight: 700;
  padding: 0.25rem 0.8rem; border-radius: 999px; letter-spacing: 0.05em;
  text-transform: uppercase; white-space: nowrap;
}
.plan-price { font-family: 'Bebas Neue', sans-serif; font-size: 3.2rem; color: var(--ip-text); line-height: 1; }
.plan-price .currency { font-family: 'Inter', sans-serif; font-size: 1.4rem; font-weight: 600; vertical-align: top; margin-top: 0.5rem; display: inline-block; }
.plan-price .period { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 400; color: var(--ip-muted); }
.plan-feature { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; font-size: 0.9rem; color: rgba(240, 240, 240, 0.85); }
.plan-feature .check {
  width: 20px; height: 20px; background: rgba(57, 211, 83, 0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ip-green); font-size: 0.65rem; flex-shrink: 0;
}
.section-padding { padding: 100px 0; }
.section-divider { width: 48px; height: 3px; background: var(--ip-green); border-radius: 2px; margin-bottom: 1rem; }
.cta-section {
  background: linear-gradient(135deg, rgba(57, 211, 83, 0.1) 0%, rgba(57, 211, 83, 0.03) 100%);
  border-top: 1px solid rgba(57, 211, 83, 0.15); border-bottom: 1px solid rgba(57, 211, 83, 0.15);
}

/* Trainer cards */
.trainer-card { background: var(--ip-bg-card); border: 1px solid var(--ip-border); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; }
.trainer-card:hover { border-color: rgba(57, 211, 83, 0.3); transform: translateY(-4px); }
.trainer-photo { width: 100%; height: 240px; object-fit: cover; background: var(--ip-bg-surface); display: flex; align-items: center; justify-content: center; font-size: 4rem; }

/* Forms */
.ip-form-control {
  background: var(--ip-bg-surface) !important; border: 1px solid var(--ip-border) !important;
  border-radius: 10px !important; color: var(--ip-text) !important;
  padding: 0.75rem 1rem !important; font-size: 0.9rem !important; transition: border-color 0.2s !important;
}
.ip-form-control:focus {
  border-color: rgba(57, 211, 83, 0.5) !important; box-shadow: 0 0 0 3px var(--ip-green-glow) !important;
  background: var(--ip-bg-surface) !important; color: var(--ip-text) !important; outline: none;
}
.ip-form-control::placeholder { color: var(--ip-muted) !important; }
.ip-form-control option { background: var(--ip-bg-surface); color: var(--ip-text); }
label.ip-label { color: rgba(240, 240, 240, 0.75); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; display: block; }

/* Footer */
.footer-ip { background: var(--ip-bg-card); border-top: 1px solid var(--ip-border); padding: 3rem 0 1.5rem; }
.footer-ip .footer-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.05em; color: var(--ip-text); }
.footer-ip a { color: var(--ip-muted); text-decoration: none; transition: color 0.2s; font-size: 0.9rem; }
.footer-ip a:hover { color: var(--ip-green); }
.footer-ip .footer-heading { color: var(--ip-text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.social-icon {
  width: 36px; height: 36px; background: var(--ip-bg-surface); border: 1px solid var(--ip-border);
  border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ip-muted) !important; transition: all 0.2s; font-size: 0.95rem;
}
.social-icon:hover { border-color: var(--ip-green); color: var(--ip-green) !important; background: var(--ip-green-glow); }

/* User chip */
.user-chip {
  display: flex; align-items: center; gap: 0.5rem; background: var(--ip-bg-surface);
  border: 1px solid var(--ip-border); border-radius: 999px;
  padding: 0.25rem 0.75rem 0.25rem 0.35rem; font-size: 0.82rem;
}
.user-chip .avatar {
  width: 26px; height: 26px; background: var(--ip-green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: #000;
}

/* Reviews marquee */
.marquee-wrapper { overflow: hidden; width: 100%; padding: 0.5rem 0; }
.marquee-track { display: flex; gap: 1.25rem; width: max-content; animation: marquee-scroll 40s linear infinite; }
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-card {
  flex-shrink: 0; width: 320px; background: var(--ip-bg-surface);
  border: 1px solid var(--ip-border); border-radius: 16px; padding: 1.5rem;
  box-shadow: 0 0 20px rgba(57, 211, 83, 0.06); transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.marquee-card:hover { box-shadow: 0 0 30px rgba(57, 211, 83, 0.18); border-color: rgba(57, 211, 83, 0.35); }
.marquee-stars { color: var(--ip-green); font-size: 1rem; letter-spacing: 2px; }
.marquee-text { color: rgba(240, 240, 240, 0.8); font-size: 0.88rem; line-height: 1.7; margin: 0; }
.marquee-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ip-green); color: #000; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.marquee-name { font-weight: 600; font-size: 0.88rem; color: var(--ip-text); }
.marquee-role { font-size: 0.75rem; color: var(--ip-muted); }

/* Transformations */
.transformation-card {
  background: var(--ip-bg-surface); border: 1px solid var(--ip-border); border-radius: 20px;
  overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.transformation-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(57, 211, 83, 0.15); border-color: rgba(57, 211, 83, 0.3); }
.transformation-images { position: relative; display: flex; height: 220px; }
.tf-side { flex: 1; position: relative; overflow: hidden; }
.tf-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.transformation-card:hover .tf-img { transform: scale(1.06); }
.tf-label { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; padding: 2px 10px; border-radius: 999px; pointer-events: none; }
.tf-label-before { background: rgba(0, 0, 0, 0.72); color: var(--ip-muted); border: 1px solid rgba(255,255,255,0.1); }
.tf-label-after { background: var(--ip-green); color: #000; }
.tf-divider { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 10; background: var(--ip-bg-surface); border: 2px solid var(--ip-green); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--ip-green); font-size: 1rem; box-shadow: 0 0 16px rgba(57, 211, 83, 0.4); }
.tf-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,0,0,0.75), rgba(57,211,83,0.3)); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.35s ease; z-index: 5; }
.transformation-card:hover .tf-overlay { opacity: 1; }
.tf-overlay-content { text-align: center; }
.tf-overlay-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: #fff; letter-spacing: 0.04em; line-height: 1; }
.tf-overlay-duration { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin: 0.25rem 0 0.5rem; }
.tf-overlay-badge { display: inline-block; background: var(--ip-green); color: #000; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.transformation-info { padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.tf-member-name { font-weight: 700; font-size: 0.95rem; color: var(--ip-text); }
.tf-duration { font-size: 0.78rem; color: var(--ip-green); font-weight: 600; }

/* Accordion dark theme fix */
.accordion-button { background: var(--ip-bg-surface) !important; color: var(--ip-text) !important; font-weight: 600; font-size: 0.92rem; box-shadow: none !important; }
.accordion-button::after { filter: invert(1); }
.accordion-button:not(.collapsed) { background: var(--ip-bg-surface) !important; color: var(--ip-green) !important; }
.accordion-item { background: var(--ip-bg-surface); border: 1px solid var(--ip-border); border-radius: 12px !important; overflow: hidden; margin-bottom: 0.5rem; }
.accordion-body { background: var(--ip-bg-surface); color: rgba(240, 240, 240, 0.7); font-size: 0.9rem; line-height: 1.7; }
.accordion { --bs-accordion-bg: transparent; }

/* Responsive */
@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .display-hero { font-size: clamp(2.8rem, 12vw, 5rem); }
  .marquee-card { width: 280px; }
}
