/* =========================================================
   Xenomedix Marketing Site — Design System & Layout
   ========================================================= */

:root {
  --primary: #1E3A8A;
  --primary-600: #24449E;
  --primary-700: #16296B;
  --primary-50: #EEF2FF;
  --accent: #2DD4BF;
  --accent-600: #0EA5A0;
  --accent-50: #ECFDF9;

  --ink: #0F172A;
  --ink-soft: #475569;
  --ink-faint: #94A3B8;
  --ink-mist: #CBD5E1;

  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-mist: #F1F5F9;
  --border: #E7ECF3;
  --border-soft: #EEF2F7;

  --success: #16A34A;
  --success-bg: #ECFDF3;
  --warning: #F59E0B;
  --warning-bg: #FFFBEB;
  --danger: #EF4444;
  --danger-bg: #FEF2F2;
  --purple: #7C3AED;
  --purple-bg: #F3EEFF;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 0 1px rgba(30, 58, 138, 0.06), 0 30px 60px rgba(30, 58, 138, 0.14);

  --container: 1240px;
  --container-narrow: 860px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(30,58,138,0.08) 0%, rgba(45,212,191,0.10) 100%);
  --gradient-dark: linear-gradient(160deg, #0B1230 0%, #16296B 55%, #0EA5A0 130%);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); }

section { position: relative; }
.section-pad { padding: 108px 0; }
@media (max-width: 900px) { .section-pad { padding: 76px 0; } }

.bg-soft { background: var(--bg-soft); }
.bg-mist {
  background:
    radial-gradient(60% 60% at 15% 0%, rgba(45,212,191,0.08), transparent 60%),
    radial-gradient(50% 50% at 100% 20%, rgba(30,58,138,0.06), transparent 60%),
    var(--bg-soft);
}
.bg-dark { background: var(--gradient-dark); color: #fff; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-50);
  border: 1px solid rgba(30,58,138,0.10);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-50);
}
.bg-dark .eyebrow {
  color: #C7D2FE;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }

h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.14; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.3; }

.section-head p, .section-head .lede { color: var(--ink-soft); font-size: 1.125rem; margin-top: 16px; }

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

.lede { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(30,58,138,0.22); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-ghost-light {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 4px 24px rgba(15,23,42,0.05);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { height: 30px; width: auto; border-radius: 6px; }
.brand span { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gradient-brand);
  transition: width 0.25s var(--ease); border-radius: 2px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.navbar-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border);
  background: #fff;
}
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 600;
  background: #fff;
  display: flex; flex-direction: column;
  padding: 22px 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 30px; }
.mobile-menu nav a { font-size: 20px; font-weight: 700; padding: 14px 4px; border-bottom: 1px solid var(--border-soft); }
.mobile-menu .btn { width: 100%; }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: -10% -10% auto -10%;
  height: 780px;
  background:
    radial-gradient(45% 60% at 20% 10%, rgba(45,212,191,0.16), transparent 65%),
    radial-gradient(40% 55% at 85% 0%, rgba(30,58,138,0.14), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { max-width: 540px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.btn-play {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-play svg { width: 10px; height: 10px; }

.hero-trust-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -10px;
  background: var(--gradient-brand);
  color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.avatar-stack span:first-child { margin-left: 0; }
.hero-trust-row .stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; }
.hero-trust-row small { display: block; color: var(--ink-faint); font-size: 12.5px; margin-top: 2px; }
/* ---------- Hero mockup (fake dashboard UI) ---------- */
.hero-visual { position: relative; }
.mock-window {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
}
.hero-visual:hover .mock-window { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
}
.mock-topbar span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-mist); }
.mock-topbar .url {
  margin-left: 10px; font-size: 11.5px; color: var(--ink-faint);
  background: #fff; border: 1px solid var(--border-soft);
  padding: 4px 12px; border-radius: 999px;
}
.mock-body { padding: 22px; display: grid; gap: 16px; }
.mock-header-row { display: flex; align-items: center; justify-content: space-between; }
.mock-title { font-weight: 800; font-size: 15px; }
.mock-sub { font-size: 12px; color: var(--ink-faint); margin-top: 2px; }
.mock-pill {
  font-size: 11px; font-weight: 700; color: var(--accent-600);
  background: var(--accent-50); padding: 5px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
}
.mock-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-600); }

.mock-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-stat {
  border: 1px solid var(--border-soft); border-radius: 14px;
  padding: 13px; background: var(--bg-soft);
}
.mock-stat .k { font-size: 11px; color: var(--ink-faint); font-weight: 600; }
.mock-stat .v { font-size: 18px; font-weight: 800; margin-top: 4px; }
.mock-stat .delta { font-size: 11px; color: var(--success); font-weight: 700; margin-top: 3px; }

.mock-chart {
  border: 1px solid var(--border-soft); border-radius: 14px; padding: 16px;
  display: flex; align-items: flex-end; gap: 8px; height: 100px;
  background: linear-gradient(180deg, rgba(30,58,138,0.03), transparent);
}
.mock-chart i {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: var(--gradient-brand); opacity: 0.85;
}
.mock-list { border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; }
.mock-list-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--border-soft);
  font-size: 12.5px;
}
.mock-list-row:last-child { border-bottom: none; }
.mock-list-row .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-list-row .name { font-weight: 700; }
.mock-list-row .time { margin-left: auto; color: var(--ink-faint); font-size: 11.5px; }

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700;
  animation: float 6s ease-in-out infinite;
}
.float-1 { top: -22px; right: -18px; animation-delay: 0s; }
.float-2 { bottom: 22px; left: -34px; animation-delay: 1.2s; }
.float-card .ico {
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Stats / Trusted by ---------- */
.trusted-wrap { padding: 56px 0 76px; border-bottom: 1px solid var(--border-soft); }
.trusted-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 30px; }
.logo-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 20px 44px; margin-bottom: 64px;
}
.logo-chip {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 15px; color: var(--ink-faint);
  opacity: 0.75; transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.logo-chip:hover { opacity: 1; color: var(--ink-soft); }
.logo-chip svg { width: 18px; height: 18px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { text-align: center; padding: 8px; }
.stat-num {
  font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; margin-top: 6px; }
/* ---------- Why / Problem-Solution ---------- */
.problem-solution { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 860px) { .problem-solution { grid-template-columns: 1fr; } .ps-divider { display: none; } }
.ps-col {
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1px solid var(--border-soft);
}
.ps-col.problems { background: #fff; }
.ps-col.solutions { background: var(--gradient-dark); color: #fff; }
.ps-heading { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 22px; }
.ps-col.problems .ps-heading { color: var(--danger); }
.ps-col.solutions .ps-heading { color: #6EE7DB; }
.ps-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--border-soft); }
.ps-col.solutions .ps-item { border-top-color: rgba(255,255,255,0.12); }
.ps-item:first-of-type { border-top: none; }
.ps-item .ico { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.ps-col.problems .ps-item .ico { background: var(--danger-bg); color: var(--danger); }
.ps-col.solutions .ps-item .ico { background: rgba(45,212,191,0.16); color: #6EE7DB; }
.ps-item p { font-size: 14.5px; font-weight: 600; }
.ps-col.solutions .ps-item p { color: #E2E8F0; }
.ps-divider { display: flex; align-items: center; justify-content: center; }
.ps-divider .arrow {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
}
/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
@media (max-width: 1080px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 740px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 6px; font-size: 15.5px; }
.feature-card p { font-size: 13.5px; color: var(--ink-soft); }

/* icon tints */
.tint-blue   { background: #E8EEFD; color: var(--primary); }
.tint-teal   { background: var(--accent-50); color: var(--accent-600); }
.tint-purple { background: var(--purple-bg); color: var(--purple); }
.tint-orange { background: var(--warning-bg); color: #C2761A; }
.tint-red    { background: var(--danger-bg); color: var(--danger); }
.tint-green  { background: var(--success-bg); color: var(--success); }
/* ---------- Workflow steppers ---------- */
.stepper {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 16px;
  counter-reset: step;
}
@media (max-width: 980px) { .stepper { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stepper { grid-template-columns: 1fr; } }

.step-card {
  position: relative;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 20px 20px;
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute; top: -12px; left: 20px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(30,58,138,0.25);
}
.step-ico {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--bg-soft); border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 8px 0 14px; color: var(--primary);
}
.step-card h3 { font-size: 14.5px; margin-bottom: 5px; }
.step-card p { font-size: 12.5px; color: var(--ink-soft); }

@media (min-width: 981px) {
  .stepper.arrows { position: relative; }
  .stepper.arrows .step-card:not(:nth-child(4n))::after {
    content: '';
    position: absolute; top: 50%; right: -19px;
    width: 14px; height: 14px;
    border-right: 2px solid var(--ink-mist);
    border-top: 2px solid var(--ink-mist);
    transform: translateY(-50%) rotate(45deg);
  }
}
/* ---------- Product screenshots (tabbed) ---------- */
.shot-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 36px;
}
.shot-tab {
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  color: var(--ink-soft); border: 1px solid var(--border);
  background: #fff; transition: all 0.25s var(--ease);
}
.shot-tab.active { background: var(--gradient-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }
.shot-tab:not(.active):hover { border-color: var(--primary); color: var(--primary); }

.shot-stage {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.shot-panel { display: none; }
.shot-panel.active { display: block; animation: fadeUp 0.5s var(--ease); }

.app-mock {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-lg);
  max-width: 900px; margin: 0 auto; overflow: hidden;
}
.app-mock-top { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--border-soft); }
.app-mock-top span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-mist); }
.app-mock-body { padding: 26px; }
.am-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.am-title { font-weight: 800; font-size: 16px; }
.am-sub { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.am-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.am-grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
@media (max-width: 640px) { .am-grid3, .am-grid2 { grid-template-columns: 1fr; } }
.am-card { border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px; background: var(--bg-soft); }
.am-card .k { font-size: 11px; color: var(--ink-faint); font-weight: 700; }
.am-card .v { font-size: 17px; font-weight: 800; margin-top: 3px; }
.am-table { border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; }
.am-t-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px; padding: 11px 14px; font-size: 12.5px; border-bottom: 1px solid var(--border-soft); align-items: center; }
.am-t-row:last-child { border-bottom: none; }
.am-t-row.head { background: var(--bg-soft); font-weight: 700; color: var(--ink-faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; }
.am-badge { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; display: inline-block; }
.am-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.am-cal .d { aspect-ratio: 1; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--border-soft); font-size: 10.5px; padding: 4px; font-weight: 700; color: var(--ink-faint); }
.am-cal .d.has { background: var(--primary-50); color: var(--primary); border-color: rgba(30,58,138,0.14); }
.am-cal .d.today { background: var(--gradient-brand); color: #fff; }
.am-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.am-bar { height: 8px; border-radius: 6px; background: var(--bg-mist); overflow: hidden; }
.am-bar i { display: block; height: 100%; background: var(--gradient-brand); border-radius: 6px; }
/* ---------- Why choose grid ---------- */
.choose-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .choose-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .choose-grid { grid-template-columns: 1fr; } }
.choose-card {
  padding: 26px 22px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--border-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.choose-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.choose-check {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-50); color: var(--accent-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.choose-card h3 { font-size: 15px; margin-bottom: 6px; }
.choose-card p { font-size: 13px; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-stars { color: #F59E0B; font-size: 13px; letter-spacing: 2px; }
.testi-quote { font-size: 14px; color: var(--ink); line-height: 1.65; flex: 1; }
.testi-person { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border-soft); }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.testi-name { font-size: 13.5px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--ink-faint); }
/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.price-card {
  background: #fff; border: 1.5px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: transparent;
  background: var(--gradient-dark); color: #fff;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
@media (max-width: 900px) { .price-card.featured { transform: none; } }
.price-badge {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  background: rgba(45,212,191,0.18); color: #6EE7DB;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.price-card h3 { font-size: 18px; margin-bottom: 6px; }
.price-card .price-desc { font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.price-card.featured .price-desc { color: #CBD5E1; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-amount .num { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.price-amount .per { font-size: 13px; color: var(--ink-faint); font-weight: 600; }
.price-card.featured .price-amount .per { color: #94A3B8; }
.price-note { font-size: 12px; color: var(--ink-faint); margin-bottom: 24px; }
.price-card.featured .price-note { color: #94A3B8; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.price-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-600); }
.price-card.featured .price-features li svg { color: #6EE7DB; }
/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border-soft); border-radius: 16px;
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; text-align: left; font-weight: 700; font-size: 15px;
}
.faq-q .plus {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-soft); border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-item[data-open="true"] .faq-q .plus { transform: rotate(45deg); background: var(--gradient-brand); color: #fff; border-color: transparent; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 22px 20px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(45,212,191,0.22), transparent 70%);
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; margin-bottom: 16px; }
.final-cta p { color: #CBD5E1; font-size: 1.1rem; max-width: 560px; margin: 0 auto 34px; }
.final-cta-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* ---------- Footer ---------- */
.site-footer { background: #0B1230; color: #CBD5E1; padding: 76px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 52px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-brand .mark { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.footer-about p { font-size: 13.5px; line-height: 1.7; color: #94A3B8; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-social a:hover { background: var(--gradient-brand); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col .link-btn { font-size: 13.5px; color: #94A3B8; transition: color 0.2s var(--ease); text-align: left; }
.footer-col a:hover, .footer-col .link-btn:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12.5px; color: #64748B;
}
.footer-bottom a { color: #94A3B8; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { animation: fadeUp 0.6s var(--ease) both; }
.reveal-stagger.in-view > *:nth-child(1) { animation-delay: 0.02s; }
.reveal-stagger.in-view > *:nth-child(2) { animation-delay: 0.08s; }
.reveal-stagger.in-view > *:nth-child(3) { animation-delay: 0.14s; }
.reveal-stagger.in-view > *:nth-child(4) { animation-delay: 0.20s; }
.reveal-stagger.in-view > *:nth-child(5) { animation-delay: 0.26s; }
.reveal-stagger.in-view > *:nth-child(6) { animation-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(7) { animation-delay: 0.38s; }
.reveal-stagger.in-view > *:nth-child(8) { animation-delay: 0.44s; }
.reveal-stagger.in-view > *:nth-child(n+9) { animation-delay: 0.5s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Misc ---------- */
::selection { background: rgba(45,212,191,0.28); color: var(--ink); }
/* ---------- Icon sizing ---------- */
.icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.icon-16 { width: 16px; height: 16px; }
.icon-18 { width: 18px; height: 18px; }
.icon-20 { width: 20px; height: 20px; }
.icon-22 { width: 22px; height: 22px; }
.icon-24 { width: 24px; height: 24px; }
/* ---------- Navbar responsive breakpoint ---------- */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .navbar-cta .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
}
/* ---------- Contact modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(11, 18, 48, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 30px 28px;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
}
.modal-close:hover { background: var(--bg-mist); }
.modal-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.modal-sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }
#ctaForm { display: flex; flex-direction: column; gap: 14px; }
#ctaForm .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { #ctaForm .form-row { grid-template-columns: 1fr; } }
#ctaForm label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-soft);
}
#ctaForm input, #ctaForm select, #ctaForm textarea {
  font-family: var(--font);
  font-size: 14px; font-weight: 500; color: var(--ink);
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 11px 13px;
  background: #fff;
  transition: border-color 0.2s var(--ease);
}
#ctaForm input:focus, #ctaForm select:focus, #ctaForm textarea:focus {
  outline: none; border-color: var(--primary);
}
#ctaForm textarea { resize: vertical; min-height: 64px; }
#ctaForm select { appearance: none; background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2394A3B8" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 12px center; background-size: 16px; padding-right: 34px; }
.modal-note { font-size: 11.5px; color: var(--ink-faint); text-align: center; margin-top: 2px; }

#ctaModalSuccess { text-align: center; padding: 10px 4px 4px; }
.modal-success-ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-50); color: var(--accent-600);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
#ctaModalSuccess h3 { margin-bottom: 10px; }
#ctaModalSuccess p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }