/* ── Deal Guru Shared Styles ── */

body {
  background-color: #fff8f7;
  color: #281718;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Material Symbols baseline */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
}

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 100ms; }
.stagger > *:nth-child(3) { transition-delay: 200ms; }
.stagger > *:nth-child(4) { transition-delay: 300ms; }
.stagger > *:nth-child(5) { transition-delay: 400ms; }
.stagger > *:nth-child(6) { transition-delay: 500ms; }
.stagger > *:nth-child(7) { transition-delay: 600ms; }

/* ── FAQ Accordion ── */
.accordion-content {
  transition: max-height 0.35s ease-out, opacity 0.35s ease-out, margin 0.35s ease-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
}
.accordion-item.active .accordion-content {
  max-height: 500px;
  opacity: 1;
  margin-top: 16px;
}
.accordion-item.active .expand-icon {
  transform: rotate(180deg);
}
.expand-icon {
  transition: transform 0.3s ease;
}

/* ── Glassmorphism ── */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* ── Phone Mockup ── */
.phone-mockup {
  position: relative;
  width: 280px;
  height: 570px;
  background: #000;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}
.phone-mockup .phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}
.phone-mockup .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ── Screenshot Carousel ── */
.screenshot-carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  scrollbar-width: none;
}
.screenshot-carousel::-webkit-scrollbar {
  display: none;
}
.screenshot-carousel .phone-mockup {
  scroll-snap-align: center;
  flex-shrink: 0;
}

/* ── Floating animation ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* ── Pulse glow ── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(186, 0, 54, 0.15); }
  50% { box-shadow: 0 0 40px rgba(186, 0, 54, 0.3); }
}
.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ── Counter animation ── */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
  .phone-mockup {
    width: 220px;
    height: 450px;
    border-radius: 36px;
    padding: 10px;
  }
  .phone-mockup::before {
    width: 90px;
    height: 24px;
    border-radius: 0 0 14px 14px;
  }
  .phone-mockup .phone-screen {
    border-radius: 28px;
  }
}

/* ── Links in nav ── */
a {
  text-decoration: none;
}
a.no-underline {
  text-decoration: none !important;
}
