/* ======================================================================
   ROSS GAFFNEY COACHING — VSL FUNNEL STYLES
   Dark + Light Blue Branding
   ====================================================================== */

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

ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font: inherit; }

/* ---------- Design Tokens ---------- */
:root {
  --bg-primary: #0D0F14;
  --bg-secondary: #141820;
  --bg-tertiary: #1A1F2B;
  --bg-card: #1E2433;

  --accent-blue: #3DB4F2;
  --accent-blue-hover: #5CC5FF;
  --accent-blue-glow: rgba(61, 180, 242, 0.25);
  --accent-blue-deep: #2A8DC9;

  --accent-gold: #F5C33B;

  --text-primary: #FFFFFF;
  --text-secondary: #B0B8C9;
  --text-muted: #6B7A8D;

  --glass-bg: rgba(30, 36, 51, 0.7);
  --glass-border: rgba(61, 180, 242, 0.12);
  --glass-blur: 12px;

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;

  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-blue: 0 0 30px rgba(61, 180, 242, 0.15);
  --transition: all 0.3s ease;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.text-center { text-align: center; }

.section {
  padding: var(--space-2xl) 0;
}

/* ---------- Section Label ---------- */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-blue);
  display: inline-block;
  margin-bottom: var(--space-sm);
}

/* ---------- Highlight ---------- */
.highlight {
  color: var(--accent-blue);
}

/* ======================================================================
   HERO SECTION
   ====================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0 var(--space-2xl);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(61, 180, 242, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(61, 180, 242, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.45em 1.3em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(var(--glass-blur));
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero .lead {
  margin-bottom: var(--space-xl);
}

/* ---------- Video Container ---------- */
.video-container {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--glass-border);
  box-shadow: var(--shadow-blue);
  position: relative;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-muted);
  font-size: 1rem;
}

.video-placeholder .play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px var(--accent-blue-glow);
}

.video-placeholder .play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 22px solid white;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 4px;
}

.cta-subtext {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ======================================================================
   CTA BUTTON
   ====================================================================== */
.btn-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-deep) 100%);
  padding: 1em 2.4em;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--accent-blue-glow);
  animation: ctaPulse 3s ease-in-out infinite;
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--accent-blue-hover) 0%, var(--accent-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(61, 180, 242, 0.35);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 20px var(--accent-blue-glow); }
  50% { box-shadow: 0 4px 35px rgba(61, 180, 242, 0.4); }
}

/* ======================================================================
   VALUE STACK
   ====================================================================== */
.value-stack {
  background: var(--bg-secondary);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(61, 180, 242, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.glass-card .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-md);
}

.glass-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.glass-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.value-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}

/* ======================================================================
   ABOUT / COACH SECTION
   ====================================================================== */
.about {
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-blue);
  box-shadow: 0 0 40px var(--accent-blue-glow);
  margin: 0 auto;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.about-photo:hover img {
  transform: scale(1.08);
}

.about-content .section-label {
  margin-bottom: var(--space-md);
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content p {
  margin-bottom: var(--space-lg);
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.credentials span {
  white-space: nowrap;
}

/* ======================================================================
   TRANSFORMATION STRIP
   ====================================================================== */
.transformation-strip {
  width: 100%;
  overflow: hidden;
  background: var(--bg-primary);
  padding: var(--space-sm) 0;
}

.transformation-strip-header {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-lg);
}

.strip-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.transform-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.transform-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.transform-card:hover img {
  transform: scale(1.04);
}

.transform-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--space-md);
}

.transform-placeholder .ph-icon {
  font-size: 2rem;
  opacity: 0.5;
}

/* ======================================================================
   SOCIAL PROOF / TESTIMONIALS
   ====================================================================== */
.social-proof {
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(61, 180, 242, 0.25);
  box-shadow: var(--shadow-blue);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.testimonial-card .author {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ======================================================================
   VIDEO TESTIMONIALS
   ====================================================================== */
.video-testimonials {
  background: var(--bg-primary);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.video-testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.video-testimonial-card:hover {
  border-color: rgba(61, 180, 242, 0.25);
}

.video-testimonial-card .video-placeholder {
  aspect-ratio: 16 / 9;
}

.video-testimonial-card .video-placeholder .play-icon {
  width: 60px;
  height: 60px;
}

.video-testimonial-card .video-placeholder .play-icon::after {
  border-left-width: 16px;
  border-top-width: 10px;
  border-bottom-width: 10px;
  margin-left: 3px;
}

.video-testimonial-info {
  padding: var(--space-md) var(--space-lg);
}

.video-testimonial-info h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.video-testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ======================================================================
   HOW IT WORKS
   ====================================================================== */
.how-it-works {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.step-card {
  text-align: center;
  padding: var(--space-lg);
}

.step-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--accent-blue);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.step-card h3 {
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ======================================================================
   FINAL CTA
   ====================================================================== */
.final-cta-section {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(61, 180, 242, 0.06) 0%, transparent 55%),
    var(--bg-primary);
  padding: var(--space-2xl) 0;
}

.final-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.final-cta-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-blue);
  box-shadow: 0 0 30px var(--accent-blue-glow);
  margin: 0 auto var(--space-lg);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
}

.final-cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-inner h2 {
  margin-bottom: var(--space-md);
}

.final-cta-inner .lead {
  margin-bottom: var(--space-xl);
}

/* ======================================================================
   FAQ
   ====================================================================== */
.faq {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 700px;
  margin: var(--space-xl) auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--space-md) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-left: var(--space-md);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--accent-blue);
}

.faq-answer {
  padding-bottom: var(--space-md);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ======================================================================
   FOOTER
   ====================================================================== */
.footer {
  background: #080A0E;
  padding: var(--space-xl) 0;
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.footer .disclaimer {
  font-size: 0.75rem;
  color: #444;
}

.footer-links {
  margin-top: var(--space-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

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

/* ======================================================================
   FLOATING CTA BAR
   ====================================================================== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  padding: 0.8rem var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.floating-cta.visible {
  transform: translateY(0);
}

.floating-cta .bar-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.floating-cta .btn-cta {
  padding: 0.7em 1.8em;
  font-size: 0.9rem;
  animation: none;
}

/* ======================================================================
   APPLICATION MODAL
   ====================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  width: 95%;
  max-width: 620px;
  max-height: 90vh;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-blue-glow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent-blue);
  color: #fff;
}

.modal-body {
  padding: var(--space-md);
}

.modal-body iframe {
  width: 100%;
  min-height: 600px;
  border: none;
}

/* ======================================================================
   SCROLL ANIMATIONS
   ====================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ======================================================================
   RESPONSIVE — Tablet (max-width: 768px)
   ====================================================================== */
@media (max-width: 768px) {
  .value-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    width: 200px;
    height: 200px;
  }

  .credentials {
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

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

  .transform-card:nth-child(n+5) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 var(--space-2xl);
  }

  .floating-cta .bar-label {
    display: none;
  }
}

/* ======================================================================
   RESPONSIVE — Mobile (max-width: 480px)
   ====================================================================== */
@media (max-width: 480px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2.2rem;
    --space-2xl: 3.5rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .btn-cta {
    padding: 0.9em 1.6em;
    font-size: 0.95rem;
    width: 100%;
  }

  .glass-card {
    padding: var(--space-lg);
  }

  .about-photo {
    width: 170px;
    height: 170px;
  }

  .strip-track {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .transform-card:nth-child(n+3) {
    display: none;
  }

  .floating-cta {
    padding: 0.6rem var(--space-md);
  }

  .floating-cta .btn-cta {
    width: auto;
    flex: 1;
  }

  .modal-container {
    width: 100%;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }
}
