/* ========================================
   Tremayne Performance Coaching
   Minimalist Dark Theme
   ======================================== */

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

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-soft: rgba(59, 130, 246, 0.08);
  --text: #f5f5f5;
  --text-secondary: #a3a3a3;
  --text-muted: #6b6b6b;
  --border: #222222;
  --border-light: #1a1a1a;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.center {
  text-align: center;
}

/* --- Typography --- */
.section-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-subtitle.center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  background: #2563eb;
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.btn-full {
  width: 100%;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

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

.footer-logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -40px;
  z-index: 0;
  will-change: transform;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.1);
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.7) 40%,
    rgba(10, 10, 10, 0.85) 70%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.hero-grain {
  position: absolute;
  inset: -50%;
  z-index: 2;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  animation: grainShift 0.5s steps(5) infinite;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2%, -3%); }
  40% { transform: translate(3%, 1%); }
  60% { transform: translate(-1%, 3%); }
  80% { transform: translate(2%, -2%); }
  100% { transform: translate(0, 0); }
}

.hero-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-scroll {
  z-index: 3;
}

/* Hero entrance animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScale {
  from {
    opacity: 0;
    transform: scale(1.15);
  }
  to {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero-bg-img {
  animation: heroScale 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
}

.hero-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}

.hero-scroll span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --- Social Proof --- */
.social-proof {
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-elevated);
}

.trusted-by {
  text-align: center;
  margin-bottom: 60px;
}

.trusted-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
  color: #e8b830;
  filter: drop-shadow(0 0 4px rgba(232, 184, 48, 0.4));
}

.trusted-stars svg {
  fill: #e8b830;
}

.result-stars {
  display: flex;
  gap: 2px;
  color: #e8b830;
  filter: drop-shadow(0 0 3px rgba(232, 184, 48, 0.35));
  margin-bottom: 4px;
}

.trusted-by-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.trusted-by-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
  position: relative;
}

.result-card:hover {
  border-color: rgba(232, 184, 48, 0.4);
  box-shadow: 0 0 20px rgba(232, 184, 48, 0.08), 0 0 40px rgba(232, 184, 48, 0.04);
}

.result-card-front {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.result-name {
  font-size: 13px;
  color: var(--text-muted);
}

.result-tap {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity var(--transition);
}

.result-card:hover .result-tap {
  opacity: 1;
}

/* Expanded overlay state */
.result-card-expanded {
  display: none;
}

.result-card.expanded {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
  animation: cardExpand 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cardExpand {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.result-card.collapsing {
  animation: cardCollapse 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cardCollapse {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.97);
  }
}

.result-card.expanded .result-card-front {
  display: none;
}

.result-card.expanded .result-card-expanded {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: center;
  animation: contentFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-card.expanded .result-tap {
  opacity: 1;
}

.result-img-wrapper {
  padding: 24px;
  padding-right: 0;
}

.result-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.result-detail {
  padding: 28px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.result-detail-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}

.result-detail h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.result-detail p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.result-detail::after {
  content: 'Click to close';
  display: block;
  font-size: 11px;
  color: var(--accent);
  margin-top: 20px;
  letter-spacing: 0.5px;
}

/* Fade other cards when one is expanded */
.results-grid:has(.expanded) .result-card:not(.expanded) {
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card:not(.expanded) {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Philosophy (Split) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.split-right p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 17px;
}

.split-right p:last-child {
  color: var(--text);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0;
}

/* --- Method Grid --- */
.method {
  background: var(--bg-elevated);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}

.method-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), 0 0 40px rgba(255, 255, 255, 0.03);
}

.method-card-accent {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, var(--bg-card) 100%);
}

.method-card-accent:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), 0 0 40px rgba(255, 255, 255, 0.03);
}

.method-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 16px;
}

.method-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.method-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- DFA Section --- */
.dfa {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.dfa::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.dfa-top {
  margin-bottom: 60px;
}

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

.dfa-intro-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 16px;
}

.dfa-intro-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dfa-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dfa-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.dfa-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.dfa-feature h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.dfa-feature p {
  font-size: 14px !important;
  margin-bottom: 0 !important;
  line-height: 1.6;
}

.dfa-equipment-note {
  font-style: normal;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* DFA Athlete Comparison */
.dfa-comparison {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

.dfa-comparison-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.dfa-comparison-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}

.dfa-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.dfa-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition);
}

.dfa-profile-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), 0 0 40px rgba(255, 255, 255, 0.03);
}

.dfa-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dfa-profile-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.dfa-profile-type {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Zone Bar Visualisation */
.dfa-zone-visual {
  margin-bottom: 24px;
}

.dfa-zone-bar {
  display: flex;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  gap: 2px;
}

.dfa-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: flex var(--transition);
  transform: scaleX(0);
  transform-origin: left;
}

.dfa-zone-bar.animate .dfa-zone {
  animation: zoneExpand 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.dfa-zone-bar.animate .dfa-zone:nth-child(1) { animation-delay: 0.1s; }
.dfa-zone-bar.animate .dfa-zone:nth-child(2) { animation-delay: 0.3s; }
.dfa-zone-bar.animate .dfa-zone:nth-child(3) { animation-delay: 0.5s; }

@keyframes zoneExpand {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.dfa-zone-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.dfa-zone-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.35), rgba(22, 163, 74, 0.35));
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.dfa-zone-yellow {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.3), rgba(202, 138, 4, 0.3));
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.dfa-zone-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.3));
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.dfa-zone-labels {
  position: relative;
  height: 44px;
  margin-top: 6px;
}

.dfa-zone-hr-start,
.dfa-zone-hr-end {
  position: absolute;
  top: 0;
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.dfa-zone-hr-start {
  left: 0;
}

.dfa-zone-hr-end {
  right: 0;
}

.dfa-zone-marker {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dfa-zone-marker-line {
  width: 1px;
  height: 8px;
  background: var(--text-muted);
}

.dfa-zone-marker-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
  margin-top: 2px;
}

.dfa-profile-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
  font-style: italic;
}

.dfa-profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.dfa-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dfa-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.dfa-stat-blue {
  color: var(--accent);
}

.dfa-stat-green {
  color: rgba(34, 197, 94, 0.8);
}

.dfa-stat-amber {
  color: rgba(245, 158, 11, 0.8);
}

.dfa-stat-red {
  color: rgba(239, 68, 68, 0.8);
}

.dfa-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.dfa-comparison-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 700px;
  margin: 32px auto 0;
  line-height: 1.7;
}

/* DFA Research References */
.dfa-references {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.dfa-references-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.dfa-references ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dfa-references li {
  font-size: 11px;
  color: #555;
  line-height: 1.5;
}

.dfa-references li em {
  color: #666;
}

/* --- Coach Section --- */
.coach {
  background: var(--bg-elevated);
}

.coach-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.coach-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.coach-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.coach-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a1a2e 100%);
}

.coach-image-placeholder span {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 4px;
}

/* Hide placeholder when photo loads */
.coach-photo:not([src=""]) + .coach-image-placeholder {
  display: none;
}

.coach-content {
  max-width: 560px;
}

.coach-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.coach-content p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.coach-content p:last-of-type {
  margin-bottom: 0;
}

.coach-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.coach-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.coach-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.coach-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* --- Features Grid --- */
.features {
  background: var(--bg-elevated);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.feature-item {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all var(--transition);
}

.feature-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), 0 0 40px rgba(255, 255, 255, 0.03);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- How to Get Started --- */
.getting-started {
  max-width: 640px;
  margin: 60px auto 0;
}

.getting-started-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 40px;
}

.getting-started-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.getting-started-steps::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: var(--border);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.getting-started.visible .getting-started-steps::before {
  transform: scaleY(1);
}

.getting-started-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.getting-started.visible .getting-started-step {
  opacity: 1;
  transform: translateY(0);
}

.getting-started.visible .getting-started-step:nth-child(1) { transition-delay: 0s; }
.getting-started.visible .getting-started-step:nth-child(2) { transition-delay: 0.15s; }
.getting-started.visible .getting-started-step:nth-child(3) { transition-delay: 0.3s; }
.getting-started.visible .getting-started-step:nth-child(4) { transition-delay: 0.45s; }

.step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-card);
  position: relative;
  z-index: 1;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.getting-started.visible .step-number {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.getting-started.visible .getting-started-step:nth-child(1) .step-number { transition-delay: 0.2s; }
.getting-started.visible .getting-started-step:nth-child(2) .step-number { transition-delay: 0.35s; }
.getting-started.visible .getting-started-step:nth-child(3) .step-number { transition-delay: 0.5s; }
.getting-started.visible .getting-started-step:nth-child(4) .step-number { transition-delay: 0.65s; }

.step-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 40px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .getting-started-title {
    margin-bottom: 28px;
  }
}

/* --- Pricing --- */
.pricing {
  background: var(--bg);
  position: relative;
}

.pricing-card-wrapper {
  max-width: 560px;
  margin: 60px auto 0;
}

.pricing-card-wrapper:first-child {
  margin-top: 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.1), 0 0 30px rgba(59, 130, 246, 0.06);
  transition: box-shadow 0.5s ease, transform 0.4s ease, border-color 0.4s ease;
}

.pricing-card:hover {
  border-color: #5b9cf6;
  box-shadow: 0 0 80px rgba(59, 130, 246, 0.25), 0 0 120px rgba(59, 130, 246, 0.12), 0 0 40px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.pricing-header {
  padding: 48px 40px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.04) 0%, transparent 100%);
}

.pricing-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.pricing-period {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-setup {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.pricing-gst {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-features {
  padding: 36px 40px;
}

.pricing-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.pricing-card .btn {
  margin: 0 40px 16px;
  width: calc(100% - 80px);
}

.pricing-footnote {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding: 0 40px 32px;
}

/* --- CTA --- */
.cta {
  background: var(--bg-elevated);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Blog / Articles Page --- */
.blog-header {
  padding: 160px 0 60px;
  background: var(--bg);
}

.blog-section {
  padding: 0 0 100px;
  background: var(--bg);
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), 0 0 40px rgba(255, 255, 255, 0.03);
}

.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 8px;
}

.blog-card-read {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}

.blog-card:hover .blog-card-read {
  opacity: 1;
}

@media (max-width: 768px) {
  .blog-card-read {
    opacity: 1;
  }
}

/* --- Article Page --- */
.nav-solid {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.article-header {
  padding: 140px 0 40px;
  background: var(--bg);
}

.article-back {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.article-back:hover {
  color: var(--accent);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.article-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.article-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
}

.article-content strong {
  color: var(--text);
  font-weight: 600;
}

.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-content blockquote p {
  color: var(--text);
  font-style: italic;
  margin-bottom: 0;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.article-content li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--text);
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 32px 0;
}

@media (max-width: 768px) {
  .article-header {
    padding: 120px 0 32px;
  }

  .article-header .section-title {
    font-size: 28px;
  }

  .article-content {
    padding: 0 20px 60px;
  }

  .article-content p,
  .article-content li {
    font-size: 16px;
  }

  .article-content h2 {
    font-size: 21px;
    margin-top: 36px;
  }

  .article-content h3 {
    font-size: 18px;
    margin-top: 32px;
  }
}

/* --- Related Articles --- */
.related-articles {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.related-articles h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.related-card-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.related-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

@media (max-width: 768px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
  }

  .related-articles {
    padding: 0 20px 40px;
  }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dfa-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dfa-comparison-grid {
    grid-template-columns: 1fr;
  }

  .coach-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .coach-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 1001;
  }

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

  .nav-links a {
    font-size: 20px;
    color: var(--text);
  }

  .nav-toggle {
    display: flex;
    z-index: 1002;
  }

  .nav-toggle.open span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .nav-toggle.open span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .method-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .dfa-profile-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }

  .dfa-comparison {
    margin-top: 60px;
    padding-top: 60px;
  }

  .dfa-comparison-title {
    font-size: 22px;
  }

  .pricing-header {
    padding: 36px 24px 32px;
  }

  .pricing-features {
    padding: 28px 24px;
  }

  .pricing-card .btn {
    margin: 0 24px 28px;
    width: calc(100% - 48px);
  }

  .pricing-value {
    font-size: 56px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-card.expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    border: none;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cardExpandMobile 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes cardExpandMobile {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .result-card.expanded .result-card-expanded {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 400px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin: 20px;
  }

  .result-img-wrapper {
    padding: 16px 16px 0 16px;
    flex-shrink: 0;
  }

  .result-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
  }

  .result-detail {
    padding: 12px 20px 20px;
    flex-shrink: 0;
    min-height: auto;
    justify-content: flex-start;
  }

  .result-detail-headline {
    font-size: 17px;
    margin-bottom: 4px;
  }

  .result-detail h4 {
    margin-bottom: 10px;
  }

  .result-detail p {
    font-size: 14px;
  }

  .result-detail::after {
    content: 'Tap to close';
  }

  .result-tap {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- Location Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.modal-overlay.active {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.modal {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: var(--radius-lg);
  padding: 32px 40px 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--text);
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.modal-options {
  display: flex;
  gap: 16px;
}

.modal-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.modal-option:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--accent-glow);
}

.modal-icon {
  font-size: 40px;
  line-height: 1;
}

.modal-option-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-top: 4px;
}

.modal-option-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.modal-option-setup {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .modal {
    padding: 40px 24px 32px;
  }

  .modal-options {
    flex-direction: column;
  }
}
