/* ==========================================================================
   LITTLENAME DESIGN SYSTEM & STYLESHEET
   Includes Approved Theme, Details, Search, Landing Pages, Tools, Magazine & Module 12: User Accounts
   ========================================================================== */

:root {
  --primary: #60AEE4;
  --primary-hover: #4a9bd8;
  --primary-glow: rgba(96, 174, 228, 0.35);
  --primary-soft: rgba(96, 174, 228, 0.12);
  --dark-blue: #1E3A5F;
  --dark-blue-soft: rgba(30, 58, 95, 0.05);
  --bg-main: #F6FAFF;
  --white: #FFFFFF;
  
  --soft-pink: #FCE7F3;
  --soft-pink-dark: #F472B6;
  --mint-green: #DCFCE7;
  --mint-green-dark: #34D399;
  --lavender: #EDE9FE;
  --lavender-dark: #A78BFA;
  --soft-yellow: #FEF3C7;
  --soft-yellow-dark: #FBBF24;
  --peach: #FDE7D3;
  --peach-dark: #FB923C;
  --gray-subtle: #F1F5F9;
  --gray-text: #64748B;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 4px 14px rgba(30, 58, 95, 0.04);
  --shadow-md: 0 12px 32px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(30, 58, 95, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--dark-blue);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-blue);
  font-weight: 700;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 250, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  padding: 14px 0;
  transition: var(--transition);
}

.navbar .container {
  max-width: 1360px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.navbar-inner::-webkit-scrollbar {
  display: none;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition);
}

.official-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: var(--transition);
}

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

.nav-menu li {
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--dark-blue);
  opacity: 0.88;
  white-space: nowrap !important;
  text-decoration: none;
  display: inline-block;
  padding: 4px 6px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap !important;
}

.btn-icon-badge {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 24px var(--primary-glow);
  transition: var(--transition);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* HERO */
.hero-wrapper {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 20px;
  border: 1px solid rgba(96, 174, 228, 0.25);
  box-shadow: var(--shadow-sm);
}

.hero-heading {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--dark-blue), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-box-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 10px 14px 10px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 20px;
  transition: var(--transition);
}

.search-box-hero input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.05rem;
  width: 100%;
  font-weight: 600;
}

.hero-baby-frame {
  position: relative;
  text-align: center;
}

.hero-baby-frame img {
  width: 100%;
  max-width: 480px;
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.alphabet-selector-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.alphabet-chip {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark-blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.cat-card-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cat-card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.detail-hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.detail-name-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--dark-blue);
}

.detail-meaning-lead {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.detail-pill-badge {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-detail-action {
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-section-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 32px;
}

.search-page-hero {
  background: linear-gradient(135deg, #F0F7FF, #E0E7FF);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  margin-bottom: 36px;
  border: 1px solid rgba(96, 174, 228, 0.25);
  box-shadow: var(--shadow-md);
}

/* MODULE 12: AUTH & USER DASHBOARD STYLES */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(30, 58, 95, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-modal-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.social-login-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}

.social-login-btn:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

.user-profile-header {
  background: linear-gradient(135deg, #F0F7FF, #E0E7FF);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(96, 174, 228, 0.25);
  box-shadow: var(--shadow-md);
}

.user-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 0 30px;
  margin-top: 60px;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 16px;
}

.search-chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--dark-blue);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-chip-tag:hover, .search-chip-tag.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ==========================================================================
   OPTIMIZED MAGAZINE SECTION & ARTICLE CARD STYLES
   ========================================================================== */
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.article-card-item {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.article-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
  border-color: rgba(96, 174, 228, 0.45);
}

.article-thumb-box {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #E2E8F0;
}

.article-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-card-item:hover .article-thumb-box img {
  transform: scale(1.05);
}

.article-card-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-card-time-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark-blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.article-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1.35;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-excerpt {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.55;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
  font-size: 0.82rem;
}

.article-card-author {
  color: #475569;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-card-read-link {
  color: var(--primary);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   CUSTOMER DASHBOARD ENHANCED STYLES
   ========================================================================== */
.dash-profile-hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #EDE9FE 50%, #FDF4FF 100%);
  border-radius: 28px;
  padding: 36px 40px;
  margin-bottom: 32px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.06);
  position: relative;
  overflow: hidden;
}

.dash-nav-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
  border-bottom: 2px solid #E2E8F0;
}

.dash-tab-btn {
  padding: 10px 20px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: #64748B;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dash-tab-btn:hover {
  background: rgba(96, 174, 228, 0.12);
  color: var(--dark-blue);
}

.dash-tab-btn.active {
  background: var(--dark-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.2);
}

.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.dash-stat-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.dash-stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1.1;
  margin-top: 4px;
}

/* ==========================================================================
   AI GENERATOR ENHANCED STYLES & LIVE STATUS
   ========================================================================== */
.ai-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.8rem;
  font-weight: 800;
}

.ai-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ai-loading-skeleton {
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 14px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .detail-hero-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-profile-hero { padding: 28px 24px; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-heading { font-size: 2.5rem; }
  .detail-name-title { font-size: 2.8rem; }
  .user-profile-header { flex-direction: column; text-align: center; }
  .article-card-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PARENTING TOOLS & INTERACTIVE WORKSPACES
   ========================================================================== */
.tool-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.tool-modal-container {
  background: #FFFFFF;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
}

.tool-interactive-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.tool-input-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.tool-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.tool-input-field {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.tool-input-field:focus {
  border-color: #3B82F6;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.tool-result-panel {
  background: linear-gradient(135deg, #F0F7FF 0%, #EDE9FE 100%);
  border-radius: 20px;
  border: 1px solid rgba(96, 174, 228, 0.35);
  padding: 24px;
  margin-top: 24px;
}

.tool-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
}

/* CUSTOMER AUTHENTICATION STYLES */
.auth-tabs-header {
  display: flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 24px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.88rem;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* SMART PARENTING TOOLS SUITE REDESIGN */
.parenting-hero {
  text-align: center;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #F0F9FF 0%, #EEF2FF 50%, #FAF5FF 100%);
  padding: 44px 24px;
  border-radius: 28px;
  border: 1px solid rgba(199, 210, 254, 0.5);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.05);
  position: relative;
  overflow: hidden;
}

.parenting-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFFFFF;
  border: 1px solid #E0E7FF;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4338CA;
  box-shadow: 0 2px 8px rgba(67, 56, 202, 0.08);
  margin-bottom: 14px;
}

.parenting-trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
}

.parenting-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* 7 TOOLS SEGMENTED NAV BAR */
.parenting-tabs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 8px;
}

.parenting-tab-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  user-select: none;
}

.parenting-tab-card:hover {
  transform: translateY(-2px);
  border-color: #93C5FD;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.12);
}

.parenting-tab-card.active {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-color: #2563EB;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.18);
  transform: translateY(-2px);
}

.parenting-tab-card .tab-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.parenting-tab-card .tab-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.25;
}

.parenting-tab-card.active .tab-title {
  color: #1D4ED8;
  font-weight: 800;
}

.parenting-tab-card .tab-tag {
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #64748B;
}

.parenting-tab-card.active .tab-tag {
  background: #BFDBFE;
  color: #1E40AF;
}

/* ACTIVE WORKSPACE CARD */
.tool-workspace-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  padding: 36px;
  margin-bottom: 48px;
  border-top: 5px solid var(--primary);
  transition: all 0.3s ease;
}

/* CLINICAL ADVICE BOX */
.clinical-advice-box {
  background: #FFFFFF;
  border: 1.5px solid #6366F1;
  border-radius: 20px;
  padding: 26px;
  margin-top: 24px;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.08);
}

.clinical-advice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #EEF2FF;
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.clinical-doctor-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clinical-doctor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* EXPLORE ALL 7 TOOLS MODERN DIRECTORY GRID */
.tools-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.tools-directory-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  cursor: pointer;
}

.tools-directory-card:hover {
  transform: translateY(-5px);
  border-color: #3B82F6;
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.12);
}

.tools-directory-card.active-card {
  border-color: #2563EB;
  background: #F8FAFC;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   ENHANCED CATEGORY & DIRECTORY LANDING HERO WITH BABY IMAGERY
   ========================================================================== */
.category-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 40px 48px;
  border-radius: 32px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.category-hero-boy {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 45%, #EEF2FF 100%);
  border: 1.5px solid rgba(147, 197, 253, 0.6);
}

.category-hero-girl {
  background: linear-gradient(135deg, #FFF1F2 0%, #FCE7F3 45%, #FDF2F8 100%);
  border: 1.5px solid rgba(244, 114, 182, 0.5);
}

.category-hero-islamic {
  background: linear-gradient(135deg, #F0FDF4 0%, #FEF9C3 50%, #ECFDF5 100%);
  border: 1.5px solid rgba(167, 243, 208, 0.6);
}

.category-hero-hindu {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FFF7ED 100%);
  border: 1.5px solid rgba(253, 230, 138, 0.7);
}

.category-hero-default {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #F1F5F9 100%);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
}

.category-hero-content {
  flex: 1;
  min-width: 320px;
  z-index: 2;
}

.category-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.badge-boy {
  background: #FFFFFF;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}

.badge-girl {
  background: #FFFFFF;
  color: #DB2777;
  border: 1px solid #FBCFE8;
}

.badge-islamic {
  background: #FFFFFF;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.badge-hindu {
  background: #FFFFFF;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.category-hero-title {
  font-size: 3rem;
  color: #0F172A;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.category-hero-desc {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 0 20px;
}

.category-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.category-hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.category-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.category-hero-media {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-hero-img-card {
  width: 260px;
  height: 260px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  border: 7px solid #FFFFFF;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: #FFFFFF;
}

.category-hero-img-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.category-hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-hero-float-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: #FFFFFF;
  padding: 8px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  border: 1.5px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
  z-index: 3;
}

@media (max-width: 900px) {
  .category-hero-container {
    flex-direction: column-reverse;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }
  .category-hero-title {
    font-size: 2.3rem;
  }
  .category-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .category-hero-stats {
    justify-content: center;
  }
  .category-hero-actions {
    justify-content: center;
  }
  .category-hero-img-card {
    width: 210px;
    height: 210px;
  }
}

/* ==========================================================================
   DOCTOR CONSULTATION PROMO CARD & TELEHEALTH TEASER
   ========================================================================== */
.doctor-consult-promo-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
  border-radius: 24px;
  padding: 24px 20px;
  color: #FFFFFF;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.25);
  border: 1.5px solid rgba(139, 92, 246, 0.35);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.doctor-consult-promo-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35), transparent 70%);
  pointer-events: none;
}

.consult-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.consult-tag-pulse {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.consult-tag-pulse::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.consult-header-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 8px;
  line-height: 1.3;
}

.consult-subtitle {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin: 0 0 16px;
}

.consult-specialties-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.consult-specialty-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.consult-specialty-item .doc-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.consult-specialty-item h5 {
  margin: 0 0 2px;
  font-size: 0.88rem;
  color: #F8FAFC;
  font-weight: 700;
}

.consult-specialty-item p {
  margin: 0;
  font-size: 0.76rem;
  color: #94A3B8;
  line-height: 1.35;
}

.consult-perks-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: #E2E8F0;
  font-weight: 600;
}

.consult-perks-list span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-consult-waitlist {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #8B5CF6, #6366F1);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-consult-waitlist:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.45);
}

.consult-footnote {
  text-align: center;
  font-size: 0.72rem;
  color: #94A3B8;
  margin-top: 10px;
}

/* ==========================================================================
   ATTRACTIVE AI & MEDICAL DISCLAIMER CARD
   ========================================================================== */
.footer-disclaimer-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  padding: 24px 28px;
  margin-top: 40px;
  margin-bottom: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-disclaimer-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-disclaimer-content h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #F8FAFC;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-disclaimer-content p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.footer-disclaimer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-disclaimer-pill {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .footer-disclaimer-card {
    flex-direction: column;
    padding: 20px;
  }
}

/* ==========================================================================
   MODULE 14: BEAUTIFUL MODERN FAQ ACCORDION COMPONENT (ACCESSIBLE & SCHEMA READY)
   ========================================================================== */
.faq-section-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.85);
  margin-bottom: 32px;
}

.faq-header-block {
  margin-bottom: 24px;
}

.faq-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(96, 174, 228, 0.12);
  color: #0284C7;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.faq-main-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-subtitle {
  font-size: 0.94rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Individual Accordion Item (Native Accessible <details>) */
.faq-modern-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(30, 58, 95, 0.02);
}

.faq-modern-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.06);
  transform: translateY(-1px);
}

.faq-modern-item[open] {
  border-color: rgba(96, 174, 228, 0.65);
  box-shadow: 0 8px 24px rgba(96, 174, 228, 0.12);
  background: #FAFCFF;
}

/* Summary Trigger Header */
.faq-modern-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  user-select: none;
  transition: background-color 0.2s ease;
}

.faq-modern-summary::-webkit-details-marker,
.faq-modern-summary::marker {
  display: none;
}

.faq-summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.faq-num-pill {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(96, 174, 228, 0.12);
  color: #0284C7;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-modern-item[open] .faq-num-pill {
  background: #0284C7;
  color: #FFFFFF;
}

.faq-question-text {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.4;
  margin: 0;
}

.faq-topic-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* Chevron Circle */
.faq-chevron-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
}

.faq-modern-item:hover .faq-chevron-circle {
  background: #E2E8F0;
}

.faq-modern-item[open] .faq-chevron-circle {
  transform: rotate(180deg);
  background: #0284C7;
  color: #FFFFFF;
}

.faq-icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Answer Body */
.faq-modern-body {
  padding: 0 22px 20px 68px;
  animation: faqBodyFade 0.25s ease-out;
}

@keyframes faqBodyFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer-inner {
  border-top: 1px dashed #E2E8F0;
  padding-top: 14px;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-answer-inner p {
  margin: 0 0 8px 0;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-key-takeaway {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0284C7;
  background: rgba(96, 174, 228, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid #0284C7;
}

/* Legacy fallback support */
.faq-accordion-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq-question-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--dark-blue);
  font-family: var(--font-heading);
}

@media (max-width: 640px) {
  .faq-section-card {
    padding: 24px 18px;
  }
  .faq-modern-summary {
    padding: 14px 16px;
    gap: 12px;
  }
  .faq-summary-left {
    gap: 10px;
  }
  .faq-question-text {
    font-size: 0.93rem;
  }
  .faq-num-pill {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .faq-chevron-circle {
    width: 30px;
    height: 30px;
  }
  .faq-icon-svg {
    width: 15px;
    height: 15px;
  }
  .faq-modern-body {
    padding: 0 16px 16px 16px;
  }
  .faq-topic-tag {
    display: none;
  }
}

/* ==========================================================================
   LITTLENAME EDITORIAL MAGAZINE & ARTICLE VIEWER STYLES
   ========================================================================== */
.article-rich-content {
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.85;
}
.article-rich-content h2 {
  font-size: 1.7rem;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 800;
  color: #0F172A;
  margin: 36px 0 16px;
  line-height: 1.3;
}
.article-rich-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1E293B;
  margin: 28px 0 12px;
  line-height: 1.35;
}
.article-rich-content p {
  margin-bottom: 20px;
}
.article-rich-content ul, .article-rich-content ol {
  margin: 16px 0 24px 24px;
}
.article-rich-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}
.article-rich-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid #8B5CF6;
  background: #F5F3FF;
  border-radius: 0 16px 16px 0;
  font-size: 1.15rem;
  font-style: italic;
  color: #4C1D95;
  line-height: 1.7;
}
.article-rich-content strong {
  color: #0F172A;
  font-weight: 700;
}




