/* Empfly Premium Design System - logo blue + live motion */

:root {
  --blue: #1a5fdb;
  --blue-bright: #3b82f6;
  --blue-deep: #0b2a8b;
  --blue-soft: #e8f0ff;
  --navy: #050b18;
  --ink: #0b1220;
  --slate: #334155;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.28);
  --surface: #f5f8fc;
  --white: #ffffff;
  --green: #12a066;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 30px 80px rgba(5, 11, 24, 0.18);
  --shadow-sm: 0 14px 40px rgba(5, 11, 24, 0.1);
  --max: 1180px;
  --nav-h: 76px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #f8fafc;
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: min(100% - 2.75rem, var(--max)); margin-inline: auto; }

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}
.h1 { font-size: clamp(2.35rem, 5vw, 3.75rem); }
.h2 { font-size: clamp(1.45rem, 2.5vw, 2.15rem); }
.h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.175rem);
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.65;
  font-weight: 400;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--blue);
  margin-bottom: 0.85rem;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1a5fdb 55%, #0b2a8b);
  color: #fff;
  box-shadow: 0 14px 36px rgba(26, 95, 219, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { box-shadow: 0 18px 44px rgba(26, 95, 219, 0.5); }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.16); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.85rem; }

/* ========== NAV ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(15,23,42,0.06), 0 12px 40px rgba(15,23,42,0.06);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  z-index: 2;
  background: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled .logo {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}
.logo-img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 0.1rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  border-radius: 10px;
  transition: 0.2s;
}
.site-header.scrolled .nav-link { color: var(--slate); }
.nav-link:hover { background: rgba(255,255,255,0.08); }
.site-header.scrolled .nav-link:hover { background: var(--blue-soft); color: var(--blue); }
.nav-link svg { width: 12px; height: 12px; opacity: 0.7; }

.btn-nav {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  transition: 0.25s;
}
.btn-nav:hover, .site-header.scrolled .btn-nav {
  background: linear-gradient(135deg, #3b82f6, #1a5fdb);
  border-color: transparent;
  color: #fff;
}

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 620px;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.1rem;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  transition-delay: 0.14s; /* keep open briefly while moving into the panel */
  z-index: 80;
}
/* Invisible hover bridge - closes the dead gap between link and panel */
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s; /* open immediately on hover */
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.mega-link {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  transition: 0.15s;
}
.mega-link:hover { background: var(--blue-soft); }
.mega-link strong { display: block; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.15rem; }
.mega-link span { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  color: #fff;
  align-items: center; justify-content: center;
}
.site-header.scrolled .nav-toggle { color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99;
  padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav .btn { margin-top: 1.5rem; width: 100%; }

/* ========== HERO with live canvas ========== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  /* Content-driven height so browser zoom scales the whole page proportionally
     (100vh locks the hero to the viewport at every zoom level). */
  min-height: 0;
  padding: calc(var(--nav-h) + 2.75rem) 0 4.25rem;
  color: #fff;
  overflow: hidden;
  background: #050b18;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 70% 25%, rgba(59,130,246,0.28), transparent 55%),
    radial-gradient(ellipse 45% 40% at 15% 75%, rgba(26,95,219,0.22), transparent 50%),
    linear-gradient(180deg, transparent 55%, rgba(5,11,24,0.85) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
}

.hero-brand-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s ease both;
}
.hero-brand-block img {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 12px 30px rgba(59,130,246,0.45));
  animation: logoPulse 4s ease-in-out infinite;
}
.hero-brand-text .name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  line-height: 1;
}
.hero-brand-text .tag {
  font-size: 0.95rem;
  font-weight: 700;
  color: #93c5fd;
  margin-top: 0.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 28ch;
  margin-bottom: 1rem;
  animation: fadeUp 0.9s 0.05s ease both;
  color: #fff;
  background: none;
  -webkit-text-fill-color: unset;
}
.hero .lede {
  color: rgba(226,232,240,0.82);
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.7;
  max-width: 34rem;
  animation: fadeUp 0.9s 0.12s ease both;
}
.hero .cta-row { animation: fadeUp 0.9s 0.3s ease both; }

.hero-side {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 22rem;
  aspect-ratio: 5 / 4;
  animation: fadeUp 1s 0.25s ease both;
}
.live-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.live-panel .scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  animation: scanY 4s linear infinite;
  opacity: 0.7;
}
.live-map {
  position: absolute;
  inset: 12%;
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 40%, rgba(59,130,246,0.35), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(18,160,102,0.25), transparent 35%),
    linear-gradient(145deg, #0a1628, #0f1c34);
}
.live-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 6px rgba(96,165,250,0.25);
  animation: ping 2.4s ease-in-out infinite;
}
.dot.a { top: 28%; left: 30%; }
.dot.b { top: 48%; left: 55%; background: #34d399; box-shadow: 0 0 0 6px rgba(52,211,153,0.25); animation-delay: 0.5s; }
.dot.c { top: 35%; left: 72%; animation-delay: 1s; }
.float-card {
  position: absolute;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(8,16,32,0.88);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  z-index: 2;
  animation: floatY 5s ease-in-out infinite;
}
.float-card.one { top: 8%; right: 4%; width: 190px; }
.float-card.two { bottom: 10%; left: 4%; width: 200px; animation-delay: 1s; }
.float-card .lbl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 0.35rem;
}

.logo-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  background: rgba(0,0,0,0.25);
}
.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.logo-strip p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}
.logo-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  opacity: 0.65;
}
.logo-marquee span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 12px 30px rgba(59,130,246,0.45)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 16px 40px rgba(59,130,246,0.65)); }
}
@keyframes scanY {
  0% { top: 8%; }
  100% { top: 90%; }
}
@keyframes ping {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sections */
.section { padding: clamp(2.75rem, 5vw, 4.25rem) 0; position: relative; }
.section-head { max-width: 56rem; margin-bottom: 2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head.center .kicker { justify-content: center; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 5;
}
.stat {
  padding: 1.6rem 1.3rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 0.88rem; color: var(--muted); font-weight: 600; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.why-card {
  padding: 1.5rem 1.2rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  transition: 0.35s cubic-bezier(0.22,1,0.36,1);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26,95,219,0.35);
}
.why-card strong { display: block; font-family: var(--font-display); font-size: 0.95rem; margin: 0.8rem 0 0.4rem; }
.why-card p { font-size: 0.84rem; color: var(--muted); }
.why-icon {
  width: 48px; height: 48px;
  margin: 0 auto;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-soft), #dbeafe);
  color: var(--blue);
}

/* Solutions */
.solutions-band {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(59,130,246,0.08), transparent 40%),
    linear-gradient(180deg, #fff, #f1f5f9);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 1.4rem 1.25rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: 0.4s cubic-bezier(0.22,1,0.36,1);
}
.sol-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.35s;
}
.sol-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(26,95,219,0.3);
}
.sol-card:hover::before { transform: scaleX(1); }
.sol-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 1rem;
}
.sol-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  color: var(--blue);
}
.sol-card h3 { font-size: 1.02rem; margin-bottom: 0.55rem; line-height: 1.25; }
.sol-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.5; flex: 1; }
.sol-link {
  margin-top: 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.sol-link svg { width: 14px; height: 14px; transition: 0.2s; }
.sol-card:hover .sol-link svg { transform: translateX(4px); }

/* Model steps */
.model {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.model .kicker { color: #93c5fd; }
.model .kicker::before { background: #93c5fd; }
.model .lede { color: rgba(226,232,240,0.7); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.step {
  padding: 1.6rem 1.3rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}
.step:hover {
  background: rgba(59,130,246,0.12);
  border-color: rgba(96,165,250,0.35);
  transform: translateY(-4px);
}
.step-num {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: rgba(226,232,240,0.65); }

/* Spotlight */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.spotlight-visual {
  aspect-ratio: 4/3;
  border-radius: 24px;
  background: linear-gradient(160deg, #0b1220, #132546);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dash-chrome {
  position: absolute;
  inset: 1.25rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.75rem;
}
.dash-top {
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.4rem;
}
.dash-top i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.dash-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0.75rem; }
.dash-col {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.35rem 0 1.75rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
  color: var(--slate);
}
.check-list li::before {
  content: "";
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a5fdb'%3E%3Cpath d='M6.5 11.5 3 8l1-1 2.5 2.5L12 4l1 1z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.industry {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 1.4rem;
  border-radius: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: 0.35s;
}
.industry::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #1e4a8c, #0b1220);
  z-index: 0;
}
.industry:nth-child(2)::after { background: linear-gradient(155deg, #0e5c4a, #0b1220); }
.industry:nth-child(3)::after { background: linear-gradient(155deg, #1e3a8a, #132546); }
.industry:nth-child(4)::after { background: linear-gradient(155deg, #3d2a6b, #0b1220); }
.industry:nth-child(5)::after { background: linear-gradient(155deg, #1a4d5c, #0b1220); }
.industry:nth-child(6)::after { background: linear-gradient(155deg, #2a4a6b, #050b18); }
.industry:nth-child(7)::after { background: linear-gradient(155deg, #1c3a5c, #0a1622); }
.industry:nth-child(8)::after { background: linear-gradient(155deg, #243447, #050b18); }
.industry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(5,11,24,0.9) 100%);
  z-index: 1;
}
.industry:hover { transform: translateY(-5px); }
.industry > * { position: relative; z-index: 2; }
.industry h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.industry p { font-size: 0.84rem; color: rgba(255,255,255,0.72); margin-bottom: 0.85rem; }
.industry .link { font-size: 0.84rem; font-weight: 700; color: #93c5fd; }

/* Integrations */
.integ-showcase {
  padding: 2.25rem;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(59,130,246,0.12), transparent 50%),
    linear-gradient(160deg, #fff, #f1f5f9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.partners { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.partner-chip {
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  transition: 0.2s;
}
.partner-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(26,95,219,0.4);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
}

/* Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}
.metric {
  padding: 2.1rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.metric::after {
  content: "";
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue);
  margin-bottom: 0.45rem;
}
.metric span { font-size: 0.95rem; color: var(--muted); }
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.outcomes li {
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border-radius: 14px;
  font-size: 0.94rem;
  color: var(--slate);
  font-weight: 600;
}

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.sec-item {
  display: flex;
  gap: 0.9rem;
  padding: 1.2rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate);
}
.sec-item svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); margin-top: 1px; }

/* FAQ AEO */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-q span { color: var(--blue); font-size: 1.35rem; line-height: 1; }
.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #050b18, #0b2a8b 55%, #1a5fdb);
  color: #fff;
  padding: clamp(4.5rem, 9vw, 6.5rem) 0;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(147,197,253,0.15), transparent 35%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta .lede { margin-inline: auto; color: rgba(255,255,255,0.75); }
.final-cta .cta-row { justify-content: center; }

/* Page hero - matches homepage dark hero typography & atmosphere */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(59,130,246,0.32), transparent 55%),
    radial-gradient(ellipse 45% 40% at 10% 80%, rgba(26,95,219,0.22), transparent 50%),
    linear-gradient(165deg, #07111f 0%, #0a1628 45%, #050b18 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(147, 197, 253, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .breadcrumbs { color: rgba(226, 232, 240, 0.55); }
.page-hero .breadcrumbs a { color: #93c5fd; }
.page-hero .breadcrumbs span { opacity: 0.65; }
.page-hero .kicker {
  color: #93c5fd;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.page-hero .kicker::before {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}
.page-hero h1,
.page-hero .h1,
.page-hero .h-display.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
  max-width: 18ch;
  margin-top: 0.15rem;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.page-hero .lede {
  color: rgba(226, 232, 240, 0.82);
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.7;
  max-width: 34rem;
  font-weight: 400;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.page-hero .breadcrumbs,
.page-hero .kicker {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.page-hero .kicker {
  justify-content: flex-start;
}
.page-hero .cta-row,
.page-hero .cta-paths {
  justify-content: flex-start;
}
.page-hero .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.page-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}
.page-hero.dark {
  background: radial-gradient(ellipse at 70% 20%, rgba(59,130,246,0.35), transparent 45%), var(--navy);
  color: #fff;
}
.page-hero.dark .lede { color: rgba(255,255,255,0.7); }

/* Forms */
.form-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 2.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--slate);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26,95,219,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; text-align: center; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.cap {
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: 0.3s;
}
.cap:hover { border-color: rgba(26,95,219,0.35); box-shadow: var(--shadow-sm); }
.cap h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.cap p { font-size: 0.92rem; color: var(--muted); }

.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.deploy-card {
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.deploy-card h3 { margin-bottom: 0.65rem; }
.deploy-card p { color: var(--muted); font-size: 0.95rem; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand .logo {
  background: #fff;
  margin-bottom: 0.85rem;
}
.footer-brand p { font-size: 0.95rem; max-width: 22rem; line-height: 1.6; margin-top: 0.85rem; color: rgba(255,255,255,0.72); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero-grid, .spotlight-grid { grid-template-columns: 1fr; }
  .hero-side {
    order: -1;
    min-height: 18rem;
    aspect-ratio: 16 / 10;
    max-width: 36rem;
    margin-inline: auto;
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid, .deploy-grid, .cap-grid { grid-template-columns: 1fr 1fr; }
  .logo-img { height: 36px; max-width: 150px; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { max-width: none; }
  .solutions-grid, .why-grid, .steps, .industries-grid,
  .metrics-grid, .deploy-grid, .outcomes,
  .security-grid, .cap-grid, .form-row, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .solutions-grid { grid-template-columns: 1fr; }
}


/* ===== Strategic redesign: AI-native operations platform ===== */
:root {
  --max: 1140px;
  --green: #0f9f6e;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}
.hero-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.25);
  animation: ping 2s ease-in-out infinite;
}

.platform-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.plat-layer {
  padding: 1.7rem 1.35rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.plat-layer:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 95, 219, 0.3);
}
.plat-layer .n {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 1rem;
}
.plat-layer h3 { margin-bottom: 0.55rem; }
.plat-layer p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.plat-layer ul { display: flex; flex-direction: column; gap: 0.4rem; }
.plat-layer li {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate);
  padding-left: 0.9rem;
  position: relative;
}
.plat-layer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.split-narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.proof-card {
  padding: 1.75rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fafc);
  border: 1px solid var(--line);
  text-align: left;
}
.proof-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}
.proof-card span { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

.ai-native {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.22), transparent 45%),
    radial-gradient(ellipse at 10% 80%, rgba(15, 159, 110, 0.12), transparent 40%),
    var(--navy);
  color: #fff;
}
.ai-native .kicker { color: #93c5fd; }
.ai-native .kicker::before { background: #93c5fd; }
.ai-native .lede { color: rgba(226, 232, 240, 0.72); }
.ai-native .ai-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.ai-native .ai-card p { color: rgba(226, 232, 240, 0.68); }
.ai-native .ai-card h3,
.ai-native .ai-card strong { color: #fff; }
.ai-native .why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ai-native .why-card strong { color: #fff; display: block; margin-bottom: 0.5rem; }
.ai-native .section-head { text-align: center; margin-inline: auto; }
.ai-native .h-display { color: #fff; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.trust-pill {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate);
}

@media (max-width: 1024px) {
  .platform-layers,
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .split-narrative { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .platform-layers,
  .proof-grid { grid-template-columns: 1fr; }
}
