/* ===== Global Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Base ===== */
html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: #050509;
  color: #f9fafb;
  line-height: 1.6;
}

/* Reusable container */
.container {
  max-width: 1280px;  /* was 1120px */
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* ===== Navbar ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 10, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.brand-text {
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f9fafb;
}

.nav {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #3b82f6;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav a:hover::after {
  width: 100%;
}

.nav a.active {
  color: #ffffff;
}

.nav a.active::after {
  width: 100%;
}

/* base nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* hamburger button – hidden on desktop by default */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  /* border: 1px solid rgba(148, 163, 184, 0.5); */
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  z-index: 9999;   
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}




/* mobile menu styles */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 64px;           /* adjust to match header height */
    right: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 1rem;
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 50;
  }

  .nav li {
    margin: 0;
  }

  .nav a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }

  .nav.nav-open {
    display: flex;
  }
}


/* ===== Hero / Main Layout ===== */
main {
  padding: 3rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.hero-title span {
  color: #3b82f6;
}

.hero-subtitle {
  color: #9ca3af;
  max-width: 32rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #f9fafb;
  border-color: rgba(191, 219, 254, 0.3);
  box-shadow: 0 14px 45px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
}

/* Right-side hero card */
.hero-card {
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, #1e293b, #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.6rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.76);
}

.hero-card-tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

.hero-card-main {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 0.8rem;
}

.hero-card-meta {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ===== Inner Page Layout ===== */
.page-header {
  margin-bottom: 2.5rem;
}

.page-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

.page-title span {
    color: #3b82f6;
}

.page-subtitle {
  color: #9ca3af;
  max-width: 34rem;
}

/* Simple two-column for text/blocks */
.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
}

/* Equal-width grid for product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

/* Stack products on mobile */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}


.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.4rem 1.6rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.92rem;
  color: #d1d5db;
}

/* Sections spacing */
.section {
  margin-bottom: 2.8rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.5rem 0 2rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
    display: flex;
    margin-right: 1rem;      /* <-- this pulls it away from the edge */
  }

  .nav {
    gap: 1rem;
    font-size: 0.7rem;
  }

  .hero,
  .grid-two {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: 0;
  }
}

/* Desktop / tablet: 3-column grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Mobile: horizontal scroll */
@media (max-width: 768px) {
  .pillars-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pillars-grid::-webkit-scrollbar {
    display: none; /* hide scrollbar on mobile */
  }

  .pillars-grid .card {
    flex: 0 0 75vw;       /* each card ~75% of screen width */
    scroll-snap-align: start;
  }
}

/* hide icons on desktop */
.mobile-social-icons {
  display: none;
}

/* show only on mobile */
@media (max-width: 768px) {
  .mobile-social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-right: auto; /* pushes everything else to the right */
  }

  .mobile-social-icons img {
    margin-top:0.5rem;
    width: 22px;
    height: 22px;
    filter: invert(90%);
}
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .book-split{
    display:grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: start;
  }

  .book-cover-wrap{
    display:flex;
    justify-content:center;
    align-items:flex-start;
  }

  .book-cover{
    width:100%;
    max-width:220px;
    border-radius:0.75rem;
    display:block;
  }

  /* Mobile behavior */
  @media (max-width:768px){
    
    .book-split{
      grid-template-columns:1fr;
    }

    .book-cover{
      max-width:260px;
      margin:0 auto;
    }

    .book-text{
      text-align:left;
    }
  }

  /* Coaching lock overlay */
.coach-lock {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(10px);
}

.coach-lock-card {
  width: min(620px, 100%);
  border-radius: 1.25rem;
  padding: 1.25rem 1.25rem 1rem;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 25px 80px rgba(0,0,0,0.5);
  text-align: center;
}

.coach-lock-pill {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(226, 232, 240, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.coach-lock-title {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.coach-lock-sub {
  color: rgba(203, 213, 225, 0.9);
  line-height: 1.5;
  margin: 0 auto 1rem;
  max-width: 48ch;
}

.coach-lock-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.coach-lock-foot {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.95);
}




