/* ===== SAMPLE PAGE — Additional Styles ===== */
/* Extends style.css with PM audit additions + effects */

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: absolute; bottom: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  width: 0%; transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(74,222,128,0.4);
}

/* ===== DARK STRIPE — Warm-to-Cold Gradient Override ===== */
.vision-dark-stripe {
  background: linear-gradient(
    to bottom,
    var(--cream) 0%,
    #3C3430 100px,
    #2E2825 calc(100% - 100px),
    var(--cream) 100%
  );
  overflow: visible;
}
.vision-dark-stripe .vision-headline {
  color: #F0E8DC;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.vision-dark-stripe .vision-line {
  color: rgba(225,230,238,0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* Dark stripe text overflow fix */
.vision-dark-stripe .vision-split-text {
  overflow-wrap: break-word; word-wrap: break-word;
  padding-right: 0; padding-left: 0;
}
.vision-dark-stripe .container { overflow: visible; }

/* ===== MARQUEE DIVIDER ===== */
.marquee-divider {
  background: var(--cream); padding: 40px 0; overflow: hidden;
  border-top: none; border-bottom: none;
  position: relative;
}
.marquee-divider::before, .marquee-divider::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.marquee-divider::before { left: 0; background: linear-gradient(to right, var(--cream), transparent); }
.marquee-divider::after { right: 0; background: linear-gradient(to left, var(--cream), transparent); }

.marquee-track-wrap { overflow: hidden; }
.marquee-track {
  display: flex; align-items: center; white-space: nowrap; width: max-content;
  animation: mqScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.mq-item {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  padding: 0 18px; transition: opacity 0.3s, transform 0.3s; cursor: default;
}
.marquee-track span:nth-child(4n+1) { color: var(--text); opacity: 0.85; }
.marquee-track span:nth-child(4n+3) { color: var(--green); opacity: 1; }
.mq-item:hover { opacity: 0.5 !important; transform: scale(1.04); }
.mq-dot { color: var(--text); opacity: 0.15; font-size: 1.3rem; padding: 0 6px; }
@keyframes mqScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== TRUST STRIP ===== */
.trust-strip {
  padding: 60px 0; background: var(--cream);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--green-dark); display: block; line-height: 1;
}
.trust-icon { font-size: 2rem; display: block; line-height: 1; }
.trust-label {
  font-size: 0.78rem; color: var(--text-muted); margin-top: 8px; display: block;
  font-family: var(--font-display); font-weight: 500; letter-spacing: 0.03em;
}
.trust-sep { width: 1px; height: 40px; background: rgba(0,0,0,0.08); }

@media (max-width: 600px) {
  .trust-grid { gap: 24px; }
  .trust-sep { width: 40px; height: 1px; }
}

/* ===== 3D TILT — Pillar Cards ===== */
.pillar-card[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}
.tilt-glare {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.25) 0%, transparent 55%);
  transition: opacity 0.3s; pointer-events: none; z-index: 1;
}
.pillar-card[data-tilt]:hover .tilt-glare { opacity: 1; }
.pillar-card[data-tilt]:hover { z-index: 5; }

/* Lift pillar content above for 3D depth */
.pillar-card[data-tilt] .pillar-content { transform: translateZ(25px); }

/* ===== BLUR REVEAL — Text ===== */
.blur-word {
  display: inline-block; opacity: 0; filter: blur(16px);
  transform: translateY(12px);
  transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1), filter 1.4s cubic-bezier(0.16,1,0.3,1), transform 1.2s cubic-bezier(0.16,1,0.3,1);
}
.blur-word.visible { opacity: 1; filter: blur(0); transform: translateY(0); }

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  position: fixed; bottom: -80px; left: 0; right: 0; z-index: 90;
  padding: 12px 20px; background: rgba(253,251,247,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,0.06);
  transition: bottom 0.4s cubic-bezier(0.16,1,0.3,1);
  display: none; /* Hidden on desktop */
}
.sticky-cta.visible { bottom: 0; }
.sticky-cta-btn {
  display: block; width: 100%; text-align: center;
  background: var(--green); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: 0.92rem; padding: 14px 24px;
  border-radius: 50px; text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.sticky-cta-btn:active { transform: scale(0.97); }

@media (max-width: 768px) {
  .sticky-cta { display: block; }
}

/* ===== VOICES TESTIMONIALS ===== */
#voices { padding: 80px 0; background: var(--cream); overflow: hidden; }
#voices .container { max-width: 100%; padding: 0; }
#voices h2, #voices .section-eyebrow { padding: 0 24px; max-width: 1060px; margin-left: auto; margin-right: auto; }
.voices-carousel { position: relative; max-width: 480px; margin: 0 auto; overflow: hidden; }
.voices-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  touch-action: pan-y;
}
.voice-card {
  background: #fff; border-radius: 20px; padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 100%; width: 100%; flex-shrink: 0; box-sizing: border-box;
}
.voice-quote-mark { color: rgba(27,140,53,0.15); margin-bottom: 16px; flex-shrink: 0; }
.voice-text {
  font-size: 1.0rem; line-height: 1.8; color: var(--text-muted);
  font-weight: 300; font-style: italic; margin-bottom: 24px; flex-grow: 1;
}
.voice-meta { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(0,0,0,0.06); padding-top: 20px; }
.voice-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(27,140,53,0.15);
}
.voice-meta strong { display: block; font-size: 0.85rem; color: var(--text); }
.voice-meta span { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.voice-card-founder { border: 1px solid rgba(27,140,53,0.15); }
.voices-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 28px;
}
.voices-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(27,140,53,0.2); cursor: pointer;
  transition: all 0.3s ease;
}
.voices-dot.active {
  background: var(--green); width: 24px; border-radius: 4px;
}

/* ===== MAGNETIC BUTTON ===== */
[data-magnetic-btn] {
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}

/* ===== CIRCLE REVEAL — Image Expand ===== */
.circle-reveal {
  width: 100px; height: 100px; border-radius: 50%;
  overflow: hidden; margin: 0 auto;
  transition: width 1.6s cubic-bezier(0.16,1,0.3,1), height 1.6s cubic-bezier(0.16,1,0.3,1), border-radius 1.6s cubic-bezier(0.16,1,0.3,1);
}
.circle-reveal.revealed {
  width: 100%; height: auto; border-radius: 24px;
}
.circle-reveal img {
  width: 100%; min-width: 400px; aspect-ratio: 4/3; object-fit: cover; display: block;
  margin-left: 50%; transform: translateX(-50%);
}
@media (max-width: 768px) {
  .circle-reveal img { min-width: 100%; }
  .vision-dark-stripe .vision-split-text { padding: 0; }
  .vision-dark-stripe .container { padding: 0 24px; overflow: hidden; }
}

/* ===== DARK CAROUSEL — Crossfade with Ken Burns ===== */
.dark-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.dark-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.dark-carousel-slide.active {
  opacity: 1;
}
.dark-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: carouselKenBurns 12s ease-in-out infinite alternate;
}
.dark-carousel-slide:nth-child(2) img {
  animation-delay: -4s;
  animation-direction: alternate-reverse;
}
.dark-carousel-slide:nth-child(3) img {
  animation-delay: -8s;
}
@keyframes carouselKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-2%, -1%); }
}

/* Subliminal caption */
.dark-carousel-slide::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.dark-carousel-caption {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  font-style: italic;
  text-align: center;
  color: rgba(255, 255, 255, 0);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  transition: color 1.2s ease 0.6s;
  pointer-events: none;
}
.dark-carousel-slide.active .dark-carousel-caption {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 768px) {
  .dark-carousel { border-radius: 16px; }
  .dark-carousel-caption { font-size: 0.72rem; bottom: 14px; left: 16px; right: 16px; }
}

/* ===== HOOK SECTION — Stacked Layout ===== */
.hook-header {
  text-align: center; max-width: 600px; margin: 0 auto 48px;
}

/* ===== PHONE GALLERY ===== */
.phone-gallery {
  display: flex; gap: 24px; align-items: flex-end;
  justify-content: center; padding: 20px 0 40px;
}
.phone-gallery-item {
  flex: 0 0 auto; text-align: center;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), filter 0.5s ease;
  animation: phoneFloat 4s ease-in-out infinite;
}
.phone-gallery-item:nth-child(1) { animation-delay: 0s; }
.phone-gallery-item:nth-child(2) { animation-delay: -1s; }
.phone-gallery-item:nth-child(3) { animation-delay: -2s; }
.phone-gallery-item:nth-child(4) { animation-delay: -3s; }

.phone-gallery-item:hover { transform: translateY(-14px); }
.phone-gallery-item:nth-child(1),
.phone-gallery-item:nth-child(4) { transform: translateY(12px); }
.phone-gallery-item:nth-child(1):hover,
.phone-gallery-item:nth-child(4):hover { transform: translateY(2px); }
.phone-gallery-item img {
  width: 260px; height: auto;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.12));
  transition: filter 0.5s ease;
}
.phone-gallery-item:hover img {
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.22));
}
.phone-label {
  display: block; margin-top: 16px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Features as horizontal strip */
.hook-features-row {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 48px; flex-wrap: wrap;
}
.hook-features-row .hook-feature {
  display: flex; align-items: flex-start; gap: 12px; max-width: 240px;
}

@media (max-width: 1024px) {
  .phone-gallery {
    overflow-x: auto; scroll-snap-type: x mandatory;
    justify-content: flex-start; padding: 20px 16px 40px;
    -webkit-overflow-scrolling: touch; gap: 16px;
  }
  .phone-gallery-item { scroll-snap-align: center; flex: 0 0 auto; }
  .phone-gallery-item img { width: 200px; }
  .phone-gallery-item:nth-child(1),
  .phone-gallery-item:nth-child(4) { transform: none; }
  .hook-features-row { flex-direction: column; align-items: center; gap: 24px; }
}
