/* ============================================================
   AskParent AI - Website Stylesheet
   Brand: #FF6B00 (Bright Orange)
   ============================================================ */

:root {
  --primary:       #FF6B00;
  --primary-dark:  #CC5200;
  --primary-light: #FFF3E8;
  --primary-mid:   #FFD4B3;
  --text-primary:  #1A1A1A;
  --text-secondary:#666666;
  --text-muted:    #999999;
  --bg-white:      #FFFFFF;
  --bg-gray:       #F7F7F7;
  --bg-dark:       #111111;
  --border:        #E8E8E8;
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow:        0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.13);
  --shadow-orange: 0 8px 32px rgba(255,107,0,0.30);
  --max-width:     1160px;
  --nav-height:    72px;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; display: block; }
ul,ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── CONTAINER ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAVIGATION ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}
.nav-logo .orange { color: var(--primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.btn-nav {
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Mobile menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 199;
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn-mobile {
  display: block;
  text-align: center;
  margin-top: 16px;
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  border: none;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--border);
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary);
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 800;
  border: none;
  transition: all 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(0,0,0,0.2); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(160deg, #FFFFFF 55%, var(--primary-light) 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-mid);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  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(0.8); }
}
.hero h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  color: var(--text-primary);
}
.hero h1 .highlight { color: var(--primary); }
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 38px;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.hero-badge .check {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── PHONE MOCKUP ──────────────────────────────────────────── */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,107,0,0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.phone {
  width: 270px;
  height: 560px;
  background: #1C1C1E;
  border-radius: 46px;
  padding: 14px;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
  z-index: 1;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-gray);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-header {
  background: var(--primary);
  padding: 18px 16px 12px;
  color: white;
}
.phone-header-title { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.phone-header-sub   { font-size: 10px; opacity: 0.8; }
.phone-messages {
  flex: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.msg-ai {
  background: white;
  border-radius: 14px 14px 14px 4px;
  padding: 9px 13px;
  font-size: 10px;
  line-height: 1.55;
  color: var(--text-primary);
  max-width: 88%;
  box-shadow: var(--shadow-sm);
}
.msg-user {
  background: var(--primary);
  border-radius: 14px 14px 4px 14px;
  padding: 9px 13px;
  font-size: 10px;
  line-height: 1.55;
  color: white;
  max-width: 76%;
  align-self: flex-end;
}
.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  background: white;
  border-radius: 14px 14px 14px 4px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: bounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-5px); }
}
.phone-input-bar {
  background: white;
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.phone-input-field {
  flex: 1;
  height: 28px;
  background: var(--bg-gray);
  border-radius: 14px;
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.phone-send {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
}

/* ── TRUST BAR ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-dark);
  padding: 22px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
}
.trust-icon { color: var(--primary); font-size: 18px; }

/* ── SECTION COMMONS ───────────────────────────────────────── */
.section { padding: 88px 0; }
.section-bg { background: var(--bg-gray); }

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 560px;
}
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── FEATURES ──────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.feature-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.feature-desc  { font-size: 15px; color: var(--text-secondary); line-height: 1.68; }

/* ── HOW IT WORKS ──────────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--primary-mid) 0,
    var(--primary-mid) 8px,
    transparent 8px,
    transparent 18px
  );
}
.step { text-align: center; }
.step-num {
  width: 72px;
  height: 72px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-orange);
}
.step-title { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.step-desc  { font-size: 15px; color: var(--text-secondary); line-height: 1.68; }

/* ── ARTICLES GRID (homepage + articles page) ──────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}
.article-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.article-card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cat-badge {
  padding: 4px 13px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.read-time {
  font-size: 12px;
  color: var(--text-secondary);
}
.a-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.a-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.a-read-more {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.article-card:hover .a-read-more { gap: 8px; }

/* Center link */
.text-center { text-align: center; }

/* ── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 88px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top: -150px; left: -150px;
}
.cta-section h2 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 19px;
  opacity: 0.88;
  margin-bottom: 44px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.cta-note { margin-top: 18px; font-size: 14px; opacity: 0.65; }

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand h3 {
  font-size: 20px;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}
.footer-brand h3 span { color: var(--primary); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.72;
  max-width: 300px;
  margin-bottom: 24px;
}
.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--primary); }

/* ── ARTICLES PAGE ─────────────────────────────────────────── */
.articles-hero {
  background: linear-gradient(160deg, var(--bg-gray) 40%, var(--primary-light) 100%);
  padding: 64px 0 52px;
  text-align: center;
}
.articles-hero h1 {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.articles-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.search-wrap {
  max-width: 580px;
  margin: 0 auto 28px;
  position: relative;
}
.search-wrap svg {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  width: 20px;
  height: 20px;
}
.search-input {
  width: 100%;
  padding: 17px 24px 17px 56px;
  border-radius: 50px;
  border: 2px solid var(--border);
  font-size: 16px;
  font-family: inherit;
  background: white;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,107,0,0.10);
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.chip {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}
.articles-results-section {
  padding: 60px 0 80px;
}
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.results-count {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}
.articles-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--text-secondary);
}
.no-results-icon  { font-size: 52px; margin-bottom: 18px; }
.no-results-title { font-size: 22px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }

/* ── ARTICLE DETAIL PAGE ───────────────────────────────────── */
.article-hero {
  background: linear-gradient(160deg, var(--bg-gray) 40%, var(--primary-light) 100%);
  padding: 56px 0 48px;
}
.article-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  transition: gap 0.2s;
}
.back-link:hover { gap: 12px; }
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.article-page-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.article-page-summary {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.72;
  font-style: italic;
}
.article-body-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.article-divider {
  height: 3px;
  background: linear-gradient(to right, var(--primary), transparent);
  border-radius: 3px;
  margin-bottom: 48px;
}
.article-body {
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.88;
}
.article-body p { margin-bottom: 22px; }
.article-body h2 {
  font-size: 28px;
  font-weight: 900;
  margin: 44px 0 16px;
  letter-spacing: -0.5px;
}
.article-body h3 {
  font-size: 21px;
  font-weight: 800;
  margin: 34px 0 12px;
}
.article-body ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.article-body ul li {
  padding: 5px 0 5px 26px;
  position: relative;
}
.article-body ul li::before {
  content: '•';
  color: var(--primary);
  font-weight: 900;
  position: absolute;
  left: 0;
  font-size: 18px;
  line-height: 1.6;
}
.article-body ol {
  margin: 0 0 22px 28px;
}
.article-body ol li {
  padding: 5px 0;
}
.article-body strong { font-weight: 800; }
.article-body em     { font-style: italic; color: var(--text-secondary); }

/* Conversation script blocks */
.script-block {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 16px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.72;
}
.article-inline-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  color: white;
  margin: 48px 0 0;
}
.article-inline-cta h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
}
.article-inline-cta p {
  font-size: 16px;
  opacity: 0.88;
  margin-bottom: 26px;
  line-height: 1.6;
}

/* ── LOADING ───────────────────────────────────────────────── */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  gap: 18px;
  color: var(--text-secondary);
  font-size: 15px;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── CATEGORY BADGE COLORS ─────────────────────────────────── */
.cat-academics      { background: #FFF8E1; color: #E65100; }
.cat-screen-time    { background: #E3F2FD; color: #1565C0; }
.cat-communication  { background: #E8F5E9; color: #2E7D32; }
.cat-behavior       { background: #FCE4EC; color: #AD1457; }
.cat-teenagers      { background: #EDE7F6; color: #6A1B9A; }
.cat-mental-health  { background: #F3E5F5; color: #7B1FA2; }
.cat-peer-social    { background: #E0F7FA; color: #00695C; }
.cat-toddlers       { background: #FBE9E7; color: #BF360C; }
.cat-general        { background: #F5F5F5; color: #424242; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero h1             { font-size: 44px; }
  .hero-inner          { grid-template-columns: 1fr 360px; gap: 40px; }
  .section-title       { font-size: 36px; }
  .features-grid       { grid-template-columns: repeat(2, 1fr); }
  .articles-grid       { grid-template-columns: repeat(2, 1fr); }
  .articles-full-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav-desktop { display: none; }
  .nav-hamburger { display: flex; }

  .hero        { padding: 56px 0 52px; }
  .hero-inner  { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero h1     { font-size: 36px; letter-spacing: -0.8px; }
  .hero-sub    { margin-left: auto; margin-right: auto; font-size: 16px; }
  .hero-ctas   { justify-content: center; }
  .hero-badges { justify-content: center; }
  .phone-wrap  { order: -1; }
  .phone       { width: 220px; height: 455px; }

  .section       { padding: 64px 0; }
  .section-title { font-size: 30px; }
  .section-sub   { font-size: 16px; }

  .features-grid      { grid-template-columns: 1fr; }
  .articles-grid      { grid-template-columns: 1fr; }
  .articles-full-grid { grid-template-columns: 1fr; }
  .steps-row          { grid-template-columns: 1fr; gap: 36px; }
  .steps-row::before  { display: none; }

  .cta-section h2 { font-size: 32px; }
  .cta-section p  { font-size: 17px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .articles-hero h1    { font-size: 34px; }
  .article-page-title  { font-size: 30px; }
  .results-bar         { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-items         { gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1   { font-size: 30px; }
  .btn-primary, .btn-outline { padding: 14px 24px; font-size: 15px; }
  .cta-section h2 { font-size: 26px; }
}
