/* KinderSuccess Official Marketing Website Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-navy: #1E293B;
  --text-main: #2C3E50;
  --text-muted: #64748B;
  --bg-warm: #EBF3FA;
  --bg-card: #FFFFFF;
  
  /* Pastel Accent Tokens */
  --pastel-blue-light: #EBF3FA;
  --pastel-blue-dark: #3B82F6;
  --pastel-sage-mint: #CDE3D4;
  --pastel-gold-yellow: #F5E6C4;
  --pastel-lavender-purple: #E6E1F2;
  --pastel-rose-coral: #F6D6D6;
  --pastel-red-light: #FFCDD2;
  --pastel-pink-soft: #F6D8E2;

  --border-light: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 4px 12px rgba(30, 41, 59, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 41, 59, 0.12);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-warm);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-navy);
  line-height: 1.25;
}

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

/* Header & Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(235, 243, 250, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

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

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-navy);
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #3B82F6, #6366F1);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--pastel-blue-dark);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: var(--primary-navy);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.15);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 41, 59, 0.25);
  background-color: #0F172A;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--pastel-blue-light);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--pastel-blue-dark);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 20px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  scroll-margin-top: 120px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--primary-navy);
  color: #ffffff;
  border-radius: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: #0F172A;
}

.store-btn-icon {
  font-size: 28px;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
}

.store-btn-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.store-btn-main {
  font-size: 17px;
  font-weight: 700;
}

.badges-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.badge-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

/* Sections Base */
.section {
  padding: 80px 0;
  scroll-margin-top: 80px;
}

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

.section-tag {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pastel-blue-dark);
  margin-bottom: 10px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Perks Container */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.perk-box {
  padding: 24px;
  border-radius: var(--radius-lg);
  border-left: 5px solid transparent;
  box-shadow: var(--shadow-sm);
}

.perk-box-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.perk-box-desc {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.5;
}

/* Phonograms Banner */
.phonograms-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.phono-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.phono-item {
  background: var(--bg-warm);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  font-size: 15px;
}

/* Leveling Tabs/Cards */
.level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.level-card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--pastel-blue-dark);
  box-shadow: var(--shadow-sm);
}

.level-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.level-card-list {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Privacy Page Specifics */
.legal-container {
  background: #ffffff;
  padding: 50px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 40px auto;
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.legal-section p, .legal-section li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-section ul {
  padding-left: 20px;
  margin-top: 10px;
}

/* Footer */
.footer {
  background: #B4D4ED;
  color: var(--text-main);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--primary-navy);
  font-size: 24px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 400px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 15px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 17px;
  }
  
  .legal-container {
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .logo-brand {
    font-size: 20px;
    gap: 8px;
  }

  .logo-brand img {
    height: 42px !important;
    margin-right: 6px !important;
  }

  .cta-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .logo-brand {
    font-size: 18px;
  }

  .logo-brand img {
    height: 36px !important;
  }

  .cta-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}
