/* ==========================================================================
   ALICARE - MEDICAL GRADE DESIGN SYSTEM
   Domain: alicare.elevoire.com
   Slogan: "for special kids"
   ========================================================================== */

:root {
  /* Medical Grade Color Palette */
  --color-primary: #0284C7;        /* Medical Cyan / Blue */
  --color-primary-dark: #0369A1;
  --color-primary-light: #E0F2FE;
  --color-secondary: #0D9488;      /* Clinical Teal */
  --color-secondary-light: #CCFBF1;
  --color-accent: #6366F1;         /* Gentle Lavender / Indigo */
  --color-accent-light: #EEF2FF;
  --color-heart: #EC4899;          /* Warmth & Pediatric Compassion */
  --color-heart-light: #FCE7F3;

  /* Neutrals & Surfaces */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --border-color: #E2E8F0;
  --border-focus: #38BDF8;

  /* Typography */
  --text-main: #0F172A;            /* Deep slate 900 */
  --text-muted: #475569;           /* Slate 600 */
  --text-light: #64748B;           /* Slate 500 */
  --text-inverse: #FFFFFF;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 35px -5px rgba(2, 132, 199, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.07);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sensory-Comfort Mode (Calm, low-stimulation for neurodivergent visitors & pediatric focus) */
body.sensory-mode {
  --bg-page: #FAF8F5;              /* Warm cream */
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3EFEA;
  --border-color: #E6DFD5;
  --color-primary: #0E7490;
  --color-primary-light: #E6F4F7;
  --color-secondary: #0F766E;
  --color-accent: #5E60CE;
  --text-main: #1E293B;
  --text-muted: #4B5563;
  --shadow-glow: none;
  filter: contrast(0.96);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

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

button, input, select, textarea {
  font-family: inherit;
}

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

/* Clinical Grid Background Texture */
.bg-medical-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 90% 20%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
    linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
}

/* ==========================================================================
   TOP NOTIFICATION BAR (Domain & Medical Rigor)
   ========================================================================== */
.top-banner {
  background: linear-gradient(90deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  color: #F8FAFC;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-banner-badge {
  background: rgba(2, 132, 199, 0.25);
  color: #38BDF8;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.3);
  letter-spacing: 0.02em;
}

.top-banner-link {
  color: #38BDF8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand Area */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 4px;
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0F172A 40%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-cross {
  color: #0284C7;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-slogan-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-slogan {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0284C7;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  background: #F0F9FF;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  border: 1px solid #BAE6FD;
}

.brand-parent-tag {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Nav Links & Controls */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

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

/* Sensory Toggle Button */
.sensory-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sensory-toggle-btn:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.sensory-toggle-btn.active {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
}

.btn-header-cta {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all var(--transition-fast);
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  color: #FFFFFF;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 0 64px 0;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

/* Left Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
}

.medical-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0369A1;
  width: fit-content;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #0284C7;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #0284C7;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: #0F172A;
  margin-bottom: 20px;
}

.hero-title .highlight-blue {
  background: linear-gradient(135deg, #0284C7 20%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-platforms-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.platform-pill svg {
  color: var(--color-primary);
}

/* Hero Form Container */
.hero-subscribe-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all var(--transition-normal);
}

.hero-subscribe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, #0284C7 0%, #0D9488 50%, #6366F1 100%);
  border-radius: var(--radius-full);
}

.subscribe-header {
  margin-bottom: 18px;
}

.subscribe-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subscribe-desc {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* Role Selector Chips */
.role-selector-wrap {
  margin-bottom: 16px;
}

.role-selector-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-chip {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.role-chip:hover {
  border-color: #BAE6FD;
  background: #F0F9FF;
  color: #0369A1;
}

.role-chip.selected {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

/* Subscribe Form Inputs */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-group {
  position: relative;
  flex: 1;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 12px 16px 12px 44px;
  background: var(--bg-page);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.btn-subscribe {
  height: 52px;
  padding: 0 24px;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-subscribe:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-subscribe:active {
  transform: translateY(0);
}

.btn-subscribe:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Optional fields drawer */
.extra-fields-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  user-select: none;
}

.extra-fields-drawer {
  display: none;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  margin-top: 8px;
}

.extra-fields-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-main);
  outline: none;
}

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

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 8px;
}

.form-note svg {
  color: #10B981;
  flex-shrink: 0;
}

/* Alert Notification Boxes */
.form-alert {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-top: 12px;
  animation: fadeIn 0.3s ease;
}

.form-alert.success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #166534;
}

.form-alert.error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

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

/* ==========================================================================
   RIGHT HERO: ALI'S SPOTLIGHT CARD (Medical Grade Presentation)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.ali-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

/* Ambient Medical Glow */
.ali-card-glow {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(13, 148, 136, 0.2) 50%, rgba(99, 102, 241, 0.2) 100%);
  filter: blur(28px);
  border-radius: var(--radius-xl);
  z-index: 1;
}

.ali-main-card {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth);
}

.ali-main-card:hover {
  transform: translateY(-4px);
}

/* Card Header Status */
.ali-card-topbar {
  padding: 12px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.ali-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369A1;
  background: #F0F9FF;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.ali-inspiration-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #BE185D;
  background: #FDF2F8;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Hero Photo Milestone Switcher */
.hero-photo-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid #F1F5F9;
}

.hero-photo-switcher-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.hero-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-photo-btn:hover {
  border-color: #BAE6FD;
  color: #0284C7;
  background: #F0F9FF;
}

.hero-photo-btn.active {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.hero-photo-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Ali Photo Presentation */
.ali-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  background: #0F172A;
  overflow: hidden;
}

.ali-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.ali-main-card:hover .ali-photo-img {
  transform: scale(1.03);
}

/* Gradient overlay at bottom of photo */
.ali-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 20px;
  color: #FFFFFF;
}

.ali-overlay-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.ali-overlay-sub {
  font-size: 0.82rem;
  color: #E2E8F0;
  font-weight: 500;
}

/* Card Body & Story Note */
.ali-card-body {
  padding: 20px;
  background: #FFFFFF;
}

.ali-quote {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;
  border-left: 3px solid #0284C7;
}

.ali-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  text-align: center;
}

.ali-stat-item {
  display: flex;
  flex-direction: column;
}

.ali-stat-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
}

.ali-stat-val.primary { color: #0284C7; }
.ali-stat-val.secondary { color: #0D9488; }
.ali-stat-val.accent { color: #6366F1; }

.ali-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Floating Clinical Pills */
.floating-pill {
  position: absolute;
  z-index: 4;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.floating-pill-left {
  top: 48px;
  left: -28px;
}

.floating-pill-right {
  bottom: 80px;
  right: -24px;
  animation-delay: 2s;
}

.pill-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.pill-icon-circle.blue {
  background: #F0F9FF;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}

.pill-icon-circle.green {
  background: #F0FDF4;
  color: #10B981;
  border: 1px solid #BBF7D0;
}

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

.pill-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
}

.pill-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   COUNTDOWN & BETA TIMELINE BANNER
   ========================================================================== */
.countdown-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.countdown-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.countdown-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.countdown-calendar-icon {
  width: 52px;
  height: 52px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284C7;
  flex-shrink: 0;
}

.countdown-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.countdown-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timer-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #0284C7;
  line-height: 1;
  margin-bottom: 4px;
}

.timer-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timer-divider {
  font-size: 1.5rem;
  font-weight: 800;
  color: #CBD5E1;
  margin-top: -12px;
}

/* ==========================================================================
   TRI-PLATFORM ECOSYSTEM SECTION (Windows, Web, Android)
   ========================================================================== */
.platforms-section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0284C7;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Platform 3-Card Grid */
.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: #BAE6FD;
}

/* Card Accent Top Bar */
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, #0284C7);
}

.platform-card.windows { --card-accent: #0284C7; }
.platform-card.web { --card-accent: #0D9488; }
.platform-card.android { --card-accent: #10B981; }

.platform-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--transition-fast);
}

.platform-card.windows .platform-icon-wrap {
  background: #F0F9FF;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}

.platform-card.web .platform-icon-wrap {
  background: #F0FDFA;
  color: #0D9488;
  border: 1px solid #99F6E4;
}

.platform-card.android .platform-icon-wrap {
  background: #F0FDF4;
  color: #10B981;
  border: 1px solid #BBF7D0;
}

.platform-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  width: fit-content;
}

.platform-card.windows .platform-badge {
  background: #E0F2FE;
  color: #0369A1;
}

.platform-card.web .platform-badge {
  background: #CCFBF1;
  color: #0F766E;
}

.platform-card.android .platform-badge {
  background: #DCFCE7;
  color: #15803D;
}

.platform-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
}

.platform-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.platform-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.platform-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
}

.platform-feature-item svg {
  color: #10B981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   THE STORY BEHIND ALICARE (EMPATHY & PURPOSE)
   ========================================================================== */
.story-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 96px 0;
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.story-image-wrap {
  position: relative;
}

/* Story Dual Milestone Gallery */
.story-milestone-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
}

.story-milestone-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.story-milestone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: #BAE6FD;
}

.story-milestone-header {
  padding: 8px 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.story-milestone-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.story-milestone-tag.august {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.story-milestone-tag.december {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.story-milestone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

.story-milestone-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  background: #0F172A;
  overflow: hidden;
  position: relative;
}

.story-milestone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-milestone-card:hover .story-milestone-img {
  transform: scale(1.04);
}

.story-milestone-body {
  padding: 12px 14px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.story-milestone-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
}

.story-milestone-caption {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.milestone-arc-banner {
  margin-top: 14px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #166534;
  font-weight: 600;
}

.story-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.story-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 25%;
}

.story-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}

.story-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FDF2F8;
  color: #DB2777;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.story-badge-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
}

.story-badge-sub {
  font-size: 0.78rem;
  color: var(--text-light);
}

.story-content {
  display: flex;
  flex-direction: column;
}

.story-heading {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.story-p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.story-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.pillar-box {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pillar-box-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-box-title svg {
  color: #0284C7;
}

.pillar-box-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.45;
}

/* ==========================================================================
   CLINICAL & MEDICAL-GRADE FEATURES
   ========================================================================== */
.features-section {
  padding: 96px 0;
}

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

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #BAE6FD;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #F0F9FF;
  color: #0284C7;
  border: 1px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 96px 0;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

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

.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-chevron {
  color: var(--text-light);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   FINAL CTA / SUBSCRIBE BANNER
   ========================================================================== */
.final-cta {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-cta-card {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.final-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #38BDF8;
  margin-bottom: 20px;
}

.final-cta-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.2;
}

.final-cta-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 36px;
}

.final-subscribe-form {
  display: flex;
  max-width: 540px;
  margin: 0 auto 20px auto;
  gap: 10px;
}

.final-input {
  flex: 1;
  height: 54px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.95rem;
  outline: none;
  backdrop-filter: blur(8px);
}

.final-input::placeholder {
  color: #94A3B8;
}

.final-input:focus {
  border-color: #38BDF8;
  background: rgba(255, 255, 255, 0.15);
}

.final-btn {
  height: 54px;
  padding: 0 28px;
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.final-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55);
}

.final-trust {
  font-size: 0.82rem;
  color: #94A3B8;
}

.final-trust a {
  color: #38BDF8;
}

/* ==========================================================================
   FOOTER (Elevoire & AliCare)
   ========================================================================== */
.footer {
  background: #0B132B;
  color: #94A3B8;
  padding: 48px 0 32px 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-slogan {
  font-size: 0.8rem;
  color: #38BDF8;
  font-weight: 600;
}

.footer-contact-link {
  color: #F8FAFC;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

.footer-elevoire {
  color: #CBD5E1;
}

.footer-elevoire strong {
  color: #FFFFFF;
}

/* ==========================================================================
   SUCCESS MODAL DIALOG
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  position: relative;
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.modal-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #F0FDF4;
  color: #16A34A;
  border: 2px solid #BBF7D0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
}

.modal-p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-details-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 24px;
}

.modal-btn-confirm {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .ali-card-wrapper {
    max-width: 380px;
  }

  .platform-cards-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .floating-pill-left {
    left: -10px;
  }

  .floating-pill-right {
    right: -10px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .input-row {
    flex-direction: column;
  }

  .btn-subscribe {
    width: 100%;
  }

  .countdown-flex {
    flex-direction: column;
    text-align: center;
  }

  .countdown-info {
    flex-direction: column;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .final-subscribe-form {
    flex-direction: column;
  }

  .story-pillars {
    grid-template-columns: 1fr;
  }

  .story-milestone-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story-badge-card {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }

  .hero-photo-switcher {
    flex-wrap: wrap;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
