/* ═══════════════════════════════════════
   ELLIE CARE — Reusable Components
   ═══════════════════════════════════════ */

/* ── NAVIGATION ── */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 14px var(--section-pad-x);
  position: relative;
  z-index: 235;
}
.nav-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  transform-origin: left center;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease-premium), color 0.2s;
}
.nav-links a:hover {
  background: rgba(47,58,77,0.06);
  color: var(--blue-deep);
}
.nav-links a.active {
  color: var(--blue-deep);
  font-weight: 700;
}
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.nav-lang a {
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}
.nav-lang a:hover,
.nav-lang a.active {
  background: var(--blue-deep);
  color: var(--white);
}
.nav-lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: none;
  transition: transform 0.2s var(--ease-premium);
}
.nav-lang-flag img {
  width: 32px;
  height: 32px;
  display: block;
}
.nav-lang-flag:hover {
  transform: scale(1.15);
}

/* Nav desktop */
@media (min-width: 901px) {
  .nav { padding-top: 10px; padding-bottom: 10px; }
  .nav-logo { height: 66px; }
}

/* Nav mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--blue-deep);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}
.nav-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(10,14,35,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease-premium);
  z-index: 225;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile drawer */
@media (max-width: 900px) {
  .nav {
    padding: 10px 16px;
  }
  .nav-logo {
    height: 36px;
  }
  .nav-toggle {
    display: block;
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    right: 14px;
    z-index: 240;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    padding: 10px;
  }
  .nav-toggle span {
    width: 22px;
    height: 2px;
    margin: 5px 0;
  }
  .nav-links,
  .nav-buttons {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    width: min(340px, 88vw);
    padding: calc(80px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    border-left: 1px solid rgba(0,0,0,0.04);
    transform: translateX(105%);
    pointer-events: none;
    transition: transform 0.32s var(--ease-premium);
    z-index: 230;
  }
  .nav-links.open,
  .nav-buttons.open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-links a,
  .nav-buttons .nav-btn {
    width: 100%;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
  }
  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(47,58,77,0.06);
  }
  .nav-links .nav-btn-dark {
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
    margin-top: 4px;
  }
  body.menu-open { overflow: hidden; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.74rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-premium), box-shadow 0.2s var(--ease-premium);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  transform: translateY(-2px);
}
/* Sheen effect */
.btn::after {
  content: "";
  position: absolute;
  top: -20%; left: -60%;
  width: 40%; height: 140%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  transition: opacity 0.2s var(--ease-premium);
}
.btn:hover::after {
  opacity: 0.7;
  animation: sheen 1.1s var(--ease-premium) 1;
}

.btn--primary {
  background: linear-gradient(135deg, var(--mint-btn) 0%, #a0d44a 100%);
  color: var(--blue-deep);
  border: 2px solid var(--blue-deep);
}
.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(184,230,92,0.5);
}

.btn--secondary {
  background: var(--blue-deep);
  color: var(--white);
  border: 2px solid var(--blue-deep);
}
.btn--secondary:hover {
  box-shadow: 0 8px 25px rgba(47,58,77,0.3);
}

.btn--outline {
  background: var(--white);
  color: var(--blue-deep);
  border: 2px solid var(--blue-deep);
}
.btn--outline:hover {
  box-shadow: 0 8px 25px rgba(47,58,77,0.18);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-deep);
  border: 1px solid rgba(47,58,77,0.2);
}

.nav-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease-premium), box-shadow 0.18s var(--ease-premium);
  white-space: nowrap;
}
.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}
.nav-btn-dark,
.nav-links .nav-btn-dark {
  background: var(--blue-deep);
  color: var(--white);
  border: 2px solid var(--blue-deep);
}
.nav-btn-dark.active,
.nav-links .nav-btn-dark.active {
  background: var(--mint-btn);
  color: var(--blue-deep);
  border-color: var(--mint-btn);
}
.nav-btn-light,
.nav-links .nav-btn-light {
  background: var(--white);
  color: var(--blue-deep);
  border: 2px solid var(--blue-deep);
}

/* ── NAV DROPDOWNS ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-btn {
  cursor: pointer;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--blue-deep);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 300;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
  border-radius: 0;
  background: none;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

/* Mobile dropdowns */
@media (max-width: 900px) {
  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(47,58,77,0.08);
    border-radius: 12px;
    box-shadow: none !important;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease-premium), padding 0.3s;
    margin-top: 4px;
    z-index: auto;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 300px;
    padding: 8px 0;
  }
  .nav-dropdown-menu a {
    color: var(--text-dark) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.65rem 1.2rem;
    text-align: center;
    border-radius: 8px;
    margin: 2px 8px;
    background: transparent;
    white-space: normal;
  }
  .nav-dropdown-menu a:hover {
    background: rgba(47,58,77,0.06);
    color: var(--blue-deep) !important;
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    max-height: 0;
    padding: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown:hover.open .nav-dropdown-menu {
    max-height: 300px;
    padding: 8px 0;
  }
  /* Flag on mobile */
  .nav-lang-flag,
  .nav-links .nav-lang-flag {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    align-self: center;
  }
  .nav-lang-flag img {
    width: 36px;
    height: 36px;
  }
}

/* ── PILL BADGE ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pill--mint {
  background: var(--gradient-mint-pink);
  border: var(--border-mint);
  color: var(--mint);
}
.pill--pink {
  background: var(--gradient-pink-mint);
  border: var(--border-pink);
  color: var(--pink);
}
.pill--solid-mint {
  background: linear-gradient(135deg, var(--mint) 0%, rgba(184,230,92,0.85) 100%);
  color: var(--blue-deep);
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(184,230,92,0.3);
}
.pill--solid-pink {
  background: linear-gradient(135deg, var(--pink) 0%, #7722cc 100%);
  color: var(--blue-deep);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(153,51,255,0.4);
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.section-header h2 em {
  font-style: normal;
  font-weight: 700;
  color: var(--pink);
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem 2rem;
  border: var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease-premium), box-shadow 0.22s var(--ease-premium);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium-hover);
}

/* Glassmorphism card */
.card--glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}
.card--glass:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium-hover);
}
/* Top gradient line on hover */
.card--glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mint) 0%, var(--pink) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card--glass:hover::before {
  opacity: 1;
}

/* Feature card with icon */
.card--feature {
  text-align: center;
}
.card--feature .card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--gradient-mint-pink);
  border: var(--border-mint);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.card--feature:hover .card-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--mint) 0%, #a0d44a 100%);
  border-color: var(--mint);
}
/* Alternate pink icon */
.card--feature.card--pink-icon .card-icon {
  background: var(--gradient-pink-mint);
  border: var(--border-pink);
}
.card--feature.card--pink-icon:hover .card-icon {
  background: linear-gradient(135deg, var(--pink) 0%, #7722cc 100%);
  border-color: var(--pink);
}
/* SVG icons inside card-icon (unified PPT icons: vital-signs, sos, fall) */
.card--feature .card-icon img.icon-svg,
.card--feature .card-icon svg.icon-svg {
  width: 32px;
  height: 32px;
  color: var(--blue-deep);
  fill: currentColor;
}
.card--feature.card--pink-icon .card-icon img.icon-svg,
.card--feature.card--pink-icon .card-icon svg.icon-svg {
  color: var(--blue-deep);
}
.card--feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
  line-height: 1.3;
}
.card--feature p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── PRICING CARD ── */
.pricing-card {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  padding: 2rem 1.8rem 1.8rem;
  background: rgba(255,255,255,0.97);
  color: var(--text-dark);
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 12px 24px rgba(0,0,0,0.08),
    0 24px 48px rgba(0,0,0,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
  border: 1px solid var(--glass-border);
}
@media (min-width: 901px) {
  .pricing-card:hover {
    transform: translateY(-8px);
    box-shadow:
      0 8px 16px rgba(0,0,0,0.06),
      0 20px 40px rgba(0,0,0,0.12),
      0 32px 64px rgba(0,0,0,0.12);
  }
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 1.2rem;
  background: linear-gradient(135deg, var(--pink) 0%, #7722cc 100%);
  color: var(--blue-deep);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(153,51,255,0.4);
  white-space: nowrap;
}
.pricing-body {
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.04) 100%);
  border-radius: 16px;
  padding: 1.5rem;
  flex: 1;
  border: 1px solid rgba(0,0,0,0.04);
}
.pricing-price {
  text-align: center;
  padding: 1.2rem 0;
  margin: 0.5rem 0 1rem;
  background: linear-gradient(135deg, rgba(184,230,92,0.15) 0%, rgba(184,230,92,0.08) 100%);
  border-radius: var(--radius-sm);
  border: var(--border-mint);
}
.pricing-price-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.3rem;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin: 0.6rem 0;
  padding: 0.3rem 0;
}
.pricing-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.pricing-value {
  font-weight: 800;
  color: var(--blue-deep);
  font-size: 0.95rem;
}
.pricing-sep {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  margin: 1.2rem 0;
}
.pricing-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  height: 54px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
}
.pricing-cta::after {
  content: "";
  position: absolute;
  top: -20%; left: -60%;
  width: 40%; height: 140%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  transition: opacity 0.2s var(--ease-premium);
}
.pricing-cta:hover::after {
  opacity: 0.7;
  animation: sheen 1.1s var(--ease-premium) 1;
}

/* ── FAQ ── */
.faq-item {
  border-radius: 16px;
  background: var(--white);
  margin: 0.75rem 0;
  border: var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease-premium);
  overflow: hidden;
}
.faq-item:hover {
  border-color: rgba(184,230,92,0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.faq-item[open] {
  background: linear-gradient(135deg, rgba(184,230,92,0.08) 0%, rgba(153,51,255,0.05) 100%);
  border-color: rgba(184,230,92,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-deep);
  padding: 1.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint) 0%, #a0d44a 100%);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232F3A4D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  transition: transform 0.3s var(--ease-premium), background 0.3s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--pink);
}
.faq-answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.7;
  animation: fadeIn 0.3s ease;
}

/* ── FOOTER ── */
.footer {
  padding: 2rem var(--section-pad-x) 3rem;
  background: linear-gradient(180deg, #f8f9fc 0%, #f0f2f8 100%);
  position: relative;
  margin-top: 0;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-separator);
}
.footer-bar {
  max-width: var(--max-width-sm);
  margin: 0 auto;
  background: var(--gradient-footer);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow:
    0 20px 60px rgba(15,22,87,0.25),
    0 8px 24px rgba(15,22,87,0.15);
  position: relative;
  overflow: hidden;
}
/* Decorative orbs */
.footer-bar::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(184,230,92,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.footer-bar::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(153,51,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.footer-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.footer-item .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mint);
}
.footer-item a {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-item a:hover {
  color: var(--mint);
}
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.footer-ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-mint-pink);
  border: 1px solid rgba(184,230,92,0.25);
  transition: all 0.3s var(--ease-premium);
}
.footer-ic:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, var(--mint) 0%, #a0d44a 100%);
  border-color: var(--mint);
}
.footer-ic svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  transition: fill 0.2s ease;
}
.footer-ic:hover svg {
  fill: var(--blue-deep);
}
.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,22,87,0.1), transparent);
}

/* Footer mobile */
@media (max-width: 900px) {
  .footer { padding: 0 16px 2.5rem; }
  .footer-bar {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 1.5rem;
    gap: 0.75rem;
    text-align: center;
  }
  .footer-item {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    align-items: center;
  }
  .footer-item .label { font-size: 0.7rem; }
  .footer-item a { font-size: 0.88rem; }
  .footer-social {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .footer-ic { width: 44px; height: 44px; }
  .footer-bottom { margin-top: 1.25rem; padding-top: 1rem; font-size: 0.8rem; }
}

/* ── FLOATING CTAs (matching Plan Joven original) ── */
.float-cta {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: calc(36px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease-premium), transform 0.22s var(--ease-premium);
}
.float-cta.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.06);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s var(--ease-premium), box-shadow 0.18s var(--ease-premium);
  position: relative;
}
.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.22);
}
.fab-bot {
  background: rgba(255,255,255,0.92);
  color: var(--blue-deep);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fab-cta {
  width: auto;
  min-width: 160px;
  padding: 0 16px;
  gap: 10px;
  background: linear-gradient(135deg, var(--mint-btn) 0%, #a0d44a 100%);
  color: var(--blue-deep);
  border: 2px solid var(--blue-deep);
  font-weight: 800;
  box-shadow: 0 8px 32px rgba(184,230,92,0.35);
}
.fab-cta:hover {
  box-shadow: 0 12px 40px rgba(184,230,92,0.5);
}
.fab-icon { display: inline-flex; line-height: 1; opacity: .95; }
.fab-text { display: inline-flex; white-space: nowrap; }
.fab-logo {
  height: 22px;
  width: auto;
  filter: none;
}

/* Desktop FABs */
@media (min-width: 901px) {
  .float-cta { left: 28px; right: 28px; bottom: 28px; }
  .fab { width: 72px; height: 72px; }
  .fab-bot { width: 76px; height: 76px; }
  .fab-bot .fab-logo { height: 42px; width: 42px; }
  .fab-logo { height: 34px; }
  .fab-cta { min-width: 150px; }
}

/* Mobile FABs (matching original) */
@media (max-width: 900px) {
  .float-cta {
    justify-content: space-between !important;
    gap: 12px;
  }
  .fab-bot {
    width: 60px !important;
    min-width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.92) !important;
    overflow: hidden;
  }
  .fab-logo {
    height: 32px;
    width: 32px;
    object-fit: contain;
  }
  .fab-cta {
    width: auto !important;
    min-width: 122px !important;
    height: 60px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--mint-btn) 0%, #a0d44a 100%) !important;
    color: var(--blue-deep) !important;
    border: 2px solid var(--blue-deep) !important;
    display: flex !important;
    gap: 8px;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 8px 32px rgba(184, 230, 92, 0.35) !important;
  }
  .fab-text { color: var(--blue-deep) !important; }
  .fab-icon { font-size: 1.06rem; color: var(--blue-deep) !important; }
}

body.menu-open .float-cta {
  opacity: 0 !important;
  transform: translateY(14px) !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .float-cta, .fab { transition: none !important; }
}

/* ═══════════════════════════════════════
   PREMIUM ADDITIONS
   ═══════════════════════════════════════ */

/* ── GRADIENT TEXT UTILITIES ── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-dark {
  background: var(--gradient-text-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-mint {
  background: linear-gradient(135deg, var(--mint) 0%, #a0d44a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-pink {
  background: linear-gradient(135deg, var(--pink) 0%, #7722cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SECTION SEPARATOR ── */
.section-sep {
  height: 1px;
  background: var(--gradient-section-sep);
  border: none;
  margin: 0;
}

/* ── PREMIUM HERO VARIANTS ── */
.hero-premium {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
}
.hero-premium .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.hero-premium h1 {
  font-size: var(--text-4xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-premium p {
  font-size: var(--text-md);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Split hero: content left / image right (Plan Joven style) */
.hero-split {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(3rem, 6vw, 6rem) var(--section-pad-x);
  min-height: 75vh;
}
.hero-split .hero-content {
  position: relative;
  z-index: 2;
}
.hero-split h1 {
  font-size: var(--text-4xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-split p {
  font-size: var(--text-md);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-split .hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-split .hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .hero-split .hero-image {
    order: -1;
  }
  .hero-split h1 {
    font-size: var(--text-3xl);
  }
}

/* ── PREMIUM FORM SYSTEM ── */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: -0.01em;
}
.form-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: rgba(255,255,255,0.8);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.form-input:focus {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(47,58,77,0.12);
  outline: none;
}
.form-input:hover:not(:focus) {
  border-color: rgba(0,0,0,0.2);
}
.form-select {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 1.2rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: rgba(255,255,255,0.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5a7a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}
.form-select:focus {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(47,58,77,0.12);
  outline: none;
}
.form-textarea {
  width: 100%;
  min-height: 120px;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: rgba(255,255,255,0.8);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.form-textarea:focus {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(47,58,77,0.12);
  outline: none;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  background: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  margin-top: 1px;
}
.form-checkbox input[type="checkbox"]:checked {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}
.form-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-checkbox input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(47,58,77,0.12);
  outline: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}
.form-error {
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 0.35rem;
}
.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error {
  border-color: #e53e3e;
}
.form-input.is-error:focus,
.form-select.is-error:focus,
.form-textarea.is-error:focus {
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}

/* ── PREMIUM PRICING UPGRADE ── */
.pricing-card--featured {
  border: var(--border-glow-pink);
  box-shadow:
    var(--shadow-premium),
    0 0 40px rgba(153,51,255,0.15);
}
@media (min-width: 901px) {
  .pricing-card--featured {
    transform: scale(1.04);
  }
  .pricing-card--featured:hover {
    transform: scale(1.04) translateY(-8px);
    box-shadow:
      var(--shadow-premium-hover),
      0 0 60px rgba(153,51,255,0.2);
  }
}

/* ── DECORATIVE ORBS (for dark sections) ── */
.section-orbs {
  position: relative;
  overflow: hidden;
}
.section-orbs::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(184,230,92,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}
.section-orbs::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(153,51,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

/* ── TYPOGRAPHY UTILITY CLASSES ── */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-md { font-size: var(--text-md); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-display { font-size: var(--text-display); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.tracking-tight { letter-spacing: -0.02em; }
.tracking-tighter { letter-spacing: -0.04em; }
.leading-tight { line-height: 1.1; }
.leading-snug { line-height: 1.3; }
.leading-relaxed { line-height: 1.7; }

/* ── PREMIUM CARD VARIANTS ── */
/* Card with top gradient line always visible */
.card--accent-top {
  position: relative;
  overflow: hidden;
}
.card--accent-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mint) 0%, var(--pink) 100%);
  transition: height 0.3s var(--ease-premium);
}
.card--accent-top:hover::before {
  height: 5px;
}

/* Dark card for blue sections */
.card--dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.card--dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}
.card--dark h3 {
  color: #fff;
}
.card--dark p {
  color: rgba(255,255,255,0.7);
}

/* ── SECTION DARK (blue background sections) ── */
.section-dark {
  background: var(--gradient-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark .section-header h2 {
  color: #fff;
}
.section-dark .section-header p {
  color: rgba(255,255,255,0.7);
}
.section-dark .section-header h2 em {
  color: var(--mint);
}

/* ── LAYOUT UTILITIES ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}
.container--sm {
  max-width: var(--max-width-sm);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}
.container--xs {
  max-width: var(--max-width-xs);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}
.section-pad {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── BADGE / TAG ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge--mint {
  background: rgba(184,230,92,0.15);
  color: var(--blue-deep);
  border: 1px solid rgba(184,230,92,0.3);
}
.badge--pink {
  background: rgba(153,51,255,0.15);
  color: var(--blue-deep);
  border: 1px solid rgba(153,51,255,0.3);
}
.badge--blue {
  background: rgba(47,58,77,0.08);
  color: var(--blue-deep);
  border: 1px solid rgba(47,58,77,0.15);
}

/* ── PREMIUM LIST (checkmark lists) ── */
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.list-check li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint) 0%, #a0d44a 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232F3A4D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  margin: 2rem 0;
}
.divider--mint {
  background: linear-gradient(90deg, transparent, rgba(184,230,92,0.4), transparent);
}
.divider--pink {
  background: linear-gradient(90deg, transparent, rgba(153,51,255,0.3), transparent);
}

/* ══════════════════════════════════════════════
   ICON SVG HELPER — unified vital-signs / SOS / fall icons
   ══════════════════════════════════════════════ */
.icon-svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}
.icon-svg--lg { width: 2em; height: 2em; }
.icon-svg--xl { width: 3.25rem; height: 3.25rem; }

/* Violet bullet for platform-features-style lists (replaces check ✅) */
.platform-bullet--violet,
.list-violet li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.6rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #9933ff 0%, #7a29cc 100%);
  box-shadow: 0 0 0 4px rgba(153,51,255,0.14);
}
.list-violet { list-style: none; padding: 0; margin: 0; }
.list-violet li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0;
  color: var(--text-dark);
  font-size: var(--text-md);
  line-height: 1.5;
}
.list-violet li::before { content: ""; }
