@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #FF6B9D;
  --primary-dark: #E5527A;
  --secondary: #4FACFE;
  --secondary-dark: #00F2FE;
  --accent: #FFD93D;
  --accent-light: #FFF8DC;
  --success: #6BCF7F;
  --purple: #A78BFA;
  --light: #F8F9FF;
  --white: #FFFFFF;
  --dark: #2D3748;
  --gray: #718096;
  --gray-light: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka One', cursive;
  color: var(--dark);
  line-height: 1.2;
}

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

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

/* ========== BACKGROUND DECORATIONS ========== */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 10%;
  left: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  top: 50%;
  right: -100px;
  animation-delay: 3s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent);
  bottom: 20%;
  left: 10%;
  animation-delay: 6s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  background: var(--purple);
  bottom: 10%;
  right: 5%;
  animation-delay: 9s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 32px;
  text-decoration: none;
  color: white;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
}

header.scrolled .logo {
  color: var(--primary);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 38px;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  0%, 90% {
    transform: rotate(0deg);
  }
  95% {
    transform: rotate(20deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: background-color 0.2s ease, transform 0.3s ease, opacity 0.3s ease;
  will-change: background-color;
}

header.scrolled .mobile-menu-toggle span {
  background: var(--primary);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

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

.nav-links li a {
  color: white;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s ease;
  position: relative;
  will-change: color;
}

header.scrolled .nav-links li a {
  color: var(--dark);
}

.nav-links li a:hover {
  color: var(--accent);
}

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

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

header.scrolled .nav-links li a::after {
  background: var(--primary);
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--accent);
}

header.scrolled .nav-links li a.active {
  color: var(--primary);
}

.nav-links li a.active::after {
  width: 100%;
}

.btn-nav {
  background: white;
  color: var(--primary) !important;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

header.scrolled .btn-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-nav::after {
  display: none;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

header.scrolled .btn-nav:hover {
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 8px 24px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 107, 157, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 140px 24px 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.3"/></svg>');
  opacity: 0.1;
}

.hero-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.cloud {
  position: absolute;
  font-size: 80px;
  opacity: 0.2;
  animation: float-cloud 20s infinite ease-in-out;
}

.cloud-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.cloud-2 {
  top: 60%;
  right: 10%;
  animation-delay: 5s;
}

@keyframes float-cloud {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-30px) translateX(20px);
  }
}

.star {
  position: absolute;
  font-size: 24px;
  animation: twinkle 3s infinite ease-in-out;
}

.star-1 {
  top: 15%;
  right: 20%;
}

.star-2 {
  top: 40%;
  left: 15%;
  animation-delay: 1s;
}

.star-3 {
  bottom: 20%;
  right: 15%;
  animation-delay: 2s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: white;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  font-size: 56px;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  font-family: 'Fredoka One', cursive;
  color: var(--accent);
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: float 6s infinite ease-in-out;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #333;
  border-radius: 10px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
  border-radius: 30px;
  overflow: hidden;
  padding: 20px;
}

.app-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 16px;
  border-radius: 20px;
}

.preview-icon {
  font-size: 32px;
}

.preview-title {
  font-weight: 700;
  color: var(--dark);
  font-size: 18px;
}

.preview-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.letter-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  box-shadow: var(--shadow-md);
}

/* ========== SECTION STYLING ========== */
.section {
  padding: 100px 24px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section h2 {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== WHY SECTION ========== */
.why-section {
  background: var(--white);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.card-hover:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.card-hover:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--dark);
}

.card p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 15px;
}

/* ========== FEATURES SECTION ========== */
.features-section {
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid var(--gray-light);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: block;
  animation: bounce 2s infinite;
}

.feature-card:hover .feature-icon {
  animation: spin 0.6s ease;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== AGE GROUPS SECTION ========== */
.age-groups {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  position: relative;
  overflow: hidden;
}

.age-groups::before {
  content: '🎨';
  position: absolute;
  font-size: 200px;
  opacity: 0.1;
  top: -50px;
  right: -50px;
  transform: rotate(-15deg);
}

.age-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.age-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.age-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.age-card-featured {
  border: 3px solid var(--primary);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 8px 50px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: var(--shadow-md);
}

.age-illustration {
  text-align: center;
  margin-bottom: 24px;
}

.age-emoji {
  font-size: 80px;
  display: block;
  margin-bottom: 16px;
  animation: bounce 2s infinite;
}

.age-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Fredoka One', cursive;
}

.age-card h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--dark);
}

.age-features {
  list-style: none;
  text-align: left;
}

.age-features li {
  padding: 12px 0;
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid var(--gray-light);
}

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

/* ========== PARENT SECTION ========== */
.parent-section {
  background: var(--white);
}

.parent-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.parent-card {
  background: linear-gradient(135deg, white 0%, var(--light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.parent-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--success);
}

.parent-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
  text-align: center;
}

.parent-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--dark);
}

.parent-card p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.parent-badge-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.mini-badge {
  background: var(--success);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ========== DOWNLOAD SECTION ========== */
.download {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 0;
}

.download-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.float-icon {
  position: absolute;
  font-size: 48px;
  opacity: 0.2;
  animation: float 15s infinite ease-in-out;
}

.float-1 {
  top: 10%;
  left: 10%;
}

.float-2 {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.float-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.float-4 {
  bottom: 15%;
  right: 10%;
  animation-delay: 6s;
}

.download-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.download-text h2 {
  color: white;
  font-size: 48px;
  margin-bottom: 16px;
}

.download-text p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.download-features {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.check-item {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.download-buttons {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-download {
  background: #000000;
  color: white;
  padding: 12px 28px;
  box-shadow: var(--shadow-lg);
  font-size: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: #1a1a1a;
}

.btn-download svg {
  flex-shrink: 0;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.9;
}

.btn-large {
  font-size: 16px;
  font-weight: 600;
  margin-top: 1px;
}

/* ========== FOOTER BOTTOM ========== */
.footer-bottom {
  padding: 30px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin: 0;
}

.footer-copyright p {
  margin: 0;
}

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* ========== ANIMATIONS ========== */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .hero-image {
    order: -1;
  }
  
  .phone-mockup {
    width: 240px;
    height: 480px;
  }
  
  .section h2 {
    font-size: 36px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    gap: 16px;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links li a {
    display: block;
    padding: 12px;
    border-radius: var(--radius-sm);
  }
  
  .btn-nav {
    text-align: center;
  }
  
  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .section h2 {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .cards,
  .features-grid,
  .age-cards,
  .parent-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .age-card-featured {
    transform: scale(1);
  }
  
  .download-text h2 {
    font-size: 32px;
  }
  
  .download-text p {
    font-size: 16px;
  }
  
  .download-features {
    flex-direction: column;
    align-items: stretch;
  }
  
  .download-buttons {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .two-column-layout {
    grid-template-columns: 1fr;
  }
  
  .legal-container {
    grid-template-columns: 1fr;
  }
  
  .legal-nav {
    position: static;
    margin-bottom: 32px;
  }
}

/* ========== PAGE-SPECIFIC STYLES ========== */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 140px 24px 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.3"/></svg>');
  opacity: 0.1;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-hero h1 {
  font-size: 48px;
  color: white;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.95;
}

/* About Page Styles */
.about-mission {
  background: white;
}

.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.column-text {
  padding-right: 20px;
}

.column-text p {
  margin-bottom: 20px;
  color: var(--gray);
  line-height: 1.8;
}

.mission-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateX(10px);
  background: white;
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.value-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--dark);
}

.value-item p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

.about-illustration {
  position: relative;
  height: 400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}

.illustration-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.illustration-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.card-1 {
  background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
}

.card-2 {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: white;
}

.card-3 {
  background: linear-gradient(135deg, #fd79a8, #e84393);
  color: white;
}

.card-4 {
  background: linear-gradient(135deg, #a29bfe, #6c5ce7);
  color: white;
}

.illus-emoji {
  font-size: 48px;
}

.illustration-card p {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

/* Story Section */
.story-section {
  background: linear-gradient(180deg, var(--light) 0%, white 100%);
}

.story-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  z-index: 1;
  border: 4px solid var(--light);
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(10px);
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.timeline-content p {
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* Team Section */
.team-section {
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.team-card {
  background: linear-gradient(135deg, var(--light) 0%, white 100%);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  font-size: 64px;
  margin-bottom: 20px;
}

.team-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--dark);
}

.team-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

/* Impact Section */
.impact-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.impact-section .section-header h2 {
  color: white;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.impact-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-8px);
}

.impact-number {
  font-size: 48px;
  font-weight: 800;
  font-family: 'Fredoka One', cursive;
  color: var(--accent);
  margin-bottom: 8px;
}

.impact-label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.impact-card p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

/* ========== WHY CHOOSE SECTION ========== */
.why-choose-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.why-item {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--light);
  transition: all 0.3s ease;
}

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

.why-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.why-item h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-item p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 15px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(180deg, white 0%, var(--light) 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Legal Pages */
.legal-hero {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.legal-content {
  background: white;
  padding: 80px 24px;
}

.legal-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.legal-nav {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  background: var(--light);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.legal-nav h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--dark);
}

.legal-nav ul {
  list-style: none;
}

.legal-nav li {
  margin-bottom: 12px;
}

.legal-nav a {
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
}

.legal-nav a:hover {
  color: var(--primary);
  background: white;
  padding-left: 16px;
}

.legal-text {
  max-width: 900px;
}

.legal-intro {
  background: linear-gradient(135deg, var(--light), white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  margin-bottom: 48px;
}

.legal-intro p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-intro p:last-child {
  margin-bottom: 0;
}

.legal-section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}

.legal-section h2 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-light);
}

.legal-section h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--dark);
}

.legal-section p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--dark);
}

.legal-section ul {
  margin-left: 24px;
  margin-bottom: 20px;
}

.legal-section li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--gray);
}

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

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

.contact-box {
  background: var(--light);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.contact-box p {
  margin-bottom: 12px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-top: 48px;
  text-align: center;
}

.legal-footer p {
  margin-bottom: 12px;
  color: white;
}

.legal-footer p:last-child {
  margin-bottom: 0;
}

/* Contact Page */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--light);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(10px);
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--dark);
}

.contact-details p {
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: linear-gradient(135deg, var(--light), white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 32px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-wrapper {
    padding: 28px 20px;
  }
  
  .timeline-item {
    gap: 20px;
  }
  
  .timeline-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .story-timeline::before {
    left: 30px;
  }
}