:root {
  --bg: #fbfaff;
  --surface: #ffffff;
  --surface-alt: #f5f3fe;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e7e5f5;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --accent: #7c3aed;
  --grad: linear-gradient(135deg, #4f46e5, #7c3aed);
  --navy: #0f172a;
  --navy-dark: #0b1222;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 56px rgba(79, 70, 229, 0.16);
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ===== Motion ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmerBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(23, 128, 90, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(23, 128, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 128, 90, 0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.features-grid .reveal:nth-child(4n+1) { transition-delay: 0s; }
.features-grid .reveal:nth-child(4n+2) { transition-delay: .06s; }
.features-grid .reveal:nth-child(4n+3) { transition-delay: .12s; }
.features-grid .reveal:nth-child(4n+4) { transition-delay: .18s; }
.stats-inner .reveal:nth-child(2) { transition-delay: .06s; }
.stats-inner .reveal:nth-child(3) { transition-delay: .12s; }
.stats-inner .reveal:nth-child(4) { transition-delay: .18s; }
.pricing-grid .reveal:nth-child(2) { transition-delay: .1s; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3); }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(79, 70, 229, 0.4); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 19px;
}
.logo-mark { font-size: 20px; display: inline-block; transition: transform .3s ease; }
.logo-mark img { width: 24px; height: 24px; display: block; border-radius: 24%; }
.logo:hover .logo-mark { transform: rotate(-10deg) scale(1.08); }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; color: var(--text-muted); font-size: 15px; position: relative; padding-bottom: 2px; }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--primary);
  transition: width .2s ease;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }
.nav-caret { font-size: 11px; margin-left: 2px; display: inline-block; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-login { font-weight: 600; font-size: 15px; color: var(--text); }
.header-login:hover { color: var(--primary); }
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  margin-left: 10px;
}
.mobile-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,24,26,0.5);
  z-index: 60;
}
.mobile-nav-drawer.open { display: block; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0;
  width: min(300px, 85vw); height: 100%;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp .25s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mobile-nav-panel a.nav-link {
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text);
}
.mobile-nav-panel a.nav-link:hover { background: var(--surface-alt); }
.mobile-nav-panel .btn { margin-top: 8px; }
.mobile-nav-close {
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--surface-alt); font-size: 14px; cursor: pointer;
}

/* Hero */
.hero {
  padding: 56px 0 120px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(1100px 500px at 15% -10%, #ede9fe 0%, transparent 60%),
              radial-gradient(900px 500px at 100% 10%, #e0e7ff 0%, transparent 55%);
}
.hero .container { max-width: 1400px; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: 50px;
  align-items: center;
}
.hero h1 { font-size: 46px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.hero h1 .hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { font-size: 17px; color: var(--text-muted); max-width: 440px; }
.hero-badge {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--primary); background: var(--primary-light);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 14px; margin: 26px 0 28px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--text-muted); }

.hero-social { display: flex; align-items: center; gap: 14px; }
.hero-avatars { display: flex; }
.hero-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff;
  font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center;
  border: 2.5px solid var(--bg); margin-left: -10px;
}
.hero-avatar:first-child { margin-left: 0; }
.hero-social-text { display: flex; flex-direction: column; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.hero-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }

.hero-copy { animation: fadeInUp .6s ease both; }

.hero-visual { position: relative; animation: fadeInUp .6s ease .1s both; padding: 20px 210px 56px 148px; }

/* ===================================================== */
/* Live demo — full-width embedded app, below the hero    */
/* ===================================================== */
.live-demo-section { padding: 36px 0 72px; }
.live-demo-frame {
  max-width: 1120px; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 90px rgba(20,24,26,0.16), 0 1px 1px rgba(20,24,26,0.05);
  border: 1px solid var(--border);
  animation: fadeInUp .6s ease .1s both;
}
.live-demo-chrome {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-alt); padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.live-demo-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.live-demo-dot:nth-child(1) { background: #ff5f57; }
.live-demo-dot:nth-child(2) { background: #febc2e; }
.live-demo-dot:nth-child(3) { background: #28c840; }
.live-demo-url {
  margin-left: 10px; background: var(--surface); border-radius: 100px; padding: 5px 16px;
  font-size: 12.5px; color: var(--text-muted); font-weight: 600;
}
.live-demo-badge {
  margin-left: auto; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; white-space: nowrap;
}
.live-demo-body {
  min-height: 720px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-alt); padding: 0;
}
.hero-dash-iframe {
  width: 100%; height: 720px; border: none; display: block;
  animation: fadeInUp .35s ease both;
}
@media (max-width: 960px) {
  .live-demo-body, .hero-dash-iframe { min-height: 600px; height: 600px; }
}
@media (max-width: 640px) {
  .live-demo-chrome { flex-wrap: wrap; }
  .live-demo-badge { margin-left: 0; }
  .live-demo-body, .hero-dash-iframe { min-height: 560px; height: 560px; }
}

/* Hero dashboard mockup (also reused, scaled down, as the live-demo loading placeholder) */
.hero-dash {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  animation: floatY 7s ease-in-out infinite;
  border: 1px solid var(--border);
}
.hero-dash-sidebar { width: 128px; flex-shrink: 0; background: var(--navy); color: #fff; padding: 16px 9px; }
.hero-dash-logo { font-weight: 800; font-size: 13px; margin-bottom: 18px; padding: 0 4px; display: flex; align-items: center; gap: 6px; }
.hero-dash-nav-item { font-size: 10px; font-weight: 600; padding: 8px 9px; border-radius: 7px; margin-bottom: 3px; color: rgba(255,255,255,0.6); }
.hero-dash-nav-item.active { background: var(--primary); color: #fff; }

.hero-dash-right { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hero-dash-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--border); }
.hero-dash-search { flex: 1; max-width: 260px; background: var(--surface-alt); border-radius: 100px; padding: 6px 13px; font-size: 10.5px; color: var(--text-muted); font-weight: 600; }
.hero-dash-topbar-right { display: flex; align-items: center; gap: 12px; }
.hero-dash-bell { position: relative; font-size: 14px; }
.hero-dash-bell i { position: absolute; top: -2px; right: -2px; width: 6px; height: 6px; border-radius: 50%; background: #e5484d; }
.hero-dash-avatar-lg { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 10px; display: flex; align-items: center; justify-content: center; }

.hero-dash-main { flex: 1; padding: 16px 18px; min-width: 0; }
.hero-dash-greet { font-weight: 700; font-size: 16px; margin: 0 0 3px; color: var(--navy); }
.hero-dash-greet-sub { font-size: 11.5px; color: var(--text-muted); margin: 0 0 13px; }
.hero-dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 11px; }
.hero-dash-kpi { background: var(--surface-alt); border-radius: 10px; padding: 9px 10px; position: relative; }
.hero-dash-kpi strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.hero-dash-kpi span { font-size: 10px; color: var(--text-muted); font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.hero-dash-kpi i { font-style: normal; font-size: 9.5px; font-weight: 700; }
.hero-dash-kpi i.kpi-up { color: #16a34a; }
.hero-dash-kpi i.kpi-down { color: #dc2626; }
.hero-dash-kpi.tint-blue { background: #eaf2ff; }
.hero-dash-kpi.tint-purple { background: #f4f0fe; }
.hero-dash-kpi.tint-amber { background: #fef8ea; }

.hero-dash-row { display: flex; gap: 10px; margin-bottom: 10px; }
.hero-dash-panel { flex: 1; background: var(--surface-alt); border-radius: 10px; padding: 10px 13px; min-width: 0; }
.hero-dash-panel h4 { font-size: 11.5px; margin: 0 0 8px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-dash-mini-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; gap: 8px; }
.hero-dash-mini-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-dash-mini-row strong { color: var(--text); font-weight: 700; flex-shrink: 0; }
.hero-dash-mini-row .pill-ok { background: #dcfce7; color: #15803d; padding: 2px 8px; border-radius: 100px; font-size: 9.5px; }
.hero-dash-mini-row .pill-muted { background: #dbeafe; color: #1d4ed8; padding: 2px 8px; border-radius: 100px; font-size: 9.5px; }
.hero-dash-mini-row .pill-amber { background: #fef3c7; color: #b45309; padding: 2px 8px; border-radius: 100px; font-size: 9.5px; }
.hero-chart-panel { display: flex; flex-direction: column; }
.hero-mini-chart { width: 100%; height: 44px; flex: 1; }
.hero-dash-activity-row { display: flex; align-items: center; gap: 8px; font-size: 11px; margin-bottom: 7px; color: var(--text-muted); font-weight: 600; }
.hero-dash-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark); font-weight: 700; font-size: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Floating stat / help cards to the right of the dashboard card */
.hero-float {
  position: static;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 16px 18px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  z-index: 2;
  animation: floatY 6s ease-in-out infinite;
  width: 100%;
}
.hero-float-ic { font-size: 18px; }
.hero-float-stack {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px; width: 190px;
  z-index: 2;
}
.hero-float-body { display: flex; flex-direction: column; gap: 2px; }
.hero-float-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.hero-float-value { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.hero-float-sub { font-size: 11.5px; font-weight: 500; color: var(--text-muted); }
.hero-float-ic-circle {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.hero-float-ic-circle.ic-blue { background: #dbeafe; }
.hero-float-ic-circle.ic-green { background: #dcfce7; }
.hero-float-time { animation-delay: .3s; }
.hero-float-perf { animation-delay: 1s; }
.hero-float-help {
  flex-direction: column; align-items: flex-start; gap: 6px;
  background: var(--grad); border-color: transparent; color: #fff;
  animation-delay: .6s;
}
.hero-float-help-head { display: flex; align-items: center; gap: 8px; }
.hero-float-help-head strong { font-size: 13px; color: #fff; }
.hero-float-help p { font-size: 11.5px; margin: 0; color: rgba(255,255,255,0.85); }
.hero-float-help-btn {
  font-size: 12px; font-weight: 700; color: var(--primary); background: #fff;
  padding: 7px 14px; border-radius: 100px; margin-top: 2px;
}

.hero-arrow { position: absolute; left: 60px; top: 34%; z-index: 1; opacity: 0.85; }
.hero-arrow-note {
  position: absolute; left: 0; top: 16%;
  font-size: 12.5px; font-weight: 600; font-style: italic; color: var(--accent);
  line-height: 1.3; z-index: 1; width: 120px; text-align: right;
}

@media (max-width: 1140px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin: 0 auto; }
  .hero-social { justify-content: center; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 560px; padding: 14px 14px 14px 14px; margin: 70px auto 0; }
  .hero-float-stack { position: static; transform: none; width: 100%; max-width: 340px; margin: 24px auto 0; }
  .hero-arrow, .hero-arrow-note { display: none; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .hero-dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-dash-row { flex-direction: column; }
  .hero-dash-sidebar { display: none; }
}

/* Trust strip */
.trust-strip-wrap { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 44px; border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 22px; }
.trust-item strong { display: block; font-size: 14.5px; color: var(--navy); margin-bottom: 2px; }
.trust-item p { font-size: 12.5px; margin: 0; color: var(--text-muted); }
@media (max-width: 720px) {
  .trust-item { border-right: none; padding: 0 16px; width: 100%; justify-content: center; }
}

/* Quick feature cards (just below the trust strip) */
.quick-features-wrap { padding: 72px 0; }
.quick-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quick-feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.quick-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.qf-icon-box {
  width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 18px;
}
.qf-purple { background: #ede9fe; color: #7c3aed; }
.qf-blue { background: #dbeafe; color: #2563eb; }
.qf-green { background: #dcfce7; color: #16a34a; }
.quick-feature-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--navy); }
.quick-feature-card p { font-size: 13.5px; margin-bottom: 14px; }
.qf-link { font-size: 13.5px; font-weight: 700; color: var(--primary); }
@media (max-width: 860px) {
  .quick-features { grid-template-columns: 1fr; }
}

.hero-dash-iframe-placeholder { width: 100%; height: 100%; min-height: 720px; background: var(--surface-alt); }
.about-inner { text-align: center; }

.phone-mock {
  width: 260px;
  background: #14181a;
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: floatY 6s ease-in-out infinite;
}
.phone-notch {
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 4px;
  margin: 0 auto 10px;
}
.phone-screen {
  background: var(--surface);
  border-radius: 22px;
  padding: 16px;
}
.app-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.app-title { font-weight: 700; font-size: 14px; }
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
}
.badge-live { background: var(--primary-light); color: var(--primary-dark); display: inline-flex; align-items: center; gap: 5px; }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: pulseRing 2s ease-in-out infinite; }
.app-card {
  background: var(--surface-alt);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.app-card-row { display: flex; gap: 8px; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.app-card-row.muted { font-weight: 400; color: var(--text-muted); }
.app-card-row:last-child { margin-bottom: 0; }
.app-tasks { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.task {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--surface-alt);
}
.task.done { color: var(--primary-dark); }
.check { font-size: 12px; }
.app-actions { display: flex; flex-direction: column; gap: 8px; }
.app-btn {
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--surface-alt);
  text-align: center;
}
.app-btn-primary { background: var(--primary); color: #fff; }

.dashboard-mock {
  position: absolute;
  right: -10px;
  bottom: 10px;
  width: 220px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 3;
  animation: floatY 6s ease-in-out infinite;
  animation-delay: -3s;
}
.dash-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 10px; }
.dash-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 700; font-size: 14px; }
.dash-check { font-size: 16px; }
.dash-mini { display: flex; justify-content: space-between; font-size: 12.5px; padding: 6px 0; border-top: 1px solid var(--border); color: var(--text-muted); }
.dash-mini strong { color: var(--text); }

/* Feature strip */
.feature-strip-wrap { padding: 0 0 16px; }
.feature-strip {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.strip-item { display: flex; gap: 12px; align-items: flex-start; }
.strip-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--surface); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.strip-item strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.strip-item p { font-size: 12.5px; margin: 0; line-height: 1.4; }

/* Stats strip (legacy, unused) */
.stats-strip { background: var(--primary); padding: 28px 0; }
.stats-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.stat { color: #fff; text-align: center; flex: 1; min-width: 140px; }
.stat strong { display: block; font-size: 24px; font-weight: 800; }
.stat span { font-size: 13px; opacity: 0.85; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 32px; }
.section-sub { font-size: 16px; }
.section-head .section-sub { margin: 0 auto; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon { font-size: 26px; margin-bottom: 12px; display: inline-block; transition: transform .25s ease; }
.feature-card:hover .feature-icon { transform: scale(1.15) rotate(-6deg); }
.feature-icon-box {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; margin-bottom: 0; }

/* Demo section */
.demo-copy { text-align: center; max-width: 640px; margin: 0 auto; }
.demo-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.demo-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }

.demo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.demo-card-left, .demo-card-right { padding: 32px; }
.demo-card-right { background: var(--surface-alt); }
.demo-card-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.demo-card-title-row h3 { margin: 0; font-size: 17px; }
.demo-status-pill { background: #dbeafe; color: #1d4ed8; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.demo-meta { font-size: 13.5px; color: var(--text-muted); font-weight: 500; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.demo-meta strong { color: var(--text); font-weight: 600; }
.demo-tasks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.demo-tasks li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--text); }
.demo-tasks li span { color: var(--primary); font-weight: 800; }
.demo-section-label { font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.demo-photos-row { display: flex; gap: 12px; margin-bottom: 20px; }
.demo-photo-single {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.demo-photo-single img { width: 100%; height: auto; display: block; transition: transform .3s ease; }
.demo-photo-single:hover img { transform: scale(1.02); }
.demo-photo-box { flex: 1; text-align: center; }
.demo-photo-placeholder {
  aspect-ratio: 4/3; border-radius: 10px; margin-bottom: 8px;
  overflow: hidden; border: 1px solid var(--border);
  transition: transform .3s ease;
}
.demo-photo-box:hover .demo-photo-placeholder { transform: scale(1.03); }
.demo-photo-placeholder svg { width: 100%; height: 100%; display: block; }
.demo-photo-box span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.demo-signature-box { margin-bottom: 20px; }
.demo-signature-box label { display: block; font-size: 12.5px; color: var(--text-muted); font-weight: 700; margin-bottom: 8px; }
.signature-preview {
  height: 54px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.signature-preview svg { opacity: 0.7; }

/* Dual view (mobile vs dashboard) */
.dual-view-section { padding: 40px 0; }
.dual-view-panel {
  background: linear-gradient(180deg, var(--primary-light), #eaf6f1 60%, var(--bg));
  border-radius: 32px;
  padding: 64px;
}
.dual-view-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.dual-view-copy h2 { font-size: 32px; }
.dual-view-visual { display: flex; align-items: flex-end; justify-content: center; gap: 36px; flex-wrap: wrap; }
.dual-view-col { text-align: center; }
.dual-view-col-label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-top: 14px; }

.dv-phone {
  width: 230px;
  background: #14181a;
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease;
}
.dv-phone:hover { transform: translateY(-6px); }
.dv-phone-screen { background: var(--surface); border-radius: 24px; padding: 16px; }
.dv-phone-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.dv-phone-item { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 9px 10px; background: var(--surface-alt); border-radius: 9px; margin-bottom: 7px; color: var(--text-muted); }
.dv-phone-photos { display: flex; gap: 6px; margin: 10px 0; }
.dv-phone-photos div { flex: 1; aspect-ratio: 1; border-radius: 7px; background: linear-gradient(135deg, var(--primary-light), #dbeafe); }
.dv-phone-btn { background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700; text-align: center; padding: 10px; border-radius: 9px; margin-top: 8px; }

.dv-tablet {
  width: 320px;
  background: var(--surface);
  border: 10px solid var(--navy);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform .3s ease;
}
.dv-tablet:hover { transform: translateY(-6px); }
.dv-tablet-head { background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 12px 14px; }
.dv-tablet-body { padding: 16px; }
.dv-tablet-body h4 { font-size: 13px; margin: 0 0 10px; }
.dv-tablet-row { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.dv-tablet-row:last-child { border-bottom: none; }
.dv-tablet-avatar { width: 18px; height: 18px; border-radius: 50%; background: var(--primary-light); flex-shrink: 0; }

@media (max-width: 960px) {
  .dual-view-panel { padding: 36px 24px; border-radius: 24px; }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.price-card h3 { font-size: 20px; }
.price-desc { font-size: 14px; margin-bottom: 20px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.amount { font-size: 40px; font-weight: 800; }
.period { color: var(--text-muted); font-size: 15px; }
.price-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.price-features li { font-size: 14.5px; font-weight: 500; padding-left: 24px; position: relative; }
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.price-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:not(.price-card-featured):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.price-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card-featured:hover { transform: scale(1.03) translateY(-3px); }
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}
.pricing-note { text-align: center; font-size: 13.5px; margin-top: 28px; }

/* Final CTA */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy), var(--navy-dark), var(--navy));
  background-size: 200% 200%;
  animation: shimmerBg 10s ease-in-out infinite;
  padding: 64px 0;
}
.cta-wave { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.04); z-index: 0; }
.cta-wave.w1 { width: 420px; height: 420px; top: -220px; left: -100px; }
.cta-wave.w2 { width: 340px; height: 340px; bottom: -200px; right: -60px; background: rgba(23,128,90,0.18); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; max-width: none; margin: 0; }
.cta-icon {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px;
}
.cta-inner h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-inner p { color: rgba(255,255,255,0.65); font-size: 14.5px; margin-bottom: 0; max-width: 460px; }
.cta-action { text-align: right; flex-shrink: 0; }
.cta-action .hero-note { color: rgba(255,255,255,0.5); margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-inner p { margin: 0; font-size: 13.5px; }
.footer-inner p a { text-decoration: underline; text-underline-offset: 2px; }
.footer-inner p a:hover { color: var(--primary); }
.footer-tagline { font-size: 13px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-card { grid-template-columns: 1fr; }
  .demo-card-right { border-top: 1px solid var(--border); }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .dual-view-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .header-actions .btn-ghost, .header-login { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }
  .dashboard-mock { position: static; margin-top: -40px; width: 260px; }
  .feature-strip { grid-template-columns: 1fr; }
  .hero-dash-sidebar { display: none; }
  .hero-dash-kpis { grid-template-columns: 1fr 1fr; }
  .hero-dash-row { flex-direction: column; }
}

/* ===================================================== */
/* Demo video modal                                        */
/* ===================================================== */
.demo-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
}
.demo-modal.is-open { display: flex; }
.demo-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 16, 13, 0.85);
  backdrop-filter: blur(4px);
}
.demo-modal-box {
  position: relative; z-index: 1;
  max-width: min(92vw, 420px);
  max-height: 88vh;
}
.demo-modal-video {
  display: block;
  width: 100%; max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  background: #000;
}
.demo-modal-close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 16px; cursor: pointer;
}
.demo-modal-close:hover { background: rgba(255,255,255,0.22); }

@media (min-width: 641px) {
  .demo-modal-box { max-width: min(80vw, 860px); }
}

