/* ==================== RESET & BASE ==================== */
:root {
  color-scheme: light only;
  --accent: #FF8F8F;
  --accent-hover: #ff7a7a;
  --text: #121212;
  --text-muted: #666;
  --bg: #ffffff;
  --bg-alt: #f3f3f3;
  --footer-bg: #121212;
  --heading-font: 'Recoleta', serif;
  --body-font: 'Inter', sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--body-font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ==================== ANNOUNCEMENT BAR ==================== */
.announcement-bar {
  background: #FF8F8F;
  color: #fff;
  text-align: center;
  padding: 4px 16px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-transform: uppercase;
}

.announcement-bar p { margin: 0; }

/* ==================== NAVIGATION ==================== */
.nav {
  background: var(--bg);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  border-bottom: 1px solid #e8e8e8;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-desktop-links {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-desktop-text-links {
  display: none;
  align-items: center;
  gap: 16px;
  margin-right: 12px;
}

.nav-text-link {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.nav-desktop-only {
  display: none;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px;
  z-index: 10;
}

.nav-hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.nav-icon-btn svg {
  width: 18px;
  height: 18px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  padding: 0 16px;
  border-top: 1px solid #e8e8e8;
}

.mobile-menu.active { display: flex; }

.mobile-menu-link {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* Nav Desktop Overrides - must come AFTER all nav base styles */
@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
  .nav-inner { padding: 8px 40px; }
  /* Keep logo centered on desktop (same as mobile) */
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-logo-img {
    height: 52px;
  }
  .nav-desktop-links { display: flex; margin-left: auto; }
  .nav-desktop-text-links { display: flex; }
  .nav-desktop-only { display: block; }
  .nav-icon-btn.nav-desktop-only { display: flex; }
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: var(--bg);
  padding: 16px 16px 0;
  text-align: left;
  color: var(--text);
}

.hero-text {
  margin-bottom: 10px;
}

.hero-title {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 6px;
  max-width: 95%;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.stars { display: flex; gap: 1px; }
.star { width: 11px; height: 11px; }

.review-count {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* Hero media - large, nearly full-width */
.hero-media-wrap {
  position: relative;
  margin: 2px -4px 0;
}

.hero-media {
  position: relative;
  overflow: hidden;
  width: calc(100% + 32px);
  height: 450px;
  background: url('/pillow-order/viewer-bg.png') center/cover no-repeat;
  background-color: #d4eef3;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  margin: 0 -16px;
}

.hero-3d-viewer {
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}

.hero-3d-viewer canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-pillow-inline {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background: transparent;
}
.hero-pillow-inline iframe {
  width: 100%;
  border: none;
  display: block;
  touch-action: pan-y;
  overflow: hidden;
}

/* When pillow form is active: flush to header, full-width, no gaps */
.hero.pillow-active {
  padding: 0;
  margin: 0;
  background: var(--bg);
}
.hero.pillow-active .hero-media-wrap {
  margin: 0;
}
.hero.pillow-active .hero-pillow-inline {
  border-radius: 0;
  box-shadow: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-controls {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}

.video-control-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.video-control-btn svg {
  width: 18px;
  height: 18px;
}

/* CTA overlays bottom of hero image */
.hero-cta-wrap {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
}

/* No vignette overlay */

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--body-font);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  letter-spacing: 0.5px;
  border-radius: 12px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  padding: 16px 32px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0px 6px 20px rgba(0,0,0,0.2);
}

.btn-hero {
  font-size: 16px;
  padding: 14px 0;
  letter-spacing: 0.5px;
  width: calc(100% - 32px);
  max-width: 340px;
  margin: 0 auto;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.3);
  border-radius: 10px;
}

.btn-hero svg {
  width: 20px;
  height: 20px;
}

.btn-outline-dark {
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 14px;
  padding: 14px 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
}

.btn-outline-dark:hover {
  background: #e87878;
  color: #fff;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
  padding: 12px 16px 16px;
  text-align: center;
  background: var(--bg);
  color: var(--text);
}

.hiw-tagline {
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0;
  opacity: 1;
  background: var(--bg-alt);
  display: block;
  padding: 16px 24px 12px;
  border-radius: 20px 20px 0 0;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.hiw-container {
  background: var(--bg-alt);
  border-radius: 0 0 20px 20px;
  padding: 8px 10px 14px;
  max-width: 340px;
  margin: 0 auto;
  border: none;
}

.hiw-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.hiw-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 143, 143, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: 1.5px solid rgba(255, 143, 143, 0.25);
}

.hiw-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  stroke-width: 2.5;
}

.hiw-label {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.hiw-arrow {
  display: flex;
  align-items: center;
  padding-top: 16px;
}

.hiw-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  stroke-width: 3;
}

/* ==================== POPUP MODAL ==================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
}

.popup-container {
  background: var(--footer-bg);
  width: 100%;
  max-width: 380px;
  border-radius: 24px;
  position: relative;
  padding: 50px 24px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  overflow: visible;
}

.popup-close {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.popup-logo {
  font-family: var(--heading-font);
  font-size: 28px;
  margin-bottom: 12px;
}

.popup-headline {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 20px;
}

.headline-top {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 900;
}

.headline-main {
  font-family: var(--heading-font);
  font-size: 64px;
  font-weight: 900;
  color: #ffdb58; /* Yellow */
}

.headline-bottom {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 800;
}

.popup-question {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.4;
}

.popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-popup {
  background: #fff;
  color: var(--footer-bg);
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-popup:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Decorations (using pseudo-elements or empty divs for now) */
.popup-deco-dog {
  position: absolute;
  top: -40px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #f5d76e 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.popup-deco-cats {
  position: absolute;
  top: -60px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #ddd 0%, transparent 70%);
  z-index: -1;
}

.popup-deco-woman {
  position: absolute;
  bottom: 20px;
  right: -30px;
  width: 100px;
  height: 150px;
  background: radial-gradient(circle, #FF8F8F 0%, transparent 70%);
  z-index: -1;
}

.popup-deco-sun {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #ffdb58 0%, transparent 70%);
  opacity: 0.5;
  z-index: -1;
}

/* ==================== PARTNERS ==================== */
.partners {
  padding: 36px 24px 40px;
  text-align: center;
  background: var(--bg);
  color: var(--text);
}

.partners-title {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

/* Desktop partner pill override is in the main 1024px media query below */

.partner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 4rem;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.partner-paramount { background: var(--accent); color: #fff; }
.partner-southpark { background: var(--accent); color: #fff; }
.partner-hbo { background: var(--accent); color: #fff; }
.partner-fx { background: var(--accent); color: #fff; }
.partner-peanuts { background: var(--accent); color: #fff; }
.partner-yellowstone { background: var(--accent); color: #fff; }

/* ==================== SECTION TITLES ==================== */
.section-title {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title-bold {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* ==================== SHOP YOUR VIBE ==================== */
.shop-vibe {
  padding: 40px 0 44px 16px;
  background: var(--bg);
}

.shop-vibe-title {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-right: 16px;
}

.vibe-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-right: 16px;
  padding-bottom: 10px;
}

.vibe-scroll::-webkit-scrollbar { display: none; }

.vibe-card {
  flex: 0 0 65%;
  scroll-snap-align: start;
  text-align: center;
}

.vibe-thumbnail {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #f0f0f0;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
}

.vibe-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vibe-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.vibe-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  padding: 18px 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  z-index: 3;
}

/* ==================== SOCIAL PROOF ==================== */
.social-proof {
  padding: 24px 16px 48px;
  background: var(--bg);
  text-align: center;
  color: var(--text);
}

.social-proof .section-title {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.social-videos {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.social-video-card {
  width: 60%;
  max-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 6px 20px rgba(0,0,0,0.1);
}

.social-thumbnail {
  position: relative;
  aspect-ratio: 3/4;
  background: #e8e0f0;
}

.social-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
}

.social-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ==================== CUSTOMER REVIEWS ==================== */
.customer-reviews {
  padding: 20px 0 16px;
  background: #fff;
}

.customer-reviews .section-title-bold {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.reviews-stars {
  display: flex;
  gap: 2px;
}

.reviews-count {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 16px;
  scrollbar-width: none;
}

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

.review-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.review-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.review-body {
  padding: 10px 12px 12px;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 8px;
}

.review-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .reviews-scroll {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 0 24px 16px;
  }

  .review-card {
    flex: 0 0 260px;
  }

  .review-img {
    height: 280px;
  }
}

/* ==================== WALL OF FAME ==================== */
.wall-of-fame {
  padding: 24px 16px;
  background: var(--bg);
  text-align: center;
  color: var(--text);
}

.wall-of-fame .section-title-bold {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}

.fame-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.fame-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
}

.fame-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

.fame-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.fame-username {
  font-size: 11px;
  font-weight: 700;
  color: #262626;
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fame-image {
  aspect-ratio: 1;
  background: #f0f0f0;
  overflow: hidden;
}

.fame-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fame-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
}

.fame-action-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fame-actions svg {
  width: 20px;
  height: 20px;
}

.btn-show-more {
  margin-top: 20px;
  background: transparent;
  color: var(--text);
  border: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow: none;
  display: inline-block;
  cursor: pointer;
}

.btn-show-more:hover {
  background: transparent;
  color: var(--text-muted);
  transform: none;
}

/* ==================== AGGREGATE RATING ==================== */
.aggregate-rating {
  padding: 16px 16px 8px;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  border-top: none;
}

.rating-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.rating-number {
  font-family: var(--heading-font);
  font-size: 52px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.star-lg {
  width: 28px;
  height: 28px;
}

.rating-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg);
  color: var(--text);
  padding: 16px 20px 40px;
  border-top: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}


.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

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

.footer-column-title {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.footer-column a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  border-top: none;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 24px;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-legal {
  font-size: 11px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #eee;
  margin-top: 16px;
}

.footer-legal a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-legal .dot-sep { color: #ccc; font-size: 8px; }

/* Footer Accordion (Mobile) */
.footer-accordion {
  margin-bottom: 24px;
}

.accordion-item {
  border-bottom: 1px solid #e8e8e8;
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 16px 0;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  background: none;
  border: none;
  cursor: pointer;
}

.accordion-chevron {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 16px 22px;
}

.accordion-item.active .accordion-body {
  display: flex;
}

.accordion-body a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.accordion-body a:hover {
  color: var(--text);
}

/* Mobile Newsletter */
.footer-newsletter {
  margin-bottom: 24px;
}

.newsletter-title {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.newsletter-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--body-font);
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: transparent;
  color: var(--text);
  outline: none;
}

.newsletter-input::placeholder {
  color: #999;
}

.newsletter-input:focus {
  border-color: var(--text);
}

.newsletter-btn {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  background: transparent;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-only { display: block; }
.footer .nav-desktop-links { display: none; }

@media (min-width: 1024px) {
  .mobile-only { display: none; }
  .footer .nav-desktop-links { display: grid; }
  
  .newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-bottom: none;
    padding-bottom: 0;
  }
  .newsletter-input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    padding: 10px 14px;
    color: var(--text);
    font-size: 14px;
  }
  .newsletter-input:focus { background: transparent; }
  .newsletter-btn {
    background: transparent;
    border: none;
    border-left: none;
    border-radius: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
  }
}

/* Footer Socials */
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: 4px;
}

.social-link {
  color: var(--text);
  opacity: 0.9;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.social-link svg {
  width: 28px;
  height: 28px;
}

.social-link:hover { opacity: 1; }

/* ==================== BOTTOM BAR ==================== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 90;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.08);
  border-top: 1px solid #e8e8e8;
}

.bottom-bar-promo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-text {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.5px;
}

.bottom-bar-close {
  font-size: 20px;
  color: rgba(0,0,0,0.4);
  background: none;
  border: none;
  padding: 0 4px;
  line-height: 1;
  cursor: pointer;
}

.bottom-bar-links { display: none; } /* Hide the legal links on mobile footer bar */

/* ==================== RESPONSIVE: TABLET ==================== */
@media (min-width: 768px) {
  .announcement-bar {
    font-size: 12px;
    padding: 10px 20px;
  }

  .announcement-bar p br { display: none; }

  .nav-logo { font-size: 24px; }

  .hero { padding: 16px 32px 0; }
  .hero-title { font-size: 48px; }
  .hero-subtitle { font-size: 18px; }
  .hero-media-wrap { margin: 20px -12px 0; }
  .hero-media { max-width: 500px; margin: 0 auto; }

  .hiw-steps { gap: 20px; }
  .hiw-icon { width: 84px; height: 84px; }
  .hiw-label { font-size: 14px; }

  .partners-logos { gap: 20px; }

  .vibe-card { flex: 0 0 33%; }
  .shop-vibe-title { font-size: 36px; }

  .social-videos {
    max-width: 600px;
    margin: 0 auto 32px;
  }

  .fame-grid {
    max-width: 600px;
    margin: 0 auto 32px;
  }

  .section-title { font-size: 28px; }
  .section-title-bold { font-size: 32px; }
}

@media (min-width: 1024px) {
  .hero {
    padding: 24px 60px 0;
    text-align: center;
  }

  .hero-title {
    font-size: 44px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-rating { justify-content: center; gap: 8px; }
  .star { width: 16px; height: 16px; }
  .review-count { font-size: 13px; }

  .hero-media {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-media-wrap { margin-top: 32px; }
}

@media (min-width: 1024px) {
  .hiw-tagline {
    max-width: 800px;
    padding: 20px 40px 14px;
  }

  .hiw-container {
    max-width: 800px;
    padding: 12px 40px 24px;
  }

  .hiw-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
  }

  .hiw-icon svg {
    width: 36px;
    height: 36px;
  }

  .hiw-label {
    font-size: 14px;
  }

  .hiw-arrow {
    padding-top: 24px;
  }
}

@media (min-width: 1024px) {
  /* Section titles - left aligned on desktop */
  .shop-vibe-title { font-size: 44px; text-align: left; padding-right: 0; }
  .section-title { font-size: 24px; text-align: left; }
  .section-title-bold { font-size: 30px; text-align: left; }

  /* Shop your vibe - full width */
  .shop-vibe { padding: 40px 24px 44px; }
  .vibe-scroll {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    overflow: visible;
    padding-right: 0;
  }
  .vibe-card { flex: none; }
  .vibe-label {
    padding: 20px 8px;
    font-size: 20px;
    line-height: 1.2;
  }

  /* Partner pills - bigger on desktop */
  .partner-pill {
    height: 52px;
    padding: 0 40px;
    font-size: 20px;
    border-radius: 4rem;
  }
  .partners-logos {
    gap: 16px;
    max-width: none;
  }

  /* Social videos - wider, left-aligned title */
  .social-proof { padding: 44px 24px 48px; text-align: left; }
  .social-proof .section-title { text-align: left; }
  .social-buttons { justify-content: center; }
  .social-videos {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
    gap: 12px;
    margin: 0 0 32px;
  }

  /* Fame grid - centered under heading */
  .wall-of-fame { padding: 48px 24px; text-align: center; }
  .wall-of-fame .section-title-bold { text-align: center; }
  .fame-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin: 0 auto 32px;
    gap: 16px;
  }
  .btn-show-more { display: block; margin: 20px auto 0; text-align: center; }

  .footer-inner { max-width: 1000px; }
}

/* ==================== PILLOW ORDER MODAL ==================== */
.pillow-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  transition: background 0.3s ease, visibility 0s 0.3s;
}

.pillow-modal-overlay.active {
  background: rgba(0, 0, 0, 0.6);
  visibility: visible;
  transition: background 0.3s ease, visibility 0s 0s;
}

.pillow-modal {
  width: 100%;
  height: 95dvh;
  background: #f5f5f5;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.pillow-modal-overlay.active .pillow-modal {
  transform: translateY(0);
}

.pillow-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.pillow-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  background: #f0f0f0;
  transition: background 0.2s;
}

.pillow-modal-close:hover {
  background: #e0e0e0;
}

.pillow-modal-title {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.pillow-modal-spacer {
  width: 36px;
}

.pillow-modal-body {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.pillow-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillow-modal-body iframe.loaded {
  opacity: 1;
}

.pillow-modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #f5f5f5;
  transition: opacity 0.3s ease;
}

.pillow-modal-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.pillow-modal-loading p {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.pillow-modal-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e0e0e0;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: pillowSpin 0.8s linear infinite;
}

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

/* Desktop: centered card instead of bottom sheet */
@media (min-width: 768px) {
  .pillow-modal-overlay {
    align-items: center;
    padding: 24px;
  }

  .pillow-modal {
    max-width: 440px;
    height: 90vh;
    max-height: 820px;
    border-radius: 20px;
    transform: translateY(40px) scale(0.96);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
                opacity 0.25s ease;
  }

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

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-text { animation: fadeInUp 0.5s ease-out; }

.partners, .shop-vibe, .social-proof,
.wall-of-fame, .aggregate-rating {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.partners.visible, .shop-vibe.visible,
.social-proof.visible, .wall-of-fame.visible, .aggregate-rating.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== PILLOW LOADING (inline in hero) ==================== */
.pillow-loading {
  background: #0A0E2A;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  height: 450px;
  overflow: hidden;
  position: relative;
}
.pillow-loading.hidden {
  display: none;
}
.pillow-loading-paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pl-paw {
  position: absolute;
  opacity: 0.08;
  animation: plPawFloat linear infinite;
}
.pl-paw.p1  { width: 24px; left: 3%;   top: -24px; animation-duration: 6s;   animation-delay: 0s; }
.pl-paw.p2  { width: 18px; left: 22%;  top: -18px; animation-duration: 7s;   animation-delay: 0.4s; }
.pl-paw.p3  { width: 32px; left: 50%;  top: -32px; animation-duration: 8s;   animation-delay: 1.2s; }
.pl-paw.p4  { width: 20px; left: 80%;  top: -20px; animation-duration: 7.5s; animation-delay: 0.8s; }
.pl-paw.p5  { width: 26px; left: 38%;  top: -26px; animation-duration: 9s;   animation-delay: 2s; }
.pl-paw.p6  { width: 22px; left: 12%;  top: -22px; animation-duration: 6.5s; animation-delay: 1.6s; }
.pl-paw.p7  { width: 28px; left: 62%;  top: -28px; animation-duration: 8.5s; animation-delay: 0.2s; }
.pl-paw.p8  { width: 16px; left: 88%;  top: -16px; animation-duration: 7s;   animation-delay: 2.4s; }
.pl-paw.p9  { width: 22px; left: 6%;   top: -22px; animation-duration: 9.5s; animation-delay: 3s; }
.pl-paw.p10 { width: 30px; left: 45%;  top: -30px; animation-duration: 6s;   animation-delay: 1s; }
.pl-paw.p11 { width: 18px; left: 72%;  top: -18px; animation-duration: 7.5s; animation-delay: 3.5s; }
.pl-paw.p12 { width: 24px; left: 28%;  top: -24px; animation-duration: 8s;   animation-delay: 2.8s; }
@keyframes plPawFloat {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  3%   { opacity: 0.08; }
  85%  { opacity: 0.08; }
  100% { transform: translateY(550px) rotate(15deg); opacity: 0; }
}
.pillow-loading-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 85%;
  max-width: 300px;
  z-index: 1;
}
.pillow-loading-ring {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillow-loading-paw-icon {
  width: 83px;
  height: 83px;
  opacity: 0.85;
  animation: plPawBreathe 3s ease-in-out infinite;
}
@keyframes plPawBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}
.pillow-loading-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 143, 143, 0.12);
  border-top-color: #FF8F8F;
  animation: plSpin 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes plSpin { to { transform: rotate(360deg); } }
.pillow-loading-status {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin: 0;
  min-height: 1.5em;
  transition: opacity 0.3s ease;
}
.pillow-loading-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.pillow-loading-track::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  animation: plShimmer 2s ease-in-out infinite;
}
@keyframes plShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.pillow-loading-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #FF8F8F, #ffb8b8);
  border-radius: 2px;
  transition: width 0.3s ease;
  position: relative;
  z-index: 1;
}
.pillow-loading-pct {
  font-family: var(--body-font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  margin: -12px 0 0;
}

/* ==================== URGENCY BAR ==================== */
.urgency-bar {
  background: linear-gradient(90deg, #1a1a1a 0%, #333 100%);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.urgency-bar p { margin: 0; }

.urgency-bar #urgencyTimer {
  color: #FFB800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

/* ==================== GUARANTEES STRIP ==================== */
.guarantees-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px 16px;
  background: var(--bg-alt);
  flex-wrap: wrap;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.guarantee-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
  padding: 40px 16px 48px;
  background: var(--bg);
  max-width: 640px;
  margin: 0 auto;
}

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

.faq-item {
  border-bottom: 1px solid #e8e8e8;
}

.faq-item:first-child {
  border-top: 1px solid #e8e8e8;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}

.faq-toggle {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-toggle {
  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: 200px;
  padding-bottom: 16px;
}

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

/* ==================== EXIT INTENT POPUP ==================== */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exit-overlay.active {
  display: flex;
}

.exit-popup {
  background: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  padding: 40px 28px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.exit-title {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.exit-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.exit-subtitle strong {
  color: var(--accent);
  font-size: 18px;
}

.exit-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exit-email {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--body-font);
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.exit-email:focus {
  border-color: var(--accent);
}

.exit-cta {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.exit-cta:hover {
  background: var(--accent-hover);
}

.exit-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}
