/* ============================================
   AskHours Landing Page — Styles
   ============================================ */

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

:root {
  --bg-white: #ffffff;
  --bg-off: #f7f7f5;
  --bg-dark: #000000;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --text-white: #ffffff;
  --border: #e5e5e5;
  --border-light: #eee;
  --transition: all 0.3s ease;
  --max-width: 1140px;
  /* Plyr overrides */
  --plyr-color-main: #000;
  --plyr-video-control-color: #fff;
  --plyr-range-thumb-shadow: 0 1px 1px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.15);
}

.plyr {
  border-radius: 12px;
  overflow: hidden;
}

.plyr--video {
  border-radius: 12px;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--bg-dark);
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* ============================================
   CTA Button
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  padding: 15px 36px;
  background: var(--bg-dark);
  color: var(--text-white);
  font-size: 0.92rem;
  border-radius: 50px;
}

.btn-primary:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

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

.btn-large {
  padding: 18px 48px;
  font-size: 1rem;
}

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

.hero {
  padding: 80px 0 70px;
  background: var(--bg-white);
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtext {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

/* VSL Video */
.vsl-video {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.vsl-video video {
  width: 100%;
  display: block;
  background: #000;
}

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

.stats-section {
  padding: 40px 0 80px;
  background: var(--bg-white);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.5;
}

/* ============================================
   Section Titles
   ============================================ */

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
  color: var(--text-primary);
}

.section-cta {
  text-align: center;
  padding-top: 48px;
}

/* ============================================
   Results Section (Vertical Cards)
   ============================================ */

.results-section,
.more-results-section {
  padding: 80px 0;
  background: var(--bg-off);
}

.more-results-section {
  background: var(--bg-white);
}

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

.single-result-grid {
  grid-template-columns: 1fr;
  max-width: 370px;
  margin: 0 auto;
}

.result-card-v {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.results-section .result-card-v {
  background: var(--bg-white);
}

.more-results-section .result-card-v {
  background: var(--bg-off);
}

.result-card-v:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}

.result-video {
  width: 100%;
}

.result-video video {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #1a1a1a;
}

.result-video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.result-video-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04) 0%, transparent 70%);
}

.play-btn-sm {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--transition);
}

.play-btn-sm svg {
  margin-left: 2px;
}

.result-video-placeholder:hover .play-btn-sm {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}

.result-info {
  padding: 24px;
}

.student-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.result-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.detail-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
}

.detail-highlight {
  font-weight: 700;
}

.detail-uni {
  font-weight: 600;
}

/* ============================================
   Features Section (Zigzag)
   ============================================ */

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

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-of-type {
  margin-bottom: 0;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-off);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.feature-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  display: block;
}

.feature-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   FAQs Section (Accordion)
   ============================================ */

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

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

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

/* Trigger button */
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-align: left;
  transition: var(--transition);
}

.faq-trigger:hover .faq-question-text {
  color: var(--text-secondary);
}

.faq-question-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

/* Animated + / × icon */
.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.faq-icon-bar {
  position: absolute;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
              opacity 0.25s ease;
}

.faq-icon-bar.horizontal {
  top: 50%;
  left: 3px;
  right: 3px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon-bar.vertical {
  left: 50%;
  top: 3px;
  bottom: 3px;
  width: 2px;
  transform: translateX(-50%);
}

/* When open: rotate vertical bar to 0 (becomes hidden) */
.faq-item.active .faq-icon-bar.vertical {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* Answer panel */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding-bottom: 26px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
}

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

.final-cta-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.final-cta-content {
  text-align: center;
}

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

.footer {
  padding: 28px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.footer p {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   Scroll Animations
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

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

@media (max-width: 1024px) {
  .container {
    padding: 0 28px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .feature-row {
    gap: 40px;
  }
}

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

  .nav-container {
    padding: 12px 20px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 0.76rem;
  }

  .hero {
    padding: 50px 0 40px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .hero-subtext {
    font-size: 0.88rem;
  }

  .stats-row {
    flex-direction: column;
    gap: 28px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .results-grid-3col {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .single-result-grid {
    max-width: 400px;
  }

  .section-title {
    font-size: 1.7rem;
    margin-bottom: 36px;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    direction: ltr;
  }

  .feature-row {
    margin-bottom: 56px;
  }

  .feature-text h3 {
    font-size: 1.15rem;
  }

  .btn-primary {
    padding: 13px 28px;
    font-size: 0.88rem;
  }

  .btn-large {
    padding: 15px 36px;
    font-size: 0.92rem;
  }

  .faq-question-text {
    font-size: 0.95rem;
  }

  .faq-answer-inner p {
    font-size: 0.85rem;
  }

  .faq-trigger {
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.55rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ============================================
   Booking Page Styles
   ============================================ */

.booking-page {
  background: var(--bg-off);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.booking-page .header {
  flex-shrink: 0;
}

.booking-main {
  flex: 1;
  display: flex;
  padding: 24px 0 0;
  overflow: hidden;
}

.booking-main .container {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.booking-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.booking-header {
  text-align: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.booking-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.booking-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.calendly-container {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.calendly-container .calendly-inline-widget {
  height: 100% !important;
}

.booking-page .footer {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .booking-main {
    padding: 16px 0 0;
  }
  .booking-header h1 {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }
  .booking-header p {
    font-size: 0.9rem;
  }
  .booking-header {
    margin-bottom: 12px;
  }
}


/* ============================================
   Confirmation Page
   ============================================ */

.confirmation-hero {
  padding: 80px 0 40px;
  text-align: center;
}

.confirmation-content {
  max-width: 640px;
  margin: 0 auto;
}

.confirmation-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.confirmation-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.confirmation-results {
  padding-top: 40px;
}

/* ---- Carousel ---- */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0px;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  box-sizing: border-box;
}

.carousel-slide .result-card-v {
  max-width: 320px;
  width: 100%;
}

.carousel-img-card {
  max-width: 400px;
  width: 100%;
}

.carousel-img-card img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.carousel-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--bg-dark);
  color: var(--text-white);
  border-color: var(--bg-dark);
}



.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  background: var(--bg-dark);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel {
    max-width: 100%;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
  }
  .carousel-slide {
    padding: 0 8px;
  }
  .carousel-img-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .confirmation-hero {
    padding: 48px 0 24px;
  }
  .confirmation-content h1 {
    font-size: 2rem;
  }
  .confirmation-content p {
    font-size: 0.95rem;
  }
}


/* ============================================
   Training Page
   ============================================ */

.training-intro {
  padding: 60px 0 0;
}

.training-intro-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.training-intro-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.training-video-section {
  padding: 48px 0 60px;
}

.training-video-section .section-title {
  margin-bottom: 32px;
}

.training-video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.training-cta-section {
  padding: 40px 0 80px;
}

.training-cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.training-cta-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.training-cta-buttons {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .training-intro {
    padding: 40px 0 0;
  }
  .training-intro-content p {
    font-size: 0.95rem;
  }
  .training-video-section {
    padding: 32px 0 40px;
  }
  .training-cta-section {
    padding: 24px 0 60px;
  }
}
