/* ============================================================
   SIGLATECH — Homepage redesign
   Brand: navy #06131f · cyan #4de4ff · gold #f6c860
   Type: Cabinet Grotesk (display) + Satoshi (body)
   ============================================================ */

:root {
  /* Brand */
  --navy: #06131f;
  --navy-mid: #0a1a2c;
  --navy-soft: #12293f;
  --cyan: #4de4ff;
  --cyan-deep: #0f9bd8;
  --gold: #f6c860;
  --royal: #2563eb;

  /* Neutrals */
  --ink: #07111f;
  --ink-70: #3f5164;
  --ink-50: #6b7c90;
  --line: #e2e8ef;
  --line-soft: #eef2f6;
  --surface: #ffffff;
  --surface-alt: #f6f9fc;
  --on-dark: #b9cbdd;
  --on-dark-soft: #7f95ab;

  /* Type */
  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.75rem;
  --text-hero: clamp(2.15rem, 3.85vw, 3.35rem);

  /* Space */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-24: 96px;
  --sp-32: 128px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --shadow-sm: 0 2px 8px rgba(7, 17, 31, 0.05);
  --shadow-md: 0 12px 32px rgba(7, 17, 31, 0.08);
  --shadow-lg: 0 28px 70px rgba(7, 17, 31, 0.14);

  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: var(--sp-3) var(--sp-4);
  z-index: 200;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.on-dark .eyebrow { color: var(--cyan); }

.sec-head { max-width: 640px; margin-bottom: var(--sp-12); }
.sec-head h2 {
  font-size: clamp(1.9rem, 3.4vw, var(--text-3xl));
  margin-top: var(--sp-4);
}
.sec-head p {
  margin-top: var(--sp-4);
  font-size: var(--text-lg);
  color: var(--ink-70);
  line-height: 1.6;
}
.on-dark .sec-head p { color: var(--on-dark); }

section { padding-block: clamp(64px, 9vw, var(--sp-24)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.005em;
  padding: 14px 24px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #35b9ee 55%, var(--royal) 100%);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(15, 155, 216, 0.32);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(15, 155, 216, 0.42); }

.btn-dark {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-dark:hover { background: var(--navy-soft); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(185, 203, 221, 0.32);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.13); border-color: var(--cyan); }

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-outline:hover { border-color: var(--navy); }

.btn-lg { padding: 16px 26px; font-size: 0.95rem; }

.link-arrow {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--cyan-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(226, 232, 239, 0.8);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: 0 0 42px;
  box-shadow: 0 8px 20px rgba(7, 17, 31, 0.2);
}
.brand-text .name {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-text .sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-50);
  letter-spacing: 0.02em;
}

.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-70);
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--cyan-deep);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-phone {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-phone svg { color: var(--cyan-deep); }
.nav-phone:hover { color: var(--cyan-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding-block: clamp(56px, 7vw, 92px) clamp(72px, 9vw, 110px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -6%;
  background:
    radial-gradient(circle at 12% 6%, rgba(77, 228, 255, 0.2), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(246, 200, 96, 0.13), transparent 45%),
    linear-gradient(160deg, #071624 0%, #06131f 48%, #08202f 100%);
  z-index: -2;
  animation: hero-glow-drift 24s ease-in-out infinite alternate;
}
@keyframes hero-glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-1.4%, 1.6%) scale(1.04); }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 34%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 68% at 50% 34%, #000 35%, transparent 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(40px, 4.5vw, 64px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(77, 228, 255, 0.1);
  border: 1px solid rgba(77, 228, 255, 0.26);
  padding: 7px 15px;
  border-radius: var(--r-full);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(77, 228, 255, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(77, 228, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 228, 255, 0); }
}

.hero h1 {
  font-size: var(--text-hero);
  margin-top: var(--sp-6);
  letter-spacing: -0.032em;
  line-height: 1.03;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan) 8%, #93dcff 46%, #ffd884 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: var(--sp-6);
  font-size: clamp(1.02rem, 1.35vw, var(--text-lg));
  color: var(--on-dark);
  max-width: 53ch;
  line-height: 1.65;
}
.hero-cta {
  margin-top: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.hero-trust {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(185, 203, 221, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6) var(--sp-8);
}
.hero-trust li {
  font-size: var(--text-sm);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.hero-trust strong { color: #fff; font-weight: 700; }
.hero-trust svg { color: var(--cyan); flex: 0 0 auto; }

/* ---- Hero product mockup (pure CSS/HTML) ---- */
.mockup { position: relative; perspective: 1600px; }
.mock-window {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(3deg) translateZ(0);
  transition: transform 0.6s var(--ease);
}
.mockup:hover .mock-window { transform: rotateY(-3deg) rotateX(1deg); }

.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8ef;
}
.mock-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  display: block;
}
.mock-bar i:first-child { background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; }
.mock-bar i:nth-child(3) { background: #4ade80; }
.mock-url {
  margin-left: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: var(--r-full);
  font-size: 10.5px;
  color: var(--ink-50);
  padding: 4px 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-body { padding: 16px; background: #fbfdff; }
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mock-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.mock-chip {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #e6faff;
  color: #0b7d9e;
  border-radius: var(--r-full);
  padding: 3px 9px;
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 14px;
}
.kpi {
  background: #fff;
  border: 1px solid #e8eef4;
  border-radius: 11px;
  padding: 10px 11px;
}
.kpi span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  margin-top: 3px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.kpi small { font-size: 9.5px; font-weight: 700; color: #16a34a; }

.mock-rows { display: grid; gap: 7px; }
.mrow {
  display: grid;
  grid-template-columns: 26px 1fr auto auto;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #e8eef4;
  border-radius: 10px;
  padding: 8px 10px;
}
.mrow .av {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d7f4ff, #cfe3ff);
  font-size: 9px;
  font-weight: 800;
  color: #0b6f8c;
  display: grid;
  place-items: center;
}
.mrow .who { display: block; font-size: 11px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.mrow .meta { display: block; font-size: 9.5px; color: var(--ink-50); font-weight: 500; line-height: 1.3; margin-top: 1px; }
.mrow .amt { font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
@keyframes row-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}
.mrow { animation: row-in 0.5s var(--ease) backwards; }
.mrow:nth-child(1) { animation-delay: 1.05s; }
.mrow:nth-child(2) { animation-delay: 1.16s; }
.mrow:nth-child(3) { animation-delay: 1.27s; }
.mrow:nth-child(4) { animation-delay: 1.38s; }
.tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  padding: 3px 8px;
}
.tag.new { background: #dcfce7; color: #15803d; }
.tag.prep { background: #fef3c7; color: #a16207; }
.tag.done { background: #e0e7ff; color: #4338ca; }

.mock-phone {
  position: absolute;
  right: -46px;
  bottom: -76px;
  width: 146px;
  background: #0b1b2d;
  border-radius: 20px;
  padding: 7px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: rotate(4deg);
}
.mock-phone-screen {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  padding: 11px 10px;
}
.mps-head {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}
.mps-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}
.mps-item:last-child { border-bottom: 0; }
.mps-item i {
  width: 20px; height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffe6c7, #ffd0d0);
  flex: 0 0 20px;
}
.mps-item span { font-size: 9.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.mps-item small { display: block; font-size: 8.5px; color: var(--ink-50); font-weight: 500; }

/* ---- Hero entrance sequence ---- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge, .hero h1, .hero-sub, .hero-cta, .hero-trust {
  animation: hero-rise 0.8s var(--ease) backwards;
}
.hero-badge { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.16s; }
.hero-sub { animation-delay: 0.32s; }
.hero-cta { animation-delay: 0.46s; }
.hero-trust { animation-delay: 0.58s; }

@keyframes hero-mock-in {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
.mockup { animation: hero-mock-in 0.9s var(--ease) 0.3s backwards; }

/* Ambient float once the entrance settles, ties the mockup to a "live" system */
@keyframes mock-float {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-8px); }
}
.mock-phone { animation: mock-float 5s ease-in-out 1.4s infinite; }

/* ============================================================
   MARQUEE / SECTOR STRIP
   ============================================================ */
.strip {
  background: var(--surface-alt);
  border-block: 1px solid var(--line-soft);
  padding-block: var(--sp-8);
}
.strip-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: var(--sp-6);
}
.strip-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3) var(--sp-4);
}
.strip-items li {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-70);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 8px 16px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.svc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
  flex-wrap: wrap;
}
.svc-head .sec-head { margin-bottom: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--sp-4);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 155, 216, 0.4);
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #eafbff, #e4efff);
  color: var(--cyan-deep);
  margin-bottom: var(--sp-6);
}
.card-icon.num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-base); }
.card h3 { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.015em; }
.card p {
  margin-top: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--ink-70);
  line-height: 1.62;
}
.card .who-for {
  margin-top: var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.card .from {
  margin-top: auto;
  padding-top: var(--sp-6);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}
.card .from span { color: var(--ink-50); font-weight: 600; font-size: var(--text-xs); display: block; }

/* ============================================================
   DEMO BAND
   ============================================================ */
.demo {
  background: linear-gradient(150deg, #071624 0%, #06131f 55%, #0a2233 100%);
  color: #fff;
}
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.demo h2 { font-size: clamp(1.8rem, 3.2vw, var(--text-3xl)); margin-top: var(--sp-4); }
.demo p { margin-top: var(--sp-4); color: var(--on-dark); font-size: var(--text-lg); line-height: 1.6; }
.demo-list { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }
.demo-list li {
  display: flex;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--on-dark);
  align-items: flex-start;
}
.demo-list svg { color: var(--cyan); flex: 0 0 auto; margin-top: 3px; }

.flow {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(185, 203, 221, 0.18);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.flow-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: var(--sp-6);
}
.flow-steps { display: grid; gap: 0; }
.fstep {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
  position: relative;
}
.fstep:last-child { padding-bottom: 0; }
.fstep::before {
  content: '';
  position: absolute;
  left: 16px; top: 34px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(77, 228, 255, 0.5), rgba(77, 228, 255, 0.05));
}
.fstep:last-child::before { display: none; }
.fstep i {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(77, 228, 255, 0.13);
  border: 1px solid rgba(77, 228, 255, 0.4);
  color: var(--cyan);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
  z-index: 1;
}
.fstep b { display: block; font-size: var(--text-base); font-weight: 700; color: #fff; }
.fstep span { display: block; font-size: var(--text-sm); color: var(--on-dark); margin-top: 3px; line-height: 1.55; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--surface-alt); }
.offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  background: linear-gradient(120deg, #fff8e6, #fffdf6);
  border: 1px solid #f3dfa8;
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
}
.offer-badge {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92610a;
  background: #fceec2;
  border-radius: var(--r-full);
  padding: 5px 12px;
  display: inline-block;
  margin-bottom: var(--sp-3);
}
.offer h3 { font-size: var(--text-xl); }
.offer h3 s { color: var(--ink-50); font-weight: 600; }
.offer p { font-size: var(--text-sm); color: var(--ink-70); margin-top: var(--sp-2); max-width: 60ch; }

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
  align-items: stretch;
}
.tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier.feat {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(150deg, var(--cyan), var(--royal)) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
}
.tier-flag {
  position: absolute;
  top: -13px;
  left: var(--sp-8);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cyan);
  padding: 5px 13px;
  border-radius: var(--r-full);
}
.tier-for {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.tier h3 { font-size: var(--text-xl); margin-top: var(--sp-3); }
.tier-price {
  margin-top: var(--sp-4);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line-soft);
}
.tier-price span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.tier-price b {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  display: block;
  margin-top: 2px;
}
.tier ul { margin: var(--sp-6) 0 var(--sp-8); display: grid; gap: 11px; }
.tier ul li {
  display: flex;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--ink-70);
  line-height: 1.5;
  align-items: flex-start;
}
.tier ul svg { color: var(--cyan-deep); flex: 0 0 auto; margin-top: 3px; }
.tier .btn { margin-top: auto; width: 100%; }

.price-note {
  margin-top: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.price-note p { font-size: var(--text-sm); color: var(--ink-70); max-width: 68ch; }
.price-note strong { color: var(--ink); }

/* ============================================================
   PROMISES
   ============================================================ */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-4);
}
.promise {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  background: #fff;
}
.promise b {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
}
.promise b svg { color: var(--cyan-deep); flex: 0 0 auto; }
.promise p { margin-top: var(--sp-3); font-size: var(--text-sm); color: var(--ink-70); line-height: 1.6; }

/* ============================================================
   DPMS band
   ============================================================ */
.dpms {
  background:
    radial-gradient(circle at 9% 12%, rgba(121, 242, 192, 0.12), transparent 32%),
    linear-gradient(128deg, #09112d 0%, #111e43 57%, #123f43 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.dpms::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 92% 12%, rgba(79, 124, 255, 0.18), transparent 45%),
    radial-gradient(circle at 4% 90%, rgba(121, 242, 192, 0.16), transparent 44%);
}
.dpms > * { position: relative; }
.dpms h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: var(--sp-4); }
.dpms p { color: var(--on-dark); margin-top: var(--sp-4); font-size: var(--text-base); line-height: 1.65; }
.dpms .eyebrow { color: var(--gold); }
.dpms-cta { margin-top: var(--sp-6); display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.dpms-home-note {
  max-width: 64ch;
  padding-left: 14px;
  border-left: 3px solid rgba(121, 242, 192, 0.62);
  color: #aebdcd !important;
  font-size: 11px !important;
}
.dpms-home-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(201, 255, 232, 0.18);
  border-radius: 24px;
  background: #16213d;
  box-shadow: 0 28px 70px rgba(2, 9, 29, 0.36);
}
.dpms-home-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 16, 40, 0.92) 0%, rgba(7, 16, 40, 0.15) 64%);
  content: '';
  pointer-events: none;
}
.dpms-home-visual > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 58% center;
  transition: transform 900ms var(--ease);
}
.dpms-home-visual:hover > img { transform: scale(1.035); }
.dpms-mods {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dpms-mods li {
  background: rgba(10, 19, 48, 0.82);
  border: 1px solid rgba(201, 255, 232, 0.16);
  border-radius: var(--r-md);
  padding: 13px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #e5f1fb;
}
.dpms-mods li small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--on-dark-soft);
  margin-top: 2px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--surface-alt); }
.faq-list {
  display: grid;
  gap: var(--sp-3);
  max-width: 860px;
  margin-inline: auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 11px; height: 11px;
  border-right: 2px solid var(--ink-50);
  border-bottom: 2px solid var(--ink-50);
  transform: rotate(45deg);
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: var(--text-sm);
  color: var(--ink-70);
  line-height: 1.68;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--navy); color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 68px);
}
.contact h2 { font-size: clamp(1.9rem, 3.2vw, var(--text-3xl)); margin-top: var(--sp-4); }
.contact-lead { margin-top: var(--sp-4); color: var(--on-dark); font-size: var(--text-lg); line-height: 1.6; }
.contact-methods { margin-top: var(--sp-8); display: grid; gap: var(--sp-3); }
.cm {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(185, 203, 221, 0.16);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cm:hover { border-color: var(--cyan); background: rgba(77, 228, 255, 0.07); }
.cm i {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(77, 228, 255, 0.12);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex: 0 0 38px;
}
.cm > span { display: block; min-width: 0; }
.cm > span > span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }
.cm b {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-top: 1px;
  text-transform: none;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
}

.form {
  background: #fff;
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, var(--sp-12));
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form h3 { font-size: var(--text-xl); }
.form-note { font-size: var(--text-sm); color: var(--ink-70); margin-top: var(--sp-2); }
.fields { margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan-deep);
  background: #fff;
  outline: none;
}
.form .btn { margin-top: var(--sp-6); width: 100%; }
.form-fine { margin-top: var(--sp-4); font-size: var(--text-xs); color: var(--ink-50); text-align: center; line-height: 1.55; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #040d16;
  color: var(--on-dark);
  padding-block: var(--sp-16) var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--sp-8);
}
.footer .brand-text .name { color: #dcedff; }
.footer .brand-text .sub { color: var(--on-dark-soft); }
.footer-blurb { margin-top: var(--sp-4); font-size: var(--text-sm); line-height: 1.65; max-width: 34ch; }
.footer h4 {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-4);
  font-family: var(--font-body);
}
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: var(--text-sm); }
.footer ul a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(185, 203, 221, 0.14);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
}

/* Floating WhatsApp launcher is shared site-wide via site-nav.js + whatsapp-contact.css — not duplicated here. */

/* ---------- Contact form: honeypot + privacy consent ---------- */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--on-dark-soft);
  font-size: var(--text-xs);
  line-height: 1.55;
  margin-top: var(--sp-2);
}
.privacy-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--cyan-deep);
}
.privacy-check a { color: var(--cyan-deep); }

/* ============================================================
   SUB-PAGE COMPONENTS (pricing, portfolio, dpms, team, etc.)
   ============================================================ */
.page-hero {
  padding: var(--sp-24) 0 var(--sp-16);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, var(--text-3xl));
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: var(--sp-4) auto 0;
  max-width: 20ch;
  text-wrap: balance;
}
.page-hero h1 em { font-style: normal; color: var(--cyan-deep); }
.page-hero p {
  margin: var(--sp-5) auto 0;
  max-width: 56ch;
  font-size: var(--text-lg);
  color: var(--ink-70);
  line-height: 1.6;
}
.page-hero .hero-cta { justify-content: center; margin-top: var(--sp-8); }

.info-note {
  margin-top: var(--sp-12);
  padding: var(--sp-6) var(--sp-8);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  gap: var(--sp-2);
}
.info-note strong { font-family: var(--font-display); font-size: var(--text-base); }
.info-note p { font-size: var(--text-sm); color: var(--ink-70); line-height: 1.6; }

.terms-strip {
  margin-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-8);
  padding: var(--sp-5) var(--sp-8);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  color: var(--ink-70);
}
.terms-strip b { color: var(--ink); font-family: var(--font-display); }

.cta-band {
  padding: var(--sp-16) 0;
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; }
.cta-band p { margin-top: var(--sp-3); color: var(--on-dark); max-width: 52ch; margin-inline: auto; }
.cta-band a.btn { margin-top: var(--sp-6); }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; translate: none; }
html.motion-ready .home-page .reveal { opacity: 0; translate: 0 20px; }
html.motion-ready .home-page .reveal.in {
  animation: home-reveal-in 0.72s var(--ease) var(--reveal-delay, 0ms) both;
}

@keyframes home-reveal-in {
  from { opacity: 0; translate: 0 20px; }
  to { opacity: 1; translate: none; }
}

@media (max-width: 620px) {
  .page-hero { padding: var(--sp-16) 0 var(--sp-12); }
  .terms-strip { border-radius: var(--r-md); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .hero-grid, .demo-grid, .contact-grid, .dpms { grid-template-columns: 1fr; }
  .mockup { max-width: 560px; }
  .mock-window { transform: none; }
  .mock-phone { right: -8px; bottom: -26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dpms-home-visual { min-height: 520px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: grid;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: var(--sp-6);
    gap: var(--sp-4);
    box-shadow: var(--shadow-md);
  }
  .nav { position: sticky; }
}

@media (max-width: 620px) {
  :root { --text-3xl: 2.1rem; }
  .nav-inner .brand-text .sub { display: none; }
  .nav-inner .brand-text .name { font-size: 18px; }
  .wrap { padding-inline: var(--sp-4); }
  .frow { grid-template-columns: 1fr; }
  .dpms-mods { grid-template-columns: 1fr; }
  .dpms-home-visual { min-height: 640px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mock-phone { display: none; }
  .hero-cta .btn { width: 100%; }
  .offer, .price-note { flex-direction: column; align-items: flex-start; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpis .kpi:last-child { display: none; }
}

/* ============================================================
   HOMEPAGE — IMAGE-LED 2026 REFRESH
   Scoped to .home-page so shared pricing/sub-page styles stay stable.
   ============================================================ */
.home-page {
  --home-card-border: rgba(125, 151, 177, 0.22);
  --home-glass: rgba(7, 19, 31, 0.78);
  background: #fbfdff;
}

.home-page .wrap { max-width: 1240px; }

.home-page .hero {
  padding-block: clamp(58px, 7vw, 88px) clamp(78px, 8vw, 104px);
}

.home-page .hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(44px, 5vw, 72px);
}

.home-page .hero-copy {
  position: relative;
  z-index: 2;
}

.home-page .hero h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 4.7vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-page .hero-sub { max-width: 57ch; }

.hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(160px, 0.82fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 13px;
  min-height: 510px;
  animation: hero-mock-in 0.9s var(--ease) 0.26s backwards;
}

.hero-gallery figure,
.founder-card { margin: 0; }

.hero-gallery figure {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0d2134;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}

.hero-gallery figure::after,
.demo-card::after,
.founder-card::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
}

.hero-gallery figure::after {
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 10, 19, 0.9) 100%);
}

.hero-gallery-main {
  grid-row: 1 / 3;
  border-radius: 30px;
}

.hero-gallery-card { border-radius: 20px; }

.hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 850ms var(--ease), filter 500ms ease;
}

.hero-gallery-main img { object-position: 52% center; }
.hero-gallery-card:nth-of-type(2) img { object-position: 54% center; }
.hero-gallery-card:nth-of-type(3) img { object-position: 58% center; }

.hero-gallery figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.hero-gallery figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 17px;
  left: 18px;
  display: grid;
  gap: 3px;
  color: #fff;
}

.hero-gallery figcaption strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.hero-gallery-main figcaption { right: 24px; bottom: 23px; left: 24px; }
.hero-gallery-main figcaption strong { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.hero-gallery-main figcaption > span:last-child { color: #c7d7e8; font-size: var(--text-sm); }

.visual-label,
.hero-gallery-card figcaption > span:first-child,
.card-media-tag {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-full);
  background: rgba(5, 18, 31, 0.72);
  color: #dff9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.visual-label,
.hero-gallery-card figcaption > span:first-child { padding: 7px 10px; margin-bottom: 5px; }

.hero-gallery-note {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 64.5%;
  width: 210px;
  padding: 13px 16px;
  border: 1px solid rgba(77, 228, 255, 0.35);
  border-radius: 16px;
  background: rgba(6, 19, 31, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  color: #fff;
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-gallery-note span,
.hero-gallery-note strong { display: block; }
.hero-gallery-note span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-gallery-note strong { margin-top: 3px; font-size: 0.78rem; }

.home-page .strip {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, #f8fbfe 0%, #fff 100%);
}

.home-page #services {
  background:
    radial-gradient(circle at 92% 5%, rgba(77, 228, 255, 0.08), transparent 27%),
    #fff;
}

.home-page .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-page .card {
  padding: 0;
  overflow: hidden;
  border-color: var(--home-card-border);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(12, 31, 49, 0.06);
}

.home-page .card:hover {
  transform: translateY(-7px);
  border-color: rgba(15, 155, 216, 0.45);
  box-shadow: 0 24px 58px rgba(7, 25, 42, 0.14);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfeaf2;
}

.card-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 14, 25, 0.04), rgba(3, 14, 25, 0.24));
  content: '';
  pointer-events: none;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 750ms var(--ease), filter 450ms ease;
}

.home-page .card:hover .card-media img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.02);
}

.card-media-tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
}

.home-page .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.home-page .card-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 12px;
}

.home-page .card h3 {
  font-size: 1.1rem;
  line-height: 1.18;
}

.home-page .card .from { padding-top: 20px; }

.home-page .demo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(77, 228, 255, 0.13), transparent 30%),
    radial-gradient(circle at 6% 84%, rgba(246, 200, 96, 0.1), transparent 28%),
    linear-gradient(145deg, #06131f 0%, #081827 54%, #0a2030 100%);
}

.home-page .demo-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(42px, 5vw, 72px);
}

.demo-text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--cyan);
  font-size: var(--text-sm);
  font-weight: 700;
}

.demo-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.demo-gallery {
  display: grid;
  gap: 14px;
}

.demo-card {
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(185, 203, 221, 0.2);
  border-radius: 20px;
  background: #102538;
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.3);
  isolation: isolate;
}

.demo-card-main { min-height: 300px; }

.demo-card::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 9, 17, 0.02) 35%, rgba(2, 9, 17, 0.88) 100%);
}

.demo-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 850ms var(--ease), filter 450ms ease;
}

.demo-card:hover img { transform: scale(1.035); filter: saturate(1.08); }

.demo-status {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-full);
  background: rgba(3, 17, 28, 0.75);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.demo-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.14);
  animation: live-demo-pulse 2.9s ease-out infinite;
}

html.motion-ready .home-page .demo-gallery.reveal .demo-card,
html.motion-ready .home-page .flow.reveal .fstep {
  opacity: 0;
  translate: 0 16px;
}

html.motion-ready .home-page .demo-gallery.reveal.in .demo-card,
html.motion-ready .home-page .flow.reveal.in .fstep {
  animation: home-child-rise 0.62s var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}

html.motion-ready .home-page .demo-gallery.reveal.in .demo-card:nth-child(2) { animation-delay: calc(var(--reveal-delay, 0ms) + 90ms); }
html.motion-ready .home-page .flow.reveal.in .fstep:nth-child(2) { animation-delay: calc(var(--reveal-delay, 0ms) + 70ms); }
html.motion-ready .home-page .flow.reveal.in .fstep:nth-child(3) { animation-delay: calc(var(--reveal-delay, 0ms) + 140ms); }
html.motion-ready .home-page .flow.reveal.in .fstep:nth-child(4) { animation-delay: calc(var(--reveal-delay, 0ms) + 210ms); }

@keyframes home-child-rise {
  to { opacity: 1; translate: none; }
}

@keyframes live-demo-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.48); }
  72%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
}

.home-page .hero-cta .btn svg {
  transition: transform 220ms ease;
}

.home-page .hero-cta .btn:is(:hover, :focus-visible) svg {
  transform: translateX(3px);
}

.demo-card-copy {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 17px;
  left: 18px;
  color: #fff;
}

.demo-card-copy strong,
.demo-card-copy span { display: block; }
.demo-card-copy strong { font-family: var(--font-display); font-size: 1.15rem; }
.demo-card-copy span { margin-top: 2px; color: #c4d5e5; font-size: var(--text-xs); font-weight: 600; }

.home-page .flow {
  display: grid;
  grid-template-columns: minmax(190px, 0.62fr) minmax(0, 2fr);
  gap: 30px;
  margin-top: clamp(46px, 6vw, 72px);
  padding: clamp(24px, 3vw, 36px);
  border-color: rgba(185, 203, 221, 0.2);
}

.home-page .flow-title { margin-bottom: 12px; color: var(--cyan); }
.home-page .flow h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); color: #fff; }

.home-page .flow-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-page .fstep {
  grid-template-columns: 34px 1fr;
  gap: 11px;
  height: 100%;
  padding: 14px;
  border: 1px solid rgba(185, 203, 221, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.home-page .fstep::before { display: none; }
.home-page .fstep span { font-size: 0.78rem; }

.home-page .pricing {
  background:
    radial-gradient(circle at 4% 8%, rgba(37, 99, 235, 0.055), transparent 25%),
    var(--surface-alt);
}

.owner-trust {
  background:
    radial-gradient(circle at 95% 8%, rgba(77, 228, 255, 0.09), transparent 27%),
    #fff;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: stretch;
}

.founder-card {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-radius: 28px;
  background: #0b1b2d;
  box-shadow: 0 26px 65px rgba(7, 25, 42, 0.16);
  isolation: isolate;
}

.founder-card::after {
  z-index: 1;
  background: linear-gradient(180deg, transparent 36%, rgba(3, 12, 22, 0.95) 86%);
}

.founder-card > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 900ms var(--ease);
}

.founder-card:hover > img { transform: scale(1.025); }

.founder-card figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: #fff;
}

.founder-card blockquote {
  margin: 17px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.founder-card figcaption p strong,
.founder-card figcaption p span { display: block; }
.founder-card figcaption p strong { font-size: var(--text-sm); }
.founder-card figcaption p span { margin-top: 2px; color: #a9bfd2; font-size: var(--text-xs); }
.founder-card figcaption a {
  display: inline-block;
  margin-top: 18px;
  color: var(--cyan);
  font-size: var(--text-sm);
  font-weight: 700;
}

.trust-content .sec-head { margin-bottom: 30px; }

.home-page .trust-content .promise-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page .trust-content .promise {
  box-shadow: 0 10px 28px rgba(7, 25, 42, 0.045);
  transition: transform 280ms var(--ease), border-color 280ms ease, box-shadow 280ms ease;
}

.home-page .trust-content .promise:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 155, 216, 0.38);
  box-shadow: 0 18px 38px rgba(7, 25, 42, 0.09);
}

.home-page .trust-content .promise:last-child { grid-column: 1 / -1; }

@media (max-width: 1100px) {
  .home-page .hero-grid,
  .home-page .demo-grid { grid-template-columns: 1fr; }

  .home-page .hero-copy { max-width: 790px; }
  .home-page .hero h1 { max-width: 13ch; }
  .hero-gallery { width: 100%; max-width: 820px; }

  .home-page .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .home-page .demo-copy { max-width: 720px; }
  .demo-gallery {
    grid-template-columns: 1.18fr 0.82fr;
    align-items: stretch;
  }
  .demo-card,
  .demo-card-main { min-height: 290px; }

  .home-page .flow { grid-template-columns: 1fr; }
  .home-page .flow-intro { max-width: 520px; }
}

@media (max-width: 900px) {
  .trust-layout { grid-template-columns: 1fr; }
  .founder-card { min-height: 660px; }
  .trust-content { max-width: 760px; }
}

@media (max-width: 760px) {
  .home-page .hero { padding-top: 48px; }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
  }

  .hero-gallery-main {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .hero-gallery-card { min-height: 190px; }

  .hero-gallery-note {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    transform: none;
  }

  .home-page .cards { grid-template-columns: 1fr; }
  .home-page .card { max-width: 620px; }

  .demo-gallery { grid-template-columns: 1fr; }
  .demo-card,
  .demo-card-main { min-height: 280px; }

  .home-page .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .trust-content .promise-grid { grid-template-columns: 1fr; }
  .home-page .trust-content .promise:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  .home-page .hero h1 { font-size: clamp(2.45rem, 12vw, 3.2rem); }
  .home-page .hero-badge { align-items: flex-start; line-height: 1.4; }
  .hero-gallery-main { min-height: 300px; }
  .hero-gallery-card { min-height: 150px; }
  .hero-gallery-card figcaption { right: 12px; bottom: 12px; left: 12px; }
  .hero-gallery-card figcaption > span:first-child { display: none; }
  .hero-gallery-card figcaption strong { font-size: 0.83rem; }
  .home-page .card-body { padding: 21px; }
  .home-page .flow-steps { grid-template-columns: 1fr; }
  .demo-card,
  .demo-card-main { min-height: 235px; }
  .founder-card { min-height: 590px; }
  .founder-card figcaption { right: 21px; bottom: 22px; left: 21px; }
  .home-page .dpms-home-visual { min-height: 650px; }
}
