/* ============================================
   007.course — Editorial Landing Page
   Inspired by high-end personal brand design
   ============================================ */

:root {
  --charcoal: #1a1a1a;
  --charcoal-light: #2a2a2a;
  --cream: #f5f0e8;
  --cream-dark: #e8e0d4;
  --white: #ffffff;
  --off-white: #faf8f5;
  --text-dark: #1a1a1a;
  --text-light: #f5f0e8;
  --text-muted: #6b6560;
  --accent: #c9a962;
  --border: rgba(26, 26, 26, 0.15);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.75;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ============================================
   Typography
   ============================================ */

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.section-title.left {
  text-align: left;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 14px;
  letter-spacing: 0.02em;
}

h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--charcoal-light);
  opacity: 1;
}

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

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  padding: 12px 24px;
}

.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--white);
  opacity: 1;
}

.btn-large {
  padding: 20px 48px;
  font-size: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

.link-arrow::after {
  content: '→';
  transition: transform var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 32px 24px;
  text-align: center;
}

.header-brand {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
}

.header-subbrand {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--white);
  opacity: 0.65;
  text-transform: lowercase;
  margin-top: 8px;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.4) 0%,
    rgba(26, 26, 26, 0.7) 60%,
    rgba(26, 26, 26, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.hero-stats {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.hero-stats .divider {
  margin: 0 12px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

/* ============================================
   Navigation
   ============================================ */

.main-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--charcoal);
}

.main-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.main-nav a:hover {
  opacity: 0.6;
}

/* ============================================
   Reviews Carousel
   ============================================ */

.reviews-section {
  background: var(--charcoal);
  padding: 48px 0;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 min(420px, 85vw);
  scroll-snap-align: start;
  background: var(--charcoal-light);
  padding: 32px;
  color: var(--text-light);
}

.review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 16px;
  font-size: 12px;
}

.verified {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 10px;
}

.review-author {
  font-weight: 600;
}

.review-date {
  opacity: 0.5;
}

.review-card p {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.85;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.reviews-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}

.reviews-dots button.active {
  background: var(--white);
}

/* ============================================
   Sections
   ============================================ */

.section-dark {
  background: var(--charcoal);
  color: var(--text-light);
  padding: 100px 0;
}

.section-light {
  background: var(--off-white);
  padding: 100px 0;
}

.section-cream {
  background: var(--cream);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.watermark-section .watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(26, 26, 26, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.watermark-section .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   Split Layout
   ============================================ */

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

.split-layout.reverse {
  direction: rtl;
}

.split-layout.reverse > * {
  direction: ltr;
}

.split-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
}

.split-image.framed img {
  border: 1px solid var(--border);
  padding: 12px;
  background: var(--white);
}

.split-content p {
  margin-bottom: 1.25rem;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
}

.about-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem !important;
  opacity: 1 !important;
}

.section-dark .split-content p {
  opacity: 0.8;
}

.split-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.split-content h2 em {
  font-style: italic;
  font-weight: 300;
}

/* ============================================
   Stats
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 2rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  margin: 2rem 0;
}

.feature-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}

.feature-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ============================================
   Calculator
   ============================================ */

.calculator {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.input-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.input-group input[type="range"] {
  width: 100%;
  height: 2px;
  appearance: none;
  background: var(--border);
  outline: none;
  margin-bottom: 8px;
}

.input-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--charcoal);
  border-radius: 50%;
  cursor: pointer;
}

.input-group output {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.calculator-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-card {
  padding: 24px 28px;
  border: 1px solid var(--border);
  background: var(--white);
}

.result-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.result-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  margin: 8px 0;
  color: var(--charcoal);
}

.result-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Services Grid
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 3rem;
}

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

.service-image {
  margin-bottom: 24px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.03);
}

.service-number {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ============================================
   Video Testimonials
   ============================================ */

.video-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 2rem;
}

.video-review-card {
  display: flex;
  flex-direction: column;
}

.video-review-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--charcoal);
  overflow: hidden;
}

.video-review-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-review-embed:has(iframe) .video-review-placeholder {
  display: none;
}

.video-review-placeholder {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.video-review-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transition: filter var(--transition);
}

.video-review-placeholder:hover img {
  filter: brightness(0.4);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.45);
  color: var(--white);
  font-size: 18px;
  padding-left: 4px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.video-review-placeholder:hover .video-play-btn {
  background: rgba(26, 26, 26, 0.75);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-review-meta {
  padding-top: 16px;
  text-align: center;
}

.video-review-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.video-review-role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 2rem;
}

.testimonial {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--charcoal-light);
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.testimonial footer {
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* ============================================
   Results Grid
   ============================================ */

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 2rem;
}

.result-stat {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid var(--border);
  background: var(--white);
}

.result-stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 8px;
}

.result-stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   CTA Banner
   ============================================ */

.cta-banner .split-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* ============================================
   YouTube
   ============================================ */

.youtube-placeholder {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  cursor: pointer;
}

.youtube-placeholder img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter var(--transition);
}

.youtube-placeholder:hover img {
  filter: brightness(0.5);
}

.youtube-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  gap: 16px;
}

.play-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
}

.youtube-overlay span:last-child {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================
   Final CTA
   ============================================ */

.final-cta {
  padding: 120px 0;
}

.final-cta-text {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.8;
}

.final-cta-note {
  margin-top: 1.5rem;
  font-size: 13px;
  opacity: 0.5;
  font-style: italic;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--charcoal);
  color: var(--text-light);
  padding: 48px 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 8px;
}

.footer-subbrand {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  opacity: 0.5;
  display: block;
  margin-bottom: 24px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.4;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .split-image img {
    height: 400px;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .section-dark,
  .section-light,
  .section-cream {
    padding: 64px 0;
  }

  .main-nav {
    gap: 16px 24px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .video-reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}
