/* ============================================================
   Human Hobbies — Premium Design System
   A clean, modern wellness aesthetic inspired by Evra Health.
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Yellowtail&family=Caveat+Brush&family=Caveat:wght@600;700&family=Birthstone&family=Birthstone+Bounce&family=Bad+Script&family=Bonbon&display=swap');

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Brand palette */
  --primary:        #004D33;
  --primary-light:  #006B47;
  --primary-dark:   #003825;
  --gold:           #CBA135;
  --gold-light:     #d4b04e;
  --cream:          #f9f6f0;

  /* Neutrals */
  --bg:             #f9f6f0;
  --bg-dark:        #0a0a0a;
  --text:           #1a1a2e;
  --text-light:     #6b7280;
  --text-muted:     #9ca3af;
  --white:          #ffffff;
  --border:         #e5e7eb;

  /* Elevation */
  --shadow:         0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md:      0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg:      0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl:      0 25px 50px -12px rgba(0, 0, 0, 0.15);

  /* Radii */
  --radius:         16px;
  --radius-sm:      10px;
  --radius-xs:      6px;
  --radius-full:    9999px;

  /* Motion */
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:all 0.15s ease;

  /* Layout */
  --max-width:      96%;
  --nav-height:     80px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Oxygen, Ubuntu, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: #f9f6f0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: #ffd966;
  color: #102a1f;
}

::-moz-selection {
  background-color: var(--primary);
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: rgba(0, 77, 51, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--gold);
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   5. GLASSMORPHISM NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--cream);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--cream);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-container,
.navbar .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo,
.navbar-brand,
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img,
.navbar-brand img,
.nav-brand img {
  height: 42px;
  width: auto;
}

.nav-logo span,
.navbar-brand span,
.nav-brand span,
.mobile-menu-logo h3 {
  font-family: 'Kaushan Script', cursive !important;
  font-size: 1.8rem;
  font-weight: 400 !important;
  color: var(--primary) !important;
  text-shadow: none !important;
  letter-spacing: 0;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.nav-link {
  position: relative;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-xs);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(0, 77, 51, 0.07);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-cta .btn-primary {
  padding: 10px 24px;
  font-size: 0.85rem;
}

@media (min-width: 1025px) and (max-width: 1300px) {
  .nav-links {
    gap: 4px;
  }
  .nav-link {
    padding: 4px 6px;
    font-size: 0.75rem;
  }
  .nav-logo span,
  .navbar-brand span,
  .nav-brand span {
    font-size: 1.4rem !important;
  }
  .nav-logo img,
  .navbar-brand img,
  .nav-brand img {
    height: 32px;
  }
}

/* ── Hamburger toggle ──────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  position: relative;
  z-index: 1100;
}

.menu-toggle:hover {
  background: rgba(0, 77, 51, 0.06);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
  margin-bottom: 6px;
}

.menu-toggle span:nth-child(3) {
  margin-top: 6px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* â”€â”€ Mobile menu â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  padding: 100px 32px 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .nav-link::after {
  display: none;
}

.mobile-menu .nav-link:last-child {
  border-bottom: none;
}

.mobile-menu .btn-primary {
  width: 100%;
  margin-top: 24px;
  text-align: center;
  display: block;
}

/* Overlay behind mobile menu */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 77, 51, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 77, 51, 0.25);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(203, 161, 53, 0.3);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-white:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   7. CARDS
   ============================================================ */

/* â”€â”€ Base card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0, 77, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* â”€â”€ Feature card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card .card-icon {
  margin: 0 auto 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.6rem;
}

.feature-card .card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.feature-card .card-text {
  font-size: 0.85rem;
}

/* â”€â”€ Pricing card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card .pricing-badge {
  display: none;
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(203, 161, 53, 0.15);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-card.featured .pricing-badge {
  display: inline-block;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 20px;
  border-radius: var(--radius-full);
}

.pricing-plan {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li .check {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* â”€â”€ Program card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-card-body {
  padding: 28px;
}

.program-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(0, 77, 51, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.program-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.program-card-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.program-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.program-card-link:hover {
  gap: 10px;
}

/* â”€â”€ Testimonial card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
}

.testimonial-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: linear-gradient(160deg, var(--white) 0%, var(--cream) 50%, rgba(0, 77, 51, 0.03) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 77, 51, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 161, 53, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-app-badge {
  height: 64px;
  width: auto;
  transition: transform 0.3s ease;
}

.hero-app-badge:hover {
  transform: translateY(-4px);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.hero-stat p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.1));
}

/* Decorative floating element */
.hero-float {
  position: absolute;
  border-radius: var(--radius);
  /* background removed (removed for full cream flow) */
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.hero-float-1 {
  top: 20%;
  right: -20px;
}

.hero-float-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: -3s;
}

/* ============================================================
   9. FORMS
   ============================================================ */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--text);
  /* background removed */
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 77, 51, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 6px;
}

.form-success {
  font-size: 0.78rem;
  color: var(--primary);
  margin-top: 6px;
}

/* â”€â”€ Auth pages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--bg) 100%);
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.auth-card .auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card .auth-logo img {
  height: 48px;
  margin: 0 auto 12px;
}

.auth-card .auth-logo h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 4px;
}

.auth-card .auth-logo p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.auth-card .btn-primary {
  width: 100%;
  padding: 16px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
}

.auth-divider span {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* OTP input group */
.otp-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.otp-group input {
  width: 52px;
  height: 56px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.otp-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 77, 51, 0.1);
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(249, 246, 240, 0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand .footer-logo img {
  height: 40px;
  
}

.footer-brand .footer-logo span {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-column h4 {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: none;
  letter-spacing: normal;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.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 {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ============================================================
   11. UTILITY CLASSES
   ============================================================ */

/* Text alignment */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

/* Text colors */
.text-primary { color: var(--primary) !important; }
.text-gold    { color: var(--gold) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-light   { color: var(--text-light) !important; }
.text-white   { color: var(--primary) !important; }

/* Backgrounds */
.bg-cream     { background-color: var(--cream); }
.bg-white     { background-color: var(--primary); }
.bg-dark      { background-color: var(--bg-dark); }
.bg-primary   { background-color: var(--primary); }

/* Margins â€” top */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 64px; }

/* Margins â€” bottom */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 64px; }

/* Padding */
.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 40px; }
.pt-5 { padding-top: 64px; }

.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 40px; }
.pb-5 { padding-bottom: 64px; }

/* Display */
.d-none       { display: none; }
.d-block      { display: block; }
.d-flex       { display: flex; }
.d-inline     { display: inline; }
.d-inline-block { display: inline-block; }

/* Misc */
.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.overflow-hidden { overflow: hidden; }

/* ============================================================
   12. ANIMATIONS
   ============================================================ */

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Scroll reveal helper */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Named delay utilities */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Fade-in class (immediate animation) */
.fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ============================================================
   13. SPECIAL SECTIONS
   ============================================================ */

/* â”€â”€ Stats section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats-section {
  padding: 80px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--primary);
  margin-bottom: 0;
}

/* â”€â”€ CTA section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(203, 161, 53, 0.08);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 1025px) {
  .cta-buttons {
    gap: 32px;
  }
}

/* â”€â”€ Testimonials section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.testimonials-section {
  padding: 100px 0;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* â”€â”€ Pricing section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pricing-section {
  padding: 100px 0;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-toggle span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-toggle span.active {
  color: var(--primary);
  font-weight: 600;
}

/* â”€â”€ Features section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.features-section {
  padding: 100px 0;
  /* background removed (removed for full cream flow) */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* â”€â”€ About / Info split â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.split-content .section-label {
  margin-bottom: 16px;
}

.split-content h2 {
  margin-bottom: 16px;
}

.split-content p {
  margin-bottom: 24px;
}

/* Checklist style for feature lists */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--text-light);
}

.check-list li .icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 77, 51, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* â”€â”€ FAQ / Accordion â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  /* background removed */
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0, 77, 51, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 77, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* â”€â”€ Contact section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 77, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-form-card {
  /* background removed */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

/* â”€â”€ App badge / download buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.app-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  color: var(--primary);
  transition: var(--transition);
}

.app-badge:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.app-badge .badge-icon {
  font-size: 1.5rem;
}

.app-badge .badge-text small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.7;
  line-height: 1;
}

.app-badge .badge-text span {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

/* â”€â”€ Page header (for inner pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--bg) 100%);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  color: var(--text-muted);
}

/* â”€â”€ Scrollbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* â”€â”€ Reduced motion preference â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}





/* ============================================================
   BACKGROUND UNIFICATION OVERRIDE — keeps all pages cream
   ============================================================ */
html,
body {
  background-color: var(--cream) !important;
}

/* Remove any white backgrounds from full-width page sections */
section,
.section,
.features-section,
.stats-section,
.about-section,
.about-section--white,
.hobby-discovery,
.membership-preview,
.comparison-section,
.programs-section,
.community-section,
.contact-section,
.map-section,
.page-header,
.page-hero,
.features-hero,
.why-join,
.testimonials-section,
.faq-section,
.legal-section,
.delete-section {
  background: transparent !important;
  /* Inherits cream from body */
}

/* ============================================================
   RESTORE CTA SECTION BACKGROUND ON DESKTOP
   ============================================================ */
@media (min-width: 769px) {
  .cta-section,
  .about-cta,
  .final-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%) !important;
  }
}

/* ============================================================
   DESKTOP TEXT COLOR FIX (White text to Green on Cream Backgrounds)
   ============================================================ */
@media (min-width: 769px) {
  /* All headings, subtitles, and descriptions that were originally white, make them green */
  .hero-title,
  .hero-subtitle,
  .hero p,
  .page-hero h1,
  .page-hero p,
  .features-hero h1,
  .features-hero p,
  .about-hero h1,
  .about-hero p,
  .about-hero__subtitle,
  .membership-hero-text h1,
  .contact-hero h1,
  .contact-hero p,
  .section-header h2,
  .section-header h3,
  .section-title,
  .section-subtitle,
  .section-description,
  .story-section p,
  .programs-section p,
  .community-hero h1,
  .community-hero p {
    color: var(--primary) !important;
  }
  
  /* Outline / Secondary buttons that were white */
  .btn-secondary,
  .btn-outline,
  .btn-outline-light {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
  }
  
  .btn-secondary:hover,
  .btn-outline:hover,
  .btn-outline-light:hover {
    color: var(--cream) !important;
    background: var(--primary) !important;
  }

  /* Exclude elements that are inside TRULY dark sections on desktop (like CTA and Footer) */
  .footer *,
  .cta-section h2,
  .cta-section p,
  .cta-section .section-title,
  .cta-section .section-label,
  .cta-section .btn-secondary,
  .cta-section .btn-outline,
  .final-cta h2,
  .final-cta p,
  .final-cta .section-title,
  .final-cta .section-label,
  .final-cta .btn-outline-white,
  .about-cta h2,
  .about-cta p,
  .about-cta .about-cta__title,
  .about-cta .about-cta__subtitle,
  [class*="dark"] h1,
  [class*="dark"] h2,
  [class*="dark"] p {
    color: #ffffff !important;
  }
  
  /* Footer special column headers */
  .footer h4[style*="6C5CE7"],
  .footer-column h4,
  h4[style*="6C5CE7"] {
    color: #ffffff !important;
  }
}

/* ============================================================
   FORCE NAVBAR UNIFICATION ON DESKTOP (Overrides inline page styles)
   ============================================================ */
@media (min-width: 769px) {
  .navbar {
    background: var(--cream) !important;
  }
  .navbar.scrolled {
    background: var(--cream) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06) !important;
  }
  .navbar .nav-link {
    color: var(--text) !important;
    background: transparent !important;
  }
  .navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--green) !important;
    background: rgba(0, 77, 51, 0.06) !important;
  }
  .navbar .nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
  }
  .navbar .nav-cta:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
  }
}
/* ============================================================
   GLOBAL TEXT COLOR FIX FOR DARK SECTIONS (Mobile & Desktop)
   ============================================================ */
.footer *,
.cta-section h2,
.cta-section p,
.cta-section .section-title,
.cta-section .section-label,
.cta-section .btn-secondary,
.cta-section .btn-outline,
.final-cta h2,
.final-cta p,
.final-cta .section-title,
.final-cta .section-label,
.final-cta .btn-outline-white,
.about-cta h2,
.about-cta p,
.about-cta .about-cta__title,
.about-cta .about-cta__subtitle {
  color: #ffffff !important;
}

.cta-section .section-label,
.final-cta .section-label {
  background-color: #004D33 !important;
}

[class*="dark"] h1,
[class*="dark"] h2,
[class*="dark"] p {
  color: #1a1a2e !important;
}

.footer h4[style*="6C5CE7"],
.footer-column h4,
h4[style*="6C5CE7"] {
  color: #ffffff !important;
}

/* User request: Remove login button globally */
.nav-cta,
.mobile-menu a[href="login.html"],
.mobile-menu a[href*="login"] {
  display: none !important;
}

/* User request: Make logo clear in desktop view */
@media (min-width: 1025px) {
  .navbar-brand img,
  .nav-brand img,
  .nav-logo img {
    /* Removed mix-blend-mode as it causes shadow artifacts */
  }
}

/* Fix logo blurriness and shadows */
img[src*='logo'], img[src*='auth_center_icon'] {
  image-rendering: high-quality;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

/* ============================================================
   DESKTOP GRID RESTORE — force correct multi-column layouts
   on screens wider than 1024px
   ============================================================ */
@media (min-width: 1025px) {
  .features-grid,
  .feature-cards {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }

  .hobby-grid,
  .hobby-cards {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }

  .stats-grid,
  .stat-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .programs-grid,
  .program-cards {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }

  .categories-grid,
  .category-cards,
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }

  /* Compact card sizes on desktop */
  .feature-card {
    padding: 28px 24px !important;
  }

  .hobby-card {
    padding: 32px 24px !important;
  }

  .feature-emoji {
    font-size: 2.5rem !important;
    margin-bottom: 14px !important;
  }

  .hobby-emoji {
    font-size: 2.5rem !important;
    margin-bottom: 14px !important;
  }

  .feature-card h3,
  .hobby-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }

  .feature-card p,
  .hobby-card p {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }
}

/* FAILSAFE: Absolutely remove all decorative background gradients, bubbles, and shadows site-wide on mobile */
@media (max-width: 768px) {
  /* Hide all decorative bubbles on all pages, including custom page heroes */
  [class*="hero"]::before, [class*="hero"]::after,
  section::before, section::after,
  main::before, main::after,
  footer::before, footer::after,
  header::before, header::after {
    display: none !important;
    background-image: none !important;
    background: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
  }
  
  /* Force all major sections to be solid biscuit without gradients */
  body, main, section:not(.footer), header, 
  .hero, .about-hero, .programs-hero, .contact-hero, .membership-hero, .page-hero, .legal-hero,
  .section:not(.footer), .cta-section, .stats-section, .impact-section, 
  .community-preview, .final-cta {
    background-image: none !important;
    background-color: var(--bg) !important;
    box-shadow: none !important;
    border: none !important;
  }
  
  /* Reduce massive empty spaces on mobile caused by old padding for deleted bubbles */
  section:not(.footer), .section:not(.footer), .cta-section, .stats-section, .impact-section, .community-preview, .final-cta, .stats, .features, .pricing {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .hero, .about-hero, .programs-hero, .contact-hero, .membership-hero, .page-hero, .legal-hero {
    padding-top: 100px !important;
    padding-bottom: 40px !important;
  }
  
  /* Reset the footer to its original dark green styling */
  .footer, footer {
    background: #004D33 !important;
    background-color: #004D33 !important;
    padding-top: 40px !important;
  }
}


/* Fix flex layout overlapping for 3-item space-between navbar */
@media (min-width: 1025px) {
  .nav-links {
    margin-left: auto !important;
    margin-right: 20px !important;
  }
}

/* Force smaller nav links on desktop to fit all 9 links without clipping */
@media (min-width: 1025px) {
  .nav-links { gap: 6px !important; }
  .nav-link { padding: 4px 8px !important; font-size: 0.8rem !important; }
}

/* Shared app-store calls to action */
.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.store-badges a {
  display: inline-flex;
  border-radius: 8px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.store-badges a:hover,
.store-badges a:focus-visible {
  opacity: 0.9;
  transform: translateY(-2px);
}

.store-badges img {
  display: block;
  width: 150px;
  height: 48px;
  object-fit: contain;
}

/* Community-style Learn More button shared by every page */
.learn-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 16px 40px !important;
  background: linear-gradient(135deg, #cba135, #e8c75a) !important;
  color: #0a0a0a !important;
  border: 2px solid #cba135 !important;
  border-radius: 100px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.learn-more-btn:hover,
.learn-more-btn:focus-visible {
  background: linear-gradient(135deg, #d4ac3a, #f0d36b) !important;
  border-color: #d4ac3a !important;
  color: #0a0a0a !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 32px rgba(203, 161, 53, 0.45) !important;
}

/* Brand accents for the new homepage social buttons */
.hero-social-btn i {
  font-size: 1.15rem;
}

.hero-social-btn--x i {
  color: #ffffff;
}

.hero-social-btn--youtube i {
  color: #ff0000;
}

/* Tighter vertical rhythm between content sections */
.section,
.about-section,
.story-section,
.mission-section,
.values-section,
.why-join-section,
.features-section,
.programs-section,
.community-section,
.stats-section,
.stats,
.features,
.hobby-discovery,
.community-preview,
.testimonials,
.pricing-section,
.testimonials-section,
.cta-section,
.final-cta,
.about-cta {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}

.contact-section,
.faq-section {
  padding-bottom: 52px !important;
}

.section-header,
.section-header-center {
  margin-bottom: 36px !important;
}

.hero {
  min-height: auto !important;
  padding-top: 130px !important;
  padding-bottom: 60px !important;
}

.about-hero,
.features-hero,
.programs-hero,
.contact-hero,
.membership-hero,
.page-hero,
.legal-hero {
  padding-top: 130px !important;
  padding-bottom: 60px !important;
}

@media (max-width: 768px) {
  .section,
  .about-section,
  .story-section,
  .mission-section,
  .values-section,
  .why-join-section,
  .features-section,
  .programs-section,
  .community-section,
  .stats-section,
  .stats,
  .features,
  .hobby-discovery,
  .community-preview,
  .testimonials,
  .pricing-section,
  .testimonials-section,
  .cta-section,
  .final-cta,
  .about-cta {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .contact-section,
  .faq-section {
    padding-bottom: 36px !important;
  }

  .section-header,
  .section-header-center {
    margin-bottom: 28px !important;
  }

  .hero,
  .about-hero,
  .features-hero,
  .programs-hero,
  .contact-hero,
  .membership-hero,
  .page-hero,
  .legal-hero {
    min-height: auto !important;
    padding-top: 105px !important;
    padding-bottom: 40px !important;
  }

  .store-badges img {
    width: 138px;
    height: 44px;
  }
}
