/* Evolution Tennis Academy - Additional Styles */
/* Core styles are inline in each HTML file for performance */
/* This file can hold any additional overrides */

/* ── Responsive fixes ── */
@media (max-width: 768px) {
  .responsive-stack {
    grid-template-columns: 1fr !important;
  }
  .hour-breakdown {
    grid-template-columns: 70px 1fr;
  }
  .compare-table {
    font-size: 0.78rem;
  }
  .compare-table th,
  .compare-table td {
    padding: 8px 10px;
  }
}

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 50%, var(--green-700) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.page-hero .lead {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  max-width: 640px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }

/* ── Sections ── */
.section-light { background: var(--gray-100); }
.section-dark { background: var(--green-900); }
.section-pad { padding: 96px 0; }
.text-white { color: white !important; }
.text-center { text-align: center; }
.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--charcoal);
}
.btn-primary:hover { background: var(--gold-400); color: var(--charcoal); transform: translateY(-2px); }
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.2);
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); color: white; }
.btn-green {
  background: var(--green-600);
  color: white;
}
.btn-green:hover { background: var(--green-500); color: white; transform: translateY(-2px); }
.btn-outline-green {
  background: transparent;
  color: var(--green-600);
  border-color: var(--green-600);
}
.btn-outline-green:hover { background: var(--green-600); color: white; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; border-radius: 8px; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13,46,26,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,175,55,0.1);
  transition: box-shadow 0.3s;
}
.nav-scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-top { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; color: var(--gold-400); text-transform: uppercase; }
.nav-logo-name { font-size: 0.88rem; font-weight: 900; color: white; letter-spacing: -0.01em; }
.nav-logo-name .evol { color: var(--gold-400); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 12px;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.07); }
.nav-cta a {
  background: var(--gold-500) !important;
  color: var(--charcoal) !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
}
.nav-cta a:hover { background: var(--gold-400) !important; transform: translateY(-1px); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--green-900);
  padding: 80px 32px 40px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.08); color: white; }
.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* ── Footer ── */
.footer {
  background: var(--green-900);
  padding: 64px 0 0;
  border-top: 3px solid var(--gold-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.7; margin-bottom: 8px; }
.formerly { color: rgba(255,255,255,0.35) !important; font-size: 0.78rem !important; }
.footer h4 { color: var(--gold-400); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.5; }
.footer-contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.78rem; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--gold-500); color: var(--charcoal); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-in { opacity: 0; transition: opacity 0.6s; }
.fade-in.visible { opacity: 1; }
.stagger-child { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
.stagger-child.visible { opacity: 1; transform: none; }

/* ── Pricing Cards ── */
.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  background: var(--green-900);
  border-color: var(--green-700);
  color: white;
}
.pricing-card.featured .pricing-price { color: var(--gold-400); }
.pricing-duration { font-size: 0.82rem; font-weight: 700; color: var(--gray-500); margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 900; color: var(--green-700); line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: 1.5rem; vertical-align: top; margin-top: 8px; }
.pricing-savings { background: var(--green-100); color: var(--green-700); font-size: 0.72rem; font-weight: 800; padding: 4px 12px; border-radius: 99px; letter-spacing: 0.05em; margin-bottom: 8px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
}
.faq-icon { flex-shrink: 0; font-size: 1.2rem; color: var(--gold-500); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 0 18px; color: var(--gray-600); font-size: 0.92rem; line-height: 1.75; }

/* ── Stats Grid ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Stripe button hover effects ── */
a[href*="buy.stripe.com"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
