/* ================================================
   Profitable Wellness — Main Stylesheet
   Colors: #08d288 (green) | #03d3b0 (teal) | #0d0d0d (dark)
   ================================================ */

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

:root {
  --green: #08d288;
  --teal: #03d3b0;
  --dark: #0d0d0d;
  --dark-card: #161616;
  --dark-card2: #1e1e1e;
  --white: #ffffff;
  --muted: #999999;
  --border: #2a2a2a;
  --gradient: linear-gradient(135deg, #08d288 0%, #03d3b0 100%);
  --max-width: 1280px;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--dark);
  color: var(--white);
  line-height: 1.75;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }

/* ================================================
   TYPOGRAPHY
   ================================================ */

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; line-height: 1.4; }
p { color: #cccccc; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================
   LAYOUT
   ================================================ */

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }
.section-border { border-bottom: 1px solid var(--border); }
.bg-card { background: var(--dark-card); }

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--gradient); color: #000; }
.btn-primary:hover { opacity: 0.88; color: #000; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #000; }
.btn-full { display: block; width: 100%; }

/* ================================================
   NAVIGATION
   ================================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.nav-logo img { height: 48px; width: auto; }

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

.nav-links a {
  color: #cccccc;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .nav-cta .btn { padding: 9px 20px; font-size: 0.85rem; }
.nav-links .nav-cta .btn-primary { color: #000; }
.nav-links .nav-cta .btn-primary:hover { color: #000; }
.nav-links .nav-cta .btn-outline { color: var(--green); }
.nav-links .nav-cta .btn-outline:hover { color: #000; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .6rem; opacity: .7; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #111;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 230px;
  padding: 8px 0;
  list-style: none;
  display: none;
  flex-direction: column;
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .dropdown-menu { display: flex; }
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #ccc;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dropdown-menu li a:hover { color: var(--white); background: rgba(255,255,255,0.06); }

/* Mobile sub-items under Who We Help */
.mobile-who-we-help {
  color: var(--green) !important;
  font-weight: 600 !important;
}
.mobile-sub {
  padding-left: 24px !important;
  font-size: .875rem !important;
  color: #888 !important;
  border-bottom-color: rgba(255,255,255,0.04) !important;
}
.mobile-sub:hover { color: var(--white) !important; }

/* Social icons in nav */
.nav-social { display: flex; align-items: center; gap: 14px; }
.nav-social a { color: #555; display: flex; align-items: center; transition: color .2s; }
.nav-social a:hover { color: var(--green); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu — right slide-out drawer */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #111;
  border-left: 1px solid var(--border);
  padding: 24px 28px 32px;
  gap: 4px;
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  z-index: 200;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  display: flex;
  align-self: flex-end;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
  line-height: 1;
}
.mobile-menu-close:hover { color: var(--white); }
.mobile-menu a {
  color: #ccc;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .btn { margin-top: 10px; text-align: center; border-bottom: none !important; }
.mobile-menu .btn-primary { color: #000 !important; }
.mobile-menu .btn-primary:hover { color: #000 !important; }
.mobile-menu .btn-outline { color: var(--green) !important; }
.mobile-menu .btn-outline:hover { color: #000 !important; }

/* Backdrop */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
}
.mobile-overlay.open { display: block; }

.mobile-social { display: flex; gap: 20px; padding: 16px 0 4px; border-top: 1px solid var(--border); margin-top: 8px; }
.mobile-social a { color: #666; display: flex; align-items: center; transition: color .2s; }
.mobile-social a:hover { color: var(--green); }

.mobile-biofield {
  color: var(--green) !important;
  font-weight: 600 !important;
}

/* ================================================
   HERO
   ================================================ */

.hero {
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* When a background image is set on .hero, use this overlay via the ::before pseudo-element */
.hero.has-bg-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(13,13,13,0.72);
  z-index: 0;
  pointer-events: none;
}
.hero.has-bg-image::after { display: none; }
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(8,210,136,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(3,211,176,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero-inner h1 { margin-bottom: 20px; }
.hero-inner p { font-size: 1.1rem; color: #bbbbbb; margin-bottom: 36px; max-width: 580px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */

.page-hero {
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(8,210,136,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 680px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; color: #bbbbbb; }
.page-hero.has-bg-image { background-size: cover; background-position: center; }
.page-hero.has-bg-image::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(13,13,13,0.72); pointer-events: none; }

/* ================================================
   CARDS
   ================================================ */

.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.content-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s;
}
.content-card:hover {
  border-color: rgba(8,210,136,0.35);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(8,210,136,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* ================================================
   IMAGE SLOTS
   Placeholder boxes shown until real images are added.
   To add a photo: drop file in /images/ and replace
   the .img-slot div with an <img> tag.
   ================================================ */
.img-slot {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  border-radius: var(--radius);
}
.img-slot-label {
  font-size: .7rem;
  font-family: monospace;
  color: #444;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 12px;
  line-height: 1.5;
}
.img-slot-wide { aspect-ratio: 16/9; }
.img-slot-portrait { aspect-ratio: 3/4; }

.content-card h3 { margin-bottom: 10px; }

/* ================================================
   STATS
   ================================================ */

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-block {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: #aaa; font-size: 0.9rem; }

/* ================================================
   CHECKLIST
   ================================================ */

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cccccc;
  font-size: 0.97rem;
}
.checklist li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--gradient);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  mask-size: cover;
  -webkit-mask-size: cover;
  margin-top: 2px;
}

/* ================================================
   SPLIT LAYOUT
   ================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ================================================
   TESTIMONIALS
   ================================================ */

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial-stars { color: #f5a623; font-size: 1rem; margin-bottom: 16px; }
.testimonial-card blockquote {
  color: #ccc;
  font-size: 0.97rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author-name { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.testimonial-author-title { color: var(--muted); font-size: 0.85rem; }

/* ================================================
   CTA BANNER
   ================================================ */

.cta-banner {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: #aaa; max-width: 520px; margin: 0 auto 28px; }
.cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ================================================
   PORTFOLIO LOGOS
   ================================================ */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.logo-tile {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  font-weight: 600;
  color: #aaa;
  font-size: 0.9rem;
  transition: border-color 0.25s, color 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.logo-tile:hover { border-color: rgba(8,210,136,0.3); color: var(--white); }
.logo-tile img { width: 90%; height: auto; max-height: 200px; object-fit: contain; }
.logo-tile .logo-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #888;
  transition: color 0.25s;
}
.logo-tile:hover .logo-name { color: var(--white); }

/* ================================================
   ABOUT / BIO
   ================================================ */

.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
.bio-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.bio-photo img { width: 100%; height: auto; min-height: 360px; object-fit: cover; object-position: center; }

/* ================================================
   BOOK PAGE
   ================================================ */

.book-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: start;
}

/* ================================================
   FOOTER
   ================================================ */

footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: #888; font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: #444;
}
.footer-social { display: flex; gap: 18px; margin-bottom: 32px; }
.footer-social a { color: #555; display: flex; align-items: center; transition: color .2s; }
.footer-social a:hover { color: var(--green); }

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo img { height: 300px; }
  .book-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hide nav links and social early — too many items to fit */
  .nav-links { display: none; }
  .nav-social { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 56px 0; }
  .hero { padding: 72px 0 52px; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-banner { padding: 40px 20px; }
  .cta-banner h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .content-card { padding: 24px 20px; }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
}
