/* Base resets that may be needed for mobile nav */
* { box-sizing: border-box; }
:root {
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-text: #1f1f1f;
  --color-muted: #5a5a5a;
  --color-border: #d8d2cf;
  --color-primary: #c13a34; /* unified red */
  --color-primary-contrast: #ffffff;
  --color-dark: #0f0f0f;
  --color-light: #eaeaea;
  --color-accent: #c01a1a; 
}
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--color-text); background: var(--color-bg); }

/* Header / Mobile Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(231, 49, 49, 0.08);
}

.mobile-nav {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
}

/* Back arrow for training pages */
.back-arrow {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 40px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 700;
}

#navToggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
}

#navToggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--color-text);
  border-radius: 2px;
}

.brand {
  justify-self: center;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-text);
  font-size: 14px;
}

.nav-spacer { width: 48px; height: 1px; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 999;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 78%;
  max-width: 320px;
  background: var(--color-surface);
  box-shadow: 8px 0 24px rgba(0,0,0,0.18);
  transform: translateX(-105%);
  transition: transform 220ms ease;
  padding-top: 56px; /* space for header */
  display: flex;
  flex-direction: column;
  z-index: 1000;
  pointer-events: auto;
}

.mobile-menu.open { transform: translateX(0); }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 8px 12px 0;
  flex: 1 1 auto;
  overflow-y: auto;
}

.menu-item { 
  margin: 8px 0; 
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
}

.menu-item.home,
.menu-item.training {
  background: #f5f5f5;
}

.menu-link {
  display: block;
  padding: 16px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 20px;
  transition: background-color 150ms ease;
  cursor: pointer;
  position: relative;
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

.menu-link:hover {
  background: rgba(0,0,0,0.02);
}

.menu-link:active, .menu-link:focus { 
  background: rgba(0,0,0,0.04); 
}

.menu-link .arrow { 
  opacity: 0.6; 
  margin-left: 8px;
  flex-shrink: 0;
}

.menu-socials {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: auto;
}

.menu-socials .social { color: var(--color-text); text-decoration: none; }
.menu-socials .social:active { opacity: 0.7; }
.menu-socials svg { width: 34px; height: 34px; }

/* Close button for mobile menu */
.menu-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--color-text);
}

/* Simple button styles used elsewhere */
.btn { cursor: pointer; }

/* Pricing section (cards) */
.pricing-section { background: var(--color-surface); padding: 12px 0 20px; }
.pricing-inner { max-width: 500px; margin: 0 auto; padding: 0 12px; }
.section-h { text-align: center; font-weight: 800; margin: 10px 0 12px; font-size: 36px; letter-spacing: 0.02em; }
.card-list { display: grid; gap: 16px; }

.pricing-card {
  border: 2px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  padding: 22px 16px; /* more breathing room */
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.pricing-card-header { display: grid; justify-items: center; gap: 4px; margin-bottom: 10px; }
.plan-title { margin: 0; font-weight: 800; font-size: 22px; color: var(--color-text); }
.price { font-weight: 900; color: var(--color-text); }
.price .amount { font-size: 36px; margin-right: 2px; color: var(--color-primary); }
.price .per { font-size: 12px; opacity: 0.7; }
.feature-list { margin: 10px 0 22px; padding-left: 20px; color: #333; line-height: 1.8; }

.pricing-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
.btn-primary-red { display: block; width: 100%; text-align: center; text-decoration: none; padding: 14px 14px; border-radius: 8px; background: var(--color-primary); color: var(--color-primary-contrast); font-weight: 800; transition: transform 160ms ease, box-shadow 160ms ease; }
.btn-primary-red:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(193,58,52,0.25); }
.btn-dark { display: block; width: 100%; text-align: center; text-decoration: none; padding: 14px 14px; border-radius: 8px; background: #2b2b2b; color: #fff; font-weight: 800; }

/* About section */
.about-section { background: #f7f7f7; padding: 24px 0 36px; min-height: 48vh; display: grid; align-items: center; }
.about-inner { max-width: 480px; margin: 0 auto; padding: 0 12px; }
.about-header { text-align: center; margin-bottom: 12px; }
.about-text { color: #2c2c2c; line-height: 1.85; margin: 0 0 18px; text-align: center; letter-spacing: 0.08em; opacity: 0; transform: translateY(30px); transition: opacity 1000ms ease, transform 1000ms ease; }
.about-text.in-view { opacity: 1; transform: translateY(0); }
.about-cta { display: grid; justify-items: center; }

/* Testimonials - modernized */
.testimonials-section {
  background: linear-gradient(180deg, #0b0b0c 0%, #17181a 60%, #1e1f22 100%);
  color: var(--color-light);
  padding: 36px 0 48px;
  display: grid;
  align-items: center;
}
.testimonials-inner { max-width: 560px; margin: 0 auto; padding: 0 16px; text-align: center; }
.section-h.light { color: var(--color-light); background: linear-gradient(90deg, #fff, #ffefe6); -webkit-background-clip: text; background-clip: text; color: transparent; }

.testimonial-card {
  margin-top: 12px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px) saturate(120%);
}
.testimonial-quote { margin: 10px 0 12px; }
.testimonial-quote p { font-size: 16px; line-height: 1.7; margin: 0 0 8px; }
.testimonial-quote footer { color: var(--color-accent); font-weight: 800; letter-spacing: 0.04em; }
.testimonial-controls { display: flex; justify-content: center; gap: 18px; padding-top: 14px; }
.t-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.24); background: rgba(255,255,255,0.06); color: #fff; font-size: 20px; transition: transform 160ms ease, background 160ms ease; }
.t-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.12); }

/* Contact section - Modern Light Theme */
.contact-section { 
  position: relative; 
  overflow: hidden; 
  padding: 80px 0; 
  color: #333; 
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #f1f3f4 50%, #f8f9fa 75%, #ffffff 100%);
}

.contact-section.contact-neo::before { 
  content: ""; 
  position: absolute; 
  inset: -50%; 
  background: 
    radial-gradient(800px 400px at 20% 0%, rgba(193, 58, 52, 0.08), transparent 60%),
    radial-gradient(600px 300px at 80% 100%, rgba(193, 58, 52, 0.06), transparent 60%),
    radial-gradient(400px 200px at 50% 50%, rgba(193, 58, 52, 0.04), transparent 60%);
  filter: blur(20px); 
  animation: floatGlow 15s ease-in-out infinite alternate; 
}

@keyframes floatGlow { 
  0% { transform: translateY(0) rotate(0deg); } 
  50% { transform: translateY(-20px) rotate(180deg); } 
  100% { transform: translateY(0) rotate(360deg); } 
}

.contact-inner { 
  position: relative; 
  max-width: 1000px; 
  margin: 0 auto; 
  padding: 0 24px; 
  z-index: 1; 
  text-align: center; 
}

.contact-header {
  margin-bottom: 48px;
}

.contact-title-gradient {
  font-size: 64px;
  font-weight: 900;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, #333333 0%, #c13a34 50%, #333333 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 20px rgba(193, 58, 52, 0.2)); }
  100% { filter: drop-shadow(0 0 40px rgba(193, 58, 52, 0.4)); }
}

.contact-subtitle {
  font-size: 20px;
  color: rgba(51, 51, 51, 0.8);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Enhanced Floating Particles */
.contact-particles { 
  pointer-events: none; 
  position: absolute; 
  inset: 0; 
  overflow: hidden; 
  z-index: 0; 
}

.particle { 
  position: absolute; 
  width: 12px; 
  height: 12px; 
  border-radius: 50%; 
  background: linear-gradient(45deg, #c13a34, #e8e8e8);
  filter: blur(2px); 
  animation: enhancedDrift 20s cubic-bezier(.22,.61,.36,1) infinite; 
  opacity: 0.4;
}

.particle.p2 { 
  width: 16px; 
  height: 16px; 
  left: 20%; 
  animation-duration: 25s; 
  animation-delay: -8s; 
  background: linear-gradient(45deg, #e8e8e8, #c13a34);
}

.particle.p3 { 
  width: 8px; 
  height: 8px; 
  left: 70%; 
  animation-duration: 18s; 
  animation-delay: -12s; 
  background: linear-gradient(45deg, #c13a34, #e8e8e8);
}

@keyframes enhancedDrift { 
  0% { transform: translateY(110%) translateX(-10%) rotate(0deg); opacity: 0; } 
  25% { opacity: 0.6; }
  50% { transform: translateY(40%) translateX(10%) rotate(180deg); } 
  75% { opacity: 0.6; }
  100% { transform: translateY(-20%) translateX(-10%) rotate(360deg); opacity: 0; } 
}

/* Modern Contact Grid */
.contact-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 32px; 
  max-width: 800px;
  margin: 0 auto;
}

/* Glassmorphism Contact Cards */
.contact-card.glassmorphism { 
  position: relative; 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 24px; 
  border-radius: 24px; 
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(193, 58, 52, 0.2); 
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(193, 58, 52, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  color: #333; 
  text-decoration: none;
  transition: all 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.contact-card.glassmorphism:hover { 
  transform: translateY(-12px) rotateX(5deg) rotateY(-3deg) scale(1.02); 
  box-shadow: 
    0 25px 80px rgba(193, 58, 52, 0.15),
    0 0 0 1px rgba(193, 58, 52, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.95);
}

.contact-card.glassmorphism:active { 
  transform: translateY(-4px) scale(0.98); 
  transition: all 150ms ease;
}

/* Card Icon */
.card-icon {
  font-size: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 300ms ease;
}

.contact-card.glassmorphism:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Card Content */
.card-content {
  text-align: center;
  flex: 1;
}

.card-title { 
  margin: 0 0 12px 0; 
  font-size: 24px; 
  font-weight: 800; 
  color: #333;
  letter-spacing: 0.02em;
}

.card-description { 
  margin: 0 0 16px 0; 
  color: rgba(51, 51, 51, 0.8);
  font-size: 16px;
  line-height: 1.5;
}

.card-highlight { 
  color: #c13a34; 
  font-weight: 900; 
  text-decoration: none;
  font-size: 18px;
  background: rgba(193, 58, 52, 0.1);
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-block;
  border: 1px solid rgba(193, 58, 52, 0.3);
  transition: all 300ms ease;
}

.contact-card.glassmorphism:hover .card-highlight {
  background: rgba(193, 58, 52, 0.15);
  border-color: rgba(193, 58, 52, 0.5);
  transform: scale(1.05);
}

/* Shimmer Effect */
.shimmer-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(193, 58, 52, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.contact-card.glassmorphism:hover .shimmer-effect {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-title-gradient {
    font-size: 48px;
  }
  
  .contact-subtitle {
    font-size: 18px;
  }
  
  .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 24px;
    padding: 0 16px;
  }
  
  .contact-card.glassmorphism {
    padding: 24px 20px;
  }
  
  .card-icon {
    font-size: 40px;
  }
  
  .card-title {
    font-size: 20px;
  }
}

/* Footer (modern) */
.footer-dark { background: linear-gradient(180deg, #0e0f12 0%, #131417 100%); color: var(--color-light); }
.footer-dark .footer-inner { max-width: 720px; margin: 0 auto; padding: 20px 16px; }
.footer-modern { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 32px; 
}
.footer-brand { 
  font-weight: 900; 
  letter-spacing: 0.08em; 
  text-align: center; 
  font-size: 18px;
  margin-bottom: 8px;
}
.footer-columns { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 48px; 
  justify-content: center; 
  max-width: 500px; 
  margin: 0 auto; 
  padding: 0 20px;
}
.footer-col h4 { 
  margin: 0 0 16px 0; 
  font-size: 16px; 
  opacity: 0.9; 
  text-align: center; 
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-links { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  text-align: center; 
}
.footer-links li { 
  margin: 12px 0; 
  line-height: 1.4;
}
.footer-links a { 
  color: var(--color-light); 
  text-decoration: none; 
  opacity: 0.9; 
  transition: all 200ms ease;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}
.footer-links a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.footer-legal { 
  text-align: center; 
  opacity: 0.7; 
  font-size: 12px; 
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.social-row { display: flex; gap: 18px; padding: 8px 0 0; justify-content: center; }
.social-row a { color: var(--color-light); opacity: 0.9; transition: opacity 160ms ease, transform 160ms ease; }
.social-row a:hover { opacity: 1; transform: translateY(-1px); }

/* Instagram logo visibility fix */
.social svg[viewBox="0 0 24 24"] path {
  fill: currentColor;
}

