/* =============================================
   CareVirt — Landing Page Stylesheet
   ============================================= */

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

:root {
  --teal:        #14b8a6;
  --teal-dark:   #0d9488;
  --teal-light:  #ccfbf1;
  --blue:        #4a90e2;
  --purple:      #6366f1;
  --orange:      #f59e0b;
  --green:       #22c55e;
  --red:         #ef4444;
  --dark:        #111827;
  --dark-2:      #1f2937;
  --text:        #282828;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;
  --border:      #e5e7eb;
  --bg:          #ffffff;
  --bg-subtle:   #f9fafb;
  --bg-card:     #ffffff;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ---- Gradient Text ---- */
.gradient-text {
  background: linear-gradient(135deg, #14b8a6 0%, #4a90e2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,184,166,.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--border);
  color: var(--text);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.88rem;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--text); background: var(--bg-subtle); }

.btn-large { padding: 15px 36px; font-size: 1rem; }

.btn-outline-teal {
  display: block;
  text-align: center;
  border: 2px solid var(--teal);
  color: var(--teal);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-teal:hover { background: var(--teal); color: #fff; }

.btn-white {
  display: block;
  text-align: center;
  background: #fff;
  color: var(--teal-dark);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-full { width: 100%; justify-content: center; }

/* ---- Pulse Dot ---- */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.pulse-dot.small { width: 6px; height: 6px; }

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(20,184,166,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(20,184,166,0); }
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 16px 0 18px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

.section-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  background: rgba(255,255,255,.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark);
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.logo-icon { display: flex; align-items: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 5px; margin-left: auto; flex-shrink: 0; }
.nav-actions .btn-primary { padding: 7px 14px; font-size: 0.84rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.98);
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
}
.mobile-actions .btn-primary, .mobile-actions .btn-ghost { justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #14b8a6, #4a90e2);
  top: -100px; right: -100px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6366f1, #14b8a6);
  bottom: 0; left: -80px;
}
.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f59e0b, #ef4444);
  top: 40%; left: 40%;
  opacity: 0.06;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,184,166,.08);
  border: 1px solid rgba(20,184,166,.2);
  color: var(--teal-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero-subhint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -20px;
  opacity: 0.75;
}
.hero-subhint svg { color: var(--teal); flex-shrink: 0; }

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Dashboard Card */
.hero-visual { position: relative; }

.dashboard-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.dash-dots span:nth-child(1) { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #f59e0b; }
.dash-dots span:nth-child(3) { background: #22c55e; }
.dash-title {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.dash-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}

.dash-body { padding: 20px; }

.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }

.dash-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}
.dash-metric.teal { background: rgba(20,184,166,.07); }
.dash-metric.blue { background: rgba(74,144,226,.07); }

.metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(20,184,166,.12);
  color: var(--teal);
  flex-shrink: 0;
}
.dash-metric.blue .metric-icon { background: rgba(74,144,226,.12); color: var(--blue); }

.metric-val {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--dark);
}
.metric-lbl { font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; font-weight: 500; }

.dash-chart-area { margin-bottom: 16px; }
.chart-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bar {
  width: 100%;
  height: var(--h);
  background: rgba(20,184,166,.2);
  border-radius: 4px 4px 0 0;
  transition: background 0.3s;
}
.bar.active, .bar-wrap:hover .bar { background: var(--teal); }
.bar-wrap span { font-size: 0.65rem; color: var(--text-light); }

.dash-alerts { display: flex; flex-direction: column; gap: 8px; }
.alert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.alert-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.alert-item.green .alert-dot { background: var(--green); }
.alert-item.orange .alert-dot { background: var(--orange); }

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.card-tl { top: -18px; left: -30px; }
.card-br { bottom: -18px; right: -20px; }

/* ---- Hero sub-lead & tagline ---- */
.hero-sub-lead {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.hero-sub-lead em {
  font-style: normal;
  background: linear-gradient(135deg, #14b8a6, #4a90e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline-block {
  background: rgba(20,184,166,.06);
  border: 1px solid rgba(20,184,166,.15);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 36px;
}
.hero-tagline-main {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.hero-tagline-main strong { color: var(--teal-dark); }
.hero-tagline-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ══════════════════════════════════════════
   HERO VISUAL STAGE — complete redesign
   ══════════════════════════════════════════ */
.vi-stage {
  position: relative;
  width: 100%;
  padding-bottom: 120px;
  animation: float 7s ease-in-out infinite;
}

.vi-glow {
  position: absolute;
  top: 5%; right: 0;
  width: 90%; height: 90%;
  background: radial-gradient(ellipse at 60% 40%, rgba(20,184,166,.15) 0%, rgba(99,102,241,.1) 55%, transparent 75%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* ── App window ── */
.vi-window {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 1px 3px rgba(0,0,0,.04),
    0 6px 20px rgba(0,0,0,.07),
    0 24px 56px rgba(0,0,0,.09);
  overflow: hidden;
}

.vi-bar {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e9eef4;
  gap: 0;
}
.vi-dots { display: flex; gap: 6px; flex-shrink: 0; }
.vi-dots span { display: block; width: 11px; height: 11px; border-radius: 50%; }
.vd-red    { background: #ff5f56; }
.vd-yellow { background: #ffbd2e; }
.vd-green  { background: #27c93f; }

.vi-bar-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
}
.vi-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}

.vi-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f8fafc;
}

/* KPI cards */
.vi-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vi-kpi {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e9eef4;
  position: relative;
  overflow: hidden;
}
.vi-kpi::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
}
.vi-kpi-teal::before  { background: var(--teal); }
.vi-kpi-blue::before  { background: var(--blue); }
.vi-kpi-purple::before { background: var(--purple); }

.vi-kpi-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vi-kpi-teal   .vi-kpi-icon { background: rgba(20,184,166,.1);  color: var(--teal); }
.vi-kpi-blue   .vi-kpi-icon { background: rgba(74,144,226,.1);  color: var(--blue); }
.vi-kpi-purple .vi-kpi-icon { background: rgba(99,102,241,.1);  color: var(--purple); }

.vi-kpi-num {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.vi-kpi-lbl { font-size: 0.62rem; color: #94a3b8; font-weight: 500; margin-top: 3px; }
.vi-kpi-trend {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 50px;
  align-self: flex-start;
  flex-shrink: 0;
}
.vi-kpi-trend.up { background: rgba(34,197,94,.1); color: #16a34a; }

/* mid row */
.vi-mid-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}
.vi-chart-box, .vi-goals-box {
  background: #fff;
  border: 1px solid #e9eef4;
  border-radius: 12px;
  padding: 16px;
}
.vi-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.vi-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 80px;
}
.vi-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
  position: relative;
  cursor: default;
}

/* JS-driven floating tooltip for bar chart */
#bar-tooltip {
  position: fixed;
  background: #1e293b;
  color: #f8fafc;
  font-size: 0.68rem;
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 7px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 9999;
  letter-spacing: .01em;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
#bar-tooltip.visible { opacity: 1; }
.vi-bar {
  width: 100%;
  height: var(--bh);
  background: #e2e8f0;
  border-radius: 4px 4px 0 0;
}
.vi-bar-active { background: linear-gradient(to top, var(--teal-dark), var(--teal)); }
.vi-bar-col span { font-size: 0.58rem; color: #94a3b8; font-weight: 600; }

.vi-goal-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.vi-goal-row:last-child { margin-bottom: 0; }
.vi-goal-row > span:first-child {
  font-size: 0.65rem;
  color: #475569;
  font-weight: 500;
  width: 90px;
  flex-shrink: 0;
}
.vi-progress-track {
  flex: 1;
  height: 6px;
  background: #e9eef4;
  border-radius: 99px;
  overflow: hidden;
}
.vi-progress-fill {
  width: var(--gw);
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  border-radius: 99px;
}
.vi-pct { font-size: 0.62rem; font-weight: 700; color: var(--teal-dark); width: 28px; text-align: right; flex-shrink: 0; }

/* alerts */
.vi-alerts { display: flex; gap: 8px; }
.vi-alert {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 0.66rem;
  font-weight: 500;
}
.vi-alert-green  { background: rgba(34,197,94,.08);  color: #15803d; }
.vi-alert-orange { background: rgba(245,158,11,.08); color: #b45309; }
.vi-alert-blue   { background: rgba(74,144,226,.08); color: #1d4ed8; }

/* ════════════════════════════════
   iPHONE 16 MOCKUP
   ════════════════════════════════ */
.vi-phone {
  position: absolute;
  bottom: -24px;
  right: -30px;
  z-index: 5;
  animation: floatPhone 7s ease-in-out 2s infinite;
}
@keyframes floatPhone {
  0%,100% { transform: translateY(0) rotate(1.2deg); }
  50%      { transform: translateY(-11px) rotate(-0.4deg); }
}

/* ── iPhone frame (outer titanium ring) ── */
.iph-frame {
  /* iPhone 16 ratio: 71.6 × 147.6mm → 2.062 */
  width: 200px;
  height: 412px;
  background: linear-gradient(160deg, #2c2c2e, #1a1a1c, #3a3a3c);
  border-radius: 46px;
  padding: 9px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 0 0 .5px rgba(255,255,255,.06),
    0 24px 60px rgba(0,0,0,.5),
    0 8px 18px rgba(0,0,0,.28);
}

/* ── Screen (inner, overflow:hidden clips all content) ── */
.iph-screen {
  width: 100%;
  height: 100%;
  background: #f2f2f7;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* side buttons on the frame */
.iph-side { position: absolute; width: 2.5px; background: #3a3a3c; border-radius: 99px; }
.iph-action { height: 24px; left: -2.5px; top: 76px; border-radius: 2px 0 0 2px; }
.iph-vol-u  { height: 34px; left: -2.5px; top: 114px; border-radius: 2px 0 0 2px; }
.iph-vol-d  { height: 34px; left: -2.5px; top: 158px; border-radius: 2px 0 0 2px; }
.iph-power  { height: 52px; right: -2.5px; top: 124px; border-radius: 0 2px 2px 0; }

/* Dynamic Island */
.iph-di {
  width: 72px; height: 24px;
  background: #1c1c1e;
  border-radius: 50px;
  margin: 0 auto 2px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 11px;
  flex-shrink: 0;
}
.iph-cam {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0f0f11;
  border: 1px solid #333;
}

/* Status bar */
.iph-sb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 4px;
  flex-shrink: 0;
}
.iph-time {
  font-size: 0.68rem;
  font-weight: 800;
  color: #1c1c1e;
  letter-spacing: -.02em;
}
.iph-sb-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1c1c1e;
}

/* Scrollable body — fills remaining height, clips overflow */
.iph-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* app header */
.iph-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 11px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.05);
  flex-shrink: 0;
}
.iph-appbar-l { display: flex; align-items: center; gap: 7px; }
.iph-appico {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
}
.iph-appname { font-size: 0.68rem; font-weight: 700; color: #1c1c1e; }
.iph-appdate { font-size: 0.52rem; color: #8e8e93; }
.iph-livechip {
  display: flex; align-items: center; gap: 4px;
  background: rgba(34,197,94,.1); color: #15803d;
  font-size: 0.52rem; font-weight: 700;
  padding: 3px 8px; border-radius: 99px;
}

/* stat chips */
.iph-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 5px;
  padding: 7px 10px 6px;
  background: #f2f2f7;
  flex-shrink: 0;
}
.iph-stat {
  border-radius: 9px; padding: 6px 4px; text-align: center;
}
.iph-stat b {
  display: block; font-size: 0.95rem; font-weight: 800; line-height: 1; color: #1c1c1e;
}
.iph-stat span { font-size: 0.46rem; font-weight: 600; color: #6c6c70; }
.s-teal { background: rgba(20,184,166,.1); }
.s-teal b { color: var(--teal-dark); }
.s-green { background: rgba(34,197,94,.1); }
.s-green b { color: #15803d; }
.s-amber { background: rgba(245,158,11,.1); }
.s-amber b { color: #b45309; }

/* list label */
.iph-list-label {
  padding: 5px 11px 3px;
  font-size: 0.5rem; font-weight: 700;
  color: #8e8e93; text-transform: uppercase; letter-spacing: .07em;
  background: #f2f2f7;
  flex-shrink: 0;
}

/* session rows */
.iph-list { display: flex; flex-direction: column; flex: 1; }

.iph-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 11px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.04);
  flex-shrink: 0;
}
.iph-row:last-child { border-bottom: none; }
.row-live    { background: rgba(20,184,166,.04); }
.row-done    { background: #fafafa; }
.row-pending { background: #fff; }

.iph-av {
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 0.52rem; font-weight: 800; color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.iph-ri { flex: 1; min-width: 0; }
.iph-rname {
  font-size: 0.62rem; font-weight: 700; color: #1c1c1e;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.iph-rmeta { font-size: 0.5rem; color: #8e8e93; margin-top: 1px; }

.iph-tag {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.46rem; font-weight: 700;
  padding: 2px 6px; border-radius: 99px;
  flex-shrink: 0; white-space: nowrap;
}
.t-done    { background: rgba(34,197,94,.1);  color: #15803d; }
.t-pending { background: rgba(245,158,11,.1); color: #b45309; }
.t-live    { background: rgba(20,184,166,.1); color: var(--teal-dark); }
.t-soon    { background: #ebebf0; color: #8e8e93; }

/* iOS tab bar */
.iph-tabs {
  display: flex;
  background: rgba(250,250,250,.95);
  border-top: 1px solid rgba(0,0,0,.07);
  padding: 5px 0 0;
  flex-shrink: 0;
}
.iph-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 1px;
  color: #c7c7cc; font-size: 0.44rem; font-weight: 600;
  padding-bottom: 2px;
}
.iph-tab-on { color: var(--teal); }
.iph-tab svg { stroke: currentColor; }

/* home indicator */
.iph-home {
  width: 60px; height: 3px;
  background: #1c1c1e; border-radius: 99px;
  margin: 4px auto 5px; opacity: 0.14;
  flex-shrink: 0;
}

/* ── Floating badges ── */
.vi-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 50px;
  padding: 7px 14px 7px 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,.09);
  white-space: nowrap;
}
.vi-badge-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vi-badge-tl {
  top: -14px; left: -16px;
  animation: badgeFloat 5s ease-in-out infinite;
}
.vi-badge-mr {
  top: 36%; right: -20px;
  animation: badgeFloat 5s ease-in-out 1.5s infinite;
}
.vi-badge-tr {
  bottom: 72px; left: 100px;
  animation: badgeFloat 5s ease-in-out 2s infinite;
}
.vi-badge-bl {
  bottom: 18px; left: -16px;
  animation: badgeFloat 5s ease-in-out 0.8s infinite;
}
.vi-badge-main {
  bottom: -34px; left: 50%; transform: translateX(-50%);
  font-size: 0.78rem;
  padding: 9px 18px 9px 9px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 6px 24px rgba(20,184,166,.18), 0 2px 8px rgba(0,0,0,.08);
  border: 1px solid rgba(20,184,166,.2);
  animation: badgeFloatMain 5s ease-in-out 2.5s infinite;
}
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes badgeFloatMain {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}


.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: .04em;
  animation: fadeInDown 1s ease 2s both;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--text-light));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .5; }
  50%      { opacity: 1; }
}
@keyframes fadeInDown {
  from { opacity:0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}

/* =============================================
   TRUSTED BY
   ============================================= */
.trusted {
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.trusted-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.logo-item {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.7;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.logo-item:hover { opacity: 1; color: var(--text-muted); }

/* =============================================
   FEATURES
   ============================================= */
.features {
  padding: 100px 0;
}

/* ── Why CareVirt grid ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

/* tall cards span 2 rows */
.why-card-tall {
  grid-row: span 2;
}

.why-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20,184,166,.22);
}

/* accent (dark) card */
.why-card-accent {
  background: var(--dark);
  border-color: var(--dark);
  color: rgba(255,255,255,.85);
}
.why-card-accent h3 { color: #fff; }
.why-card-accent p  { color: rgba(255,255,255,.55); }

.why-stat {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -.02em;
}
.why-card-accent .why-stat { color: var(--teal); }

.why-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.why-icon-wrap.teal   { background: rgba(20,184,166,.1);  color: var(--teal); }
.why-icon-wrap.blue   { background: rgba(74,144,226,.1);  color: var(--blue); }
.why-icon-wrap.purple { background: rgba(99,102,241,.1);  color: var(--purple); }
.why-icon-wrap.orange { background: rgba(245,158,11,.1);  color: var(--orange); }
.why-icon-wrap.green  { background: rgba(34,197,94,.1);   color: var(--green); }
.why-icon-wrap.white  { background: rgba(255,255,255,.12); color: #fff; }

.why-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--dark); margin: 0; }
.why-card p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-subtle);
}

.steps-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.steps-line {
  position: absolute;
  left: 31px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), transparent);
}

.step {
  display: flex;
  gap: 32px;
  padding: 32px 0 32px 0;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(20,184,166,.1);
  z-index: 1;
}

.step-content { padding-top: 14px; }
.step-content h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-content p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* =============================================
   MODULES / TABS
   ============================================= */
.modules { padding: 100px 0; }

.modules-tabs {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.tab-btn {
  flex: 1;
  padding: 18px 24px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tab-btn:hover { color: var(--text); background: rgba(0,0,0,.02); }
.tab-btn.active { color: var(--teal-dark); border-color: var(--teal); background: #fff; }

.tab-panels { padding: 0; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  align-items: center;
}

.tab-text h3 { font-size: 1.5rem; margin-bottom: 14px; }
.tab-text p  { color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }

/* Feel pills */
.feel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feel-pills span {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: .01em;
}

/* Module feel cards */
.module-feel-card {
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 280px;
}
.provider-feel {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}
.guardian-feel {
  background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
  color: #fff;
}
.mfc-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9);
  margin-bottom: 4px;
}
.mfc-headline {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.mfc-tagline {
  font-size: 0.84rem;
  color: rgba(255,255,255,.6);
}
.mfc-divider {
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: 4px 0;
}
.mfc-quote-block {
  background: rgba(255,255,255,.06);
  border-left: 3px solid rgba(255,255,255,.25);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mfc-quote {
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
}
.mfc-attr {
  font-size: 0.76rem;
  color: rgba(255,255,255,.4);
  font-weight: 600;
  letter-spacing: .02em;
}

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}
.check-list li::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-light);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  flex-shrink: 0;
}

/* Mini Dashboards */
.mini-dashboard {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.mini-header {
  padding: 14px 20px;
  background: var(--dark);
  color: rgba(255,255,255,.7);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.mini-stat {
  background: var(--bg-card);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ms-num { font-family: 'Red Hat Display', sans-serif; font-size: 1.2rem; font-weight: 800; }
.ms-num.teal   { color: var(--teal); }
.ms-num.blue   { color: var(--blue); }
.ms-num.green  { color: var(--green); }
.ms-lbl { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

.mini-progress-bars { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.pb-item { display: flex; flex-direction: column; gap: 5px; }
.pb-item span { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.pb-bar { height: 6px; background: var(--border); border-radius: 99px; overflow: hidden; }
.pb-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 99px; }

/* Session list */
.session-list { display: flex; flex-direction: column; }
.session-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: background 0.2s;
}
.session-item:last-child { border-bottom: none; }
.session-item.current { background: rgba(20,184,166,.05); }
.s-time { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; width: 44px; }
.s-name { flex: 1; font-size: 0.88rem; font-weight: 600; }
.s-type {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.s-type.aba    { background: rgba(20,184,166,.1); color: var(--teal-dark); }
.s-type.speech { background: rgba(74,144,226,.1); color: var(--blue); }
.s-type.ot     { background: rgba(99,102,241,.1); color: var(--purple); }

/* Goal list */
.goal-list { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.goal-item { display: flex; align-items: center; gap: 10px; }
.goal-item span:first-child { font-size: 0.78rem; font-weight: 500; width: 110px; flex-shrink: 0; }
.goal-bar { flex: 1; height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; }
.goal-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 99px; }
.goal-pct { font-size: 0.72rem; font-weight: 700; color: var(--teal-dark); width: 32px; text-align: right; }

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

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.testimonial-card.featured-t {
  background: var(--dark);
  border-color: var(--dark);
}
.testimonial-card.featured-t .stars { color: var(--orange); }
.testimonial-card.featured-t p { color: rgba(255,255,255,.75); }

.stars { font-size: 1rem; color: var(--orange); letter-spacing: 2px; }
.testimonial-card p { font-size: 0.92rem; line-height: 1.75; color: var(--text-muted); flex: 1; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}
.author-avatar.teal   { background: var(--teal); }
.author-avatar.blue   { background: var(--blue); }
.author-avatar.purple { background: var(--purple); }

.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--text); }
.testimonial-card.featured-t .testimonial-author strong { color: #fff; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }

/* =============================================
   ABOUT
   ============================================= */
.about { padding: 100px 0; }

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

.about-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.about-logo img {
  height: 48px;
  width: auto;
}
.about-logo span {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
}
.about-content .section-badge { margin-bottom: 16px; }
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 24px; }
.about-content p  { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }

.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.value-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-item strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.value-item span   { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.about-card-stack { position: relative; display: flex; flex-direction: column; gap: 20px; }

.acard {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.acard:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.acard-1 { margin-left: 0; }
.acard-2 { margin-left: 32px; }
.acard-3 { margin-left: 16px; }

.acard strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.acard p      { font-size: 0.82rem; color: var(--text-muted); }

/* =============================================
   PRICING
   ============================================= */
.pricing {
  padding: 100px 0;
  background: var(--bg-subtle);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.pricing-card.featured-p {
  background: linear-gradient(135deg, var(--teal-dark), #0891b2);
  border: none;
  color: #fff;
}
.pricing-card.featured-p .plan-name { color: rgba(255,255,255,.7); }
.pricing-card.featured-p .plan-price { color: #fff; }
.pricing-card.featured-p .plan-desc { color: rgba(255,255,255,.6); }
.pricing-card.featured-p .plan-features li { color: rgba(255,255,255,.85); }

.plan-popular {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name  { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.plan-price {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--dark);
}
.price-currency { font-size: 1rem; font-weight: 600; vertical-align: top; margin-top: 8px; display: inline-block; }
.price-period { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.pricing-card.featured-p .price-period { color: rgba(255,255,255,.5); }

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

.plan-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0d4444 100%);
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg-blobs { position: absolute; inset: 0; pointer-events: none; }
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
}
.cta-blob-1 { width: 500px; height: 500px; background: var(--teal); top: -100px; left: -100px; }
.cta-blob-2 { width: 400px; height: 400px; background: var(--blue); bottom: -80px; right: -80px; }

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 20px;
}
.cta-banner p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-actions .btn-white { display: inline-block; padding: 15px 36px; }

/* =============================================
   CONTACT
   ============================================= */
.contact { padding: 100px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-badge { margin-bottom: 16px; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.contact-info > p { color: var(--text-muted); line-height: 1.75; margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 3px; }
.contact-item span   { font-size: 0.88rem; color: var(--text-muted); }

/* Form / Calendly */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.calendly-wrap {
  padding: 0;
  overflow: hidden;
}
.calendly-wrap .calendly-inline-widget {
  border-radius: var(--radius-lg);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,.1);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 110px; }

.contact-form .btn-primary {
  background: var(--teal);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 1rem;
}
.contact-form .btn-primary:hover { background: var(--teal-dark); box-shadow: 0 6px 20px rgba(20,184,166,.35); }

.form-note { text-align: center; font-size: 0.78rem; color: var(--text-light); }

/* Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 { font-size: 1.4rem; color: var(--dark); }
.form-success p  { color: var(--text-muted); max-width: 320px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding-top: 64px;
}

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

.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--teal); color: #fff; }

.footer-links-col h4 {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-links-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,.5);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--teal); }
.footer-made { color: rgba(255,255,255,.35); font-size: 0.78rem; width: 100%; text-align: center; padding-top: 4px; }
.footer-powered { color: rgba(255,255,255,.25); font-size: 0.75rem; width: 100%; text-align: center; }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 999;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { background: var(--teal); }

/* =============================================
   AOS (simple inline animations)
   ============================================= */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos="fade-up"]    { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos].aos-animate  { opacity: 1; transform: translate(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .why-grid          { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner        { gap: 40px; }
  .tab-content       { gap: 32px; padding: 36px; }
}

@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-visual       { display: none; }
  .hero              { overflow: hidden; }
  .about-inner       { grid-template-columns: 1fr; }
  .contact-inner     { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .vi-phone { right: -8px; }
  .vi-badge-mr { right: -10px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-inner { gap: 40px; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .hero-sub-lead { font-size: 1rem; }
  .hero-sub { font-size: 0.9rem; }
  .hero-tagline-block { padding: 12px 16px; }
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.92rem;
  }
  .hero-subhint { display: none; }
  .scroll-indicator { display: none; }

  /* Hero visual */
  .vi-stage { padding-bottom: 60px; }
  .vi-phone { right: 0; bottom: -10px; transform: rotate(0deg); }

  /* Sections */
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .section-header p { font-size: 0.92rem; }
  .section-badge { font-size: 0.72rem; }

  /* Cards & grids */
  .why-grid          { grid-template-columns: 1fr; gap: 16px; }
  .why-card-tall     { grid-row: span 1; }
  .why-card          { padding: 24px 20px; }
  .why-stat          { font-size: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card  { padding: 24px 20px; }

  /* Tabs */
  .tab-buttons { gap: 8px; }
  .tab-btn { font-size: 0.82rem; padding: 10px 16px; }
  .tab-content { grid-template-columns: 1fr; padding: 24px 20px; }
  .tab-visual { display: none; }
  .tab-text h3 { font-size: 1.2rem; }
  .feel-pills { gap: 8px; }
  .feel-pills span { font-size: 0.75rem; padding: 5px 12px; }

  /* Steps */
  .steps-line { display: none; }
  .steps-wrapper { gap: 28px; }
  .step-number { width: 40px; height: 40px; font-size: 0.9rem; }
  .step-content h3 { font-size: 1rem; }
  .step-content p { font-size: 0.88rem; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-card-stack { gap: 12px; }
  .acard { padding: 16px 18px; }

  /* CTA banner */
  .cta-banner { padding: 60px 0; }
  .cta-banner h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .cta-actions { flex-direction: column; align-items: center; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .tab-buttons { flex-direction: column; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { width: 100%; min-width: unset; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 16px; }
  .modules-tabs { padding: 0; }
}
