/* ==========================================================
   RangColor: Kids Coloring Book - Modern Kids Website Styling
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700;800;900&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  /* Brand Color Palette */
  --primary-pink: #FF5388;
  --primary-pink-dark: #E6396E;
  --primary-pink-light: #FFEBF1;
  --primary-purple: #7952DE;
  --primary-purple-light: #F0EBFF;
  --accent-cyan: #00C9A7;
  --accent-yellow: #FFC72C;
  --accent-yellow-light: #FFF9E6;
  --accent-orange: #FF7844;
  --accent-blue: #339AF0;

  /* Neutrals & Surfaces */
  --bg-page: #FFFDF9;
  --text-dark: #22293A;
  --text-body: #4A5568;
  --text-muted: #828EA4;
  --border-soft: #EDE8F5;

  /* Fun Shadows */
  --shadow-sm: 0 4px 12px rgba(121, 82, 222, 0.08);
  --shadow-md: 0 8px 24px rgba(121, 82, 222, 0.12);
  --shadow-lg: 0 16px 36px rgba(121, 82, 222, 0.16);
  --shadow-button-pink: 0 6px 0 #D83164, 0 10px 20px rgba(255, 83, 136, 0.35);
  --shadow-button-cyan: 0 6px 0 #009E83, 0 10px 20px rgba(0, 201, 167, 0.35);

  /* Radius */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 9999px;

  /* Typography */
  --font-heading: 'Fredoka', cursive, -apple-system, sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-overflow-scrolling: touch;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure smooth section jump landing offsets */
section[id], div[id] {
  scroll-margin-top: 86px;
}

/* Custom Kid-Friendly Smooth Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
  background: #FFB6CB;
  border-radius: 10px;
  border: 3px solid var(--bg-page);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-pink);
}

/* Floating Kid-Themed Background Elements - Hardware Accelerated for 60fps Scrolling */
.bg-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
}

.float-item {
  position: absolute;
  opacity: 0.18;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: floatAround 14s ease-in-out infinite alternate;
}

.float-1 { top: 8%; left: 4%; font-size: 3.5rem; animation-duration: 12s; }
.float-2 { top: 22%; right: 5%; font-size: 4rem; animation-duration: 16s; animation-delay: -3s; }
.float-3 { top: 48%; left: 3%; font-size: 3.2rem; animation-duration: 18s; animation-delay: -5s; }
.float-4 { top: 68%; right: 4%; font-size: 3.8rem; animation-duration: 15s; animation-delay: -2s; }
.float-5 { top: 88%; left: 6%; font-size: 3.4rem; animation-duration: 14s; animation-delay: -7s; }

@keyframes floatAround {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(0, -20px, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(0, 12px, 0) rotate(-8deg) scale(0.96); }
}

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid rgba(238, 230, 247, 0.8);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover {
  transform: scale(1.04) rotate(-1deg);
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(255, 83, 136, 0.3);
  object-fit: cover;
}

.brand-text-highlight {
  background: linear-gradient(135deg, #FF4B82, #7952DE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-body);
  transition: all 0.2s ease;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.nav-links a:hover {
  color: var(--primary-pink);
  background-color: var(--primary-pink-light);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-pink-dark));
  color: #FFFFFF;
  box-shadow: var(--shadow-button-pink);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #D83164, 0 14px 26px rgba(255, 83, 136, 0.45);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #D83164, 0 6px 12px rgba(255, 83, 136, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-cyan), #00A68A);
  color: #FFFFFF;
  box-shadow: var(--shadow-button-cyan);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #009E83, 0 14px 26px rgba(0, 201, 167, 0.45);
}

.btn-secondary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #009E83, 0 6px 12px rgba(0, 201, 167, 0.3);
}

/* Official Style Google Play Button */
.btn-playstore {
  background: #10141E;
  color: #FFFFFF;
  border: 2px solid #2B3245;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 5px 0 #07090F, 0 12px 24px rgba(0,0,0,0.28);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.btn-playstore:hover {
  transform: translateY(-3px);
  background: #1B2130;
  box-shadow: 0 8px 0 #07090F, 0 16px 28px rgba(0,0,0,0.4);
}

.btn-playstore:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #07090F, 0 6px 12px rgba(0,0,0,0.2);
}

.playstore-text-box {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.playstore-sub {
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A0ABC0;
  font-family: var(--font-body);
  font-weight: 700;
}

.playstore-main {
  font-size: 1.28rem;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-heading);
}

/* Official Style Amazon Purchase Buttons */
.btn-amazon {
  background: #131921;
  color: #FFFFFF;
  border: 2px solid #37475A;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 5px 0 #080B0E, 0 12px 24px rgba(0,0,0,0.28);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.btn-amazon:hover {
  transform: translateY(-3px);
  background: #1F2833;
  border-color: #FF9900;
  box-shadow: 0 8px 0 #080B0E, 0 16px 28px rgba(255, 153, 0, 0.32);
}

.btn-amazon:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #080B0E, 0 6px 12px rgba(0,0,0,0.2);
}

.amazon-text-box {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.amazon-sub {
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF9900;
  font-family: var(--font-body);
  font-weight: 800;
}

.amazon-main {
  font-size: 1.28rem;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-heading);
}

/* Hero Section */
.hero {
  padding: 24px 0 48px 0;
  position: relative;
}

/* Top Centered Badge Pill */
.hero-top-badge-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.hero-top-badge-wrapper .hero-badge-pill {
  margin-bottom: 0;
  padding: 8px 22px;
  font-size: 0.95rem;
  box-shadow: 0 3px 14px rgba(255, 75, 130, 0.15);
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 2px solid #FFDBE7;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-pink);
  box-shadow: var(--shadow-sm);
}

.badge-sparkle {
  font-size: 1.25rem;
  animation: rotateSparkle 3s linear infinite;
}

@keyframes rotateSparkle {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: start;
  gap: 44px;
}

.hero-title {
  font-size: 2.45rem;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 700;
}

.hero-title .rainbow-text {
  background: linear-gradient(90deg, #FF4B82, #FF7A00, #FFB703, #06D6A0, #00B4D8, #3A86FF, #8338EC, #FF006E);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowShine 6s linear infinite;
  display: inline-block;
  font-weight: 800;
  filter: drop-shadow(0 4px 12px rgba(255, 75, 130, 0.22));
}

@keyframes rainbowShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

/* Trust Pill Badges */
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-soft);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-body);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-badge-item .badge-icon {
  font-size: 1.05rem;
}

/* Hero Visual Showcase */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 3.5px solid #FFFFFF;
  overflow: hidden;
  width: 100%;
  transform: rotate(-1.4deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-main-card:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Cover-Style Brand Title Images */
.brand-title-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-title-img {
  transform: scale(1.04);
}

.hero-cover-title-img {
  height: 58px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  margin: 2px 0;
  filter: drop-shadow(0 4px 12px rgba(255, 75, 130, 0.25));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-cover-title-img:hover {
  transform: scale(1.04) rotate(-1deg);
}

/* Hero Visual Showcase: Stacked Floating Banner Above + Book Cover Below */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-banner-container {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* Larger Animating 3D Book Cover Showcase (Not Clickable, Just Animating) */
.hero-book-flip-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  user-select: none;
}

.book-flip-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF5EB;
  border: 1.5px solid #F0D3A8;
  color: #D9480F;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.book-3d-scene {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 638 / 843;
  perspective: 1400px;
  position: relative;
}

.book-3d-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
  border-radius: 14px;
  cursor: pointer;
}

/* Auto-flip keyframes animation cycling between front and back */
@keyframes autoFlipBook {
  0%, 42% {
    transform: rotateY(0deg);
  }
  50%, 92% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.book-3d-card.auto-animating {
  animation: autoFlipBook 8s ease-in-out infinite;
}

/* Pause animation on hover so visitors can read details */
.book-3d-scene:hover .book-3d-card.auto-animating {
  animation-play-state: paused;
}

.book-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  background: #FFFFFF;
}

.book-face-front {
  transform: rotateY(0deg);
}

.book-face-back {
  transform: rotateY(180deg);
}

.book-face-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-spine-sheen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 24px;
  background: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(255,255,255,0.25) 45%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}

.book-spine-sheen.back-sheen {
  left: auto;
  right: 0;
  background: linear-gradient(-90deg, rgba(0,0,0,0.18) 0%, rgba(255,255,255,0.25) 45%, rgba(0,0,0,0.05) 100%);
}

.book-face-label {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(19, 25, 33, 0.82);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.book-flip-controls {
  display: flex;
  gap: 8px;
}

.flip-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-soft);
  color: var(--text-body);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.flip-btn:hover {
  border-color: #FF9900;
  color: #FF9900;
}

.flip-btn.active {
  background: #131921;
  border-color: #131921;
  color: #FF9900;
}





.hero-feature-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

/* Floating Stickers on Hero */
.sticker-badge {
  position: absolute;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  z-index: 10;
  animation: bounceSlow 3.5s ease-in-out infinite alternate;
}

.sticker-top {
  top: -14px;
  right: -8px;
  border: 2.5px solid var(--accent-yellow);
  color: #7A5300;
  background: #FFFCEB;
}

.sticker-bottom {
  bottom: -14px;
  left: -8px;
  border: 2.5px solid var(--accent-cyan);
  color: #00735E;
  background: #EAFBF7;
  animation-delay: -1.8s;
}

@keyframes bounceSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Section Common Styling */
.section-padding {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.tag-pink { background: var(--primary-pink-light); color: var(--primary-pink); }
.tag-yellow { background: var(--accent-yellow-light); color: #8A6400; }
.tag-purple { background: var(--primary-purple-light); color: var(--primary-purple); }

.section-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.18rem;
  color: var(--text-body);
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 2px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon-bubble {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 22px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .card-icon-bubble {
  transform: scale(1.15) rotate(6deg);
}

.feature-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Sample Unlocked Drawings Showcase Section */
.samples-section {
  background: #FDF9FF;
}

.sample-drawings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.artwork-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 2px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.artwork-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-pink);
}

.artwork-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FAF8FD;
  margin-bottom: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  padding: 10px;
}

.artwork-card:hover .artwork-img-box img {
  transform: scale(1.06);
}

.unlocked-pill-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #00C9A7;
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 201, 167, 0.3);
}

.theme-pill-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.artwork-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.artwork-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.artwork-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-soft);
  font-size: 0.9rem;
  color: var(--primary-pink);
  font-weight: 800;
}

/* Parent Safety Spotlight */
.safety-section {
  background: #FFFFFF;
}

.safety-card-banner {
  background: linear-gradient(135deg, #FFF9EA 0%, #FFF2F4 100%);
  border-radius: var(--radius-lg);
  border: 3px solid #FFE4B8;
  padding: 48px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
}

.safety-shield-visual {
  text-align: center;
}

.shield-icon-giant {
  font-size: 6rem;
  margin-bottom: 14px;
  display: inline-block;
  animation: pulseShield 3s infinite ease-in-out;
}

@keyframes pulseShield {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.safety-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.safety-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.point-check-icon {
  background: var(--accent-cyan);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 3px;
}

.point-text strong {
  color: var(--text-dark);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 2px;
}

.point-text p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Screenshots Showcase Grid */
.screenshots-section {
  background: #FAF8FD;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  justify-content: center;
}

.phone-mockup-frame {
  background: #1A1F2C;
  border-radius: 36px;
  padding: 10px 10px 14px 10px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
  border: 4px solid #333C52;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-mockup-caption {
  text-align: center;
  color: #F8FAFC;
  font-family: var(--font-heading);
  font-size: 0.90rem;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.phone-mockup-frame:hover {
  transform: translateY(-8px) scale(1.02);
}

.phone-mockup-screen {
  border-radius: 30px;
  overflow: hidden;
  background: #FFFFFF;
  aspect-ratio: 9 / 19.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Download CTA Banner */
.download-cta-section {
  padding: 80px 0;
}

.download-banner-card {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.download-banner-card h2 {
  color: #FFFFFF;
  font-size: 3rem;
  margin-bottom: 16px;
}

.download-banner-card p {
  font-size: 1.25rem;
  max-width: 680px;
  margin: 0 auto 36px auto;
  opacity: 0.95;
}

.download-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* Modal Lightbox for Artwork (Preview Only - No Print) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 22, 36, 0.7);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-content-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 28px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #F1F4FA;
  border: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: #E2E8F4;
}

.modal-artwork-img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  border: 2px solid var(--border-soft);
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  border-top: 3px solid #EDE8F5;
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-top: 14px;
  max-width: 380px;
}

.footer-column h4 {
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-pink);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Single Line Contact Style */
.contact-single-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 10px;
  background: #F4F1FA;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #E2D9F3;
  margin-top: 10px;
  max-width: 100%;
}

.contact-label-inline {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.email-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-purple);
  white-space: nowrap;
}

.btn-copy-mail {
  background: var(--primary-pink);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.btn-copy-mail:hover {
  background: var(--primary-pink-dark);
  transform: translateY(-2px);
}

.btn-copy-mail.copied {
  background: var(--accent-cyan);
}

.copy-feedback {
  display: block;
  font-size: 0.82rem;
  color: #008770;
  font-weight: 700;
  margin-top: 6px;
  min-height: 18px;
}

/* Back-to-Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: var(--primary-pink);
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(255, 83, 136, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 99;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.1);
  background: var(--primary-pink-dark);
  box-shadow: 0 8px 24px rgba(255, 83, 136, 0.6);
}


/* Mobile Hamburger Menu */
.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }
  .hero-content {
    order: 1;
    width: 100%;
  }
  .hero-visual-wrapper.hero-cover-full-right {
    order: 2;
    width: 100%;
    margin-top: 14px;
  }
  .hero-cover-full-right .hero-book-flip-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  .book-scene-large {
    max-width: 380px !important;
  }
  .hero-content .hero-banner-container {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group, .trust-badges-row {
    justify-content: center;
  }
  .safety-card-banner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.05rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--border-soft);
    gap: 16px;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .menu-toggle-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .download-banner-card {
    padding: 40px 24px;
  }
  .download-banner-card h2 {
    font-size: 2.2rem;
  }
}


@media (max-width: 580px) {
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .btn-amazon {
    padding: 10px 20px;
    width: 100%;
    justify-content: center;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn-playstore,
  .hero-cta-group .btn-amazon,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}


@media (max-width: 768px) {
  .hero-cover-title-img {
    height: 48px;
  }
  .brand-title-img {
    height: 34px;
  }
  .hero-book-showcase-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-cover-title-img {
    height: 34px;
  }
  .brand-title-img {
    height: 28px;
  }
  .hero-cover-full-right .hero-book-flip-wrapper {
    max-width: 320px;
  }
  .book-scene-large {
    max-width: 300px !important;
  }
}


/* Hero Grid balanced cleanly */

/* Banner Container when placed inside hero-content */
.hero-content .hero-banner-container {
  position: relative;
  width: 100%;
  max-width: 510px;
  margin: 4px 0 36px 0;
}

/* Full Right Side Book Cover */
.hero-cover-full-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin-top: 6px;
}

.hero-cover-full-right .hero-book-flip-wrapper {
  max-width: 500px;
  width: 100%;
  gap: 16px;
}

.book-scene-large {
  max-width: 480px !important;
  width: 100%;
  aspect-ratio: 638 / 843;
  cursor: pointer;
}

.book-click-hint {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(19, 25, 33, 0.78);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 10;
}

.book-3d-scene:hover .book-click-hint {
  opacity: 1;
  transform: translateY(0);
}

.fullscreen-hint-badge {
  background: #FFE8D6;
  color: #D9480F;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 4px;
}

.flip-btn-fs {
  background: #FFE8D6;
  border-color: #F0D3A8;
  color: #D9480F;
}
.flip-btn-fs:hover {
  background: #D9480F;
  color: #FFFFFF;
  border-color: #D9480F;
}

/* Fullscreen Book Cover Modal */
.modal-cover-card {
  background: #111827;
  border-radius: 24px;
  max-width: 900px;
  width: 95%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: modalPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.modal-cover-header {
  text-align: center;
  margin-bottom: 12px;
}

.modal-cover-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.modal-cover-header p {
  font-size: 0.88rem;
  color: #9CA3AF;
}

.modal-cover-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 66vh;
  width: 100%;
  overflow: hidden;
  padding: 6px;
}

.modal-cover-img {
  max-width: 100%;
  max-height: 64vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}

.modal-cover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 760px;
  margin-top: 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-flip-switches {
  display: flex;
  gap: 8px;
}
