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

:root {
  /* Premium Light Theme Colors */
  --bg: #ffffff;
  --bg-offset: #fafafa;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.06);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --container-width: 1200px;

  /* Fonts */
  --font-header: 'Cinzel', serif;
  --font-body: 'Lora', serif;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  background-attachment: fixed;
}

/* Mesh Gradient Simulation */
.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #ffffff;
  background-image:
    radial-gradient(at 0% 0%, hsla(225, 39%, 95%, 1) 0, transparent 50%),
    radial-gradient(at 50% 0%, hsla(225, 39%, 90%, 1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(339, 49%, 95%, 1) 0, transparent 50%);
  opacity: 0.6;
}

/* Geometric Pattern Overlay */
.mesh-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

h1, h2, h3, h4, .club-logo-text {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: 0.3s ease; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

/* Section Overlap Logic */
section:not(:first-child) {
  margin-top: -60px;
  background: transparent;
}

.section-content {
  background: var(--bg);
  padding: 120px 0;
  box-shadow: 0 -20px 40px rgba(0,0,0,0.02);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Full-bleed vs Contained Rhythm */
.full-bleed {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-offset);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
  border: 3px solid var(--bg-offset);
}

/* === NAVIGATION === */
.club-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  height: 80px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.nav-links.left { justify-content: flex-end; padding-right: 3rem; }
.nav-links.right { justify-content: flex-start; padding-left: 3rem; }

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.nav-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

/* === HERO === */
.hero-showcase {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  padding: 0.2em 0;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px -10px var(--accent);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px var(--accent);
}

.btn-primary i {
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(5px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-outline:hover {
  background: var(--accent-light);
  transform: translateY(-4px);
}

/* === GALLERY === */
.gallery-section {
  padding: 0;
  overflow: hidden;
}

.gallery-carousel {
  position: relative;
  height: 600px;
  width: 100%;
}

.carousel-track {
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-image {
  max-height: 550px;
  width: auto;
  max-width: 320px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.2);
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--accent);
  transition: 0.3s;
}

.carousel-btn:hover { background: var(--bg); }
.carousel-btn.prev { left: 5%; }
.carousel-btn.next { right: 5%; }

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.3;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--accent);
  opacity: 1;
  width: 30px;
  border-radius: 10px;
}

/* === STATS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
  font-family: var(--font-header);
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  padding: 3rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
  border-color: var(--accent-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* === REVIEWS === */
.reviews-summary {
  text-align: center;
  margin-bottom: 5rem;
}

.aggregate-badge {
  display: inline-block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.stars-bar {
  max-width: 400px;
  margin: 0 auto;
}

.star-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.bar-bg {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #fbbf24;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--bg-offset);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.review-stars {
  color: #fbbf24;
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-btn {
  width: 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-header);
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text);
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-muted);
}

.faq-content p {
  padding-bottom: 2rem;
}

/* === DOWNLOAD CTA === */
.download-cta {
  text-align: center;
  padding: 154px 0;
}

.cta-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cta-tagline {
  font-size: 1.5rem;
  font-family: var(--font-header);
  margin-bottom: 3rem;
}

/* === FOOTER === */
.footer-cta-box {
  background: var(--gradient-primary);
  color: #fff;
  padding: 5rem 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 5rem;
}

.footer-cta-box h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.main-footer {
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
}

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

.footer-contact {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-link:hover {
  background: var(--accent);
  color: #fff;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  flex: 1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .section-content { padding: 60px 0; }

  .menu-toggle { display: block; }
  .nav-links { display: none; }

  .hero-title { font-size: 3.5rem; }
  .stats-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cta-box h2 { font-size: 2rem; }

  .nav-inner { justify-content: space-between; }
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    gap: 1.5rem;
    text-align: center;
  }

  .nav-inner > * { flex: none; }
}
