/* ChefTalk Marketing Website - Sections */
/* Hero, features, recipe-sites, CTA sections */

/* Section containers */
.hero-container,
.features-container,
.recipe-sites-container,
.cta-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  box-sizing: border-box;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 40px);
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FEF3E2 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  min-height: 70vh;
}

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

.hero-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.hero-highlight {
  color: var(--primary-orange);
  position: relative;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero feature points - spoon bullets (spoon shape is a CSS mask so it
   takes the brand orange via background-color) */
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
  width: fit-content;
  max-width: 500px;
  text-align: left;
}

.hero-points li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-gray);
}

.hero-points li:last-child {
  margin-bottom: 0;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  background-color: var(--primary-orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='rotate(45 12 12)'%3E%3Cellipse cx='12' cy='6.5' rx='4.2' ry='5.5'/%3E%3Crect x='10.9' y='11' width='2.2' height='12' rx='1.1'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='rotate(45 12 12)'%3E%3Cellipse cx='12' cy='6.5' rx='4.2' ry='5.5'/%3E%3Crect x='10.9' y='11' width='2.2' height='12' rx='1.1'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

.hero-free-line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 10px 14px 10px 18px;
  border: 1.5px solid rgba(255, 107, 53, 0.35);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(14px, 3.8vw, 16px);
  text-align: left;
  color: var(--primary-dark);
}

.hero-free-text {
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .hero-free-line {
    font-size: 20px;
    padding-left: 22px;
  }
}

.hero-free-pill {
  flex: none;
  white-space: nowrap;
  background: var(--primary-orange);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  line-height: 1;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* App Store badge + tour button pair. The gap keeps the tour button outside
   the badge's required clear space (1/4 of badge height). */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Same footprint as the badge (150x50, 180x60 from 768px) so the pair balances */
.tour-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 150px;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--primary-dark);
  border-radius: 10px;
  background: transparent;
  color: var(--primary-dark);
  font-family: var(--font-primary);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tour-btn:hover,
.tour-btn:focus-visible {
  background: var(--primary-dark);
  color: var(--primary-light);
}

.tour-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: var(--primary-light);
}

.tour-btn-icon svg {
  margin-left: 2px;
}

.tour-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.tour-btn-small {
  font-size: 10px;
  font-weight: 500;
}

.tour-btn-large {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

/* Feature card "Watch how it works" button (opens the shared video modal) */
.feature-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 6px 16px 6px 6px;
  border: 1.5px solid var(--primary-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--primary-dark);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.feature-video-btn:hover,
.feature-video-btn:focus-visible {
  background: var(--primary-dark);
  color: var(--primary-light);
}

/* Tour video modal */
.tour-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.tour-modal[hidden] {
  display: none;
}

.tour-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.tour-modal-content {
  position: relative;
  height: min(88vh, 900px);
  aspect-ratio: 9 / 16;
  max-width: 100%;
}

.tour-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
}

.tour-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
}

.tour-modal-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

body.tour-modal-open {
  overflow: hidden;
}

.hero-subtext {
  font-size: 14px;
  color: var(--text-light-gray);
  text-align: center;
}

/* Official App Store Badge (Apple artwork - must not be recoloured,
   angled or animated; min height 40px, clear space 1/4 of badge height) */
.appstore-badge {
  display: inline-block;
  line-height: 0;
  margin: 15px 0;
  text-decoration: none;
}

.appstore-badge img {
  display: block;
  width: 150px;
  height: auto;
}

@media (min-width: 768px) {
  .appstore-badge img {
    width: 180px;
  }

  .hero-cta-row {
    gap: 28px;
  }

  .tour-btn {
    width: 180px;
    height: 60px;
    border-radius: 12px;
    gap: 12px;
  }

  .tour-btn-icon {
    width: 30px;
    height: 30px;
  }

  .tour-btn-small {
    font-size: 11px;
  }

  .tour-btn-large {
    font-size: 19px;
  }
}

/* Email Fallback Form */
.email-fallback {
  margin-top: 24px;
  width: 100%;
  max-width: 500px;
}

.fallback-label {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
  text-align: center;
}

.fallback-form {
  display: flex;
  gap: 8px;
  flex-direction: column;
  position: relative;
}

.fallback-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-medium);
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--primary-light);
}

.fallback-form .error-message {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  z-index: 10;
}

.email-fallback .hero-description {
  margin-top: 64px; /* Increased from 24px to make room for error message */
}

.fallback-input:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.fallback-submit {
  background: #F3F4F6;
  color: var(--primary-dark);
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-medium);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: var(--font-primary);
}

.fallback-submit:hover {
  background: #E5E7EB;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.phone-carousel {
  width: 280px;
  height: 607px;
  position: relative;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 39px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  border: 2px solid #1d1d1f;
  background: #1d1d1f;
}

/* .carousel-container::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #1d1d1f;
  border-radius: 20px;
  z-index: 20;
} */

.carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 39px;
  background: #000;
  display: block;
}

/* Frameless slides (App Store-style card with the sheet cropped in): the phone bezel steps aside */
.carousel-container {
  transition: border-color 0.5s ease, background-color 0.5s ease, border-radius 0.5s ease;
}

.carousel-container:has(.carousel-slide.frameless.active) {
  border-color: transparent;
  background-color: transparent;
  border-radius: 28px;
  padding: 0; /* drop the bezel's top/bottom band too */
  border-width: 0; /* no page-coloured hairline around the card */
}

/* The card fills the whole phone footprint (cover trims a few px of the slightly taller card) */
.carousel-slide.frameless img {
  object-fit: cover;
  border-radius: 28px;
  background: transparent;
}

/* Slide progress sits below the phone on the page background. The active
   dot stretches into a pill that fills over the slide's duration
   (--slide-duration is set by js/animations.js). */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.slide-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-dot {
  position: relative;
  width: 8px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: width 0.3s ease;
}

.slide-dot::before,
.slide-dot::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 8px;
  margin-top: -4px;
  border-radius: 999px;
}

.slide-dot::before {
  right: 0;
  background: rgba(26, 26, 26, 0.2);
  transition: background-color 0.2s ease;
}

.slide-dot:hover::before {
  background: rgba(26, 26, 26, 0.4);
}

.slide-dot::after {
  width: 0;
  background: var(--primary-orange);
}

.slide-dot.active {
  width: 32px;
}

.slide-dot.active::after {
  width: 100%;
}

.slide-progress.is-playing .slide-dot.active::after {
  animation: slide-fill var(--slide-duration, 4000ms) linear forwards;
}

@keyframes slide-fill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.slide-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1.5px solid rgba(26, 26, 26, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--primary-dark);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.slide-toggle:hover {
  border-color: var(--primary-dark);
  background: rgba(26, 26, 26, 0.06);
}

.slide-toggle-play,
.slide-toggle.is-paused .slide-toggle-pause {
  display: none;
}

.slide-toggle.is-paused .slide-toggle-play {
  display: block;
  margin-left: 1px;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
  color: white;
}

.carousel-arrow-prev {
  left: 10px;
}

.carousel-arrow-next {
  right: 10px;
}

.phone-carousel:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Features Section */
.features {
  background: linear-gradient(135deg, #FFF8F3 0%, #FEF3E2 100%);
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.section-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--primary-light);
  padding: 32px 24px;
  border-radius: var(--radius-large);
  text-align: center;
  border: 1px solid #F3F4F6;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover {
  border-color: var(--primary-orange);
  box-shadow: var(--shadow-light);
}

/* Cards with a "Watch how it works" button: pin the button to the bottom so it lines up across the row */
.feature-card:has(.feature-video-btn) {
  display: flex;
  flex-direction: column;
}

.feature-card:has(.feature-video-btn) .feature-description {
  margin-bottom: 18px;
}

.feature-card .feature-video-btn {
  align-self: center;
  margin-top: auto;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.feature-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
}

/* Feature Icon Specific Styles */
.voice-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.voice-wave::before,
.voice-wave::after {
  content: '';
  width: 3px;
  height: 12px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: background 0.3s ease;
  transform: scaleY(1);
  opacity: 1;
  animation: none;
}

/* Animate voice wave only on hover */
.feature-card:hover .voice-wave::before,
.feature-card:hover .voice-wave::after {
  background: var(--primary-orange);
  animation: voice-pulse 1.5s ease-in-out infinite;
}

.feature-card:hover .voice-wave::after {
  animation-delay: 0.3s;
}

@keyframes voice-pulse {
  0%, 100% {
    transform: scaleY(0.3);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.skill-indicator {
  display: flex;
  gap: 8px;
  align-items: center;
}

.skill-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-dark);
  transition: all 0.3s ease;
}

/* All dots start neutral black */
.skill-dot.beginner { background: var(--primary-dark); }
.skill-dot.intermediate { background: var(--primary-dark); }
.skill-dot.expert { background: var(--primary-dark); }
.skill-dot.active { background: var(--primary-dark); transform: scale(1); box-shadow: none; }

.import-icon,
.shopping-icon,
.timer-icon,
.conversation-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ======================
   FEATURE CARD HOVER ANIMATIONS
   ====================== */

/* All icons start neutral (black/gray) and colorize on hover */
.import-icon svg,
.shopping-icon svg,
.timer-icon svg,
.conversation-icon svg {
  color: var(--primary-dark);
  transition: all 0.3s ease;
}

.feature-card:hover .import-icon svg,
.feature-card:hover .shopping-icon svg,
.feature-card:hover .timer-icon svg,
.feature-card:hover .conversation-icon svg {
  color: var(--primary-orange);
}

/* Skill dots light up on hover */
.feature-card:hover .skill-dot.beginner {
  background: #10B981;
  animation: skill-light-up 1.8s ease-in-out infinite;
  animation-delay: 0s;
}
.feature-card:hover .skill-dot.intermediate {
  background: var(--primary-orange);
  animation: skill-light-up 1.8s ease-in-out infinite;
  animation-delay: 0.2s;
}
.feature-card:hover .skill-dot.expert {
  background: #EF4444;
  animation: skill-light-up 1.8s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes skill-light-up {
  0%, 100% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(255, 107, 53, 0.3);
  }
}

/* Import icon animation - arrow slides into document */
.feature-card:hover .import-icon svg path:nth-child(3),
.feature-card:hover .import-icon svg path:nth-child(4) {
  animation: arrow-slide 1.5s ease-in-out infinite;
}

@keyframes arrow-slide {
  0%, 100% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(3px);
    opacity: 0.7;
  }
}

/* Shopping cart bounce */
.feature-card:hover .shopping-icon svg {
  animation: cart-bounce 1s ease-in-out infinite;
}

@keyframes cart-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-3px);
  }
}

/* Timer clock hand rotation */
.feature-card:hover .timer-icon svg polyline {
  animation: clock-rotate 2s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes clock-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Eye blink animation for sensory cues */
.feature-card:hover .conversation-icon svg {
  animation: eye-blink 2s ease-in-out infinite;
}

@keyframes eye-blink {
  0%, 100% {
    opacity: 1;
    transform: scaleY(1);
  }
  10%, 15% {
    opacity: 0.1;
    transform: scaleY(0.1);
  }
  20% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Recipe Sites Section */
/* ======================
   IMPORT SECTION
   ====================== */

.import-section {
  background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
  padding: var(--section-padding) 0;
}

.import-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  box-sizing: border-box;
}

.import-header {
  text-align: center;
  margin-bottom: 48px;
}

.import-header .section-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.import-header .section-subtitle {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--primary-orange);
  margin-bottom: 16px;
}

.import-header .section-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
}

/* Logo Carousel */
.logo-carousel-wrapper {
  margin-bottom: 0;
}

.search-teaser {
  text-align: center;
  margin-top: 24px;
}

.search-teaser p {
  font-size: 16px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.new-badge {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.new-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: badge-shimmer 2.5s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.search-teaser a {
  color: var(--primary-orange);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.search-teaser-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.search-teaser a:hover {
  text-decoration: underline;
}

.logo-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 32px 0;
  height: 174px; /* Fixed height: 110px (hover height) + 32px (top padding) + 32px (bottom padding) */
}

.logo-carousel-track {
  display: flex;
  gap: 40px;
  will-change: transform;
  transform: translateX(0);
}

.logo-carousel-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 180px;
  height: 80px;
  background: white;
  border-radius: var(--radius-medium);
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.logo-carousel-item .logo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  transition: all 0.3s ease;
}

.logo-carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-carousel-item .logo-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--primary-dark);
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.logo-carousel-item:hover,
.logo-carousel-item.centered {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
  height: 110px;
  padding: 12px 16px 8px;
}

.logo-carousel-item:hover .logo-image,
.logo-carousel-item.centered .logo-image {
  flex: 0 0 60px;
}

.logo-carousel-item:hover img,
.logo-carousel-item.centered img {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-carousel-item:hover .logo-name,
.logo-carousel-item.centered .logo-name {
  opacity: 1;
  max-height: 20px;
  margin-top: 6px;
}

/* CTA */
.import-cta {
  text-align: center;
}

/* ======================
   RECIPE SEARCH DEMO (inside Import Section)
   ====================== */
.import-section .community-banner {
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.import-section .search-panel {
  flex: none;
  max-width: 900px;
  margin: 0 auto;
}

/* CTA Section */
.cta {
  background: var(--primary-dark);
  color: var(--primary-light);
}

.cta-content {
  text-align: center;
  padding-bottom: 60px;
}

.cta-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.cta-description {
  font-size: 18px;
  line-height: 1.6;
  color: #9CA3AF;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form-section {
  margin-bottom: 40px;
}

.cta-subtext {
  font-size: 14px;
  color: #6B7280;
  margin-top: 16px;
}

/* CTA TestFlight Button */
.cta-appstore-btn {
  background: var(--primary-orange);
  color: var(--primary-light);
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius-medium);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
  margin-bottom: 16px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .cta-appstore-btn {
    padding: 20px 40px;
    font-size: 18px;
    gap: 12px;
  }
}

.cta-appstore-btn:hover {
  background: #E55A2B;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.cta-appstore-btn svg {
  flex-shrink: 0;
}

/* CTA Email Fallback */
.cta-email-fallback {
  margin-top: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta-fallback-label {
  font-size: 14px;
  color: #9CA3AF;
  margin-bottom: 12px;
  text-align: center;
}

.cta-fallback-form {
  display: flex;
  gap: 8px;
  flex-direction: column;
  position: relative;
}

.cta-fallback-form .error-message {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  z-index: 10;
}

.cta-fallback-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-medium);
  font-size: 14px;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-light);
}

.cta-fallback-input::placeholder {
  color: #9CA3AF;
}

.cta-fallback-input:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.cta-fallback-submit {
  background: rgba(255, 255, 255, 0.15);
  color: var(--primary-light);
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-medium);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: var(--font-primary);
}

.cta-fallback-submit:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Social Proof */
.social-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-large);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
}

/* Column layout so the author row pins to the card bottom regardless of
   quote length - otherwise authors sit at a different height in every card. */
.testimonial-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary-light);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.author-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 600;
  color: var(--primary-light);
  font-size: 14px;
}

.author-title {
  font-size: 12px;
  color: #9CA3AF;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  text-align: center;
  gap: 32px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-light);
}

.footer-tagline {
  font-size: 14px;
  color: #6B7280;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.footer-link {
  font-size: 14px;
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-copyright {
  font-size: 12px;
  color: #6B7280;
}

/* Tablet responsive */
@media (min-width: 768px) {
  .hero {
    min-height: 100vh;
  }

  .hero-content {
    gap: 60px;
    min-height: 80vh;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-description {
    font-size: 20px;
    margin-bottom: 16px;
    max-width: 600px;
  }

  .hero-points {
    margin-bottom: 40px;
    max-width: 600px;
  }

  .hero-points li {
    font-size: 20px;
  }

  .phone-carousel {
    width: 360px;
    height: 780px;
  }

  .carousel-container {
    border-radius: 50px;
  }

  .carousel-slide img,
  .carousel-slide video {
    border-radius: 50px;
  }

  /* Fallback form responsive */
  .fallback-form,
  .cta-fallback-form {
    flex-direction: row;
  }

  .fallback-label,
  .cta-fallback-label {
    text-align: left;
  }

  .features-header {
    margin-bottom: 80px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-description {
    font-size: 20px;
  }

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

  .feature-card {
    padding: 40px 32px;
  }

  .feature-title {
    font-size: 24px;
  }

  /* Import Section Responsive - Tablet */
  .import-header .section-title {
    font-size: 36px;
  }

  .import-header .section-subtitle {
    font-size: 20px;
  }

  .import-header .section-description {
    font-size: 18px;
  }

  .logo-carousel-container {
    height: 184px; /* Fixed height: 120px (hover height) + 32px (top padding) + 32px (bottom padding) */
  }

  .logo-carousel-item {
    width: 200px;
    height: 90px;
  }

  .logo-carousel-item:hover,
  .logo-carousel-item.centered {
    height: 120px;
  }

  .logo-carousel-item:hover .logo-image,
  .logo-carousel-item.centered .logo-image {
    flex: 0 0 70px;
  }

  .logo-carousel-item .logo-name {
    font-size: 12px;
  }

  .cta-content {
    padding-bottom: 80px;
  }

  .cta-title {
    font-size: 48px;
  }

  .cta-description {
    font-size: 20px;
    margin-bottom: 48px;
  }

  .cta-form-section {
    margin-bottom: 60px;
  }

  .social-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .testimonial {
    padding: 32px;
  }

  .footer-content {
    flex-direction: row;
    text-align: left;
  }

  .footer-right {
    align-items: flex-end;
  }

  .footer-links {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .footer-content {
    align-items: center !important;
    text-align: center !important;
  }
  
  .footer-left {
    text-align: center !important;
  }
  
  .footer-links {
    justify-content: center !important;
  }
  
  /* Email fallback form fixes */
  .fallback-input,
  .cta-fallback-input {
    width: 90%;
    margin-bottom: 8px;
  }
  
  .fallback-submit,
  .cta-fallback-submit {
    width: 90%;
  }
}


/* Desktop responsive */
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    min-height: 0;
  }

  .hero-text {
    text-align: left;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-points {
    margin-left: 0;
  }

  .hero-cta {
    align-items: center;
  }

  .hero-subtext {
    text-align: left;
  }

  /* Desktop fallback form alignment */
  .fallback-label {
    text-align: left;
  }

  .phone-carousel {
    width: 380px;
    height: 824px;
  }

  .carousel-container {
    border-radius: 54px;
  }

  .carousel-slide img,
  .carousel-slide video {
    border-radius: 54px;
  }

  .section-title {
    font-size: 48px;
  }

  /* Import Section Responsive - Desktop */
  .import-header {
    margin-bottom: 64px;
  }

  .import-header .section-title {
    font-size: 42px;
  }

  .logo-carousel-wrapper {
    margin-bottom: 0;
  }

  .logo-carousel-container {
    height: 194px; /* Fixed height: 130px (hover height) + 32px (top padding) + 32px (bottom padding) */
  }

  .logo-carousel-item {
    width: 220px;
    height: 100px;
  }

  .logo-carousel-item:hover,
  .logo-carousel-item.centered {
    height: 130px;
  }

  .logo-carousel-item:hover .logo-image,
  .logo-carousel-item.centered .logo-image {
    flex: 0 0 75px;
  }

  .logo-carousel-item .logo-name {
    font-size: 13px;
  }

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

  .feature-card {
    padding: 48px 40px;
  }

  .cta-title {
    font-size: 56px;
  }
}

/* Three-up cards are ~280px at 1024, too narrow for the feature demos (skill switcher labels overflow) */
@media (min-width: 1280px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Centre a short last row of feature cards: each card spans 2 of twice as many
   tracks, so leftovers can start between columns */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid > .feature-card {
    grid-column: span 2;
  }

  .features-grid > .feature-card:last-child:nth-child(2n+1) {
    grid-column: 2 / span 2;
  }
}

@media (min-width: 1280px) {
  .features-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .features-grid > .feature-card:last-child:nth-child(2n+1) {
    grid-column: span 2;
  }

  .features-grid > .feature-card:last-child:nth-child(3n+1) {
    grid-column: 3 / span 2;
  }

  .features-grid > .feature-card:nth-last-child(2):nth-child(3n+1) {
    grid-column: 2 / span 2;
  }
}


/* Social Community Section */
.social-community {
    padding: 80px 0;
    background: var(--primary-dark);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
}

.social-community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(600px circle at 20% 30%, rgba(255, 107, 107, 0.15), transparent 50%),
        radial-gradient(400px circle at 80% 70%, rgba(255, 178, 56, 0.15), transparent 50%);
    pointer-events: none;
}

.social-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.social-header {
    text-align: center;
    margin-bottom: 60px;
}

.social-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.social-description {
    font-size: 1.25rem;
    color: #9CA3AF;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Equal-width cards that wrap into centred rows: 3 + 2 on desktop
   (text channels first, video channels on the second row), 2 per row on
   tablet, one column on mobile. */
.social-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 1 300px;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.social-link.reddit .social-icon {
    background: linear-gradient(135deg, #FF4500, #FF6B35);
}

.social-link.bluesky .social-icon {
    background: linear-gradient(135deg, #00A8E8, #0077BE);
}

.social-link.blog .social-icon {
    background: linear-gradient(135deg, var(--primary-orange), #E55A2B);
}

.social-link.pinterest .social-icon {
    background: linear-gradient(135deg, #E60023, #AD081B);
}

/* Instagram and YouTube use their official icons unaltered */
.social-link.instagram .social-icon img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.social-link.youtube .social-icon {
    background: #FFFFFF;
}

.social-link.youtube .social-icon img {
    display: block;
    width: 36px;
    height: 36px;
}

.social-link.blog {
    background: rgba(255, 247, 237, 0.1);
}

.social-icon svg {
    color: white;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon svg {
    transform: scale(1.1);
}

/* Recipe Feed Carousel */
.recipe-feed-section {
    margin-top: 80px;
    text-align: center;
}

.recipe-feed-header {
    margin-bottom: 48px;
}

.recipe-feed-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.recipe-feed-description {
    font-size: 1.125rem;
    color: #9CA3AF;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 48px;
    padding: 20px 0;
}

.carousel-container-2 {
    margin-top: 24px;
}

.carousel-track {
    display: flex;
    gap: 16px;
    will-change: transform;
}

.carousel-card {
    flex-shrink: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-large);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.carousel-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #F3F4F6;
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-card:hover .carousel-card-image img {
    transform: scale(1.05);
}

.carousel-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-card:hover .carousel-card-overlay {
    opacity: 1;
}

.carousel-card-cta {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.carousel-card-content {
    padding: 16px;
}

.carousel-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.carousel-card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.carousel-card-author-info {
    flex: 1;
    text-align: left;
}

.carousel-card-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
}

.carousel-card-author-handle {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.carousel-card-text {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-gray);
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
}

.carousel-card-time {
    font-size: 0.7rem;
    color: #9CA3AF;
}

.carousel-card-engagement {
    display: flex;
    gap: 12px;
    align-items: center;
}

.engagement-metric {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #9CA3AF;
}

.engagement-metric svg {
    flex-shrink: 0;
    vertical-align: middle;
}

.carousel-error {
    color: #9CA3AF;
    padding: 40px;
    text-align: center;
}

.recipe-feed-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.recipe-feed-cta .btn-primary {
    padding: 16px 32px;
    font-size: 1rem;
    color: var(--primary-light);
    background: var(--primary-orange);
    text-decoration: none;
}

.recipe-feed-cta .btn-primary:hover {
    background: #E55A2B;
}

.recipe-feed-cta a {
    color: #9CA3AF;
    text-decoration: underline;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.recipe-feed-cta a:hover {
    color: var(--primary-light);
}

.social-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.social-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-light);
}

/* NEW badge beside recently added platforms (same look as the search teaser's) */
.social-new-badge {
    margin-left: 6px;
    vertical-align: middle;
}

.social-handle {
    font-size: 0.9rem;
    color: #9CA3AF;
    opacity: 0.8;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .social-community {
        padding: 60px 0;
    }
    
    .social-container {
        padding: 0 20px;
    }
    
    .social-header {
        margin-bottom: 40px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .social-link {
        flex: none;
        width: 100%;
        max-width: 340px;
        padding: 20px 24px;
    }

    .social-link.instagram .social-icon img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
    .social-icon img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}
}

/* Blog Section */
.blog {
    background: linear-gradient(135deg, #FED7AA 0%, #FDBA74 100%);
}

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

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-large);
    overflow: hidden;
    border: 1px solid #F3F4F6;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-orange);
}
.blog-card:hover .blog-title a {
    color: var(--primary-orange);
}

.blog-image-wrapper {
    position: relative;
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #F3F4F6;
}

.blog-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 8px;
}

.blog-badge img {
    width: 16px;
    height: 16px;
}

.blog-badge span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.blog-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.blog-meta-row .blog-date {
    margin-bottom: 0;
}

.blog-audio-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-audio-badge svg {
    animation: blog-listen-pulse 1.6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes blog-listen-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
    .blog-audio-badge svg {
        animation: none;
    }
}

.blog-audio-badge span,
.blog-reading-badge span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--text-gray);
}

.blog-reading-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 14px;
    color: var(--text-light-gray);
    margin-bottom: 12px;
}

.blog-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* .blog-title a:hover {
    color: var(--primary-orange);
} */

.blog-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    margin-top: auto;
    align-self: flex-start;
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
}

.blog-read-more::after {
    content: '→';
}

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

.blog-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 3px solid #F3F4F6;
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.blog-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
}

/* Tablet responsive */
@media (min-width: 768px) {
    .blog-header {
        margin-bottom: 80px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .blog-image {
        height: 240px;
    }

    .blog-content {
        padding: 32px;
    }

    .blog-title {
        font-size: 22px;
    }
}

/* Desktop responsive */
@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }

    .blog-image {
        height: 220px;
    }

    .blog-title {
        font-size: 24px;
    }
}

/* Blog badge responsive - scale down on smaller cards */
@media (max-width: 767px) {
    .blog-badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        gap: 4px;
    }

    .blog-badge img {
        width: 14px;
        height: 14px;
    }

    .blog-badge span {
        font-size: 11px;
    }

    .blog-audio-badge {
        padding: 3px 6px;
        gap: 4px;
    }

    .blog-audio-badge span,
    .blog-reading-badge span {
        font-size: 10px;
    }

    .blog-reading-badge {
        padding: 3px 6px;
        gap: 4px;
    }
}

/* FAQ Section */
.faq {
    background: var(--primary-dark);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    /* background: linear-gradient(135deg, #411202 0%, #5c2009 100%); */
    /* background: linear-gradient(180deg, #1A1A1A 0%, #0D0D0D 100%); */
    /* background: linear-gradient(135deg, #2D2D2D 0%, #1F1F1F 100%); */
    /* background: var(--primary-dark); */
    
}
.faq .section-title,
.faq .section-description {
    color: var(--primary-light);
}

.faq .section-description {
    color: #9CA3AF;
}

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

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-light);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: #E5E7EB;
    /* color: var(--primary-dark); */
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-orange);
}

.faq-icon {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    /* color: var(--text-gray); */
    color: #9CA3AF;
    margin: 0;
}

.faq-answer a {
    color: var(--primary-orange);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: #E55A2B;
}

/* Tablet responsive */
@media (min-width: 768px) {
    .faq-header {
        margin-bottom: 80px;
    }
    
    .faq-list {
        gap: 20px;
    }
    
    .faq-question {
        padding: 28px 32px;
        font-size: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 32px 28px 32px;
    }
}

/* Pricing Section */
.pricing {
    background: linear-gradient(135deg, #FFF8F3 0%, #FEF3E2 100%);
}

.pricing-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}

.pricing-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-eyebrow {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--primary-light);
    padding: 32px 28px;
    border-radius: var(--radius-large);
    border: 1px solid #F3F4F6;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover {
    box-shadow: var(--shadow-light);
    transform: translateY(-4px);
}

.pricing-card-featured {
    border: 2px solid var(--primary-orange);
    box-shadow: var(--shadow-medium);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.pricing-card-top {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #F3F4F6;
}

.pricing-plan-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.pricing-amount {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 44px;
    line-height: 1;
    color: var(--primary-dark);
}

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

.pricing-price-alt {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.pricing-save {
    display: inline-block;
    background: var(--background-peach);
    color: var(--primary-orange);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-left: 4px;
}

.pricing-plan-tagline {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--primary-dark);
}

.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.pricing-features li.pricing-feature-heading {
    padding-left: 0;
    font-weight: 700;
    color: var(--text-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.pricing-features li.pricing-feature-heading::before {
    display: none;
}

.pricing-cta {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    border-radius: var(--radius-medium);
    margin-top: auto;
}

.pricing-cta-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.pricing-cta-outline:hover {
    background: var(--background-light-orange);
}

.pricing-footnote {
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-light-gray);
    max-width: 620px;
    margin: 40px auto 0;
}

.pricing-footnote a {
    color: var(--primary-orange);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .pricing-header {
        margin-bottom: 64px;
    }

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