* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #86db7f 0%, #0a7710 100%);
    color: white;
    padding: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0px;
}

/* Navigation Tabs */
nav {
    display: flex;
    gap: 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: #00d4ff;
}

nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: #00d4ff;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: white;
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #86db7f 0%, #0a7710 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
  padding: 10px 30px;
  margin: 0 10px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  line-height: 0.6;
  transition: background 0.2s ease;
}
.cta-button:hover {
  background-color: #256628;
}
/* Smaller text for first line */
.btn-small {
  font-size: 12px;
  font-weight: 400;
  display: block;
  margin: 0px;
  padding-bottom: 0px;
}
/* Larger text for second line */
.btn-large {
  font-size: 20px;
  font-weight: 400;
  display: block;
  margin: 0px;
  padding-top: 0px;
}
/* Store Badges */
.store-badge {
  width: 160px;
  max-width: 80%;      /* scales on smaller screens */
  height: auto;
  transition: transform 0.2s ease;
  vertical-align: top;
}

.store-badge:hover {
  transform: scale(1.05);
}

/* =========================
   Features Grid
========================= */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

/* ✅ If there are EXACTLY 4 cards → force 2x2 */
.features:has(.feature-card:nth-child(4):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

/* Tablet fallback */
@media (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Feature Cards
========================= */

.feature-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #66ea8e;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #7cd15b;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* =========================
   Feature Typography
========================= */

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #7cd15b;
}

.feature-card p {
  color: #666666;
  line-height: 1.6;
}
/* =========================
   Pricing Cards with Popups
========================= */
.pricing-card {
  position: relative;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  border-left: 4px solid #66ea8e;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer; /* optional, shows hover */
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Price popup */
.price-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #5acf5e;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-10px);
  z-index: 10;
}

/* Show price on card hover */
.pricing-card:hover .price-popup {
  opacity: 1;
  transform: translateY(0);
}

/* Bottom popup for Coaches card */
.coaches-card {
  position: relative;
}

/* Hidden by default */
.bottom-popup {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #a81a07;
  color: #ffffff;
  padding: 2px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
  font-weight: 600;
}

/* Show popup on hover */
.coaches-card:hover .bottom-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Optional hover effect on the link itself */
.bottom-popup:hover {
  background: #2f7d32;
  color: #ffffff;
  text-decoration: underline;
}

/* =========================
   Tab Content Styles
========================= */
.tab-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    text-align: center;
    color: #69d85f;
    margin-bottom: 20px;
    font-size: 32px;
}

.tab-content p {
    color: #666;
    line-height: 1.8;
    font-size: 18px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 10px;
    margin-top: 60px;
}

footer p {
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        padding: 10px 15px;
        font-size: 14px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .features {
        grid-template-columns: 1fr;
    }
}
