/* ========================================
   CARENEXT — DESIGN SYSTEM & LANDING PAGE
   ======================================== */

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

:root {
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --cyan-400: #22D3EE;
  --cyan-500: #06B6D4;
  --green-400: #4ADE80;
  --green-500: #22C55E;
  --green-600: #16A34A;
  --purple-500: #8B5CF6;
  --orange-500: #F97316;
  --pink-500: #EC4899;
  --teal-500: #14B8A6;
  --indigo-500: #6366F1;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
  --trans: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-100); }

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 1.5px solid var(--blue-200);
}
.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-white {
  background: var(--white);
  color: var(--blue-600);
  font-weight: 700;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--trans);
}

.navbar.scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon { display: flex; }

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: var(--trans);
}
.nav-link:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--trans);
}

/* --- STICKY DEMO --- */
.sticky-demo {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 999;
  background: var(--gray-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
.sticky-demo.visible { transform: translateX(-50%) translateY(0); }

/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-100);
  margin-bottom: 16px;
}

.comparison-badge {
  background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
  color: #D97706;
  border-color: #FDE68A;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- HERO --- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatBlob 8s ease-in-out infinite;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  bottom: 0;
  left: -100px;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 80%);
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.98); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.1); }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gray-500);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

/* --- HERO MOCKUP --- */
.hero-mockup {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.mockup-browser {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 32px 80px rgba(0,0,0,0.12),
    0 8px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  transform: perspective(1200px) rotateX(4deg);
  transition: var(--trans-slow);
}

.mockup-browser:hover {
  transform: perspective(1200px) rotateX(0deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28CA42; }

.browser-url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 12px;
  color: var(--gray-500);
  max-width: 260px;
  margin: 0 auto;
  text-align: center;
}

.browser-content { background: var(--gray-50); }

/* --- MINI DASHBOARD --- */
.mini-dashboard {
  display: flex;
  height: 380px;
}

.mini-sidebar {
  width: 160px;
  background: var(--white);
  border-right: 1px solid var(--gray-100);
  padding: 16px 12px;
  flex-shrink: 0;
}

.mini-logo {
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-900);
  padding: 8px 8px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.mini-nav-item {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--gray-500);
  margin-bottom: 4px;
  transition: var(--trans);
  cursor: default;
}

.mini-nav-item.active {
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 600;
}

.mini-main {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}

.mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mini-greeting { font-size: 13px; font-weight: 700; color: var(--gray-900); }
.mini-date { font-size: 11px; color: var(--gray-400); }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mini-stat {
  padding: 10px;
  border-radius: var(--radius-md);
  text-align: center;
}

.mini-stat.blue { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.mini-stat.green { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }
.mini-stat.purple { background: linear-gradient(135deg, #F5F3FF, #EDE9FE); }
.mini-stat.orange { background: linear-gradient(135deg, #FFF7ED, #FFEDD5); }

.stat-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-lbl {
  font-size: 10px;
  color: var(--gray-500);
  margin-top: 2px;
}

.mini-table-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.mini-table { display: flex; flex-direction: column; gap: 6px; }

.mini-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
  font-size: 11px;
  color: var(--gray-700);
}

.mini-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.blue-av { background: var(--blue-500); }
.green-av { background: var(--green-500); }
.purple-av { background: var(--purple-500); }

.mini-row span:nth-child(2) { flex: 1; font-weight: 500; }

.mini-time { color: var(--gray-400); font-size: 10px; }

.mini-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.mini-badge.in { background: #DCFCE7; color: #16A34A; }
.mini-badge.out { background: #FEE2E2; color: #DC2626; }

.mockup-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.2) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* --- LOGOS SECTION --- */
.logos-section {
  padding: 40px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.logo-pill {
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.logo-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- FEATURES --- */
.features {
  padding: 100px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: var(--trans);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-blue   { background: #EFF6FF; color: var(--blue-500); }
.icon-green  { background: #F0FDF4; color: var(--green-600); }
.icon-purple { background: #F5F3FF; color: var(--purple-500); }
.icon-cyan   { background: #ECFEFF; color: var(--cyan-500); }
.icon-orange { background: #FFF7ED; color: var(--orange-500); }
.icon-pink   { background: #FDF2F8; color: var(--pink-500); }
.icon-teal   { background: #F0FDFA; color: var(--teal-500); }
.icon-indigo { background: #EEF2FF; color: var(--indigo-500); }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
}

.feature-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  display: inline-block;
}

/* --- COMPARISON --- */
.comparison {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.comparison-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 600px;
}

.comparison-table thead tr {
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-100);
}

.comparison-table th {
  padding: 20px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
}

.col-feature { width: 35%; }
.col-carenext { width: 35%; }
.col-competitor { width: 30%; }

.col-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carenext-header {
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--blue-50), #EFF6FF);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--blue-200);
}

.brand-logo {
  font-weight: 800;
  color: var(--blue-700);
  font-size: 15px;
}

.rec-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--blue-500);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: var(--trans);
}
.comparison-table tbody tr:hover { background: var(--blue-50); }
.comparison-table tbody tr:last-child { border-bottom: none; }

.comparison-table td {
  padding: 16px 24px;
  font-size: 14px;
}

.feat-name { font-weight: 600; color: var(--gray-700); }

.carenext-col { background: rgba(239,246,255,0.4); }

.val-good { font-weight: 700; color: var(--green-600); }
.val-bad { font-weight: 600; color: var(--gray-400); }
.check { font-size: 18px; color: var(--green-500); font-weight: 700; }
.cross { font-size: 18px; color: var(--gray-300); }

.savings-pill {
  background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #BBF7D0;
}

.comparison-cta {
  text-align: center;
}
.comparison-cta p {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

/* --- PARENT EXPERIENCE --- */
.parent-exp {
  padding: 100px 0;
  background: var(--white);
}

.parent-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.parent-content .section-badge { display: inline-flex; }
.parent-content .section-title { text-align: left; }
.parent-content .section-subtitle { text-align: left; margin: 0 0 32px; }

.parent-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.parent-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pf-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.parent-feat strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.parent-feat p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* --- PHONE FRAME --- */
.parent-visual { position: relative; display: flex; justify-content: center; }

.phone-frame {
  width: 280px;
  background: var(--gray-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
}

.phone-screen {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  height: 540px;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  text-align: right;
  padding: 10px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-900);
  background: var(--white);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--gray-100);
}
.app-logo { font-size: 18px; }
.app-title { font-size: 15px; font-weight: 800; color: var(--gray-900); flex: 1; letter-spacing: -0.02em; }
.notif-bell { font-size: 18px; position: relative; cursor: pointer; }
.notif-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--blue-500);
  border-radius: 50%;
  border: 1.5px solid var(--white);
}

.app-greeting {
  padding: 10px 16px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.child-card-phone {
  margin: 0 12px 10px;
  background: linear-gradient(135deg, #EFF6FF, #ECFEFF);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--blue-100);
}

.child-status { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }

.child-status-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  margin-bottom: 10px;
}
.checked-in { background: #DCFCE7; color: #16A34A; }

.daily-photo-placeholder {
  background: linear-gradient(135deg, #1D4ED8, #0891B2);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  text-align: center;
}
.photo-emoji { font-size: 28px; margin-bottom: 6px; }
.daily-photo-placeholder p { font-size: 12px; color: rgba(255,255,255,0.9); font-weight: 600; margin-bottom: 2px; }
.daily-photo-placeholder span { font-size: 10px; color: rgba(255,255,255,0.6); }

.phone-stats-row {
  display: flex;
  justify-content: space-around;
  padding: 10px 12px;
}

.phone-stat {
  text-align: center;
}
.ps-icon { font-size: 16px; margin-bottom: 2px; }
.ps-val { font-size: 13px; font-weight: 700; color: var(--gray-900); }
.ps-lbl { font-size: 10px; color: var(--gray-400); }

.message-preview {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  margin: 0 12px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}

.msg-avatar {
  width: 30px;
  height: 30px;
  background: var(--blue-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.msg-content { flex: 1; }
.msg-sender { font-size: 11px; font-weight: 700; color: var(--gray-900); }
.msg-text { font-size: 11px; color: var(--gray-500); margin-top: 2px; line-height: 1.4; }
.msg-time { font-size: 10px; color: var(--gray-400); flex-shrink: 0; padding-top: 2px; }

.phone-nav {
  display: flex;
  margin-top: auto;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}

.pn-item {
  flex: 1;
  text-align: center;
  padding: 10px 4px 8px;
  font-size: 10px;
  color: var(--gray-400);
  font-weight: 500;
  transition: var(--trans);
}
.pn-item.active { color: var(--blue-600); }

.phone-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.25), transparent 70%);
  filter: blur(10px);
}

/* --- WHY SWITCH --- */
.why-switch {
  padding: 100px 0;
  background: var(--gray-50);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transform: scaleX(0);
  transition: var(--trans);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-card:hover::before { transform: scaleX(1); }

.why-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.why-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.testimonial-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  transition: var(--trans);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.featured-testimonial {
  background: linear-gradient(135deg, #EFF6FF, #ECFEFF);
  border-color: var(--blue-200);
}

.stars { font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }

.testimonial-card p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.avatar-1 { background: linear-gradient(135deg, #F97316, #EF4444); }
.avatar-2 { background: linear-gradient(135deg, var(--blue-500), var(--cyan-500)); }
.avatar-3 { background: linear-gradient(135deg, var(--purple-500), var(--pink-500)); }

.testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}
.testimonial-author span {
  font-size: 13px;
  color: var(--gray-500);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}
.badge-icon { font-size: 16px; }

/* --- PRICING --- */
.pricing {
  padding: 100px 0;
  background: var(--gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto 40px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: var(--trans);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-featured {
  border: 2px solid var(--blue-400);
  background: linear-gradient(180deg, #F0F9FF 0%, var(--white) 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.plan-setup {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-amount {
  font-size: 52px;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 18px;
  color: var(--gray-400);
  font-weight: 500;
}

.plan-limit {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.plan-savings {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-600);
  background: #DCFCE7;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 14px;
  color: var(--gray-600);
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-50);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li:last-child { border-bottom: none; }

.savings-banner {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--gray-900), #1e3a5f);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.savings-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
}

.savings-icon { font-size: 36px; flex-shrink: 0; }

.savings-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.savings-text strong {
  font-size: 16px;
  color: var(--white);
  font-weight: 700;
  line-height: 1.4;
}

.savings-text span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* --- FINAL CTA --- */
.final-cta {
  padding: 80px 0;
  background: var(--white);
}

.cta-card {
  background: linear-gradient(135deg, var(--blue-600), #0284C7, var(--cyan-500));
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-card p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* --- FOOTER --- */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text { color: var(--white); }

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 16px 0 20px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-socials { display: flex; gap: 12px; }
.footer-socials a { font-size: 20px; opacity: 0.6; transition: var(--trans); }
.footer-socials a:hover { opacity: 1; transform: translateY(-2px); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: var(--trans);
}
.footer-col a:hover { color: var(--white); transform: translateX(2px); }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-bottom: 1px solid var(--gray-100);
  }
  .hamburger { display: flex; }

  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-mockup { display: none; }
  .hero-trust { flex-direction: column; gap: 12px; }

  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .parent-inner { grid-template-columns: 1fr; }
  .parent-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .savings-inner { flex-direction: column; text-align: center; }
  .cta-card { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .trust-badges { gap: 8px; }
}
