/* ============================================
   LUMA CARE USA — lumacareusa.com
   Bright Modern SaaS Design
   ============================================ */

:root {
  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;

  /* Brand gradient colors */
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --cyan: #06b6d4;

  /* Functional */
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;

  /* Borders & shadows */
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.08);

  /* Radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 100px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-white);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(99, 102, 241, 0.15); color: var(--text-primary); }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ---- UTILITIES ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--indigo), var(--violet), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-bg {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
}
.gradient-bg-full {
  background: linear-gradient(135deg, var(--indigo), var(--violet), var(--cyan));
}

/* ---- NAVIGATION ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  height: 64px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.nav-logo span { color: var(--indigo); }
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  display: inline-block;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  opacity: 0.92;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  margin-right: 12px;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---- HERO ---- */
.hero-wrapper {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 5vw 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-left { padding-right: 2vw; }
.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--indigo);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero-headline {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-primary {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
  opacity: 0.92;
}
.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateY(3px); }

/* Hero cards */
.hero-right { position: relative; height: 480px; }
.hero-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
}
.hc-main {
  position: absolute;
  top: 20px;
  right: 0;
  width: 320px;
  animation: floatA 5s ease-in-out infinite;
}
.hc-sub {
  position: absolute;
  top: 200px;
  left: 0;
  width: 280px;
  animation: floatB 5.5s ease-in-out infinite;
}
.hc-third {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 260px;
  animation: floatC 6s ease-in-out infinite;
}
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes floatC { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.card-metric {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.card-metric .unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}
.card-sub { font-size: 12px; color: var(--text-muted); }
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 5px;
}
.dot-ok { background: var(--green); }
.dot-warn { background: var(--amber); }
.dot-crit { background: var(--red); }
.status-row {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
  gap: 14px;
}
.progress-bar {
  height: 4px;
  background: var(--bg-subtle);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  border-radius: 2px;
  animation: fillBar 2s ease-out forwards;
}
@keyframes fillBar { from { width: 0; } to { width: 78%; } }

.alert-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.alert-icon { color: var(--amber); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.alert-text { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.alert-action { font-size: 11px; font-weight: 600; color: var(--indigo); margin-top: 4px; cursor: pointer; }

/* ---- STATS STRIP ---- */
.stats-strip {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  padding: 44px 5vw;
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { color: rgba(255, 255, 255, 0.8); }
.stat-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* ---- SECTIONS ---- */
.section-light {
  background: var(--bg-white);
  color: var(--text-primary);
  padding: 100px 5vw;
}
.section-subtle {
  background: var(--bg-light);
  color: var(--text-primary);
  padding: 100px 5vw;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 52px;
}

/* ---- PROBLEM / PAIN SECTION ---- */
.pull-quote {
  border-left: 3px solid var(--indigo);
  padding: 16px 28px;
  margin-bottom: 52px;
  max-width: 640px;
}
.pull-quote p {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(99, 102, 241, 0.2);
}
.pain-icon-wrap {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pain-icon-wrap svg { width: 20px; height: 20px; color: var(--indigo); }
.pain-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.pain-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- PILLARS / FEATURES ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pillar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(99, 102, 241, 0.25);
}
.pillar-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -4px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.3s;
}
.pillar-card:hover .pillar-num { opacity: 0.7; }
.pillar-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pillar-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.pillar-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}
.pillar-cta:hover { gap: 8px; }

/* ---- FOUNDERS SECTION ---- */
.founders-section {
  background: var(--bg-light);
}
.founders-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.big-quote {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 28px;
}
.big-quote em {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.founder-byline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  flex-shrink: 0;
}
.byline-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.byline-role { font-size: 13px; color: var(--text-muted); }
.creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cred-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cred-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cred-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.cred-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- DEMO CTA ---- */
.demo-section {
  background: var(--bg-white);
  padding: 100px 5vw;
  position: relative;
  overflow: hidden;
}
.demo-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.demo-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.demo-inner .section-sub {
  margin: 0 auto 40px;
  max-width: 500px;
}
.demo-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 16px;
}
.demo-input {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.demo-input:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.demo-input::placeholder { color: var(--text-muted); }
.btn-accent {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  opacity: 0.92;
}
.btn-accent:disabled {
  cursor: default;
  transform: none;
}
.demo-fine {
  font-size: 13px;
  color: var(--text-muted);
}
.demo-fine span {
  margin: 0 8px;
  opacity: 0.4;
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 40px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-logo span { color: var(--indigo); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }
.fade-up-d4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero { gap: 32px; }
  .hero-right { height: 400px; }
  .hc-main { width: 280px; }
  .hc-sub { width: 240px; }
  .hc-third { width: 220px; }
}

@media (max-width: 768px) {
  nav { height: 56px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px 5vw 60px;
  }
  .hero-left { padding-right: 0; }
  .hero-right { display: none; }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 28px;
  }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }

  .pain-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .founders-layout { grid-template-columns: 1fr; }
  .creds-grid { grid-template-columns: 1fr; }
  .demo-form { flex-direction: column; }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .section-light, .section-subtle, .demo-section {
    padding: 72px 5vw;
  }
}
