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

/* ============================================
   PLAYFUL PREMIUM DESIGN SYSTEM
   ============================================ */

:root {
  /* Primary - Rose */
  --primary: #F43F5E;
  --primary-dark: #E11D48;
  --primary-soft: #FFF1F2;
  
  /* Secondary - Amber/Gold */
  --secondary: #FBBF24;
  --secondary-soft: #FFFBEB;
  
  /* Neutrals - Slate Scale */
  --text: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --border: #F1F5F9;
  --border-medium: #E2E8F0;
  
  /* Background */
  --bg: #FFF9F5;
  --surface: #ffffff;
  
  /* Legacy mappings */
  --success: #10B981;
  --error: #F43F5E;
  --accent: #FBBF24;
  
  /* Border Radii - Less rounded for cleaner look */
  --radius-card: 24px;
  --radius-hero: 20px;
  --radius-button: 12px;
  --radius-image: 16px;
  --radius-small: 12px;
  
  /* Shadows - Tinted with Rose */
  --shadow-sm: 0 4px 12px rgba(244, 63, 94, 0.06);
  --shadow-md: 0 8px 24px rgba(244, 63, 94, 0.08);
  --shadow-lg: 0 16px 48px rgba(244, 63, 94, 0.1);
  --shadow-xl: 0 24px 60px rgba(244, 63, 94, 0.12);
  
  /* Legacy shadow */
  --shadow: var(--shadow-md);
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.logo-badge {
  background: var(--primary);
  color: white;
  padding: 8px 12px;
  border-radius: var(--radius-small);
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-text {
  color: var(--text);
}

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

.header nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 600;
  transition: color 0.2s;
}

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

.header nav a.nav-cta {
  color: white;
  background: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-button);
}

.header nav a.nav-cta:hover {
  background: #E11D48;
  color: white;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Button spinner for loading state */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

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

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-medium);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: var(--bg);
  color: var(--text);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative blob */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  background: var(--primary-soft);
  padding: 8px 20px;
  border-radius: var(--radius-small);
}

.badge-label {
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-price {
  color: var(--text);
  font-weight: 600;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--primary);
  font-style: italic;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  border-radius: var(--radius-button);
  padding: 18px 36px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
  font-weight: 600;
}

.hero-feature .check {
  color: var(--primary);
  font-weight: 700;
}

/* ============================================
   SAMPLE SHOWCASE
   ============================================ */
.sample-showcase {
  background: var(--bg);
  padding: 40px 0 100px;
}

.sample-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 950px;
  margin: 0 auto;
}

.sample-arrow {
  color: var(--primary);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.sample-card-wrapper {
  background: white;
  padding: 12px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.sample-card-wrapper:hover {
  transform: scale(1.02);
}

/* Playful rotation for scrapbook feel */
.sample-card-wrapper-photo {
  transform: rotate(-3deg);
}

.sample-card-wrapper-photo:hover {
  transform: rotate(-3deg) scale(1.02);
}

.sample-card-wrapper-result {
  transform: rotate(3deg);
}

.sample-card-wrapper-result:hover {
  transform: rotate(3deg) scale(1.02);
}

.sample-card {
  position: relative;
  border-radius: var(--radius-image);
  overflow: hidden;
  max-width: 380px;
}

.sample-card img {
  width: 100%;
  height: auto;
  display: block;
}

.sample-badge {
  position: absolute;
  top: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

.sample-badge-photo {
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
}

.sample-badge-result {
  right: 12px;
  background: var(--secondary);
  color: var(--text);
}

@media (max-width: 768px) {
  .sample-showcase {
    padding: 20px 0 60px;
  }
  
  .sample-comparison {
    flex-direction: column;
    gap: 16px;
  }
  
  .sample-arrow {
    transform: rotate(90deg);
  }
  
  .sample-card-wrapper {
    max-width: 90%;
  }
  
  .sample-card-wrapper-photo,
  .sample-card-wrapper-result {
    transform: none;
  }
  
  .sample-card-wrapper-photo:hover,
  .sample-card-wrapper-result:hover {
    transform: scale(1.02);
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 100px 0;
  background: var(--surface);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.features h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-body);
  font-size: 1.1rem;
  margin-bottom: 56px;
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--surface);
  padding: 40px 32px;
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.feature-icon-circle {
  width: 64px;
  height: 64px;
  background: var(--primary-soft);
  border-radius: var(--radius-small);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  color: var(--text-body);
  margin: 0;
  line-height: 1.7;
  font-weight: 500;
}

/* Parent Hack */
.parent-hack {
  background: var(--primary-soft);
  border-radius: var(--radius-button);
  padding: 20px 32px;
  margin-top: 56px;
  text-align: center;
  color: var(--text-body);
  font-weight: 500;
}

.parent-hack-label {
  color: var(--primary);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--surface);
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}

.feature-icon-circle {
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Parent Hack */
.parent-hack {
  background: rgba(255, 107, 107, 0.08);
  border-radius: 12px;
  padding: 20px 32px;
  margin-top: 48px;
  text-align: center;
  color: var(--text-muted);
}

.parent-hack-label {
  color: var(--primary);
  font-weight: 600;
}

/* ============================================
   REAL RESULTS / TESTIMONIAL SECTION
   ============================================ */
.real-results {
  padding: 100px 0;
  background: var(--bg);
}

.testimonial-card {
  background: #1E293B;
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: visible;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
  .testimonial-card {
    grid-template-columns: 1fr;
  }
}

.testimonial-content {
  padding: 56px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 24px;
  background: transparent;
  padding: 0;
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.testimonial-quote {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px;
}

.testimonial-text {
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin: 0 0 32px;
  font-weight: 500;
}

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

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.2);
}

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

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

.author-info strong {
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Testimonial Image Panel - contains tilted photo wrapper */
.testimonial-image-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 400px;
}

.testimonial-image-wrapper {
  position: relative;
  background: white;
  padding: 12px;
  border-radius: var(--radius-small);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform: rotate(3deg);
}

.testimonial-image-wrapper img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 8px;
}

/* Kid Approved Badge with Amber/Gold */
.kid-approved-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--secondary);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.kid-approved-badge .badge-score {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.kid-approved-badge .badge-label {
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  padding: 0;
  line-height: 1.2;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  padding: 100px 0;
  background: white;
  position: relative;
}

.gallery::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.gallery h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--text);
}

.gallery-disclaimer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 48px;
  font-weight: 500;
}

/* Carousel */
.gallery-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 60px;
  overflow: visible;
}

.carousel-main {
  background: white;
  border-radius: var(--radius-image);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.carousel-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-arrow {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-arrow:hover {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border-medium);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Carousel Thumbnails */
.carousel-thumbnails {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.carousel-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-small);
  overflow: hidden;
  border: 3px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
  background: white;
}

.carousel-thumb:hover {
  opacity: 0.8;
}

.carousel-thumb.active {
  border-color: var(--primary);
  opacity: 1;
  box-shadow: var(--shadow-md);
}

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

@media (max-width: 768px) {
  .carousel-arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  
  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }
  
  .carousel-thumb {
    width: 60px;
    height: 60px;
  }
}

/* ============================================
   STEPS SECTION
   ============================================ */
.steps {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 50px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.steps h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 56px;
  line-height: 1.2;
  color: var(--text);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.step-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.step-icon-circle {
  width: 72px;
  height: 72px;
  background: var(--primary-soft);
  border-radius: var(--radius-small);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.step-number-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--text);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  letter-spacing: 0.05em;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.step-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy steps list styling */
.steps-list {
  max-width: 700px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--text);
  color: white;
  border-radius: var(--radius-small);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.step-content p {
  margin: 0;
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 500;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-card);
  padding: 56px 48px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.pricing-card h2 {
  font-size: 1.75rem;
  margin: 0 0 8px;
  color: var(--text);
}

.pricing-subtitle {
  color: var(--text-body);
  margin: 0 0 32px;
  font-size: 1rem;
  font-weight: 500;
}

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

.price-original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.price-current {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.price-currency {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 4px;
  vertical-align: super;
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
}

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

.pricing-features .check-icon {
  color: var(--success);
  font-weight: 700;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: var(--radius-button);
}

.pricing-footer {
  text-align: center;
  margin-top: 32px;
}

.pricing-avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.pricing-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.pricing-avatar:first-child {
  margin-left: 0;
}

.pricing-footer p {
  margin: 8px 0;
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 500;
}

.pricing-footer .secure-payment {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 16px;
  font-weight: 600;
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
  padding: 100px 0;
  background: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.trust-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-soft);
  border-radius: var(--radius-small);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

.trust-icon-accent {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.trust-card h3 {
  font-size: 1.2rem;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--text);
}

.trust-card p {
  color: var(--text-body);
  margin: 0 0 12px;
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list li {
  color: var(--text-body);
  font-size: 0.95rem;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-weight: 500;
}

.trust-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.guarantee-note {
  color: var(--primary) !important;
  font-style: italic;
  font-weight: 600 !important;
}

.help-email {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.help-email:hover {
  color: var(--primary-dark);
}

.help-note {
  font-size: 0.85rem !important;
  font-style: italic;
  color: var(--text-muted) !important;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 100px 0;
  background: var(--bg);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

.faq-subtitle {
  text-align: center;
  color: var(--text-body);
  margin-bottom: 48px;
  font-weight: 500;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--primary-soft);
}

.faq-question svg {
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 32px 24px;
  margin: 0;
  color: var(--text-body);
  line-height: 1.7;
  font-weight: 500;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--bg);
}

.final-cta h2 {
  font-size: 2.25rem;
  margin-bottom: 32px;
  line-height: 1.2;
  color: var(--text);
}

.final-cta .btn {
  border-radius: var(--radius-button);
  padding: 20px 48px;
}

.cta-note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Legacy CTA Section */
.cta {
  background: var(--text);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-size: 2.25rem;
  margin: 0 0 16px;
}

.cta p {
  opacity: 0.8;
  margin-bottom: 32px;
  font-weight: 500;
}

/* ============================================
   STICKY CTA PILL
   ============================================ */
.sticky-cta-pill {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 1000;
  background: var(--text);
  border-radius: var(--radius-small);
  padding: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: calc(100% - 32px);
  width: auto;
}

.sticky-cta-pill.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-cta-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

.sticky-cta-price {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

.sticky-cta-button {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.sticky-cta-button:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}

.sticky-cta-features {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-cta-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.sticky-cta-feature .check {
  color: var(--success);
  font-weight: 700;
}

/* Sticky CTA Mobile */
@media (max-width: 480px) {
  .sticky-cta-pill {
    bottom: 16px;
    padding: 12px;
    border-radius: 12px;
  }
  
  .sticky-cta-content {
    gap: 14px;
  }
  
  .sticky-cta-price {
    font-size: 0.9rem;
  }
  
  .sticky-cta-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  
  .sticky-cta-feature {
    font-size: 0.75rem;
  }
}

/* ============================================
   UPLOAD SECTION
   ============================================ */
.upload-section {
  padding: 80px 0;
}

.upload-section h1 {
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
}

.subtitle {
  text-align: center;
  color: var(--text-body);
  margin-bottom: 48px;
  font-weight: 500;
}

.upload-area {
  background: var(--surface);
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-card);
  padding: 64px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: var(--shadow-md);
}

.upload-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.upload-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}

/* Photo Counter */
.photo-counter {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-sm);
}

.photo-counter-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.photo-counter-text span {
  color: var(--primary);
  font-weight: 700;
}

.photo-counter-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.photo-counter-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.photo-counter-fill.full {
  background: #22C55E;
}

/* Upload Progress Bar */
.upload-progress {
  margin: 1.5rem 0;
  text-align: center;
}

.upload-progress-bar {
  background: #E2E8F0;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.upload-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.upload-progress-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Preview Container */
.preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.preview-item {
  background: var(--surface);
  border-radius: var(--radius-image);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.preview-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.preview-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.preview-loading {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.preview-item .title-input {
  width: 100%;
  padding: 14px;
  border: none;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
}

.preview-item .title-input:focus {
  outline: none;
  background: var(--primary-soft);
}

.preview-item .remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.preview-item .remove-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.preview-item .remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-item .remove-btn:hover {
  background: var(--error);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin: 24px 0;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input {
  width: 100%;
  max-width: 400px;
  padding: 14px 18px;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-small);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.1);
}

.help-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}

.form-actions {
  margin-top: 40px;
  text-align: center;
}

.checkout-summary {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 12px;
  display: none;
  font-weight: 500;
}

.checkout-disclaimer {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: center;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: 18px 24px;
  border-radius: var(--radius-small);
  margin-bottom: 24px;
  font-weight: 500;
}

.alert-error {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

/* ============================================
   SUCCESS/CANCEL/ERROR PAGES
   ============================================ */
.success-section,
.cancel-section,
.error-section,
.not-found-section {
  padding: 100px 0;
}

.success-icon,
.cancel-icon,
.error-icon,
.not-found-icon {
  font-size: 5rem;
  margin-bottom: 24px;
}

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

.next-steps {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-card);
  margin: 48px auto;
  max-width: 500px;
  text-align: left;
  box-shadow: var(--shadow-md);
}

.next-steps h3 {
  margin-top: 0;
  color: var(--text);
}

.next-steps ol {
  margin: 0;
  padding-left: 20px;
}

.next-steps li {
  margin-bottom: 12px;
  color: var(--text-body);
  font-weight: 500;
}

.order-id {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface);
  color: var(--text-muted);
  padding: 32px 0;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.footer p {
  margin: 0;
  font-weight: 500;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-small);
  transition: all 0.2s ease;
}

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

.social-link.instagram:hover {
  color: #E1306C;
  background: #fdf2f8;
}

.social-link svg {
  flex-shrink: 0;
}

/* Instagram Link in Trust Section */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: var(--radius-small);
  transition: all 0.2s ease;
  background: var(--border);
}

.instagram-link:hover {
  color: #E1306C;
  background: #fdf2f8;
}

.instagram-link svg {
  flex-shrink: 0;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile Navigation */
@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  
  .header .container {
    flex-direction: row;
    gap: 8px;
    padding: 0 16px;
  }
  
  .header nav {
    display: flex;
    gap: 12px;
  }
  
  .header nav a {
    margin-left: 0;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  .logo {
    font-size: 1rem;
    gap: 8px;
  }
  
  .logo-badge {
    padding: 5px 8px;
    font-size: 0.75rem;
  }
  
  .logo-text {
    white-space: nowrap;
  }
}

/* Hero Section Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 48px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    padding: 0 8px;
  }
  
  .hero-subtitle,
  .hero p,
  .hero .lead {
    font-size: 1rem;
    padding: 0 8px;
  }
  
  .hero-buttons,
  .hero .buttons {
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
    width: 100%;
  }
  
  .hero-buttons .btn,
  .hero .buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .hero-badge {
    flex-direction: row;
    gap: 8px;
    padding: 8px 16px;
  }
}

/* Sample Showcase Mobile */
@media (max-width: 768px) {
  .sample-showcase {
    padding: 32px 0;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .showcase-card img {
    height: auto;
    max-height: 280px;
    object-fit: cover;
  }
}

/* Features Section Mobile */
@media (max-width: 768px) {
  .features {
    padding: 64px 0;
  }
  
  .features h2 {
    font-size: 1.75rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 32px 24px;
    border-radius: var(--radius-hero);
  }
}

/* Steps Section Mobile */
@media (max-width: 768px) {
  .steps {
    padding: 64px 0;
  }
  
  .steps h2 {
    font-size: 1.75rem;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }
  
  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
  
  .step-card {
    border-radius: var(--radius-hero);
  }
}

/* Testimonial Mobile */
@media (max-width: 768px) {
  .real-results {
    padding: 64px 0;
  }
  
  .testimonial-card {
    border-radius: var(--radius-hero);
  }
  
  .testimonial-content {
    padding: 32px;
    text-align: center;
  }
  
  .testimonial-quote {
    font-size: 1.5rem;
  }
  
  .testimonial-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .testimonial-image-panel {
    padding: 24px;
    min-height: auto;
  }
  
  .testimonial-image-wrapper {
    transform: rotate(2deg);
  }
  
  .testimonial-image-wrapper img {
    max-width: 280px;
  }
  
  .testimonial-author {
    justify-content: center;
  }
}

/* Gallery Carousel Mobile */
@media (max-width: 768px) {
  .gallery {
    padding: 64px 0;
  }
  
  .gallery h2 {
    font-size: 1.5rem;
  }
  
  .gallery-carousel {
    padding: 0 48px;
  }
  
  .carousel-main {
    padding: 0;
    border-radius: var(--radius-small);
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  
  .carousel-prev {
    left: 0;
  }
  
  .carousel-next {
    right: 0;
  }
  
  .carousel-thumbnails {
    gap: 8px;
    padding: 8px;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  
  .carousel-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 12px;
  }
}

/* Pricing Section Mobile */
@media (max-width: 768px) {
  .pricing {
    padding: 64px 0;
  }
  
  .pricing h2,
  .pricing-card h2 {
    font-size: 1.5rem;
  }
  
  .pricing-card {
    padding: 40px 28px;
    margin: 0 8px;
    border-radius: var(--radius-hero);
  }
  
  .price-current {
    font-size: 3rem;
  }
}

/* FAQ Mobile */
@media (max-width: 768px) {
  .faq-section {
    padding: 64px 0;
  }
  
  .faq-section h2 {
    font-size: 1.75rem;
  }
  
  .faq-list {
    border-radius: var(--radius-hero);
    margin: 0 8px;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-answer p {
    padding: 0 20px 20px;
  }
}

/* Upload Page Mobile */
@media (max-width: 768px) {
  .upload-section {
    padding: 48px 0;
  }
  
  .upload-section h1 {
    font-size: 1.75rem;
  }
  
  .upload-zone,
  .upload-area {
    padding: 40px 20px;
    border-radius: var(--radius-hero);
  }
  
  .preview-grid,
  .preview-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .preview-item {
    border-radius: var(--radius-small);
  }
  
  .preview-item img {
    height: 120px;
  }
  
  .upload-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .upload-actions .btn {
    width: 100%;
  }
}

/* Success Page Mobile */
@media (max-width: 768px) {
  .success-section,
  .success-container {
    padding: 48px 16px;
  }
  
  .success-section h1,
  .success-container h1 {
    font-size: 1.75rem;
  }
  
  .delivery-options {
    flex-direction: column;
    gap: 12px;
  }
  
  .delivery-option {
    width: 100%;
  }
  
  .delivery-btn,
  .delivery-option .btn {
    width: 100%;
  }
  
  .next-steps {
    border-radius: var(--radius-hero);
    padding: 32px 24px;
  }
  
  .actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .actions .btn {
    width: 100%;
  }
}

/* My Books Page Mobile */
@media (max-width: 768px) {
  .my-books-section {
    padding: 48px 0;
  }
  
  .dashboard-header h1 {
    font-size: 1.75rem;
  }
  
  .books-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .book-card {
    padding: 24px;
    border-radius: var(--radius-hero);
  }
  
  .book-header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .book-stats {
    justify-content: center;
  }
  
  .book-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .book-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  .book-actions .btn-danger {
    flex: 1;
  }
}

/* Trust Section Mobile */
@media (max-width: 768px) {
  .trust-section {
    padding: 64px 0;
  }
  
  .trust-card {
    padding: 32px 24px;
    border-radius: var(--radius-hero);
  }
}

/* Final CTA Mobile */
@media (max-width: 768px) {
  .final-cta {
    padding: 64px 0;
  }
  
  .final-cta h2 {
    font-size: 1.75rem;
  }
  
  .final-cta .btn {
    width: calc(100% - 32px);
    margin: 0 16px;
  }
}

/* Footer Mobile */
@media (max-width: 768px) {
  .footer {
    padding: 24px 16px;
  }
}

/* General Mobile Touch Improvements */
@media (max-width: 768px) {
  .btn, button, a.btn {
    min-height: 48px;
    padding: 14px 24px;
  }
  
  input, select, textarea {
    min-height: 48px;
    font-size: 16px !important;
  }
  
  html, body {
    overflow-x: hidden;
  }
  
  html {
    -webkit-text-size-adjust: 100%;
  }
  
  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    border-radius: var(--radius-small);
  }
}

/* Small phones */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .btn-lg {
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  .preview-grid,
  .preview-container {
    grid-template-columns: 1fr;
  }
  
  .carousel-thumbnails {
    display: none;
  }
  
  .pricing-card {
    padding: 32px 20px;
  }
}

/* ============================================
   COLORING PAGE PREVIEW FEATURE
   ============================================ */
.preview-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-small);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
}

.preview-btn:hover:not([disabled]) {
  background: var(--primary-dark);
  transform: scale(1.02);
}

.preview-btn[disabled] {
  background: var(--border-medium);
  color: var(--text-muted);
  cursor: not-allowed;
}

.preview-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-wrap: wrap;
}

/* Mobile: stack status bar items vertically, full-width button */
@media (max-width: 768px) {
  .preview-status-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 12px;
  }
  
  .preview-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.85rem;
    margin-left: 0;
  }
  
  .preview-note {
    margin-left: 0;
    text-align: center;
  }
}

.status-uploaded {
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 600;
}

.status-previewed {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.preview-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* Generating preview loading state */
.preview-image-container {
  position: relative;
}

.preview-image-container.generating-preview::after {
  content: 'Generating preview...';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-consent-content {
  max-width: 960px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-consent-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: underline;
  white-space: nowrap;
}

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

@media (max-width: 600px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent-actions {
    justify-content: center;
  }
}

/* ============================================
   LEGAL PAGES (Privacy Policy / Terms)
   ============================================ */
.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-page ul {
  padding-left: 24px;
  margin: 12px 0;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-page a:hover {
  text-decoration: none;
}