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

:root {
  --primary: #FF8FA3;
  --primary-light: #FFB5C2;
  --primary-dark: #E57A8C;
  --secondary: #FFD4DB;
  --accent: #7C3AED;
  --text: #1F2937;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --bg-cream: #FFFBF7;
  --bg-pink: #FFF5F7;
  --bg-card: #FFFFFF;
  --white: #FFFFFF;
  --border: #FFE4E9;
  --shadow-soft: 0 4px 20px rgba(255, 143, 163, 0.15);
  --shadow-card: 0 8px 32px rgba(255, 143, 163, 0.12);
  --shadow-hover: 0 12px 40px rgba(255, 143, 163, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg-cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in {
    animation: none;
    opacity: 1;
  }
  .phone-mockup {
    animation: none !important;
  }
}

/* Header */
header {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.header-cta {
  display: none;
  gap: 12px;
}

.header-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease-out;
  cursor: pointer;
}

.header-cta .btn-primary {
  background: var(--primary);
  color: var(--white);
}

.header-cta .btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .header-cta {
    display: flex;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-pink) 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(255, 143, 163, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text);
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-title .underline-decoration {
  position: relative;
}

.hero-title .underline-decoration::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--secondary);
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero-description {
    margin-left: 0;
  }
}

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

@media (min-width: 1024px) {
  .store-buttons {
    justify-content: flex-start;
  }
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease-out;
  cursor: pointer;
  border: 2px solid var(--text);
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(31, 41, 55, 0.25);
}

.store-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-badge {
  display: inline-block;
  transition: all 0.25s ease-out;
}

.store-badge:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 24px rgba(31, 41, 55, 0.2));
}

.store-badge img {
  display: block;
  height: 48px;
  width: auto;
}

/* Phone Mockup Area */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #2D2D2D 0%, #1A1A1A 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 50px 100px rgba(31, 41, 55, 0.3),
    0 20px 60px rgba(255, 143, 163, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1A1A1A;
  border-radius: 20px;
  z-index: 10;
}

/* Screenshot placeholder */
.screenshot-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-pink) 0%, var(--white) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

.screenshot-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

/* For actual screenshot */
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Floating decorations */
.floating-decoration {
  position: absolute;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.6;
}

.decoration-1 {
  width: 120px;
  height: 120px;
  top: -20px;
  right: -40px;
  animation: float 8s ease-in-out infinite;
  animation-delay: 1s;
}

.decoration-2 {
  width: 80px;
  height: 80px;
  bottom: 40px;
  left: -30px;
  background: var(--primary-light);
  animation: float 7s ease-in-out infinite;
  animation-delay: 2s;
}

.decoration-3 {
  width: 40px;
  height: 40px;
  top: 40%;
  right: -60px;
  background: var(--accent);
  opacity: 0.3;
  animation: float 5s ease-in-out infinite;
}

/* Mascot characters */
.mascot {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

.mascot-bear {
  width: 220px;
  height: auto;
  left: -190px;
  bottom: -40px;
  animation: float 6s ease-in-out infinite;
  animation-delay: 0.5s;
}

.mascot-cat {
  width: 180px;
  height: auto;
  right: -160px;
  bottom: 0;
  animation: float 7s ease-in-out infinite;
  animation-delay: 1.5s;
}

@media (min-width: 768px) {
  .phone-mockup {
    width: 320px;
    height: 660px;
  }

  .mascot-bear {
    width: 280px;
    left: -250px;
  }

  .mascot-cat {
    width: 220px;
    right: -200px;
  }
}

@media (max-width: 767px) {
  .mascot-bear {
    width: 150px;
    left: -120px;
  }

  .mascot-cat {
    width: 120px;
    right: -100px;
  }
}

/* Features Section */
.features {
  padding: 100px 24px;
  background: var(--white);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
  color: var(--text);
}

.section-title .highlight {
  color: var(--primary);
}

.section-description {
  font-size: 16px;
  color: var(--text-light);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--bg-pink) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-description {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* App Showcase Section */
.showcase {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-pink) 100%);
}

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

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.showcase-content {
  order: 2;
}

@media (min-width: 1024px) {
  .showcase-content {
    order: 1;
  }
}

.showcase-visual {
  order: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .showcase-visual {
    order: 2;
  }
}

.showcase-phone {
  width: 220px;
  height: 460px;
  background: linear-gradient(145deg, #2D2D2D 0%, #1A1A1A 100%);
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.showcase-phone:nth-child(2) {
  margin-top: 40px;
}

.showcase-phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.showcase-title {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 24px;
  color: var(--text);
}

.showcase-description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease-out;
  cursor: pointer;
}

.benefit-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 14px;
  color: var(--text-light);
}

/* Testimonials / Social Proof */
.social-proof {
  padding: 80px 24px;
  background: var(--white);
  text-align: center;
}

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

.stat-item {
  padding: 24px;
}

.stat-number {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* CTA Section */
.cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.cta-description {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta .store-buttons {
  justify-content: center;
}

.cta .store-button {
  background: var(--white);
  color: var(--text);
  border-color: var(--white);
}

.cta .store-button:hover {
  background: var(--bg-cream);
}

/* Footer */
footer {
  background: var(--text);
  color: var(--white);
  padding: 60px 24px 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-light);
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease-out;
}

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

.footer-copyright {
  font-size: 14px;
  opacity: 0.5;
  margin-top: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 10px 16px;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
  }

  .features {
    padding: 80px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .showcase {
    padding: 80px 20px;
  }

  .showcase-phone {
    width: 180px;
    height: 380px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta {
    padding: 80px 20px;
  }
}
