/* ─────────────────────────────────────────────
   Kidduu – Stylesheet v2
   Soft, family-friendly, editorial
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --blue: #4A90D9;
  --blue-deep: #3678BD;
  --blue-soft: #D9E8F7;
  --blue-tint: #F0F6FC;

  --green: #5CCBB1;
  --green-deep: #46B89B;
  --green-soft: #DCF3EC;

  --peach: #FFC9A8;
  --peach-soft: #FFEEE2;

  --cream: #FBF8F3;
  --cream-deep: #F4EFE6;
  --ink: #1A2B42;
  --ink-soft: #475569;
  --ink-mute: #94A3B8;
  --white: #FFFFFF;
  --border: #E8E2D6;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --sh-sm: 0 2px 12px rgba(74,144,217,0.06);
  --sh-md: 0 8px 32px rgba(74,144,217,0.10);

  --max: 880px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -20vh;
  right: -15vw;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--blue-soft) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -25vh;
  left: -20vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--green-soft) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

header {
  background: rgba(251, 248, 243, 0.85);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.logo:hover { transform: rotate(-3deg) scale(1.02); }

.logo-icon { width: 42px; height: 42px; flex-shrink: 0; }

.logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo-text .u {
  color: var(--green-deep);
  font-style: italic;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

main { flex: 1; width: 100%; }

.hero {
  text-align: center;
  padding: 80px 28px 100px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 36px;
  filter: drop-shadow(0 12px 40px rgba(74,144,217,0.25));
  animation: float 6s ease-in-out infinite;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--green-soft);
  color: var(--green-deep);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green-deep);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue-deep);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  opacity: 0.4;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.feature {
  background: var(--white);
  padding: 26px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--blue-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-icon.green {
  background: var(--green-soft);
  color: var(--green-deep);
}

.feature-icon.peach {
  background: var(--peach-soft);
  color: #C76837;
}

.feature h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

.page-header {
  text-align: center;
  padding: 64px 28px 32px;
  max-width: 720px;
  margin: 0 auto;
}

.page-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(74,144,217,0.2));
}

.page-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  color: var(--ink);
}

.page-subtitle {
  color: var(--ink-mute);
  font-size: 0.93rem;
  letter-spacing: 0.02em;
}

.content {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 56px 56px 48px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
  margin: 0 auto 80px;
  max-width: var(--max);
}

.content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 44px 0 18px;
  color: var(--blue-deep);
  letter-spacing: -0.01em;
}

.content h2:first-child { margin-top: 0; }

.content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 26px 0 10px;
  color: var(--ink);
}

.content p { margin-bottom: 14px; color: var(--ink-soft); }

.content ul {
  list-style: none;
  margin: 14px 0 18px;
  padding-left: 0;
}

.content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.content a {
  color: var(--blue-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--blue-soft);
  transition: border-color 0.2s ease;
  font-weight: 500;
}

.content a:hover { border-bottom-color: var(--blue-deep); }

.content strong { color: var(--ink); font-weight: 700; }

footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 28px;
  margin-top: auto;
}

.footer-container {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand svg { width: 36px; height: 36px; }

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.footer-copy {
  color: var(--ink-mute);
  font-size: 0.82rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

@media (max-width: 700px) {
  .nav-container { padding: 12px 18px; }
  .logo-icon { width: 36px; height: 36px; }
  .logo-text { font-size: 1.4rem; }
  nav a { padding: 6px 10px; font-size: 0.85rem; }
  .hero { padding: 48px 20px 60px; }
  .hero-logo { width: 110px; height: 110px; margin-bottom: 28px; }
  .page-header { padding: 40px 20px 24px; }
  .page-icon { width: 64px; height: 64px; }
  .content { padding: 32px 24px; margin: 0 16px 60px; border-radius: var(--r-md); }
  .content h2 { font-size: 1.3rem; margin-top: 36px; }
  .footer-container { flex-direction: column; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-content: center; }
}
