:root {
  --brand-primary: #63B3ED;
  --brand-secondary: #FF8C82;
  --accent-mint: #8EE3C2;
  --accent-lavender: #C3B5F5;
  --bg-default: #FFFDF9;
  --bg-subtle: #E8F7FF;
  --bg-card: #FFFFFF;
  --text-primary: #2D3748;
  --text-secondary: #4A5568;
  --border: #E2E8F0;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-default);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 4.5rem 0;
}
.section-subtle {
  background-color: var(--bg-subtle);
}
.section-gradient {
  background-image: linear-gradient(135deg, var(--brand-primary), var(--accent-mint));
  color: #fff;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-right: 0.5rem;
  display: block;
  background: none;
}
.brand .brand-logo {
  background: none;
  border: none;
  box-shadow: none;
}
.brand-name {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: 'Fredoka One', 'Comic Neue', cursive;
  letter-spacing: 0.02em;
  text-shadow: 0.5px 0.5px 0 rgba(0, 0, 0, 0.3);
}
.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.nav a:hover {
  color: var(--brand-primary);
}

/* Hero */
.hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
  background-image: linear-gradient(135deg, rgba(99, 179, 237, 0.12), rgba(142, 227, 194, 0.16));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.hero-highlight {
  display: block;
  background-image: linear-gradient(135deg, var(--brand-primary), var(--accent-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background-image: linear-gradient(135deg, var(--brand-primary), var(--accent-mint));
  color: #0C1B2A;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(45, 55, 72, 0.18);
}
.btn-secondary {
  background-color: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}
.btn-secondary:hover {
  background-color: rgba(99, 179, 237, 0.04);
}

/* Hero card */
.hero-card-wrapper {
  position: relative;
}
.hero-card {
  position: relative;
  background-color: #fff;
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  transform: rotate(2deg);
}
.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}
.hero-metric {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}
.hero-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background-image: linear-gradient(135deg, var(--brand-primary), var(--accent-mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.progress-bar {
  height: 0.4rem;
  border-radius: 999px;
  background-color: var(--bg-subtle);
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 999px;
  background-image: linear-gradient(135deg, var(--brand-primary), var(--accent-mint));
}
.hero-chore-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hero-chore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-subtle);
  border-radius: 0.9rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
}
.hero-chore .emoji {
  margin-right: 0.4rem;
}
.hero-chore .points {
  font-weight: 600;
  color: var(--brand-primary);
}
.hero-bg-circle {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  z-index: -1;
}
.hero-bg-circle-1 {
  width: 130px;
  height: 130px;
  background-color: rgba(142, 227, 194, 0.35);
  top: -30px;
  right: -30px;
}
.hero-bg-circle-2 {
  width: 160px;
  height: 160px;
  background-color: rgba(99, 179, 237, 0.35);
  bottom: -40px;
  left: -40px;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.section-header p {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--text-secondary);
}
.section-header-light h2,
.section-header-light p {
  color: #fff;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.card-emoji {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.card p {
  margin: 0;
  color: var(--text-secondary);
}

/* Feature cards */
.feature-card {
  box-shadow: var(--shadow);
  border: none;
}
.feature-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background-image: linear-gradient(135deg, var(--brand-primary), var(--accent-mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.feature-badge-alt {
  background-image: linear-gradient(135deg, var(--brand-secondary), var(--accent-lavender));
}

/* Steps */
.step-card {
  position: relative;
}
.step-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.4rem;
}
.step-emoji {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

/* CTA */
.cta-card {
  background-color: #fff;
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.cta-header .cta-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.cta-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
}
.cta-header p {
  margin: 0;
  color: var(--text-secondary);
}

/* Forms */
.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.form-inline-center {
  justify-content: center;
}
.form-inline input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}
.form-inline button {
  padding: 0.85rem 1.7rem;
  border-radius: 0.75rem;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background-color: var(--brand-primary);
  color: #0C1B2A;
}
.section-gradient .form-inline button {
  background-color: #fff;
  color: var(--brand-primary);
}
.form-inline button:hover {
  opacity: 0.95;
}
.form-hint {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.form-hint-light {
  color: rgba(255, 255, 255, 0.85);
}

/* Blog cards */
.blog-card .blog-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-primary);
  margin-bottom: 0.4rem;
}

/* Footer */
.footer {
  background-color: var(--text-primary);
  color: #fff;
  padding: 2.5rem 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a {
  margin: 0 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #fff;
}
.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    justify-content: space-between;
  }
  .nav {
    display: none; /* simple for now; can be extended with a mobile menu */
  }
}