/* Kidderboard Website - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* CSS Variables (from design tokens) */
:root {
  --bg-surface: #F6F7F8;
  --bg-warm: #FFFBEB;
  --bg-white: #FFFFFF;
  --border-default: #E5E7EB;
  --border-subtle: #F3F4F6;
  --coral: #FF6B6B;
  --green: #22C55E;
  --indigo: #6366F1;
  --text-primary: #1A1A1A;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --yellow: #FCD34D;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', serif;
  color: var(--text-primary);
  line-height: 1.1;
}

h1 { font-size: 52px; font-weight: 700; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 24px; font-weight: 700; }
h4 { font-size: 20px; font-weight: 700; }

.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-white { color: #FFFFFF; }
.text-coral { color: var(--coral); }
.text-center { text-align: center; }

/* Layout */
.page-wrapper {
  width: 100%;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.section {
  padding: 80px 120px;
}

.section-narrow {
  padding: 64px 200px;
}

.section-surface {
  background: var(--bg-surface);
}

.section-coral {
  background: var(--coral);
}

.section-dark {
  background: #1A1A1A;
}

.flex-row {
  display: flex;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }
.gap-64 { gap: 64px; }
.gap-80 { gap: 80px; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.flex-1 { flex: 1; }

/* Header / Navigation */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-wrapper img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-wrapper span {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text-primary);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-coral {
  background: var(--coral);
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
}

.btn-coral:hover {
  background: #FF5252;
}

.btn-coral-lg {
  background: var(--coral);
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
}

.btn-coral-lg:hover {
  background: #FF5252;
}

.btn-coral-round {
  background: var(--coral);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 14px;
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 14px 0;
  border-radius: 10px;
  font-size: 15px;
  border: 1px solid var(--border-default);
  width: 100%;
}

.btn-outline:hover {
  background: var(--border-default);
}

.btn-black {
  background: #000000;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  gap: 8px;
}

/* Section Label */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--coral);
  text-transform: uppercase;
}

/* Hero Sections */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 80px 200px;
  background: var(--bg-surface);
}

.hero-title {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
  color: var(--text-primary);
}

.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
}

/* Cards */
.card {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 32px 28px;
}

.card-bordered {
  border: 1.5px solid var(--border-default);
  border-radius: 20px;
  padding: 40px;
}

/* Icon Boxes */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

/* Feature Check List */
.feature-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}

.feature-check .check-icon {
  color: var(--green);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Toggle */
.toggle-group {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border-radius: 100px;
  padding: 4px;
  border: 1px solid var(--border-default);
}

.toggle-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn.active {
  background: var(--coral);
  color: #FFFFFF;
  font-weight: 600;
}

/* Pricing Card */
.pricing-card {
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 400px;
}

.pricing-card-default {
  border: 1.5px solid var(--border-default);
}

.pricing-card-featured {
  background: #FFF1F1;
  border: 2px solid var(--coral);
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.pricing-price .amount {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-price .period {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.badge-coral {
  background: var(--coral);
  color: #FFFFFF;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 24px 28px;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: var(--coral);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-answer {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Content Sections (Privacy, COPPA) */
.content-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
}

.content-section h3 {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.content-section p,
.content-section li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-section ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Contact Form */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
  padding: 12px 16px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-white);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--coral);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: #1A1A1A;
  padding: 64px 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: flex;
  gap: 80px;
}

.footer-brand {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.footer-logo-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.footer-logo-wrapper .bg-circle {
  position: absolute;
  width: 27px;
  height: 27px;
  left: 11px;
  top: 11px;
  border-radius: 50%;
  background: linear-gradient(225deg, #4A55A2, #7C6DC8);
}

.footer-logo-wrapper .rocket-img {
  position: absolute;
  width: 43px;
  height: 43px;
  left: 2px;
  top: 2px;
  object-fit: contain;
}

.footer-logo-text {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.5;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-tertiary);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #FFFFFF;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-divider {
  height: 1px;
  background: #333333;
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Happy Meal Comparison Panel */
.comparison-panel {
  display: flex;
  align-items: center;
  background: var(--bg-warm);
  border-radius: 16px;
  border: 1.5px solid #F5E6D0;
  height: 96px;
  overflow: hidden;
  width: 100%;
}

.comparison-panel .text-side {
  flex: 1;
  padding: 10px 36px;
  display: flex;
  align-items: center;
}

.comparison-panel .text-side p {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-panel .image-side {
  width: 176px;
  height: 100%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comparison-panel .image-side img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* App Store Badges */
.store-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  padding: 12px 20px;
  border-radius: 10px;
  color: #FFFFFF;
  text-decoration: none;
}

.store-badge img {
  width: 24px;
  height: 24px;
}

.store-badge .store-text small {
  font-size: 10px;
  display: block;
  opacity: 0.8;
}

.store-badge .store-text strong {
  font-size: 18px;
  font-weight: 600;
  display: block;
}

/* Responsive (basic) */
@media (max-width: 1024px) {
  .header { padding: 16px 24px; }
  .section { padding: 48px 24px; }
  .section-narrow { padding: 48px 24px; }
  .hero-section { padding: 48px 24px; }
  .hero-title { font-size: 36px; }
  .footer { padding: 48px 24px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .nav { display: none; }
}
