/* ============================================
   Healy Starter — Complete Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  --background: 300 10% 98%;
  --foreground: 290 30% 12%;
  --card: 0 0% 100%;
  --card-foreground: 290 30% 12%;
  --primary: 316 52% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 290 30% 92%;
  --secondary-foreground: 290 40% 20%;
  --muted: 290 15% 94%;
  --muted-foreground: 290 12% 50%;
  --accent: 280 50% 62%;
  --border: 290 20% 88%;
  --ring: 316 52% 50%;
  --radius: 0.75rem;
  --bot-bubble: 290 20% 92%;
  --bot-bubble-foreground: 290 30% 15%;
  --user-bubble: 316 52% 50%;
  --user-bubble-foreground: 0 0% 100%;
  --hero-gradient: linear-gradient(135deg, hsl(316 65% 38%) 0%, hsl(280 60% 30%) 60%, hsl(260 55% 22%) 100%);
  --nav-gradient: linear-gradient(90deg, hsl(316 60% 40%), hsl(280 55% 35%));
  --cta-gradient: linear-gradient(135deg, hsl(316 60% 48%), hsl(280 55% 42%));
  --card-glow: 0 8px 32px hsl(316 52% 50% / 0.15);
  --shadow-primary: 0 4px 20px hsl(316 52% 50% / 0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: hsl(var(--border)); }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; }

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

.text-gradient {
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Layout Utilities ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.section { padding: 96px 16px; position: relative; overflow: hidden; }
.section-sm { padding: 64px 16px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.text-center { text-align: center; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .container { padding: 0 32px; }
}

/* ---- Typography ---- */
.text-white { color: #fff; }
.text-white-60 { color: rgba(255,255,255,0.6); }
.text-white-50 { color: rgba(255,255,255,0.5); }
.text-white-40 { color: rgba(255,255,255,0.4); }
.text-white-30 { color: rgba(255,255,255,0.3); }
.text-white-80 { color: rgba(255,255,255,0.8); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.1; }
.leading-relaxed { line-height: 1.75; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }

/* ---- Components ---- */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}
.card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(-2px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}
.badge-primary { background: hsl(var(--secondary)); color: hsl(var(--primary)); }
.badge-dark { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
}
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(1); }
.btn-primary { background: var(--cta-gradient); color: #fff; box-shadow: var(--shadow-primary); }
.btn-white { background: #fff; color: hsl(var(--primary)); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 8px 16px; font-size: 0.75rem; }

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid hsl(var(--primary) / 0.3);
  color: hsl(var(--primary));
  transition: all 0.3s;
}
.tag:hover { background: hsl(var(--primary)); color: #fff; border-color: hsl(var(--primary)); }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--nav-gradient);
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}
.navbar.scrolled { background: hsl(316 65% 38% / 0.97); box-shadow: 0 2px 20px hsl(316 52% 20% / 0.3); }
.navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav-brand-text { display: none; }
@media (min-width: 640px) { .nav-brand-text { display: block; } }
.nav-brand-name { color: #fff; font-weight: 700; font-size: 1.125rem; font-family: 'Cormorant Garamond', serif; }
.nav-brand-sub { color: rgba(255,255,255,0.6); font-size: 10px; margin-top: -4px; }
.nav-links { display: none; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link { padding: 8px 12px; font-size: 0.875rem; color: rgba(255,255,255,0.8); border-radius: 8px; transition: all 0.3s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-mobile-toggle { display: flex; align-items: center; gap: 8px; }
@media (min-width: 1024px) { .nav-mobile-toggle { display: none; } }
.nav-mobile-toggle button { padding: 8px; color: #fff; background: none; border: none; cursor: pointer; border-radius: 8px; }
.nav-mobile-toggle button:hover { background: rgba(255,255,255,0.1); }
.nav-mobile-menu { display: none; padding-bottom: 16px; }
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a { display: block; padding: 12px 16px; color: rgba(255,255,255,0.8); border-radius: 8px; font-size: 0.875rem; }
.nav-mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--hero-gradient);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, hsl(316 65% 12% / 0.85), hsl(280 60% 10% / 0.9), hsl(260 55% 8% / 0.92));
}
.hero-content { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; padding: 80px 16px 64px; }
.hero-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; justify-content: center; }
@media (min-width: 1024px) { .hero-stats { justify-content: flex-start; } .hero-text { text-align: left; } }
.hero-text { text-align: center; }
@media (min-width: 1024px) { .hero-text { text-align: left; } }
.hero-device { display: none; justify-content: center; align-items: center; }
@media (min-width: 1024px) { .hero-device { display: flex; } }
.hero-device img {
  width: 100%; max-width: 400px; border-radius: 16px;
  filter: drop-shadow(0 30px 60px hsl(316 52% 15% / 0.6));
  animation: float 6s ease-in-out infinite;
}

/* ---- Conversion Hero ---- */
.conversion-hero {
  padding: 64px 16px; position: relative; overflow: hidden;
  background: hsl(280 50% 8%);
}
.conversion-hero .glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px; border-radius: 50%; filter: blur(120px); opacity: 0.2;
  background: hsl(316 60% 55%);
}

/* ---- Dark sections ---- */
.section-dark { background: hsl(280 50% 8%); }
.section-alt { background: hsl(var(--secondary)); }

/* ---- Stats cards ---- */
.stat-card {
  position: relative; border-radius: 16px; padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, hsl(280 40% 12% / 0.8), hsl(316 30% 10% / 0.5));
  backdrop-filter: blur(4px);
  transition: all 0.5s;
}
.stat-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.stat-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 16px 16px 0 0; opacity: 0.6; }
.stat-card:hover .stat-bar { opacity: 1; }

/* ---- Product cards ---- */
.product-card {
  border-radius: 24px; border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  overflow: hidden; transition: all 0.5s;
}
.product-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.1); transform: translateY(-8px); }
.product-card-img {
  height: 256px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, hsl(316 30% 95%), hsl(280 25% 92%));
}
.product-card-img img { width: 192px; height: 192px; object-fit: contain; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.1); }
.product-card-body { padding: 24px; }

/* ---- Feature cards ---- */
.feature-card {
  border-radius: 16px; border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  padding: 24px; transition: all 0.3s;
}
.feature-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.icon-box {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: transform 0.3s;
}
.feature-card:hover .icon-box { transform: scale(1.1); }
.icon-box-sm { width: 40px; height: 40px; border-radius: 10px; }

/* ---- Solution cards ---- */
.solution-card {
  position: relative; border-radius: 16px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); padding: 24px; overflow: hidden; transition: all 0.5s;
}
.solution-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-6px); }
.solution-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 16px 16px 0 0; opacity: 0.6; }
.solution-card:hover .solution-bar { opacity: 1; }

/* ---- Lead form ---- */
.lead-form {
  border-radius: 24px; border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  padding: 32px; box-shadow: var(--card-glow);
}
.form-input {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1px solid hsl(var(--border)); background: hsl(var(--background));
  color: hsl(var(--foreground)); font-size: 0.875rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: all 0.3s;
}
.form-input:focus { outline: none; box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15); border-color: hsl(var(--primary) / 0.5); }
.form-input::placeholder { color: hsl(var(--muted-foreground)); }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: hsl(var(--foreground)); margin-bottom: 6px; }

/* ---- FAQ Accordion ---- */
.faq-item { border-radius: 16px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); overflow: hidden; }
.faq-trigger {
  width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer; text-align: left;
  font-size: 1rem; font-weight: 500; color: hsl(var(--foreground));
  font-family: 'DM Sans', system-ui, sans-serif;
}
.faq-trigger::after {
  content: '+'; font-size: 1.5rem; color: hsl(var(--primary)); transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-trigger::after { content: '−'; }
.faq-content {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  padding: 0 24px; font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.75;
}
.faq-item.open .faq-content { max-height: 500px; padding-bottom: 20px; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: hsl(var(--card)); border-radius: 16px; padding: 28px;
  border: 1px solid hsl(var(--border)); transition: all 0.3s; position: relative;
}
.testimonial-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.stars { color: #facc15; font-size: 1rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.875rem; background: var(--cta-gradient);
}

/* ---- CTA Section ---- */
.cta-box {
  border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
  background: var(--hero-gradient);
}
@media (min-width: 768px) { .cta-box { padding: 64px; } }

/* ---- Footer ---- */
.footer { border-top: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 48px 16px; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 { font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground)); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: hsl(var(--primary)); }
.footer-bottom { border-top: 1px solid hsl(var(--border)); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: center; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---- Sticky CTA ---- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding: 12px 16px;
  background: linear-gradient(135deg, hsl(316 65% 38% / 0.97), hsl(280 60% 30% / 0.97));
  backdrop-filter: blur(12px); box-shadow: 0 -4px 30px hsl(316 52% 20% / 0.3);
  transform: translateY(100%); transition: transform 0.4s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-cta-text { display: none; color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500; }
@media (min-width: 768px) { .sticky-cta-text { display: block; } }
.sticky-cta-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; flex: 1; }
@media (min-width: 768px) { .sticky-cta-btns { flex: none; } }

/* ---- WhatsApp Button ---- */
.whatsapp-btn {
  position: fixed; bottom: 80px; left: 20px; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 9999px;
  background: #25D366; color: #fff; box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  transition: all 0.3s; text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 24px; height: 24px; }
.whatsapp-btn span { font-size: 0.75rem; font-weight: 600; display: none; }
@media (min-width: 640px) { .whatsapp-btn span { display: inline; } }

/* ---- Chat Widget ---- */
.chat-overlay { display: none; position: fixed; bottom: 16px; right: 16px; z-index: 100; width: 360px; max-width: calc(100vw - 2rem); height: 520px; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px hsl(316 52% 20% / 0.35); flex-direction: column; animation: fadeInUp 0.4s ease; }
.chat-overlay.open { display: flex; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--cta-gradient); flex-shrink: 0; }
.chat-header img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); }
.chat-header-text { flex: 1; }
.chat-header-name { color: #fff; font-weight: 600; font-size: 0.875rem; font-family: 'Cormorant Garamond', serif; }
.chat-header-status { color: rgba(255,255,255,0.6); font-size: 10px; }
.chat-close { padding: 6px; border-radius: 8px; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; }
.chat-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
.chat-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: hsl(var(--background)); }
.chat-bubble { border-radius: 16px; padding: 10px 14px; font-size: 0.875rem; line-height: 1.6; max-width: 82%; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.chat-bubble-bot { background: hsl(var(--bot-bubble)); color: hsl(var(--bot-bubble-foreground)); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-bubble-user { background: hsl(var(--user-bubble)); color: hsl(var(--user-bubble-foreground)); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-msg-row.user { justify-content: flex-end; }
.chat-msg-row img { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.chat-options { padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px; background: hsl(var(--background)); border-top: 1px solid hsl(var(--border)); }
.chat-option {
  font-size: 0.75rem; padding: 6px 12px; border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.4); color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.06); cursor: pointer; font-weight: 500;
  font-family: 'DM Sans', system-ui, sans-serif; transition: all 0.2s;
}
.chat-option:hover { background: hsl(var(--primary)); color: #fff; transform: scale(1.05); }
.chat-input-area { padding: 10px 12px; background: hsl(var(--background)); border-top: 1px solid hsl(var(--border)); }
.chat-input-wrap { display: flex; gap: 8px; align-items: center; border-radius: 12px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 8px 12px; }
.chat-input { flex: 1; background: transparent; border: none; outline: none; font-size: 0.875rem; color: hsl(var(--foreground)); font-family: 'DM Sans', system-ui, sans-serif; }
.chat-input::placeholder { color: hsl(var(--muted-foreground)); }
.chat-send {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: hsl(var(--primary)); border: none; cursor: pointer; color: #fff; transition: opacity 0.2s;
}
.chat-send:disabled { opacity: 0.3; cursor: default; }
.chat-send svg { width: 12px; height: 12px; }
.chat-disclaimer { padding: 6px 12px; background: hsl(var(--muted)); text-align: center; }
.chat-disclaimer p { font-size: 9px; color: hsl(var(--muted-foreground)); }

/* ---- Floating chat btn ---- */
.chat-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cta-gradient); color: #fff; border: none; cursor: pointer;
  box-shadow: 0 8px 32px hsl(316 52% 40% / 0.4); transition: all 0.3s;
}
.chat-fab:hover { transform: scale(1.1); }
.chat-fab svg { width: 24px; height: 24px; position: relative; z-index: 10; }
.chat-fab .ping {
  position: absolute; inset: 0; border-radius: 50%;
  background: hsl(var(--primary)); opacity: 0.5;
  animation: ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ---- Typing dots ---- */
.typing-dots { display: flex; gap: 4px; align-items: center; }
.typing-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: hsl(var(--primary)); animation: typing 1.4s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ---- Exit Intent Popup ---- */
.exit-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  align-items: center; justify-content: center; padding: 16px;
}
.exit-overlay.open { display: flex; }
.exit-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.exit-modal { position: relative; z-index: 10; width: 100%; max-width: 448px; border-radius: 24px; overflow: hidden; animation: fadeInUp 0.4s ease; }
.exit-header { padding: 32px; text-align: center; background: var(--hero-gradient); }
.exit-header .icon-circle { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); }
.exit-close { position: absolute; top: 16px; right: 16px; padding: 6px; border-radius: 8px; background: none; border: none; color: rgba(255,255,255,0.5); cursor: pointer; }
.exit-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
.exit-body { background: hsl(var(--card)); padding: 32px; text-align: center; }
.exit-body ul { text-align: left; list-style: none; margin-bottom: 24px; }
.exit-body li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: hsl(var(--foreground)); margin-bottom: 12px; }
.exit-body li .check { width: 20px; height: 20px; border-radius: 50%; background: hsl(var(--primary) / 0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: hsl(var(--primary)); font-size: 0.75rem; }

/* ---- How It Works steps ---- */
.step-card {
  display: flex; gap: 20px; padding: 20px; border-radius: 16px;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  transition: all 0.3s;
}
.step-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(-2px); }
.step-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cta-gradient); color: #fff; transition: transform 0.3s;
}
.step-card:hover .step-icon { transform: scale(1.1); }

/* ---- Page Hero (sub-pages) ---- */
.page-hero { padding: 96px 16px 64px; background: var(--hero-gradient); position: relative; overflow: hidden; }
.page-hero-dot-bg { position: absolute; inset: 0; opacity: 0.03; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 40px 40px; }

/* ---- Animations ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 75%, 100% { transform: scale(2); opacity: 0; } }

/* ---- Responsive helpers ---- */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: block; } }
.hide-desktop { display: block; }
@media (min-width: 1024px) { .hide-desktop { display: none; } }

/* ---- Dot backgrounds ---- */
.dot-bg { position: absolute; inset: 0; opacity: 0.03; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 40px 40px; }
.dot-bg-primary { position: absolute; inset: 0; opacity: 0.03; background-image: radial-gradient(circle at 1px 1px, hsl(var(--primary)) 1px, transparent 0); background-size: 32px 32px; }

/* ---- Highlight gradient (for hero titles) ---- */
.gradient-text {
  background: linear-gradient(135deg, hsl(316 80% 75%), hsl(280 70% 80%), hsl(45 80% 75%));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text-gold {
  background: linear-gradient(135deg, hsl(316 80% 75%), hsl(45 80% 75%));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---- Scrollbar ---- */
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: hsl(var(--border)); border-radius: 99px; }

/* ---- Program cards with glow ---- */
.program-card {
  position: relative; border-radius: 16px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); padding: 24px; overflow: hidden; transition: all 0.5s; cursor: default;
}
.program-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-6px); }
.program-card .hover-glow {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; border-radius: 16px;
}
.program-card:hover .hover-glow { opacity: 1; }

/* ---- Blog cards ---- */
.blog-card {
  border-radius: 16px; border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  overflow: hidden; transition: all 0.3s;
}
.blog-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.blog-card-bar { height: 3px; width: 100%; background: var(--cta-gradient); }
.blog-card-body { padding: 24px; }

/* ---- Prose (for blog content) ---- */
.prose { font-size: 1rem; line-height: 1.8; }
.prose p { margin-bottom: 20px; }
.prose h2 { font-size: 1.875rem; margin: 40px 0 16px; }
.prose h3 { font-size: 1.5rem; margin: 32px 0 12px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 20px; }
.prose li { margin-bottom: 8px; }

/* ---- Glow rings (for hero device) ---- */
.glow-ring {
  position: absolute; inset: -32px; border-radius: 50%;
  opacity: 0.2; filter: blur(48px); animation: pulse 2s ease-in-out infinite;
  background: radial-gradient(circle, hsl(316 60% 55%), transparent 70%);
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.35; }
}
