/* Seb Maddox Coaching — Custom CSS */
/* Tailwind handles most styling; this file covers anything Tailwind CDN can't */

:root {
  --bg: #0D0D0D;
  --surface: #1A1A1A;
  --surface-deep: #131313;
  --card-elevated: #1E1A2E;
  --accent: #7C3AED;
  --accent-hover: #8B5CF6;
  --icon-bg: #2D1B69;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --border: #2A2A2A;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Nav ── */
#nav {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* ── Mobile menu ── */
#mobile-menu {
  background: var(--bg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.hidden {
  display: none;
}

/* ── Proof bar ── */
#proof-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Cards ── */
.method-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.method-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  background: #1E1B2E;
}

/* ── Icon bg ── */
.icon-bg {
  background: var(--icon-bg);
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* ── Who I Work With cards ── */
.who-card {
  background: #131313;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 3px solid var(--accent);
  border-radius: 1rem;
  padding: 28px 24px 32px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.who-card:hover {
  background: #1A1629;
  border-color: var(--accent-hover);
  border-top-color: var(--accent-hover);
}

.who-card-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

/* ── CTA Button ── */
.btn-primary {
  background: #fff;
  color: #000;
  border-radius: 9999px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow:
    0 0 0 1.5px rgba(139, 92, 246, 0.95),
    0 0 10px rgba(139, 92, 246, 0.5),
    0 0 24px rgba(139, 92, 246, 0.2);
  animation: btn-pulse 3.5s ease-in-out infinite;
  transition: transform 0.15s ease;
}

.btn-primary:hover {
  box-shadow:
    0 0 0 1.5px rgba(167, 139, 250, 1),
    0 0 14px rgba(167, 139, 250, 0.65),
    0 0 32px rgba(139, 92, 246, 0.3);
  animation: none;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ── Pill nav button ── */
.btn-nav {
  background: #fff;
  color: #000;
  border-radius: 9999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.85rem;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  box-shadow:
    0 0 0 1.5px rgba(139, 92, 246, 0.95),
    0 0 10px rgba(139, 92, 246, 0.5),
    0 0 24px rgba(139, 92, 246, 0.2);
  animation: btn-pulse 3.5s ease-in-out infinite;
  transition: box-shadow 0.2s ease;
}

.btn-nav:hover {
  animation: none;
  box-shadow:
    0 0 0 1.5px rgba(167, 139, 250, 1),
    0 0 14px rgba(167, 139, 250, 0.65),
    0 0 32px rgba(139, 92, 246, 0.3);
}

@keyframes btn-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1.5px rgba(167, 139, 250, 1),
      0 0 14px rgba(139, 92, 246, 0.7),
      0 0 32px rgba(139, 92, 246, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 1.5px rgba(139, 92, 246, 0.5),
      0 0 4px rgba(139, 92, 246, 0.15),
      0 0 10px rgba(139, 92, 246, 0.05);
  }
}

/* ── Accent label ── */
.accent-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── CTA section label (bigger) ── */
.cta-label {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Hero background texture ── */
.hero-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ── Grid texture overlay (applied to dark sections) ── */
.has-grid {
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ── Image placeholder ── */
.img-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
}

/* ── Proof bar ticker (mobile) ── */
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker-content {
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Transformations grid ── */
/* Outer grid columns handled by Tailwind on .result-item */
.result-item {
  display: flex;
  flex-direction: column;
}

.result-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.result-caption {
  text-align: center;
  font-size: 0.72rem;
  color: #555;
  letter-spacing: 0.04em;
  padding-top: 7px;
  font-weight: 400;
}

/* ── FAQ accordion ── */
.faq-btn {
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
}

.faq-btn.faq-open span {
  color: #fff;
}

.faq-item {
  transition: background 0.2s ease;
}

/* ── Section spacing ── */
section {
  padding: 64px 20px;
}

@media (min-width: 768px) {
  section {
    padding: 96px 40px;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 112px 80px;
  }
}

/* ── Max width container ── */
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ── Hamburger lines ── */
.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}


/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
