/* SIMPLIXA | Custom software tools for small businesses */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --bg-dark: #0b1124;
  --text: #0e1729;
  --text-muted: #4b5668;
  --border: #e6e9ef;
  --accent: #1f6feb;
  --accent-dark: #1857c2;
  --accent-soft: #e8f0ff;
  --accent-2: #7c3aed;
  --accent-3: #06b6d4;
  --success: #1f8f5a;
  --grad: linear-gradient(135deg, #1f6feb 0%, #7c3aed 55%, #06b6d4 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 41, 0.04), 0 2px 8px rgba(14, 23, 41, 0.04);
  --shadow-md: 0 6px 20px rgba(14, 23, 41, 0.08);
  --max-width: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header .brand { font-size: 1.45rem; padding: 4px 0; height: 56px; overflow: hidden; }
.site-header .brand::after { display: none; }

.brand-mark { display: none; }

.brand-logo {
  display: block;
  height: 120px;
  width: auto;
  margin: -32px 0;
}

@media (max-width: 640px) {
  .site-header .brand { height: 46px; }
  .brand-logo { height: 100px; margin: -27px 0; }
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: background 0.15s ease;
}

.nav-links a:hover:not(.btn) { background: var(--bg-alt); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.1s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-alt); color: var(--text); }

.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-alt); }

.btn-lg { padding: 14px 24px; font-size: 1rem; }

.btn-arrow::after {
  content: "→";
  transition: transform 0.15s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }

.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head p { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(6, 182, 212, 0.12), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

/* Animated gradient blobs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: blob 14s ease-in-out infinite alternate;
}
.hero::before {
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: radial-gradient(circle at 30% 30%, #7c3aed, #1f6feb 60%, transparent 70%);
}
.hero::after {
  width: 460px; height: 460px;
  bottom: -180px; left: -140px;
  background: radial-gradient(circle at 70% 70%, #06b6d4, #1f6feb 60%, transparent 70%);
  animation-delay: -6s;
}

@keyframes blob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.96); }
}

.hero .container { position: relative; z-index: 1; }

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-inner { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(31, 111, 235, 0.18);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px -4px rgba(31, 111, 235, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15);
}

.hero .eyebrow {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero .eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.15);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5.2vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 14px;
}
.hero-lead {
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero .btn-primary {
  background: var(--grad);
  background-size: 200% 100%;
  box-shadow: 0 10px 24px -6px rgba(31, 111, 235, 0.45);
  transition: background-position 0.4s ease, transform 0.12s ease, box-shadow 0.2s ease;
}
.hero .btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 28px -6px rgba(124, 58, 237, 0.5);
}

/* Hero visual: floating mock UI */
.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1200px;
}

.mock {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 50px -10px rgba(14, 23, 41, 0.18), 0 4px 14px rgba(14, 23, 41, 0.06);
  padding: 18px 20px;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}

.mock-main {
  --r: -2deg;
  top: 30px;
  left: 0;
  right: 40px;
  padding: 22px 24px 20px;
}
.mock-main .mock-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.mock-main .mock-title { font-weight: 700; font-size: 0.95rem; }
.mock-main .mock-pill {
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(31, 143, 90, 0.12); color: var(--success);
}
.mock-bars { display: grid; gap: 10px; }
.mock-row {
  display: grid;
  grid-template-columns: 80px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.mock-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.mock-bar::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--w, 60%);
  background: var(--grad);
  border-radius: 999px;
}
.mock-val { font-weight: 600; color: var(--text); text-align: right; }

.mock-card {
  --r: 3deg;
  bottom: 10px;
  left: 40px;
  width: 230px;
  animation-delay: -2s;
}
.mock-card .mock-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mock-card .mock-big {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.mock-card .mock-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.mock-badge {
  --r: -4deg;
  top: 0;
  right: 0;
  width: 150px;
  animation-delay: -4s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-badge .mock-dot {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.mock-badge .mock-title { font-size: 0.82rem; font-weight: 700; }
.mock-badge .mock-sub { font-size: 0.7rem; color: var(--text-muted); }

/* Clock in / out demo */
.mock-clock { padding: 20px 22px 22px; }
.mock-pill-live {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(31, 143, 90, 0.12); color: var(--success);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(31, 143, 90, 0.55);
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(31, 143, 90, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(31, 143, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 143, 90, 0); }
}

.clock-me {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.clock-avatar {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad);
  color: #fff; font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -4px rgba(31, 111, 235, 0.45);
}
.clock-name { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.clock-sub { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }

.clock-timer {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.clock-time {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.clock-time .colon {
  display: inline-block;
  margin: 0 1px;
  animation: colonBlink 1s steps(2, start) infinite;
  color: var(--accent);
}
@keyframes colonBlink {
  to { opacity: 0.35; }
}
.clock-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.clock-btn {
  display: block;
  width: 100%;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: default;
  box-shadow: 0 8px 18px -6px rgba(124, 58, 237, 0.45);
  margin-bottom: 14px;
}

.clock-roster {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.roster-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem;
}
.roster-name {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--text);
}
.roster-dot {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(31, 111, 235, 0.12);
  color: var(--accent);
  font-size: 0.7rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.roster-meta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-muted);
  font-size: 0.74rem;
}
.status-pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
}
.status-pip.break { background: #f59e0b; }

/* Extra mobile carousel feature cards - hidden on desktop */
.mock-feature { display: none; }
.hero-dots { display: none; }

.mock-pill-warn {
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(245, 158, 11, 0.15); color: #b45309;
}
.mock-pill-accent {
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(31, 111, 235, 0.12); color: var(--accent);
}

.clock-btn-sm { padding: 11px 16px; font-size: 0.82rem; margin-top: 14px; }

/* Stock card */
.stock-list { display: grid; gap: 8px; margin-top: 4px; }
.stock-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
}
.stock-name { color: var(--text); font-weight: 500; }
.stock-count {
  font-weight: 700; font-size: 0.82rem;
  padding: 2px 10px; border-radius: 999px;
}
.stock-count.ok { background: rgba(31, 143, 90, 0.12); color: var(--success); }
.stock-count.low { background: rgba(239, 68, 68, 0.12); color: #dc2626; }

/* Bookings card */
.booking-list { display: grid; gap: 10px; margin-top: 4px; }
.booking-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.booking-row.booking-next {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(31,111,235,0.08), rgba(124,58,237,0.08));
}
.booking-time {
  font-weight: 800; font-size: 0.85rem; color: var(--accent);
  letter-spacing: -0.01em;
}
.booking-name { font-weight: 700; font-size: 0.84rem; color: var(--text); }
.booking-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* Jobs kanban */
.jobs-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.jobs-col { display: grid; gap: 6px; }
.jobs-col-head {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-bottom: 2px;
}
.jobs-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}
.jobs-card-active {
  background: linear-gradient(135deg, rgba(31,111,235,0.08), rgba(124,58,237,0.08));
  border-color: rgba(31,111,235,0.25);
}
.jobs-card-done { opacity: 0.75; }
.jobs-name { font-weight: 700; font-size: 0.75rem; color: var(--text); }
.jobs-sub { font-size: 0.66rem; color: var(--text-muted); margin-top: 2px; }

/* Dashboard card */
.dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.dash-stat {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt);
}
.dash-val {
  font-size: 1.3rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text);
}
.dash-lbl { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
.dash-bar { margin-top: 14px; }
.dash-bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-muted);
  margin-bottom: 6px;
}
.dash-up { color: var(--success); font-weight: 700; }
.dash-bar-track {
  height: 8px; border-radius: 999px; background: var(--bg-alt);
  overflow: hidden;
}
.dash-bar-fill {
  height: 100%; width: 72%; background: var(--grad);
  border-radius: 999px;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-points li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 143, 90, 0.1);
  border-radius: 999px;
  font-size: 0.75rem;
}

/* Page hero (smaller, for subpages) */
.page-hero {
  padding: 80px 0 48px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(31, 111, 235, 0.07), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero .hero-sub { margin-bottom: 0; max-width: 680px; }

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #d5dbe6;
}

.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.95rem; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.pain-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.55;
}

.pain-card::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  display: block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- Why / value blocks ---------- */
.value-block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.value-block h3::before {
  content: counter(value-counter, decimal-leading-zero);
  counter-increment: value-counter;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 8px;
}
.values-grid { counter-reset: value-counter; }

/* ---------- How it works (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step-counter;
}
.step {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.step::before {
  counter-increment: step-counter;
  content: "Step " counter(step-counter);
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { margin: 0; font-size: 0.95rem; }

/* Extended steps (6-step on How It Works page) */
.steps-6 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Example scenarios ---------- */
.example {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.example .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.example h3 { font-size: 1.05rem; margin-bottom: 8px; }
.example p { margin: 0; font-size: 0.95rem; }

/* ---------- Trust / Testimonial ---------- */
.trust-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.testimonial {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial blockquote {
  margin: 0 0 20px;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}
.testimonial blockquote::before {
  content: "“";
  display: block;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 16px;
}
.testimonial cite {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.project-result {
  padding: 32px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius);
}
.project-result .eyebrow { background: rgba(255, 255, 255, 0.1); color: #8ab4ff; }
.project-result h3 { color: #fff; margin-bottom: 12px; }
.project-result p { color: #c5cce0; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(31, 111, 235, 0.3), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; position: relative; }
.cta-band p { color: #c5cce0; margin: 0 auto 28px; max-width: 560px; position: relative; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.cta-band .hero-ctas { justify-content: center; position: relative; margin: 0; }

/* ---------- Service / Use case blocks (list pages) ---------- */
.service-block {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.service-block h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.service-block .num {
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
}
.service-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 16px;
}
.service-block ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
}
.service-block ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.use-case {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
}
.use-case h3 { margin: 0; }
.use-case .uc-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.93rem;
}
.use-case .uc-row:first-of-type { border-top: 0; padding-top: 0; }
.use-case .uc-label {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.use-case .uc-value { color: var(--text); }

/* ---------- Reassurance list ---------- */
.reassurance {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 800px;
}
.reassurance li {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.reassurance li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 700;
  margin-right: 6px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.founder-card {
  padding: 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.values-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-weight: 500;
}
.values-list li strong { color: var(--accent); margin-right: 6px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: #fff;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.12);
}
textarea { min-height: 120px; resize: vertical; }

.contact-aside { display: grid; gap: 20px; }
.contact-aside .info-card {
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-aside h3 { margin-bottom: 8px; font-size: 1.05rem; }
.contact-aside p { margin: 0; font-size: 0.95rem; }

.form-note {
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}
.form-note.visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #c5cce0;
  padding: 64px 0 32px;
  margin-top: 40px;
}
.site-footer a { color: #c5cce0; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: #8e97ad; font-size: 0.93rem; max-width: 320px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #8e97ad;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.muted { color: var(--text-muted); }
.lead { font-size: 1.1rem; }

.note-line {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-top: 32px;
  padding: 18px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.accent-line {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 24px;
}

/* ---------- Floating enquiry widget ---------- */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  background: var(--bg-dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 10px 30px -8px rgba(14, 23, 41, 0.45),
    0 2px 6px rgba(14, 23, 41, 0.18);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.fab:hover {
  transform: translateY(-2px);
  background: #131c33;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 16px 36px -10px rgba(14, 23, 41, 0.55),
    0 4px 10px rgba(14, 23, 41, 0.22);
}
.fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.fab .fab-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px -2px rgba(31, 111, 235, 0.6);
  flex-shrink: 0;
}
.fab .fab-icon svg { width: 16px; height: 16px; }

.fab .fab-label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.fab .fab-label small {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8ea0c4;
  margin-top: 2px;
}

.fab[hidden] { display: none; }

.fab-panel {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100vh - 56px);
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -12px rgba(14, 23, 41, 0.28), 0 8px 16px rgba(14, 23, 41, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: fab-pop 0.18s ease-out;
}
.fab-panel[hidden] { display: none; }

@keyframes fab-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.fab-head {
  background: var(--bg-dark);
  color: #fff;
  padding: 20px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fab-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 100% 0%, rgba(124, 58, 237, 0.35), transparent 60%),
              radial-gradient(ellipse 80% 100% at 0% 100%, rgba(31, 111, 235, 0.25), transparent 60%);
  pointer-events: none;
}
.fab-head > * { position: relative; }
.fab-head h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.fab-head p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  margin: 0;
}
.fab-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 1;
}
.fab-close:hover { background: rgba(255, 255, 255, 0.2); }

.fab-body {
  padding: 20px 22px 22px;
  overflow-y: auto;
}

.fab-body .form-row { margin-bottom: 12px; }
.fab-body label {
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.fab-body input,
.fab-body textarea {
  padding: 10px 12px;
  font-size: 0.9rem;
  border-radius: 10px;
}
.fab-body textarea { min-height: 96px; }
.fab-body .btn { width: 100%; justify-content: center; }
.fab-body .fab-foot {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 12px 0 0;
  text-align: center;
}
.fab-body .fab-success {
  display: none;
  text-align: center;
  padding: 28px 8px 8px;
}
.fab-body .fab-success .check {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(31, 143, 90, 0.12);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.fab-body.is-success .fab-form { display: none; }
.fab-body.is-success .fab-success { display: block; }

@media (max-width: 640px) {
  .fab {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px 10px 10px;
    font-size: 0.88rem;
    border-radius: 12px;
  }
  .fab .fab-icon { width: 30px; height: 30px; border-radius: 8px; }
  .fab-panel { bottom: 16px; right: 16px; left: 16px; width: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps-6 { grid-template-columns: repeat(2, 1fr); }
  .trust-row, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 28px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 460px; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 640px) {
  section { padding: 48px 0; }
  .hero { padding: 40px 0 56px; }

  /* Mobile hero: reposition blobs so they actually show, boost vibrancy */
  .hero::before {
    width: 360px; height: 360px;
    top: -80px; right: -100px;
    opacity: 0.7;
    filter: blur(60px);
  }
  .hero::after {
    width: 340px; height: 340px;
    bottom: auto; top: 240px; left: -120px;
    opacity: 0.55;
    filter: blur(60px);
  }

  /* Mobile hero carousel */
  .hero-visual {
    height: auto;
    max-width: 100%;
    margin: 24px 0 0;
    padding: 8px 0 4px;
    perspective: none;
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-visual::-webkit-scrollbar { display: none; }

  .hero-visual .mock-card,
  .hero-visual .mock-badge { display: none; }

  .hero-visual .mock,
  .hero-visual .mock-feature {
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    width: 100%;
    flex: 0 0 100%;
    margin: 0;
    padding: 22px;
    animation: mobileFloat 6s ease-in-out infinite;
    transform: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border: 1px solid transparent;
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(135deg, #1f6feb, #7c3aed 55%, #06b6d4) border-box;
    box-shadow:
      0 30px 70px -15px rgba(31, 111, 235, 0.35),
      0 12px 30px -8px rgba(124, 58, 237, 0.22),
      0 4px 12px rgba(14, 23, 41, 0.08);
  }
  .hero-visual .mock-feature { display: block; }

  @keyframes mobileFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
  }

  /* Device frame: subtle dock line at top of each card */
  .hero-visual .mock::before,
  .hero-visual .mock-feature::before {
    content: "";
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 4px;
    background: var(--border);
    border-radius: 999px;
    opacity: 0.6;
  }
  .hero-visual .mock { padding-top: 28px; }
  .hero-visual .mock-feature { padding-top: 28px; }
  .hero-visual .mock-feature { display: block; }

  .hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .hero-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--border);
    transition: background 0.2s ease, width 0.2s ease;
  }
  .hero-dot.active { background: var(--accent); width: 22px; border-radius: 4px; }

  .hero h1 { font-size: 2.4rem; line-height: 1.05; margin-bottom: 16px; letter-spacing: -0.035em; font-weight: 800; }
  .hero h1 .grad {
    background: var(--grad);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradShift 6s ease-in-out infinite;
  }
  @keyframes gradShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
  }
  .hero-sub { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 14px; line-height: 1.35; }
  .hero-lead { font-size: 0.98rem; margin-bottom: 24px; line-height: 1.55; }
  .hero-badge { font-size: 0.72rem; margin-bottom: 16px; }

  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; margin-bottom: 22px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Trust points as pill chips on mobile */
  .trust-points {
    gap: 8px;
    margin: 0;
  }
  .trust-points li {
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 2px 6px rgba(14, 23, 41, 0.04);
  }
  .trust-points li::before {
    color: var(--success);
    margin-right: 4px;
  }
  .page-hero { padding: 48px 0 28px; }
  .page-hero h1 { font-size: 2rem; line-height: 1.15; }
  h2 { font-size: 1.65rem; line-height: 1.2; }
  .container { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps, .steps-6 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row.form-row-2 { grid-template-columns: 1fr; }
  .reassurance { grid-template-columns: 1fr; }
  .use-case .uc-row { grid-template-columns: 1fr; gap: 4px; }
  .cta-band { padding: 36px 22px; }
  .cta-band h2 { font-size: 1.5rem; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
}
