/* ================================================
   Profitable Wellness — Biofield Tuning SEO
   biofieldtuning.profitablewellness.com
   ================================================ */

*, *::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: #888888;
  --border: #2a2a2a;
  --gradient: linear-gradient(135deg, #08d288 0%, #03d3b0 100%);
  --red: #ff4d4d;
  --yellow: #f5a623;
  --radius: 12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--teal); }
p { color: #cccccc; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

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

/* ── LAYOUT ── */
.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
nav {
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
/* Full width nav — no container max-width constraint */
nav .container { max-width: 100%; padding: 0 32px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; }
.nav-links a:not(.btn) { font-size: .82rem; color: #cccccc; font-weight: 500; transition: color .2s; white-space: nowrap; }
.nav-links a:not(.btn):hover { color: var(--green); }

/* ── HAMBURGER (mobile) ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #ccc; border-radius: 2px; transition: all .25s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: rgba(13,13,13,.98); border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  padding: 14px 24px; color: #ccc; font-size: .95rem; font-weight: 500;
  border-bottom: 1px solid var(--border); display: block;
}
.mobile-menu a:hover { color: var(--green); }
.mobile-menu a.btn {
  margin: 16px 24px 20px; border-radius: 8px; text-align: center; display: block;
}
.mobile-menu.open { display: flex; }

/* ── SOCIAL LINKS ── */
.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); }
.nav-social svg { display: block; }
.mobile-social { display: flex; gap: 20px; padding: 16px 24px 20px; border-top: 1px solid var(--border); }
.mobile-social a { color: #666; display: flex; align-items: center; transition: color .2s; }
.mobile-social a:hover { color: var(--green); }
.footer-social { display: flex; justify-content: center; gap: 20px; margin-bottom: 14px; }
.footer-social a { color: #555; display: flex; align-items: center; transition: color .2s; }
.footer-social a:hover { color: var(--green); }

/* ── HERO ── */
.hero {
  padding: 80px 0 70px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute; top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(8,210,136,.09) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

/* Hero background image with dark overlay */
.hero-bg-img {
  background-image:
    linear-gradient(to right, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.62) 55%, rgba(13,13,13,0.80) 100%),
    url('/images/56168002_656853614743966_6410347755679514624_n.jpg');
  background-size: cover;
  background-position: center 30%;
  padding: 100px 0 90px;
}

/* Guide visual callout */
.guide-visual { text-align: center; margin: 32px 0; }
.hero-label {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.hero h1 { margin-bottom: 16px; }
.hero p { font-size: 1.1rem; color: #bbbbbb; max-width: 580px; margin-bottom: 0; }

/* ── CARDS / CONTENT BLOCKS ── */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.content-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.content-card:hover { border-color: rgba(8,210,136,.3); transform: translateY(-2px); }
.content-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
}

/* ── AUDIT CARDS ── */
.audit-section { padding: 64px 0; }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }

.audit-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.audit-card:hover { border-color: rgba(8,210,136,.4); transform: translateY(-2px); }
.audit-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
}

.audit-card-price {
  font-size: 2rem; font-weight: 700; color: var(--white);
  margin-bottom: 4px;
}
.audit-card-price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.audit-card h3 { margin: 16px 0 8px; font-size: 1.25rem; }
.audit-card p { font-size: .95rem; color: #aaa; margin-bottom: 24px; }

.audit-form { display: flex; flex-direction: column; gap: 12px; }

.audit-input {
  width: 100%;
  background: var(--dark-card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--white);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.audit-input:focus { border-color: var(--green); }
.audit-input::placeholder { color: #555; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none; font-family: inherit; transition: all .2s;
  text-decoration: none; text-align: center;
}
.btn-primary { background: var(--gradient); color: #000; }
.btn-primary:hover { opacity: .88; color: #000; transform: translateY(-1px); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-outline { background: transparent; border: 1.5px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #000; }
.btn-full { width: 100%; }

/* ── HOW IT WORKS ── */
.how-section { padding: 64px 0; border-top: 1px solid var(--border); }
.how-section h2 { text-align: center; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; padding: 24px 16px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); color: #000; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: .9rem;
}
.step h4 { color: var(--white); margin-bottom: 8px; font-size: .95rem; }
.step p { font-size: .85rem; color: #888; }

/* ── LOADING / SPINNER ── */
.loading-state { display: none; text-align: center; padding: 24px 0; }
.loading-state.active { display: block; }
.spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--green); border-radius: 50%;
  animation: spin .8s linear infinite; margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--muted); font-size: .9rem; }
.loading-steps { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.loading-step { font-size: .8rem; color: #555; }
.loading-step.done { color: var(--green); }

/* ── ERROR ── */
.error-msg {
  background: rgba(255,77,77,.1); border: 1px solid rgba(255,77,77,.3);
  border-radius: 8px; padding: 12px 16px; color: #ff6b6b;
  font-size: .9rem; display: none;
}
.error-msg.active { display: block; }

/* ── PREVIEW RESULTS ── */
.preview-result {
  display: none;
  margin-top: 24px;
  background: var(--dark-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.preview-result.active { display: block; }

.preview-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.score-circle-sm {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; border: 3px solid;
}
.score-circle-sm .score-num { font-size: 1.3rem; font-weight: 700; line-height: 1; }
.score-circle-sm .score-label { font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.score-good  { border-color: var(--green);  color: var(--green); }
.score-ok    { border-color: var(--yellow); color: var(--yellow); }
.score-poor  { border-color: var(--red);    color: var(--red); }

.preview-title { flex: 1; }
.preview-title h4 { color: var(--white); margin-bottom: 4px; }
.preview-title p  { font-size: .85rem; color: var(--muted); }

.preview-issues { margin-bottom: 20px; }
.preview-issues h5 { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.issue-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 8px;
  background: var(--dark-card); border: 1px solid var(--border);
  margin-bottom: 8px;
}
.issue-badge {
  flex-shrink: 0; font-size: .65rem; font-weight: 700;
  padding: 2px 7px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em;
  margin-top: 2px;
}
.badge-fail    { background: rgba(255,77,77,.15); color: #ff6b6b; border: 1px solid rgba(255,77,77,.3); }
.badge-warning { background: rgba(245,166,35,.15); color: #f5a623; border: 1px solid rgba(245,166,35,.3); }
.badge-pass    { background: rgba(8,210,136,.15); color: var(--green); border: 1px solid rgba(8,210,136,.3); }

.issue-content h6 { font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.issue-content p  { font-size: .82rem; color: #888; line-height: 1.5; }

.locked-hint {
  text-align: center; padding: 16px;
  border: 1px dashed var(--border); border-radius: 8px;
  color: var(--muted); font-size: .85rem; margin-bottom: 20px;
}
.locked-hint strong { color: var(--white); }

.preview-cta { display: flex; flex-direction: column; gap: 10px; }
.preview-cta .btn { width: 100%; }

/* ── PAGE SECTIONS ── */
.section { padding: 72px 0; }
.section-border { border-top: 1px solid var(--border); }

/* ── STAT BLOCKS ── */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-block { text-align: center; padding: 32px 24px; background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-num { font-size: 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 { font-size: .9rem; color: var(--muted); }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: #ccc; font-size: .95rem; }
.checklist li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── TESTIMONIAL ── */
.testimonial-card {
  background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; position: relative;
}
.testimonial-card blockquote { font-size: 1.05rem; color: #ddd; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author-name { font-weight: 600; color: var(--white); font-size: .9rem; }
.testimonial-author-title { font-size: .8rem; color: var(--muted); }
.testimonial-stars { color: var(--green); font-size: .9rem; letter-spacing: 2px; margin-bottom: 4px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px; text-align: center;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: #aaa; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── REPORT PAGE ── */
.report-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--border); }
.report-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.report-meta h1 { font-size: 1.6rem; margin-bottom: 6px; }
.report-meta p  { color: var(--muted); font-size: .9rem; }

.score-ring-wrap { text-align: center; flex-shrink: 0; }
.score-ring {
  width: 110px; height: 110px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.score-ring svg { position: absolute; top: 0; left: 0; transform: rotate(-90deg); }
.score-ring-bg  { stroke: var(--border); }
.score-ring-fg  { stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.score-ring-num { font-size: 1.8rem; font-weight: 700; }
.score-ring-grade { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }

.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 32px 0; }
.cat-card { background: var(--dark-card); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; }
.cat-card-name { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.cat-card-score { font-size: 1.5rem; font-weight: 700; }
.cat-bar { height: 4px; background: var(--border); border-radius: 2px; margin-top: 8px; }
.cat-bar-fill { height: 100%; border-radius: 2px; background: var(--gradient); }

.checks-section { padding: 40px 0; }
.checks-section h2 { margin-bottom: 24px; font-size: 1.2rem; }
.check-group { margin-bottom: 32px; }
.check-group-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 12px;
}
.check-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid rgba(42,42,42,.6);
}
.check-icon { font-size: 1.1rem; margin-top: 1px; }
.check-body h4 { font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.check-body .check-value { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.check-body .check-rec  { font-size: .82rem; color: #aaa; line-height: 1.5; }
.check-points { font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; margin-top: 2px; }

/* ── OVERLAY STATES ── */
.loading-overlay {
  position: fixed; inset: 0; background: rgba(13,13,13,.9);
  display: flex; align-items: center; justify-content: center; z-index: 200;
  flex-direction: column; gap: 16px;
}
.loading-overlay.hidden { display: none; }
.loading-overlay p { color: var(--muted); }
.spinner-lg {
  width: 56px; height: 56px; border: 4px solid var(--border);
  border-top-color: var(--green); border-radius: 50%;
  animation: spin .8s linear infinite;
}
.error-page { text-align: center; padding: 80px 24px; }
.error-page h2 { margin-bottom: 12px; }
.error-page p  { color: var(--muted); margin-bottom: 28px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border); padding: 28px 0;
  text-align: center; color: #444; font-size: .82rem;
}
footer a { color: #666; }
footer a:hover { color: var(--green); }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-social { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 38px; }
  .nav-inner { height: 58px; }

  /* Mobile menu */
  .mobile-menu { top: 58px; }
  .mobile-menu a { font-size: .95rem; padding: 12px 0; }

  /* Hero */
  .hero { padding: 48px 0 40px; }
  .hero-inner h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero-inner p { font-size: 1rem; }
  .hero-bg-img {
    padding: 60px 0 52px;
    background-position: 65% center;
  }
  .hero-bg-img .hero-inner { max-width: 100%; }
  .hero-label { font-size: .72rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* Sections */
  .section { padding: 48px 0; }
  h2 { font-size: clamp(1.3rem, 5vw, 1.9rem); }

  /* Grids → single column */
  .card-grid,
  .card-grid-3,
  .audit-grid,
  .stat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }

  /* Inline-style grids on about/guide pages */
  section > .container > div[style*="grid-template-columns:1fr 1fr"],
  section > .container > div[style*="grid-template-columns:1fr 1.6fr"],
  section > .container > div[style*="grid-template-columns:1fr 2fr"] {
    display: flex !important;
    flex-direction: column;
    gap: 28px;
  }

  /* About bio card */
  .content-card img { width: 100%; border-radius: 8px; }

  /* Report */
  .report-hero-inner { flex-direction: column; }

  /* CTA */
  .cta-banner { padding: 32px 20px; }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner-btns { flex-direction: column; align-items: stretch; }
  .cta-banner-btns .btn { width: 100%; text-align: center; }

  /* Footer */
  footer { padding: 40px 0 24px; }
  .footer-social { justify-content: center; }
  footer p { font-size: .82rem; text-align: center; }
}

@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .hero-inner h1 { font-size: 1.6rem; }
  .container { padding: 0 16px; }
}
