/* ============================================
   The Pawfect Moment - Coloring Book Lander
   Mobile-first responsive landing page
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  color-scheme: light only;
  --primary: #F38181;
  --primary-hover: #E06B6B;
  --primary-light: #FDDEDE;
  --primary-bg: #FFF0EB;
  --accent: #B5E0E8;
  --accent-light: #E5F4F7;
  --bg-warm: #FFF8F0;
  --bg-hero: #FFF5EB;
  --text-dark: #1A1A1A;
  --text-body: #555555;
  --text-muted: #888888;
  --white: #ffffff;
  --star: #FFB800;
  --success: #4CAF50;
  --border: #E8E8E8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', cursive;
  --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  box-shadow: 0 4px 14px rgba(243, 129, 129, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(243, 129, 129, 0.45);
  transform: translateY(-1px);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 14px 32px;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 10px 40px 10px 20px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 100;
}

.announcement-bar p {
  margin: 0;
  line-height: 1.4;
}

.announcement-bar .paw-emoji {
  font-size: 14px;
}

.announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.8;
  line-height: 1;
}

.announcement-close:hover {
  opacity: 1;
}

.announcement-bar.hidden {
  display: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
}

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

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition);
}

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

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0 20px 20px;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

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

.mobile-menu-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-menu-link:hover {
  color: var(--primary);
}

.mobile-menu-cta {
  display: block;
  margin-top: 16px;
  padding: 14px 24px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(180deg, var(--bg-hero) 0%, var(--bg-warm) 100%);
  padding: 40px 0 48px;
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-badge-icon {
  font-size: 16px;
}

.hero-title {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.script-text {
  font-family: var(--font-script);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.15em;
}

.hero-subtitle {
  font-size: clamp(15px, 3.5vw, 18px);
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-bottom: 12px;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-trust svg {
  flex-shrink: 0;
}

.hero-image {
  margin-top: 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  background: var(--white);
}

.hero-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */
.section-title {
  font-size: clamp(24px, 5.5vw, 36px);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(14px, 3.2vw, 17px);
  color: var(--text-body);
  text-align: center;
  max-width: 500px;
  margin: 10px auto 0;
  line-height: 1.6;
}

.badge-pill {
  display: inline-block;
  padding: 5px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 60px 0;
  background: var(--white);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition);
}

.step:hover {
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 24px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   TRANSFORMATION (PHOTO TO COLORING PAGE)
   ============================================ */
.transformation {
  padding: 60px 0;
  background: var(--bg-warm);
}

.transformation .container {
  text-align: center;
}

.transform-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.transform-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.transform-images {
  display: flex;
  align-items: center;
  gap: 8px;
}

.transform-img-wrap {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.transform-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
}

.transform-placeholder {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 500;
}

.transform-placeholder.before {
  background: linear-gradient(135deg, #fce4d6, #f7d5c4);
  color: var(--primary);
}

.transform-placeholder.after {
  background: linear-gradient(135deg, #e8f4f8, #d4ecf2);
  color: #5b9eb3;
}

.transform-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.transform-label {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 60px 0;
  background: var(--white);
}

.testimonials .container {
  text-align: center;
}

.stars-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
  margin-bottom: 28px;
}

.stars-row .star {
  width: 22px;
  height: 22px;
}

.testimonial-carousel {
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

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

.testimonial-card {
  min-width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
}

.testimonial-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

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

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 60px 0;
  background: var(--bg-warm);
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.save-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--success);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.pricing-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}

.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 4px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-cents {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 4px;
}

.pricing-starting {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-original {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-original s {
  text-decoration: line-through;
}

.pricing-features {
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid #f5f5f5;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li svg {
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--primary-bg) 100%);
  position: relative;
  overflow: hidden;
}

.final-cta .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.08;
  pointer-events: none;
}

.cta-deco {
  width: 100%;
  max-width: 400px;
  height: auto;
  color: var(--primary);
}

.final-cta .section-title {
  margin-bottom: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-bg);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin: 0 auto;
}

.footer-col {
  text-align: center;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-body);
  padding: 5px 0;
  transition: color var(--transition);
}

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

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* ============================================
   ANIMATIONS (scroll reveal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   DESKTOP BREAKPOINTS
   ============================================ */

/* Tablet (640px+) */
@media (min-width: 640px) {
  .container {
    padding: 0 32px;
  }

  .hero {
    padding: 56px 0 64px;
  }

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

  .steps {
    flex-direction: row;
    gap: 16px;
  }

  .step {
    flex: 1;
  }

  .pricing-cards {
    flex-direction: row;
    gap: 16px;
  }

  .pricing-card {
    flex: 1;
  }

  .transform-cards {
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    text-align: left;
    gap: 40px;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-logo {
    margin: 0;
  }

  .footer-col {
    text-align: left;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

/* Desktop (768px+) */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-hamburger {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .nav-logo-img {
    height: 42px;
  }

  .hero .container {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 48px;
  }

  .hero-content {
    flex: 1;
  }

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

  .hero-image {
    flex: 1;
    margin-top: 0;
    max-width: 460px;
  }

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

  .how-it-works {
    padding: 80px 0;
  }

  .transformation {
    padding: 80px 0;
  }

  .testimonials {
    padding: 80px 0;
  }

  .pricing {
    padding: 80px 0;
  }

  .final-cta {
    padding: 96px 0;
  }

  .testimonial-card {
    min-width: 100%;
  }
}

/* Large Desktop (1024px+) */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 46px;
  }

  .hero .container {
    gap: 64px;
  }

  .transform-cards {
    flex-direction: row;
  }

  .transform-card {
    flex: 1;
  }

  .transform-images {
    flex-direction: column;
  }

  .transform-arrow {
    transform: rotate(90deg);
  }

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