:root {
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --accent: #e11d48;
  --accent-orange: #f97316;
  --teal: #0d9488;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 10px 25px -5px rgba(30, 58, 138, 0.12);
  --shadow-lg: 0 20px 40px -15px rgba(30, 58, 138, 0.2);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Circular Center Crop for the Generated Logo */
.logo-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--primary-light);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
  background: #fff;
  flex-shrink: 0;
}

.logo-wrapper.hero-logo {
  width: 150px;
  height: 150px;
  border-width: 4px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.club-logo-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Zooms in to capture only the circular center badge */
  transform: scale(1.22);
  transition: var(--transition);
}

.logo-wrapper:hover .club-logo-crop {
  transform: scale(1.28) rotate(3deg);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
  background: rgba(37, 99, 235, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-light);
  border: 1.5px solid var(--border-color);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--primary-light);
  background: #eff6ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-orange));
  color: #fff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at top right, #1e40af, #0f172a);
  color: #fff;
  padding: 5rem 5% 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.hero h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-slogan {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #93c5fd;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-header h3 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

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

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.card p, .card li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

/* Stats Counter Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Filter Tabs for 24 Sessions */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.session-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.stage-1 { background: #dbeafe; color: #1e40af; }
.stage-2 { background: #fce7f3; color: #9d174d; }
.stage-3 { background: #fef3c7; color: #92400e; }
.stage-4 { background: #d1fae5; color: #065f46; }

.session-product {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

/* Interactive QTEC Passport Simulator */
.passport-box {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.passport-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.passport-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.passport-item input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-orange);
  cursor: pointer;
}

.points-pill {
  background: var(--accent-orange);
  color: #fff;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Google Form Iframe Container */
.iframe-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.google-form-iframe {
  width: 100%;
  min-height: 780px;
  border: none;
  border-radius: 12px;
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 5% 2rem;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: #1877f2;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: var(--transition);
}

.fb-link:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
}
