@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

/* --- Brand Colors & Design System --- */
:root {
  --primary-pink: hsl(348, 90%, 65%);
  --primary-pink-hover: hsl(348, 90%, 60%);
  --primary-pink-rgb: 255, 107, 129;
  
  --primary-yellow: hsl(42, 100%, 62%);
  --primary-yellow-hover: hsl(42, 100%, 55%);
  
  --primary-teal: hsl(174, 75%, 45%);
  --primary-teal-hover: hsl(174, 75%, 40%);
  --primary-teal-rgb: 38, 191, 172;
  
  --primary-indigo: hsl(262, 80%, 70%);
  --primary-indigo-hover: hsl(262, 80%, 65%);
  
  --bg-cream: hsl(40, 60%, 98%);
  --bg-gradient: linear-gradient(135deg, hsl(40, 60%, 98%) 0%, hsl(210, 50%, 96%) 100%);
  
  --text-dark: hsl(220, 50%, 18%);
  --text-light: hsl(220, 20%, 45%);
  
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(255, 255, 255, 0.6);
  --card-shadow: 0 20px 40px rgba(100, 110, 140, 0.08);
  --card-shadow-hover: 0 30px 60px rgba(100, 110, 140, 0.15);
  
  --font-main: 'Fredoka', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-fast: all 0.2s ease;
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Add custom blob backgrounds */
body::before, body::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
}

body::before {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--primary-pink) 0%, transparent 80%);
}

body::after {
  bottom: 10%;
  left: -200px;
  background: radial-gradient(circle, var(--primary-indigo) 0%, transparent 80%);
}

.blob-teal {
  position: absolute;
  top: 40%;
  right: -200px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  background: radial-gradient(circle, var(--primary-teal) 0%, transparent 80%);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

/* --- Typography & Global Elements --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  font-weight: 400;
  color: var(--text-light);
  font-size: 1.1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* --- Sticky Header --- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--card-border);
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo-icon {
  background: var(--primary-pink);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(var(--primary-pink-rgb), 0.3);
  animation: logoPulse 3s infinite alternate;
}

.logo span {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  background: rgba(255, 107, 129, 0.1);
  color: var(--primary-pink);
  transform: translateY(-2px);
}

.nav-link.active {
  background: var(--primary-pink);
  color: white;
  box-shadow: 0 6px 12px rgba(var(--primary-pink-rgb), 0.25);
}

/* --- Hero Section --- */
.hero {
  padding: 100px 0 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-teal);
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}

.hero-badge span {
  font-size: 1.2rem;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary-pink);
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

/* --- Premium Buttons --- */
.btn-playstore {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid #222;
  transition: var(--transition-smooth);
}

.btn-playstore:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  background: #000;
}

.btn-playstore svg {
  width: 28px;
  height: 28px;
}

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

.btn-playstore-text span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  font-weight: 500;
}

.btn-playstore-text span:last-child {
  font-size: 1.15rem;
  font-weight: 700;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary-indigo);
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  border: 2px solid var(--primary-indigo);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--primary-indigo);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(114, 86, 240, 0.2);
}

/* --- Floating animations elements --- */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.float-cloud {
  top: 15%;
  left: 5%;
  opacity: 0.15;
  animation: floatSide 15s linear infinite alternate;
}

.float-star {
  top: 25%;
  right: 48%;
  font-size: 2rem;
  color: var(--primary-yellow);
  animation: float 5s ease-in-out infinite alternate;
}

.float-bubble {
  bottom: 15%;
  left: 45%;
  width: 40px;
  height: 40px;
  background: rgba(var(--primary-teal-rgb), 0.15);
  border: 2px solid rgba(var(--primary-teal-rgb), 0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

/* --- Tablet / Device Showcase --- */
.hero-showcase {
  position: relative;
  z-index: 5;
}

.tablet-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  border-radius: 36px;
  background: #1e1e24;
  padding: 16px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.35),
    0 0 0 2px #33333b,
    inset 0 0 10px rgba(0,0,0,0.5);
  border: 4px solid #2d2d35;
  transition: var(--transition-smooth);
}

.tablet-container:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 
    0 35px 65px -10px rgba(0, 0, 0, 0.4),
    0 0 0 2px #444,
    inset 0 0 10px rgba(0,0,0,0.5);
}

/* Bezel screen inside tablet */
.tablet-screen {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.8);
}

.tablet-screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Tablet details */
.tablet-camera {
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #444;
}

/* Decorative badge behind tablet */
.showcase-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(var(--primary-teal-rgb), 0.18) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* --- Sections Common Layout --- */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  background: rgba(255, 107, 129, 0.1);
  color: var(--primary-pink);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.8rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 32px;
  padding: 40px 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
}

.card-pink::before { background: var(--primary-pink); }
.card-teal::before { background: var(--primary-teal); }
.card-yellow::before { background: var(--primary-yellow); }

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(255, 255, 255, 0.9);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.card-pink .card-icon { background: rgba(255, 107, 129, 0.1); color: var(--primary-pink); }
.card-teal .card-icon { background: rgba(38, 191, 172, 0.1); color: var(--primary-teal); }
.card-yellow .card-icon { background: rgba(255, 168, 0, 0.1); color: hsl(42, 100%, 45%); }

.card-title {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text-light);
}

.card-list-item span {
  font-size: 1.2rem;
  line-height: 1.4;
}

.card-list-item p strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* --- Call To Action Box --- */
.cta-section {
  padding: 60px 0 100px;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-pink) 100%);
  border-radius: 40px;
  padding: 80px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(114, 86, 240, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 40px;
}

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

.cta-buttons .btn-playstore {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* --- Footer --- */
.footer {
  background: hsl(220, 40%, 15%);
  color: white;
  padding: 80px 0 40px;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

.footer-logo span {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
  font-size: 1.05rem;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-pink);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.footer-love {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-love span {
  color: var(--primary-pink);
  animation: heartbeat 1.5s infinite;
}

/* --- Privacy Policy Page Specific styles --- */
.privacy-hero {
  padding: 100px 0 40px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(var(--primary-teal-rgb), 0.1) 0%, transparent 60%);
  border-bottom: 2px solid var(--card-border);
}

.privacy-title {
  font-size: 3.5rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.privacy-meta {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
}

.privacy-content-section {
  padding: 60px 0 100px;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 36px;
  padding: 50px;
  box-shadow: var(--card-shadow);
}

.privacy-card h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin: 40px 0 16px;
}

.privacy-card h2:first-of-type {
  margin-top: 0;
}

.privacy-card p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.privacy-card ul {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--text-light);
}

.privacy-card li::before {
  content: "✨";
  font-size: 1.1rem;
}

.privacy-contact-box {
  background: rgba(114, 86, 240, 0.05);
  border: 2px dashed rgba(114, 86, 240, 0.2);
  border-radius: 20px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}

.privacy-contact-box h3 {
  font-size: 1.4rem;
  color: var(--primary-indigo);
  margin-bottom: 10px;
}

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

.privacy-contact-box a {
  color: var(--primary-indigo);
  font-weight: 700;
  text-decoration: underline;
}

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

@keyframes floatSide {
  0% { transform: translate(0px, 0px); }
  50% { transform: translate(30px, -15px); }
  100% { transform: translate(0px, 0px); }
}

@keyframes logoPulse {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-badge {
    justify-content: center;
  }
  
  .hero-description {
    margin: 0 auto 40px;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-info {
    align-items: center;
  }
  
  .footer-links-column {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .header {
    position: relative;
  }
  
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    gap: 15px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
  
  .privacy-card {
    padding: 30px 20px;
  }
  
  .privacy-title {
    font-size: 2.6rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
