/* =========================================================
   Zofty Labs — Professional corporate website design system
   ========================================================= */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #f0f3f7;
  --surface-dark: #07111f;
  --surface-dark-2: #0b192a;
  --text: #101828;
  --muted: #667085;
  --muted-strong: #475467;
  --brand: #ed1c24;
  --brand-dark: #b80e15;
  --brand-soft: #fff0f1;
  --blue: #2864ff;
  --teal: #0ea5a4;
  --green: #10b981;
  --amber: #f59e0b;
  --navy: #07111f;
  --navy-light: #11243b;
  --line: #dfe5ec;
  --line-dark: rgba(255,255,255,.12);
  --danger: #dc2626;
  --shadow-xs: 0 4px 12px rgba(7,17,31,.05);
  --shadow-sm: 0 12px 32px rgba(7,17,31,.08);
  --shadow: 0 24px 60px rgba(7,17,31,.12);
  --shadow-lg: 0 40px 100px rgba(7,17,31,.18);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --container: min(1240px, calc(100% - 40px));
  --header-h: 82px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #07111f;
  --surface: #0c192a;
  --surface-soft: #11233a;
  --text: #f4f7fb;
  --muted: #b6c2d3;
  --muted-strong: #d0d8e5;
  --line: #243752;
  --brand-soft: rgba(237,28,36,.12);
  --shadow-xs: 0 4px 12px rgba(0,0,0,.18);
  --shadow-sm: 0 14px 36px rgba(0,0,0,.24);
  --shadow: 0 28px 70px rgba(0,0,0,.34);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open,
body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: rgba(237,28,36,.18); }
:focus-visible { outline: 3px solid rgba(40,100,255,.4); outline-offset: 3px; }
.container { width: var(--container); margin-inline: auto; }
.sr-only,
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 1000; top: 12px; left: 12px; background: white; color: #111827; padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow); }

/* Shared layout */
.section { padding: 104px 0; }
.section-sm { padding: 66px 0; }
.section-heading { margin-bottom: 44px; }
.split-heading { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: end; }
.split-heading .lead { margin: 0 0 7px; }
.split-heading.light .section-title { color: white; }
.split-heading.light .lead { color: #b9c7d8; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.narrow { max-width: 800px; margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .145em;
  font-size: .77rem;
  line-height: 1;
  font-weight: 850;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title {
  margin: .7rem 0 1rem;
  font-size: clamp(2.15rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.048em;
  font-weight: 820;
}
.lead { max-width: 760px; margin: 0; font-size: 1.13rem; line-height: 1.72; color: var(--muted); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.stack { display: grid; gap: 18px; }
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card-hover { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.card-hover:hover { transform: translateY(-7px); border-color: rgba(237,28,36,.35); box-shadow: var(--shadow); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: .82rem;
  font-weight: 750;
}
.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(237,28,36,.14), rgba(40,100,255,.11));
  color: var(--brand);
  font-weight: 900;
  font-size: 1.14rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-weight: 800;
  font-size: .93rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 54px; padding-inline: 22px; }
.btn-primary { color: white; background: linear-gradient(135deg, #f1222a, #d10c14); box-shadow: 0 14px 30px rgba(237,28,36,.24); }
.btn-primary:hover { background: linear-gradient(135deg, #ff3038, #bc0710); box-shadow: 0 17px 38px rgba(237,28,36,.3); }
.btn-secondary { color: white; background: var(--navy); }
.btn-light { color: #101828; background: white; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.btn-outline { color: var(--text); border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light { color: white; border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { border-color: white; background: rgba(255,255,255,.07); }
.btn-glass { color: white; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.075); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.4); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--brand); font-weight: 820; }
.text-link:hover { gap: 12px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: .75rem; font-weight: 800; background: rgba(16,185,129,.12); color: var(--green); }
.note, .warn { padding: 16px 18px; border-radius: var(--radius-sm); border-left: 4px solid var(--blue); background: rgba(40,100,255,.08); color: var(--muted-strong); }
.warn { border-left-color: var(--amber); background: rgba(245,158,11,.09); }

/* Top bar and navigation */
.topbar { position: relative; z-index: 90; background: #040a12; color: #c9d4e1; font-size: .78rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; align-items: center; gap: 19px; }
.topbar-links a { transition: color .2s ease; }
.topbar-links a:hover { color: white; }
.availability { display: flex; align-items: center; gap: 8px; color: #e5eef9; font-weight: 700; }
.availability i { width: 7px; height: 7px; border-radius: 50%; background: #25d68a; box-shadow: 0 0 0 5px rgba(37,214,138,.12); animation: availabilityPulse 2.4s infinite; }
.incident-link { color: #ffb1b5; }
@keyframes availabilityPulse { 50% { box-shadow: 0 0 0 8px rgba(37,214,138,0); } }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--surface) 93%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .25s ease, border-color .25s ease, min-height .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 35px rgba(7,17,31,.08); }
.nav-wrap { min-height: var(--header-h); display: flex; align-items: center; gap: 26px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; width: 174px; }
.brand img { width: 174px; height: 58px; object-fit: contain; object-position: left center; }
.logo-dark { display: none; }
html[data-theme="dark"] .logo-light { display: none; }
html[data-theme="dark"] .logo-dark { display: block; }
.main-nav { flex: 1; display: flex; align-items: stretch; justify-content: center; align-self: stretch; gap: 3px; }
.nav-item { position: static; display: flex; align-items: stretch; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--muted-strong);
  font-size: .9rem;
  font-weight: 760;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 4px 4px 0 0; background: var(--brand); transform: scaleX(0); transition: transform .25s ease; }
.nav-link:hover, .nav-link.active, .nav-trigger[aria-expanded="true"] { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after, .nav-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.chevron { margin-top: -2px; font-size: .85rem; transition: transform .2s ease; }
.nav-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.nav-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.icon-btn:hover { border-color: rgba(237,28,36,.42); background: var(--brand-soft); transform: translateY(-1px); }
.search-btn { font-size: 1.42rem; line-height: 1; }
.theme-btn { font-size: 1.04rem; }
.nav-cta { min-height: 44px; padding-inline: 17px; }
.menu-btn { display: none; padding: 0; }
.menu-btn span { width: 19px; height: 2px; background: currentColor; border-radius: 2px; transition: .25s ease; }
.menu-btn { align-content: center; gap: 4px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mega-menu,
.dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: min(1120px, calc(100vw - 44px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 0 0 22px 22px;
  background: var(--surface);
  box-shadow: 0 30px 60px rgba(7,17,31,.15);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.has-dropdown.open > .mega-menu,
.has-dropdown.open > .dropdown-menu,
.has-dropdown:hover > .mega-menu,
.has-dropdown:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.mega-menu { display: grid; grid-template-columns: 1.12fr 1fr 1fr .86fr; gap: 16px; }
.mega-solutions { grid-template-columns: 1fr 1.05fr 1.2fr; }
.mega-intro { padding: 22px; border-radius: 17px; background: linear-gradient(145deg, #07111f, #122942); color: white; }
.mega-intro.compact { background: linear-gradient(145deg, #07111f, #2b1018); }
.mega-kicker { color: #ff8e93; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 850; }
.mega-intro h3 { margin: 10px 0; font-size: 1.32rem; line-height: 1.22; letter-spacing: -.02em; }
.mega-intro p { margin: 0 0 8px; color: #b7c5d8; font-size: .83rem; line-height: 1.55; }
.mega-intro .text-link { font-size: .82rem; }
.mega-column, .mega-products { display: grid; align-content: start; gap: 5px; padding: 9px 4px; }
.mega-heading { padding: 4px 12px 9px; color: var(--muted); font-size: .69rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.mega-column a, .mega-products a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .2s ease, transform .2s ease;
}
.mega-column a:hover, .mega-products a:hover { background: var(--surface-soft); transform: translateX(3px); }
.mega-column b, .mega-products b { font-size: .85rem; }
.mega-column small, .mega-products small { color: var(--muted); font-size: .72rem; line-height: 1.35; }
.mega-products a { grid-template-columns: auto 1fr; column-gap: 9px; }
.mega-products a small { grid-column: 2; }
.product-dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--brand); }
.product-dot.blue { background: var(--blue); }
.product-dot.amber { background: var(--amber); }
.product-dot.green { background: var(--green); }
.mega-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  align-self: stretch;
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}
.mega-feature:hover { border-color: rgba(237,28,36,.35); }
.mega-feature-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.mega-feature b { display: block; font-size: .86rem; }
.mega-feature small { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.dropdown-menu { left: auto; right: max(20px, calc((100vw - 1240px) / 2 + 220px)); width: 320px; padding: 12px; border-radius: 0 0 18px 18px; transform: translateY(10px); }
.has-dropdown.open > .dropdown-menu, .has-dropdown:hover > .dropdown-menu { transform: translateY(0); }
.dropdown-menu a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; }
.dropdown-menu a:hover { background: var(--surface-soft); }
.dropdown-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.dropdown-menu b { display: block; font-size: .84rem; }
.dropdown-menu small { display: block; color: var(--muted); font-size: .71rem; }

/* Site search */
.search-overlay { position: fixed; inset: 0; z-index: 150; display: grid; place-items: start center; padding: 110px 20px 30px; background: rgba(2,8,16,.78); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: .25s ease; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-close { position: fixed; top: 28px; right: 30px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.08); color: white; font-size: 1.8rem; cursor: pointer; }
.search-dialog { width: min(760px, 100%); padding: 36px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: 0 40px 100px rgba(0,0,0,.3); }
.search-dialog h2 { margin: 10px 0 24px; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.035em; }
.search-input-wrap { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 0 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); }
.search-input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40,100,255,.1); }
.search-input-wrap span { font-size: 1.35rem; color: var(--muted); }
.search-input-wrap input { width: 100%; min-height: 56px; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-results { display: grid; gap: 8px; max-height: 390px; margin-top: 18px; overflow: auto; }
.search-result { display: flex; justify-content: space-between; gap: 18px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; }
.search-result:hover { border-color: rgba(237,28,36,.35); background: var(--brand-soft); }
.search-result b { display: block; font-size: .9rem; }
.search-result small { color: var(--muted); }
.search-result span { color: var(--brand); }

/* Hero slideshow */
.hero-slider { position: relative; min-height: 690px; overflow: hidden; background: #050d18; color: white; }
.hero-slides { position: relative; min-height: 690px; }
.hero-slide { position: absolute; inset: 0; display: grid; align-items: center; padding: 76px 0 96px; opacity: 0; visibility: hidden; transform: scale(1.012); transition: opacity .75s ease, visibility .75s ease, transform .75s ease; overflow: hidden; }
.hero-slide.active { position: relative; opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to right, black, transparent 78%); }
.hero-slide:nth-child(1) { background: radial-gradient(circle at 86% 18%, rgba(40,100,255,.25), transparent 29%), linear-gradient(135deg, #050d18 0%, #0a1729 58%, #191019 100%); }
.hero-slide:nth-child(2) { background: radial-gradient(circle at 82% 20%, rgba(14,165,164,.24), transparent 30%), linear-gradient(135deg, #040b13 0%, #071827 55%, #071e22 100%); }
.hero-slide:nth-child(3) { background: radial-gradient(circle at 82% 14%, rgba(237,28,36,.22), transparent 29%), linear-gradient(135deg, #050d18 0%, #101527 57%, #1b0d15 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .98fr 1.02fr; gap: 58px; align-items: center; }
.hero-copy { position: relative; z-index: 3; max-width: 670px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: #dce8f5; text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; font-weight: 800; }
.hero-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(237,28,36,.13); }
.hero-copy h1, .hero-copy h2 { margin: 18px 0 22px; font-size: clamp(3.05rem, 5.7vw, 5.7rem); line-height: .97; letter-spacing: -.064em; font-weight: 830; }
.hero-copy h1 span, .hero-copy h2 span { color: #ff4b53; background: linear-gradient(90deg, #ff3c45, #ff8b90); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy p { max-width: 650px; margin: 0 0 28px; color: #c4d0df; font-size: 1.13rem; line-height: 1.72; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: #bcc9d9; font-size: .78rem; }
.hero-proof span { display: flex; align-items: center; gap: 8px; }
.hero-proof b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.08); color: #ff7e84; font-size: .67rem; }
.hero-visual { position: relative; min-height: 490px; display: grid; place-items: center; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero-orb-one { width: 360px; height: 360px; right: -110px; top: -130px; background: rgba(40,100,255,.13); }
.hero-orb-two { width: 220px; height: 220px; left: 39%; bottom: -150px; background: rgba(237,28,36,.13); }
.hero-orb-three { width: 330px; height: 330px; right: -90px; bottom: -120px; background: rgba(14,165,164,.15); }
.hero-orb-four { width: 260px; height: 260px; left: 45%; top: -180px; background: rgba(40,100,255,.1); }
.hero-orb-five { width: 360px; height: 360px; right: -120px; top: -100px; background: rgba(237,28,36,.13); }
.hero-orb-six { width: 230px; height: 230px; left: 40%; bottom: -160px; background: rgba(40,100,255,.11); }
.hero-controls { position: absolute; z-index: 8; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; justify-content: space-between; align-items: center; }
.hero-dots { display: flex; align-items: center; gap: 9px; }
.hero-dots button { width: 32px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.22); cursor: pointer; transition: .25s ease; }
.hero-dots button.active { width: 56px; background: var(--brand); }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.06); color: white; cursor: pointer; }
.hero-arrows button:hover { background: rgba(255,255,255,.12); }

/* Hero software visual */
.browser-frame { width: min(700px, 100%); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; overflow: hidden; background: #091422; box-shadow: 0 45px 110px rgba(0,0,0,.48); transform: perspective(1100px) rotateY(-4deg) rotateX(1deg); }
.browser-top { min-height: 44px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.07); color: #8ea1ba; font-size: .68rem; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }
.browser-url { justify-self: center; padding: 5px 28px; border-radius: 999px; background: rgba(255,255,255,.04); }
.browser-status { color: #38d995; }
.app-shell { display: grid; grid-template-columns: 52px 1fr; min-height: 390px; }
.app-sidebar { display: grid; align-content: start; justify-items: center; gap: 21px; padding-top: 15px; border-right: 1px solid rgba(255,255,255,.06); background: #07101d; }
.app-mark { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 10px; background: var(--brand); color: white; font-size: .78rem; font-weight: 900; }
.app-sidebar i { width: 17px; height: 17px; border: 2px solid #56677e; border-radius: 5px; }
.app-sidebar i.active { border-color: #ff5960; background: rgba(237,28,36,.2); }
.app-main { padding: 22px; }
.app-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.app-head small, .app-head strong { display: block; }
.app-head small { color: #6f829b; font-size: .66rem; }
.app-head strong { margin-top: 3px; font-size: 1rem; }
.app-head button { border: 0; border-radius: 9px; padding: 8px 12px; background: var(--brand); color: white; font-size: .67rem; font-weight: 800; }
.app-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 21px; }
.app-metrics div { padding: 13px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(255,255,255,.035); }
.app-metrics small { display: block; color: #7f91a9; font-size: .58rem; }
.app-metrics b { display: inline-block; margin-top: 5px; font-size: 1.22rem; }
.app-metrics span { margin-left: 5px; color: #3bd69a; font-size: .56rem; }
.app-content { display: grid; grid-template-columns: 1.55fr .75fr; gap: 10px; margin-top: 11px; }
.app-chart, .app-list { padding: 13px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(255,255,255,.025); }
.chart-head { display: flex; justify-content: space-between; color: #c6d2df; font-size: .6rem; }
.chart-head b { color: #6f829b; font-weight: 650; }
.line-chart { height: 150px; margin-top: 8px; }
.line-chart svg { width: 100%; height: 100%; overflow: visible; }
.line-chart .line { fill: none; stroke: #3c78ff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.line-chart .area { fill: url(#none); fill: rgba(40,100,255,.13); }
.app-list { display: grid; align-content: start; gap: 13px; }
.app-list > b { font-size: .64rem; }
.app-list span { display: grid; grid-template-columns: auto 1fr auto; gap: 7px; align-items: center; color: #aab8ca; font-size: .56rem; }
.app-list i { width: 7px; height: 7px; border-radius: 50%; background: #35d18e; }
.app-list small { color: #64778f; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(14,27,43,.88); color: white; box-shadow: 0 24px 60px rgba(0,0,0,.32); backdrop-filter: blur(12px); animation: floatCard 4.8s ease-in-out infinite; }
.floating-card b, .floating-card small { display: block; }
.floating-card b { font-size: .75rem; }
.floating-card small { color: #91a5bd; font-size: .61rem; }
.floating-card > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: rgba(16,185,129,.15); color: #3cd99a; }
.floating-card-one { left: -22px; bottom: 42px; }
.floating-card-two { right: -18px; top: 36px; display: block; text-align: center; animation-delay: -.9s; }
.floating-card-two b { color: #ff6970; font-size: 1.15rem; }
@keyframes floatCard { 50% { transform: translateY(-9px); } }

/* Hero security visual */
.security-panel { width: min(650px, 100%); padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(5,16,26,.84); box-shadow: 0 45px 110px rgba(0,0,0,.48); backdrop-filter: blur(12px); transform: perspective(1100px) rotateY(-3deg); }
.security-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.security-head small, .security-head b { display: block; }
.security-head small { color: #5ad9c5; font-size: .57rem; letter-spacing: .14em; }
.security-head b { margin-top: 4px; font-size: .9rem; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: rgba(16,185,129,.11); color: #4adea3; font-size: .58rem; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(74,222,163,.1); }
.security-body { display: grid; grid-template-columns: .72fr 1.28fr; gap: 14px; padding: 16px 0 13px; }
.risk-score { display: grid; justify-items: center; align-content: center; padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 17px; background: rgba(255,255,255,.025); }
.risk-ring { position: relative; width: 118px; height: 118px; }
.risk-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg, .ring-value { fill: none; stroke-width: 8; }
.ring-bg { stroke: #183044; }
.ring-value { stroke: #28d4ba; stroke-linecap: round; stroke-dasharray: 308; stroke-dashoffset: 43; filter: drop-shadow(0 0 8px rgba(40,212,186,.4)); }
.risk-ring > div { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 37px; }
.risk-ring b { font-size: 2rem; }
.risk-ring small { color: #71859c; font-size: .62rem; }
.risk-score > span { margin-top: 7px; color: #55dabd; font-size: .72rem; font-weight: 800; }
.risk-score > small { margin-top: 3px; color: #71859c; font-size: .56rem; }
.threat-map { position: relative; min-height: 168px; overflow: hidden; border: 1px solid rgba(255,255,255,.07); border-radius: 17px; background: radial-gradient(circle at 55% 40%, rgba(14,165,164,.16), transparent 40%), #071522; }
.map-grid { position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(87,156,178,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(87,156,178,.16) 1px, transparent 1px); background-size: 25px 25px; transform: perspective(400px) rotateX(54deg) scale(1.4); transform-origin: center bottom; }
.pulse { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #3dd7bd; box-shadow: 0 0 0 8px rgba(61,215,189,.12); animation: threatPulse 2s infinite; }
.p1 { left: 34%; top: 45%; }
.p2 { left: 65%; top: 32%; animation-delay: -.6s; }
.p3 { left: 73%; top: 67%; animation-delay: -1.2s; background: #f55b62; box-shadow: 0 0 0 8px rgba(245,91,98,.12); }
@keyframes threatPulse { 50% { box-shadow: 0 0 0 15px transparent; } }
.threat-label { position: absolute; left: 12px; bottom: 10px; color: #72889d; font-size: .57rem; }
.security-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.security-metrics > div { display: flex; gap: 9px; align-items: center; padding: 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; }
.metric-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: rgba(40,100,255,.13); color: #6c98ff; font-size: .72rem; }
.metric-icon.safe { background: rgba(16,185,129,.12); color: #4bd99f; }
.metric-icon.warn { background: rgba(245,158,11,.12); color: #fbb544; }
.security-metrics p { margin: 0; }
.security-metrics small, .security-metrics b { display: block; }
.security-metrics small { color: #73869d; font-size: .53rem; }
.security-metrics b { font-size: .68rem; }
.security-events { display: grid; gap: 8px; margin-top: 12px; }
.security-events > div:not(.event-head) { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 9px; background: rgba(255,255,255,.025); color: #aebdce; font-size: .56rem; }
.event-head { display: flex; justify-content: space-between; color: #72869d; font-size: .57rem; }
.event-head b { color: #d7e0e9; }
.security-events i { width: 7px; height: 7px; border-radius: 50%; background: #4d86ff; }
.security-events i.safe { background: #3bd69a; }
.security-events i.warn { background: #f6ad34; }
.security-events small { color: #65798f; }
.floating-card-three { right: -18px; bottom: 42px; }
.shield-mini { color: #4bd9a1 !important; }

/* Hero transformation visual */
.transformation-card { width: min(650px, 100%); padding: 19px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(8,18,31,.86); box-shadow: 0 45px 110px rgba(0,0,0,.48); backdrop-filter: blur(12px); transform: perspective(1100px) rotateY(-3deg); }
.transformation-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.07); }
.transformation-head small, .transformation-head b { display: block; }
.transformation-head small { color: #ff7880; font-size: .58rem; text-transform: uppercase; letter-spacing: .12em; }
.transformation-head b { margin-top: 4px; font-size: .9rem; }
.transformation-head > span { padding: 5px 9px; border-radius: 8px; background: rgba(237,28,36,.14); color: #ff6b72; font-size: .6rem; font-weight: 800; }
.transformation-layout { display: grid; grid-template-columns: 105px 1fr; min-height: 355px; }
.transformation-layout aside { display: grid; align-content: start; gap: 7px; padding: 16px 9px 0 0; border-right: 1px solid rgba(255,255,255,.06); }
.transformation-layout aside span { padding: 8px 9px; border-radius: 8px; color: #6f829a; font-size: .58rem; }
.transformation-layout aside span.active { color: white; background: rgba(237,28,36,.13); }
.transformation-main { padding: 16px 0 0 16px; }
.programme-status { display: flex; justify-content: space-between; align-items: center; padding: 13px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: rgba(255,255,255,.025); }
.programme-status small, .programme-status b { display: block; }
.programme-status small { color: #70839a; font-size: .57rem; }
.programme-status b { margin-top: 4px; color: #45d9a0; font-size: .8rem; }
.progress-ring-small { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#f14149 74%, #1b2b40 0); position: relative; }
.progress-ring-small::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #0c1a2a; }
.progress-ring-small span { position: relative; z-index: 1; font-size: .62rem; font-weight: 800; }
.workstream-grid { display: grid; gap: 8px; margin-top: 10px; }
.workstream-grid > div { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; color: #9cadbf; font-size: .56rem; }
.workstream-grid i { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: #1a2b3f; overflow: hidden; }
.workstream-grid i::after { content: ""; display: block; width: var(--p); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ec2630, #ff6f75); }
.benefit-chart { margin-top: 10px; padding: 11px; border: 1px solid rgba(255,255,255,.06); border-radius: 11px; }
.benefit-chart > span { color: #6f829a; font-size: .55rem; }
.benefit-bars { height: 92px; display: flex; align-items: end; gap: 8px; margin-top: 8px; }
.benefit-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #447dff, #2545a0); }
.floating-card-four { right: -18px; top: 52px; display: block; text-align: center; }
.floating-card-four b { color: #ff747a; font-size: 1.14rem; }

/* Interactive industry gateway */
.industry-gateway { position: relative; padding: 34px 0 28px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.industry-gateway-shell { position: relative; overflow: hidden; display: grid; grid-template-columns: .82fr 1.18fr; min-height: 450px; border: 1px solid rgba(255,255,255,.11); border-radius: 30px; background: linear-gradient(135deg, #07111f 0%, #0c1d31 55%, #171320 100%); color: white; box-shadow: 0 28px 78px rgba(7,17,31,.2); }
.industry-gateway-shell::before { content: ""; position: absolute; width: 330px; height: 330px; right: -150px; top: -190px; border: 55px solid rgba(237,28,36,.09); border-radius: 50%; pointer-events: none; }
.industry-gateway-shell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to left, black, transparent 70%); pointer-events: none; }
.industry-gateway-intro { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 46px 43px; border-right: 1px solid rgba(255,255,255,.09); }
.industry-gateway-intro .eyebrow { color: #ff747a; }
.industry-gateway-intro h2 { margin: 16px 0 16px; max-width: 520px; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.02; letter-spacing: -.048em; }
.industry-gateway-intro > p { margin: 0; max-width: 570px; color: #b9c6d6; font-size: .94rem; line-height: 1.72; }
.industry-gateway-intro .btn { margin-top: 24px; color: white; border-color: rgba(255,255,255,.22); }
.industry-gateway-intro .btn:hover { border-color: white; background: rgba(255,255,255,.07); }
.industry-confidence { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.industry-confidence span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.045); color: #aebdd0; font-size: .64rem; font-weight: 760; }
.industry-confidence i { color: #45d69d; font-style: normal; font-weight: 900; }
.industry-navigator { position: relative; z-index: 2; display: grid; grid-template-columns: 205px 1fr; min-width: 0; }
.industry-tab-list { display: grid; align-content: stretch; padding: 12px 0; border-right: 1px solid rgba(255,255,255,.08); background: rgba(2,9,17,.32); }
.industry-tab-list button { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; min-height: 67px; padding: 10px 18px; border: 0; border-left: 3px solid transparent; background: transparent; color: #8295ac; text-align: left; font-size: .76rem; font-weight: 780; cursor: pointer; transition: color .24s ease, background .24s ease, border-color .24s ease; }
.industry-tab-list button:hover { color: white; background: rgba(255,255,255,.045); }
.industry-tab-list button.active { color: white; border-left-color: var(--brand); background: linear-gradient(90deg, rgba(237,28,36,.13), rgba(255,255,255,.025)); }
.industry-tab-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.045); color: #a9bbcf; font-size: .78rem; transition: .24s ease; }
.industry-tab-list button.active .industry-tab-icon { border-color: rgba(255,107,114,.26); background: rgba(237,28,36,.14); color: #ff747a; }
.industry-panel-wrap { position: relative; display: grid; min-width: 0; padding: 39px 38px; }
.industry-panel { align-self: center; }
.industry-panel.active { animation: industryPanelIn .42s cubic-bezier(.2,.8,.2,1) both; }
@keyframes industryPanelIn { from { opacity: 0; transform: translateY(10px); } }
.industry-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.industry-panel-icon { width: 55px; height: 55px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: linear-gradient(135deg, rgba(237,28,36,.17), rgba(40,100,255,.12)); color: #ff767c; font-size: 1.12rem; box-shadow: inset 0 1px rgba(255,255,255,.08); }
.industry-panel-index { color: #5f748d; font-size: .64rem; font-weight: 850; letter-spacing: .12em; }
.industry-panel h3 { margin: 0 0 12px; font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.05; letter-spacing: -.038em; }
.industry-panel > p { max-width: 620px; margin: 0; color: #afbed0; font-size: .91rem; line-height: 1.72; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 11px; }
.industry-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: rgba(255,255,255,.04); color: #c3cede; font-size: .64rem; font-weight: 730; }
.industry-panel .text-link { color: #ff747a; font-size: .8rem; }

/* Capability cards */
.intro-section { background: linear-gradient(180deg, var(--bg), var(--surface-soft)); }
.assurance-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: -4px 0 24px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface) 91%, transparent); box-shadow: var(--shadow-xs); overflow: hidden; }
.assurance-strip article { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; min-width: 0; padding: 17px 18px; border-right: 1px solid var(--line); }
.assurance-strip article:last-child { border-right: 0; }
.assurance-strip article > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-size: .61rem; font-weight: 900; }
.assurance-strip b, .assurance-strip small { display: block; }
.assurance-strip b { margin-top: 1px; font-size: .76rem; }
.assurance-strip small { margin-top: 3px; color: var(--muted); font-size: .64rem; line-height: 1.45; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.capability-card { position: relative; min-height: 305px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-xs); overflow: hidden; transition: .3s ease; }
.capability-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -70px; bottom: -70px; border-radius: 50%; background: var(--brand-soft); transition: .35s ease; }
.capability-card:hover { transform: translateY(-7px); border-color: rgba(237,28,36,.34); box-shadow: var(--shadow); }
.capability-card:hover::after { transform: scale(1.45); }
.capability-card.featured { background: linear-gradient(145deg, #07111f, #142a43); color: white; border-color: transparent; }
.capability-card.featured p { color: #b7c5d6; }
.capability-card.featured .capability-number { color: #60758e; }
.capability-number { position: absolute; top: 22px; right: 24px; color: #a6b0be; font-size: .71rem; font-weight: 850; letter-spacing: .1em; }
.capability-icon { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 15px; background: var(--brand-soft); color: var(--brand); font-size: 1.16rem; font-weight: 900; }
.capability-card h3 { margin: 20px 0 9px; font-size: 1.25rem; letter-spacing: -.02em; }
.capability-card p { flex: 1; margin: 0; color: var(--muted); font-size: .92rem; }
.capability-card .text-link { position: relative; z-index: 2; font-size: .84rem; }

/* Dark sections and product tabs */
.dark-section { position: relative; overflow: hidden; background: var(--navy); color: white; }
.dark-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 84% 8%, rgba(237,28,36,.11), transparent 27%), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 40px 40px, 40px 40px; pointer-events: none; }
.dark-section > .container { position: relative; z-index: 2; }
.dark-section .lead, .dark-section .muted { color: #b8c5d6; }
.dark-card { color: white; border-color: #1d3149; background: #0c1a2a; }
.product-stage { padding-bottom: 112px; }
.product-showcase { display: grid; grid-template-columns: 290px 1fr; min-height: 565px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: rgba(255,255,255,.035); box-shadow: 0 35px 90px rgba(0,0,0,.28); overflow: hidden; }
.product-tab-list { display: grid; align-content: stretch; border-right: 1px solid rgba(255,255,255,.09); background: rgba(3,10,18,.42); }
.product-tab-list button { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 13px; align-content: center; padding: 22px 24px; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); background: transparent; color: #9fb0c4; text-align: left; cursor: pointer; transition: .25s ease; }
.product-tab-list button:last-child { border-bottom: 0; }
.product-tab-list button::after { content: ""; position: absolute; right: 0; top: 20%; bottom: 20%; width: 3px; border-radius: 3px 0 0 3px; background: var(--brand); transform: scaleY(0); transition: .25s ease; }
.product-tab-list button.active { background: rgba(255,255,255,.055); color: white; }
.product-tab-list button.active::after { transform: scaleY(1); }
.product-tab-list span { grid-row: 1 / span 2; color: #62758d; font-size: .72rem; font-weight: 850; }
.product-tab-list b { font-size: .92rem; }
.product-tab-list small { margin-top: 3px; color: #6f829a; font-size: .67rem; }
.product-panels { position: relative; }
.product-panel { display: none; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; min-height: 565px; padding: 46px; }
.product-panel.active { display: grid; animation: panelIn .45s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateX(12px); } }
.product-label { color: #ff747a; text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 850; }
.product-copy h3 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -.045em; }
.product-copy p { margin: 0; color: #b8c5d6; }
.product-copy ul { display: grid; gap: 9px; margin: 22px 0 26px; padding: 0; list-style: none; color: #d1dbe7; font-size: .88rem; }
.product-copy li { display: flex; gap: 9px; }
.product-copy li::before { content: "✓"; color: #4bdca2; font-weight: 900; }
.product-mock { min-height: 385px; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: #0a1625; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.mock-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mock-top span { color: #ff6b72; font-size: .58rem; font-weight: 850; letter-spacing: .13em; }
.mock-top b { font-size: .67rem; color: #b7c5d6; }
.vault-score { display: grid; grid-template-columns: 1fr 108px; gap: 20px; align-items: center; padding: 22px 0; }
.vault-score small, .vault-score b { display: block; }
.vault-score small { color: #73869e; font-size: .64rem; }
.vault-score b { margin-top: 4px; font-size: 2.4rem; }
.vault-score i { height: 10px; border-radius: 999px; background: #1b2b40; overflow: hidden; }
.vault-score i::after { content: ""; display: block; width: var(--p); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ef242d, #ff757b); }
.vault-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.vault-cards div, .campaign-metrics div { padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.025); }
.vault-cards span, .vault-cards b, .vault-cards small, .campaign-metrics small, .campaign-metrics b { display: block; }
.vault-cards span, .campaign-metrics small { color: #74879e; font-size: .57rem; }
.vault-cards b, .campaign-metrics b { margin-top: 4px; font-size: 1.1rem; }
.vault-cards small { color: #4cdca4; font-size: .52rem; }
.vault-list { display: grid; gap: 7px; margin-top: 13px; }
.vault-list span { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 8px 9px; border-radius: 9px; background: rgba(255,255,255,.025); color: #aebdcd; font-size: .56rem; }
.vault-list i { color: #46d89e; }
.vault-list span:last-child i { color: #f8b13c; }
.vault-list small { color: #6f8298; }
.journey-card { margin-top: 24px; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(40,100,255,.16), rgba(237,28,36,.09)); }
.journey-card small, .journey-card b { display: block; }
.journey-card small { color: #869ab1; font-size: .61rem; }
.journey-card b { margin-top: 5px; font-size: 1.13rem; }
.journey-progress { display: flex; gap: 8px; margin-top: 20px; }
.journey-progress i { flex: 1; height: 6px; border-radius: 99px; background: #23364c; }
.journey-progress i:nth-child(-n+2) { background: #4d82ff; }
.journey-progress i.active { background: var(--brand); }
.session-row { display: flex; gap: 11px; align-items: center; margin-top: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; }
.session-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(40,100,255,.17); color: #7da2ff; font-size: .65rem; font-weight: 850; }
.session-row div { flex: 1; }
.session-row b, .session-row small { display: block; }
.session-row b { font-size: .7rem; }
.session-row small { color: #75889f; font-size: .56rem; }
.session-row em { color: #48d9a0; font-size: .55rem; font-style: normal; }
.journey-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.journey-actions span { padding: 13px; border-radius: 12px; background: rgba(255,255,255,.035); color: #7f92a9; font-size: .57rem; }
.journey-actions b { display: block; margin-top: 5px; color: white; font-size: .65rem; }
.campaign-title { display: flex; justify-content: space-between; align-items: center; margin-top: 23px; }
.campaign-title small, .campaign-title b { display: block; }
.campaign-title small { color: #75889e; font-size: .58rem; }
.campaign-title b { margin-top: 4px; font-size: 1rem; }
.campaign-title em { padding: 5px 9px; border-radius: 99px; background: rgba(16,185,129,.12); color: #4cdca2; font-size: .55rem; font-style: normal; }
.campaign-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 17px; }
.campaign-chart { height: 135px; display: flex; align-items: end; gap: 9px; margin-top: 17px; padding: 12px 14px 0; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; }
.campaign-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #f54c54, #9f131a); }
.health-summary { display: flex; gap: 17px; align-items: center; margin-top: 24px; padding: 18px; border-radius: 16px; background: rgba(14,165,164,.08); }
.health-ring { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#18c5b0 84%, #183047 0); position: relative; }
.health-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #0b1929; }
.health-ring span { position: relative; z-index: 1; font-size: 1.18rem; font-weight: 850; }
.health-summary small, .health-summary b, .health-summary > div:last-child span { display: block; }
.health-summary small { color: #7d91a7; font-size: .58rem; }
.health-summary b { color: #49d9c0; }
.health-summary > div:last-child span { color: #73869b; font-size: .56rem; }
.health-flags { display: grid; gap: 9px; margin-top: 16px; }
.health-flags span { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; color: #a9b9c9; font-size: .61rem; }
.health-flags i { width: 8px; height: 8px; border-radius: 50%; }
.health-flags i.green { background: #45d9a0; }
.health-flags i.amber { background: #f5af38; }
.health-flags i.blue { background: #4d82ff; }
.health-flags b { color: white; font-size: .58rem; }

/* Process */
.process-section { background: var(--surface); }
.delivery-timeline { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 52px; }
.delivery-timeline::before { content: ""; position: absolute; top: 26px; left: 11%; right: 11%; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 8%, var(--line) 92%, transparent); }
.delivery-timeline article { position: relative; z-index: 1; padding: 0 16px; text-align: center; }
.delivery-timeline article > span { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--brand); font-size: .68rem; font-weight: 850; box-shadow: var(--shadow-xs); }
.timeline-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 21px auto 12px; border-radius: 15px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.delivery-timeline h3 { margin: 0 0 8px; font-size: 1.02rem; }
.delivery-timeline p { margin: 0; color: var(--muted); font-size: .84rem; }
.process { display: grid; gap: 18px; }
.process-item { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: start; }
.process-item > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 850; }

/* Testimonials */
.testimonial-section { overflow: hidden; background: linear-gradient(145deg, var(--surface-soft), var(--bg)); }
.testimonial-header { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 38px; }
.testimonial-controls { display: flex; gap: 9px; }
.testimonial-controls button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); cursor: pointer; }
.testimonial-controls button:hover { border-color: var(--brand); color: var(--brand); }
.testimonial-viewport { overflow: hidden; }
.testimonial-track { display: flex; gap: 20px; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.testimonial-card { min-width: calc((100% - 40px) / 3); min-height: 330px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.quote-mark { color: var(--brand); font-family: Georgia, serif; font-size: 4.2rem; line-height: .7; }
.testimonial-card > p { flex: 1; margin: 17px 0 27px; font-size: 1.03rem; line-height: 1.75; color: var(--muted-strong); }
.testimonial-person { display: flex; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial-person > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: .7rem; font-weight: 850; }
.testimonial-person b, .testimonial-person small { display: block; }
.testimonial-person b { font-size: .82rem; }
.testimonial-person small { margin-top: 2px; color: var(--muted); font-size: .67rem; }
.testimonial-disclaimer { margin: 17px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }

/* Insights */
.insight-section { background: var(--surface); }
.insight-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 20px; }
.insight-card { display: grid; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); overflow: hidden; transition: .3s ease; }
.insight-card:hover { transform: translateY(-6px); border-color: rgba(237,28,36,.3); box-shadow: var(--shadow); }
.insight-featured { grid-template-columns: .8fr 1.2fr; }
.insight-art { min-height: 195px; display: grid; place-items: center; background: #0b1727; position: relative; overflow: hidden; }
.insight-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 65% 35%, rgba(40,100,255,.35), transparent 31%), linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.035) 75%); background-size: auto, 30px 30px; }
.insight-art span { position: relative; z-index: 1; width: 75px; height: 75px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 23px; background: rgba(255,255,255,.07); color: white; font-size: 2rem; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.software-art::before { background: radial-gradient(circle at 60% 40%, rgba(237,28,36,.34), transparent 34%), linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.035) 75%); background-size: auto, 30px 30px; }
.ai-art::before { background: radial-gradient(circle at 60% 40%, rgba(14,165,164,.35), transparent 34%), linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.035) 75%); background-size: auto, 30px 30px; }
.insight-copy { padding: 25px; }
.article-meta { color: var(--brand); text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; font-weight: 850; }
.insight-copy h3 { margin: 11px 0 10px; font-size: 1.18rem; line-height: 1.28; letter-spacing: -.02em; }
.insight-featured .insight-copy h3 { font-size: 1.45rem; }
.insight-copy p { margin: 0; color: var(--muted); font-size: .84rem; }

/* CTA */
.pre-footer-cta { padding-bottom: 90px; }
.cta-band { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 38px; padding: 46px; border-radius: 30px; background: linear-gradient(120deg, #ed1c24, #9c0a12); color: white; box-shadow: 0 30px 70px rgba(237,28,36,.24); }
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; right: -85px; top: -160px; border: 55px solid rgba(255,255,255,.08); border-radius: 50%; }
.cta-band > * { position: relative; z-index: 1; }
.cta-kicker { color: #ffd2d4; text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 850; }
.cta-band h2 { max-width: 790px; margin: 7px 0 10px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.06; letter-spacing: -.045em; }
.cta-band p { max-width: 760px; margin: 0; color: #ffe7e8; }
.elevated { box-shadow: 0 34px 90px rgba(237,28,36,.3); }

/* General page heroes */
.page-hero { position: relative; overflow: hidden; padding: 88px 0 78px; background: linear-gradient(140deg, #050d18, #0c2037); color: white; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 83% 22%, rgba(237,28,36,.2), transparent 30%), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 40px 40px, 40px 40px; }
.page-hero::after { content: ""; position: absolute; width: 350px; height: 350px; right: -110px; top: -170px; border: 65px solid rgba(237,28,36,.12); border-radius: 50%; }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 950px; margin: 0 0 18px; font-size: clamp(2.7rem, 5.4vw, 5rem); line-height: 1.01; letter-spacing: -.055em; }
.page-hero h1 span { color: #ff5c64; }
.page-hero p { max-width: 800px; margin: 0; color: #c4d1e1; font-size: 1.12rem; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; margin-bottom: 18px; color: #92a5bc; font-size: .8rem; }
.breadcrumbs a:hover { color: white; }
.kicker { display: inline-block; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 850; }
.kicker-grid { display: grid; gap: 10px; }

/* Contact page */
.contact-hero { padding: 78px 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: center; }
.contact-hero h1 { max-width: 780px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-hero-card { padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 25px; background: rgba(255,255,255,.065); box-shadow: 0 30px 70px rgba(0,0,0,.28); backdrop-filter: blur(14px); }
.contact-card-label { color: #ff858a; text-transform: uppercase; letter-spacing: .13em; font-size: .66rem; font-weight: 850; }
.contact-hero-card h2 { margin: 8px 0 0; font-size: 1.7rem; }
.contact-hero-card > p { color: #9fb0c3; font-size: .86rem; }
.contact-quick-links { display: grid; gap: 9px; margin-top: 22px; }
.contact-quick-links a { display: flex; gap: 12px; align-items: center; padding: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(0,0,0,.12); transition: .2s ease; }
.contact-quick-links a:hover { border-color: rgba(255,255,255,.23); transform: translateX(3px); }
.contact-quick-links > a > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: rgba(237,28,36,.16); color: #ff7b81; font-weight: 850; }
.contact-quick-links small, .contact-quick-links b { display: block; }
.contact-quick-links small { color: #73869c; font-size: .58rem; }
.contact-quick-links b { font-size: .75rem; }
.contact-options { padding: 58px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.contact-option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-option { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: var(--shadow-xs); transition: .25s ease; }
.contact-option:hover { border-color: rgba(237,28,36,.35); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.option-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.contact-option small { color: var(--brand); text-transform: uppercase; letter-spacing: .09em; font-size: .58rem; font-weight: 850; }
.contact-option h3 { margin: 3px 0; font-size: .98rem; }
.contact-option p { margin: 0; color: var(--muted); font-size: .72rem; }
.contact-option > b { color: var(--brand); }
.consultation-section { background: linear-gradient(180deg, var(--bg), var(--surface-soft)); }
.consultation-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; align-items: start; }
.consultation-intro { position: sticky; top: 120px; }
.consultation-benefits { display: grid; gap: 15px; margin-top: 30px; }
.consultation-benefits > div { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.consultation-benefits > div > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: .66rem; font-weight: 850; }
.consultation-benefits p { margin: 0; }
.consultation-benefits b, .consultation-benefits small { display: block; }
.consultation-benefits b { font-size: .88rem; }
.consultation-benefits small { margin-top: 3px; color: var(--muted); font-size: .74rem; }
.response-note { display: flex; gap: 12px; align-items: center; margin-top: 26px; padding: 16px; border: 1px solid rgba(16,185,129,.23); border-radius: 15px; background: rgba(16,185,129,.07); }
.response-note i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(16,185,129,.1); }
.response-note b, .response-note span { display: block; }
.response-note b { font-size: .77rem; }
.response-note span { color: var(--muted); font-size: .69rem; }

/* Forms */
.form-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted-strong); font-size: .78rem; font-weight: 800; }
.field label > span { color: var(--brand); }
.field input:not([type="checkbox"]):not([type="radio"]):not(.file-input),
.field select,
.field textarea,
.newsletter-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 145px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus, .newsletter-form input:not([type="checkbox"]):focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40,100,255,.1); background: var(--surface); }
.field input::placeholder, .field textarea::placeholder, .newsletter-form input:not([type="checkbox"])::placeholder { color: #98a2b3; }
.input-shell { display: grid; grid-template-columns: 36px 1fr; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: .2s ease; overflow: hidden; }
.input-shell:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40,100,255,.1); background: var(--surface); }
.input-shell > span { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .78rem; font-weight: 760; }
.input-shell input:not([type="checkbox"]):not([type="radio"]), .input-shell select { min-height: 51px; padding: 12px 14px 12px 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.input-shell select { width: 100%; }
.field-error { display: none; color: var(--danger); font-size: .68rem; }
.field.invalid .field-error { display: block; }
.field.invalid .input-shell, .field.invalid > textarea, .field.invalid .choice-grid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220,38,38,.08); }
.checkbox { display: flex !important; align-items: flex-start; gap: 10px; color: var(--muted) !important; font-weight: 600 !important; }
.checkbox input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; accent-color: var(--brand); }
.checkbox a { color: var(--brand); text-decoration: underline; }
.professional-consent { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.result-box { display: none; padding: 15px 17px; border: 1px solid rgba(16,185,129,.24); border-radius: 12px; background: rgba(16,185,129,.08); color: var(--muted-strong); font-size: .82rem; }
.result-box.show { display: block; }
.form-wizard { padding: 0; overflow: hidden; }
.wizard-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 28px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--surface-soft)); }
.wizard-head span, .wizard-head b { display: block; }
.wizard-head > div > span { color: var(--brand); text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; font-weight: 850; }
.wizard-head > div > b { margin-top: 4px; font-size: 1.04rem; }
.wizard-step-count { color: var(--muted); font-size: .78rem; }
.wizard-step-count b { display: inline; color: var(--text); }
.wizard-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 0 28px; background: var(--surface); }
.wizard-progress i { height: 4px; border-radius: 999px; background: var(--line); transition: background .25s ease; }
.wizard-progress i.active { background: var(--brand); }
.wizard-panel { display: none; min-height: 490px; margin: 0; padding: 28px; border: 0; animation: wizardIn .35s ease both; }
.wizard-panel.active { display: block; }
@keyframes wizardIn { from { opacity: 0; transform: translateX(12px); } }
.wizard-panel legend { padding: 0; font-size: 1.42rem; font-weight: 820; letter-spacing: -.02em; }
.wizard-panel > p { margin: 2px 0 24px; color: var(--muted); font-size: .83rem; }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; padding: 20px 28px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.wizard-actions .wizard-next, .wizard-actions .wizard-submit { margin-left: auto; }
.form-wizard > .result-box { margin: 0 28px 22px; }
.form-security-note { display: flex; gap: 9px; align-items: flex-start; margin: 0; padding: 15px 28px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .65rem; }
.choice-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.choice-card { position: relative; min-height: 118px; display: flex !important; flex-direction: column; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; transition: .2s ease; }
.choice-card:hover { border-color: rgba(237,28,36,.35); }
.choice-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(237,28,36,.08); }
.choice-card input { position: absolute; opacity: 0; }
.choice-card > span { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 9px; background: var(--surface); color: var(--brand); }
.choice-card b { font-size: .77rem; }
.choice-card small { margin-top: 2px; color: var(--muted); font-size: .62rem; line-height: 1.35; }
.field-helper { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .64rem; }
.file-upload { min-height: 78px; display: flex !important; align-items: center; gap: 13px; padding: 13px; border: 1px dashed #a9b4c3; border-radius: 13px; background: var(--bg); cursor: pointer; }
.file-upload:hover { border-color: var(--brand); background: var(--brand-soft); }
.file-upload > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: var(--surface); color: var(--brand); }
.file-upload b, .file-upload small { display: block; }
.file-upload b { color: var(--text); font-size: .75rem; }
.file-upload small { color: var(--muted); font-size: .61rem; }
.file-input { position: absolute; opacity: 0; pointer-events: none; }
.file-name { color: var(--muted); font-size: .64rem; }

/* Estimator */
.estimator-section { padding-top: 94px; }
.project-estimator { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: stretch; margin-top: 40px; }
.professional-estimator { border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.035); overflow: hidden; }
.estimator-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; }
.estimator-step { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 24px; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.estimator-step:nth-child(2n) { border-right: 0; }
.estimator-step:nth-child(n+3) { border-bottom: 0; }
.estimator-step > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: rgba(237,28,36,.16); color: #ff747b; font-size: .63rem; font-weight: 850; }
.estimator-step label { color: #b8c5d5; }
.estimator-step select { border-color: rgba(255,255,255,.11); background: #0c1a2a; color: white; }
.estimate-panel { display: flex; flex-direction: column; justify-content: center; padding: 34px; background: linear-gradient(145deg, #ed1c24, #9c0a12); color: white; }
.estimate-panel .product-tag { color: #ffd2d4; }
.estimate-price { margin: 13px 0 10px; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -.05em; font-weight: 850; }
.estimate-panel p { margin: 0 0 24px; color: #ffe0e1; font-size: .76rem; }

/* Office section */
.office-section { background: var(--surface); }
.office-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.office-map, .map-card { position: relative; min-height: 420px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #0a1726; box-shadow: var(--shadow); }
.map-network, .map-card::before { position: absolute; inset: -15%; content: ""; background: linear-gradient(rgba(80,129,163,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(80,129,163,.12) 1px, transparent 1px); background-size: 34px 34px; transform: perspective(500px) rotateX(58deg) scale(1.4); transform-origin: center bottom; }
.office-map::after { content: "WESTLANDS"; position: absolute; right: 8%; top: 11%; color: rgba(255,255,255,.05); font-size: 4rem; font-weight: 900; letter-spacing: .05em; }
.office-pin, .map-pin { position: absolute; left: 47%; top: 43%; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; background: var(--brand); transform: rotate(-45deg); box-shadow: 0 0 0 13px rgba(237,28,36,.13), 0 18px 40px rgba(237,28,36,.35); }
.office-pin i, .map-pin::after { content: ""; width: 15px; height: 15px; border-radius: 50%; background: white; }
.office-pin i { transform: rotate(45deg); }
.map-label { position: absolute; left: 50%; top: 60%; padding: 13px 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(7,17,31,.85); color: white; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.map-label b, .map-label small { display: block; }
.map-label b { font-size: .79rem; }
.map-label small { color: #8396ac; font-size: .62rem; }
.office-details, .contact-list { display: grid; gap: 12px; margin-top: 25px; }
.office-details > div, .contact-item { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.office-details > div > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 850; }
.office-details p { margin: 0; }
.office-details b, .office-details small { display: block; }
.office-details b { font-size: .84rem; }
.office-details small { color: var(--muted); font-size: .73rem; }

/* Legacy components */
.stat-strip { margin-top: -34px; position: relative; z-index: 3; }
.stat-strip .card { display: grid; grid-template-columns: repeat(4,1fr); padding: 0; overflow: hidden; }
.stat { padding: 24px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.5rem; }
.stat span { color: var(--muted); font-size: .86rem; }
.service-card h3, .product-card h3 { margin: 18px 0 8px; font-size: 1.23rem; }
.service-card p, .product-card p { color: var(--muted); }
.product-card { position: relative; overflow: hidden; }
.product-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 125px; height: 125px; border-radius: 50%; background: radial-gradient(circle, rgba(237,28,36,.18), transparent 70%); }
.product-tag { color: var(--brand); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 850; }
.feature-list { display: grid; gap: 11px; margin: 20px 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list li::before { content: "✓"; color: var(--green); font-weight: 900; }
.metric-card { display: flex; flex-direction: column; gap: 8px; }
.metric-card strong { font-size: 2rem; }
.logo-cloud { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.logo-chip { min-height: 82px; display: grid; place-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); font-weight: 820; text-align: center; }
.dashboard { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.dashboard-top { display: flex; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dashboard-grid { display: grid; grid-template-columns: 170px 1fr; min-height: 330px; }
.dash-side { padding: 18px; border-right: 1px solid var(--line); background: var(--surface-soft); }
.dash-menu { display: grid; gap: 7px; }
.dash-menu span { padding: 8px 10px; border-radius: 9px; color: var(--muted); font-size: .72rem; }
.dash-menu span.active { color: var(--brand); background: var(--brand-soft); }
.dash-main { padding: 22px; }
.dash-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.dash-card { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.dash-card small, .dash-card strong { display: block; }
.dash-card small { color: var(--muted); }
.dash-card strong { margin-top: 5px; font-size: 1.25rem; }
.mini-chart { height: 150px; display: flex; align-items: end; gap: 7px; padding-top: 20px; }
.mini-chart i { flex: 1; display: block; border-radius: 7px 7px 2px 2px; background: linear-gradient(180deg, var(--blue), #123d96); }
.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.tab { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 760; cursor: pointer; }
.tab.active { border-color: var(--brand); background: var(--brand); color: white; }
.filterable.hidden { display: none; }
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 0; background: transparent; color: var(--text); text-align: left; font-weight: 800; cursor: pointer; }
.faq-q::after { content: "+"; color: var(--brand); font-size: 1.2rem; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 20px 19px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.data-table th, .data-table td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { background: var(--surface-soft); font-size: .78rem; }
.data-table td { color: var(--muted); font-size: .82rem; }
.option-row { display: flex; gap: 10px; flex-wrap: wrap; }
.question { padding: 17px; border: 1px solid var(--line); border-radius: 14px; }
.question > strong { display: block; margin-bottom: 11px; }
.score-card { display: grid; gap: 18px; }
.status-line { display: flex; justify-content: space-between; align-items: center; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-soft); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #ff6f75); }
.soc-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; }
.soc-panel { padding: 18px; border: 1px solid rgba(255,255,255,.07); border-radius: 18px; background: #091626; }
.soc-title { color: #93a8c4; font-size: .82rem; }
.soc-number { margin-top: 7px; font-size: 2rem; font-weight: 850; }
.activity { display: grid; gap: 10px; }
.visual-shell { padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: rgba(255,255,255,.065); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.visual-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 5px 16px; color: #c8d4e3; font-size: .85rem; }
.dots { display: flex; gap: 7px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

/* Footer and newsletter */
.site-footer { position: relative; background: #050c15; color: white; }
.footer-newsletter { padding: 0 0 44px; background: linear-gradient(180deg, var(--bg) 0, var(--bg) 50%, #050c15 50%); }
.newsletter-shell { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: center; padding: 29px 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: linear-gradient(135deg, #0b1a2d, #121727 58%, #2a0c13); box-shadow: 0 24px 58px rgba(0,0,0,.22); }
.newsletter-shell::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; top: -125px; border: 45px solid rgba(237,28,36,.12); border-radius: 50%; }
.newsletter-copy, .newsletter-form { position: relative; z-index: 1; }
.newsletter-copy h2 { margin: 7px 0 5px; font-size: clamp(1.55rem, 2.8vw, 2.2rem); line-height: 1.08; letter-spacing: -.04em; }
.newsletter-copy p { margin: 0; color: #aebdd0; font-size: .8rem; }
.newsletter-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.newsletter-form input:not([type="checkbox"]) { min-height: 50px; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.07); color: white; }
.newsletter-form input:not([type="checkbox"])::placeholder { color: #8092aa; }
.newsletter-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; color: #8092aa; font-size: .59rem; }
.newsletter-consent input { flex: 0 0 auto; width: 15px; height: 15px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--brand); }
.newsletter-form .result-box { margin-top: 11px; border-color: rgba(74,222,163,.2); background: rgba(74,222,163,.08); color: #ccebdd; }
.footer-main { padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr .9fr; gap: 48px; padding: 6px 0 46px; }
.footer-logo { width: 185px; height: 72px; object-fit: contain; object-position: left center; display: block !important; }
.footer-brand-col > p { max-width: 390px; color: #8fa0b4; font-size: .84rem; }
.footer-contact-lines { display: grid; gap: 4px; margin-top: 18px; color: #b9c5d4; font-size: .76rem; }
.footer-grid h4 { margin: 7px 0 15px; color: white; font-size: .84rem; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #8fa0b4; font-size: .78rem; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: white; transform: translateX(3px); }
.footer-meta { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-badges, .footer-legal { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-badges span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #8496ac; font-size: .62rem; }
.footer-legal a { color: #8496ac; font-size: .7rem; }
.footer-legal a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.08); color: #667b93; font-size: .67rem; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); cursor: pointer; transition: .25s ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.toast { position: fixed; z-index: 200; right: 22px; bottom: 80px; max-width: 370px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: #07111f; color: white; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; font-size: .78rem; }
.toast.show { opacity: 1; visibility: visible; transform: none; }

/* Reveal animations */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .72s ease, transform .72s ease; }
.js [data-reveal].revealed { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1160px) {
  :root { --container: min(100% - 34px, 1100px); }
  .main-nav { gap: 0; }
  .nav-link { padding-inline: 8px; font-size: .84rem; }
  .nav-link::after { left: 8px; right: 8px; }
  .brand, .brand img { width: 150px; }
  .nav-cta { padding-inline: 13px; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(2.8rem, 5.2vw, 4.7rem); }
  .hero-grid { gap: 34px; }
  .product-panel { padding: 38px; }
  .choice-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 980px) {
  .topbar-location { display: none; }
  .nav-cta, .search-btn { display: none; }
  .menu-btn { display: grid; }
  .main-nav {
    position: fixed;
    inset: calc(38px + var(--header-h)) 0 0;
    z-index: 81;
    display: block;
    padding: 16px 18px 80px;
    background: var(--surface);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.open { transform: none; }
  .nav-item { display: block; }
  .nav-link { width: 100%; min-height: 52px; justify-content: space-between; padding: 0 10px; border-bottom: 1px solid var(--line); font-size: .94rem; }
  .nav-link::after { display: none; }
  .mega-menu, .dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--surface-soft);
    opacity: 1;
    visibility: visible;
    transform: none !important;
    pointer-events: auto;
  }
  .has-dropdown:hover > .mega-menu, .has-dropdown:hover > .dropdown-menu { display: none; }
  .has-dropdown.open > .mega-menu, .has-dropdown.open > .dropdown-menu { display: grid; }
  .mega-intro, .mega-feature { display: none; }
  .mega-column, .mega-products { padding: 0; }
  .mega-heading { padding-top: 12px; }
  .dropdown-menu { right: auto; }
  .hero-slider, .hero-slides { min-height: auto; }
  .hero-slide { min-height: 760px; padding-top: 72px; }
  .hero-slide.active { position: relative; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-copy h1, .hero-copy h2 { max-width: 800px; }
  .hero-visual { display: none; }
  .hero-controls { bottom: 24px; }
  .industry-gateway-shell { grid-template-columns: 1fr; }
  .industry-gateway-intro { padding: 38px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .industry-navigator { grid-template-columns: 190px 1fr; }
  .assurance-strip { grid-template-columns: repeat(2,1fr); }
  .assurance-strip article:nth-child(2) { border-right: 0; }
  .assurance-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-heading, .split, .page-hero-grid, .consultation-layout, .office-grid { grid-template-columns: 1fr; gap: 38px; }
  .capability-grid { grid-template-columns: repeat(2,1fr); }
  .product-showcase { grid-template-columns: 1fr; }
  .product-tab-list { grid-template-columns: repeat(4,1fr); border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .product-tab-list button { min-height: 96px; padding: 15px; border-right: 1px solid rgba(255,255,255,.07); border-bottom: 0; }
  .product-tab-list button::after { top: auto; left: 20%; right: 20%; bottom: 0; width: auto; height: 3px; transform: scaleX(0); }
  .product-tab-list button.active::after { transform: scaleX(1); }
  .product-panel { grid-template-columns: 1fr; }
  .delivery-timeline { grid-template-columns: repeat(2,1fr); row-gap: 40px; }
  .delivery-timeline::before { display: none; }
  .testimonial-card { min-width: calc((100% - 20px) / 2); }
  .insight-grid { grid-template-columns: repeat(2,1fr); }
  .insight-featured { grid-column: 1 / -1; }
  .contact-option-grid { grid-template-columns: 1fr; }
  .consultation-intro { position: static; }
  .newsletter-shell { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .logo-cloud { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 720px) {
  :root { --container: calc(100% - 28px); --header-h: 70px; }
  .topbar-contact a:first-child { display: none; }
  .topbar-links { gap: 12px; }
  .availability { font-size: .7rem; }
  .brand, .brand img { width: 136px; height: 48px; }
  .theme-btn { display: none; }
  .main-nav { top: calc(38px + var(--header-h)); }
  .section { padding: 78px 0; }
  .section-sm { padding: 50px 0; }
  .section-title { font-size: clamp(2rem, 9vw, 3.1rem); }
  .hero-slide { min-height: 720px; padding: 62px 0 105px; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .hero-copy p { font-size: 1rem; }
  .hero-proof { gap: 12px; }
  .hero-arrows button[data-slide-pause] { display: none; }
  .industry-gateway { padding: 22px 0 18px; }
  .industry-gateway-shell { min-height: 0; border-radius: 23px; }
  .industry-gateway-intro { padding: 29px 23px; }
  .industry-gateway-intro h2 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .industry-navigator { grid-template-columns: 1fr; }
  .industry-tab-list { display: flex; gap: 8px; padding: 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); overflow-x: auto; scrollbar-width: none; }
  .industry-tab-list::-webkit-scrollbar { display: none; }
  .industry-tab-list button { flex: 0 0 auto; grid-template-columns: 30px auto; min-height: 48px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.08); border-left-width: 1px; border-radius: 12px; white-space: nowrap; }
  .industry-tab-list button.active { border-color: rgba(255,107,114,.35); }
  .industry-tab-icon { width: 29px; height: 29px; }
  .industry-panel-wrap { padding: 29px 23px 32px; }
  .industry-panel-head { margin-bottom: 20px; }
  .industry-confidence { gap: 7px; }
  .assurance-strip { grid-template-columns: 1fr; }
  .assurance-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .assurance-strip article:last-child { border-bottom: 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 275px; }
  .product-tab-list { grid-template-columns: repeat(2,1fr); }
  .product-tab-list button { min-height: 84px; }
  .product-panel { min-height: auto; padding: 28px 20px 24px; }
  .product-mock { display: none; }
  .delivery-timeline { grid-template-columns: 1fr; gap: 30px; }
  .testimonial-header { align-items: center; }
  .testimonial-card { min-width: 100%; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-featured { grid-column: auto; grid-template-columns: 1fr; }
  .insight-art { min-height: 180px; }
  .cta-band { display: grid; padding: 32px 24px; }
  .page-hero { padding: 68px 0 62px; }
  .page-hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .contact-hero-card { padding: 21px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .wizard-panel { min-height: auto; padding: 23px 20px; }
  .wizard-head, .wizard-actions { padding-inline: 20px; }
  .wizard-progress { padding-inline: 20px; }
  .form-wizard > .result-box { margin-inline: 20px; }
  .form-security-note { padding-inline: 20px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .field-helper { display: grid; }
  .project-estimator { grid-template-columns: 1fr; }
  .estimator-form { grid-template-columns: 1fr; }
  .estimator-step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08) !important; }
  .estimator-step:last-child { border-bottom: 0 !important; }
  .office-map, .map-card { min-height: 340px; }
  .map-label { left: 20px; right: 20px; top: auto; bottom: 20px; }
  .newsletter-shell { padding: 24px 19px; }
  .newsletter-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-meta, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .logo-cloud { grid-template-columns: repeat(2,1fr); }
  .stat-strip { margin-top: 0; }
  .stat-strip .card { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .dash-menu { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 460px) {
  .topbar-contact .incident-link { display: none; }
  .topbar-inner { justify-content: center; }
  .hero-dots button { width: 24px; }
  .hero-dots button.active { width: 40px; }
  .hero-proof span { width: 100%; }
  .choice-grid { grid-template-columns: 1fr; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: auto; }
  .stat-strip .card { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Refined horizontal logo lock-up */
.brand { width: auto; min-width: 188px; gap: 10px; }
.brand .brand-mark { width: 43px; height: 49px; object-fit: contain; flex: 0 0 43px; }
.brand-wordmark { display: grid; line-height: 1; }
.brand-wordmark b { color: var(--text); font-size: 1.02rem; letter-spacing: .11em; font-weight: 900; white-space: nowrap; }
.brand-wordmark small { margin-top: 6px; color: var(--brand); font-size: .55rem; letter-spacing: .06em; font-weight: 800; white-space: nowrap; }
.footer-brand-lockup { display: inline-flex; align-items: center; gap: 11px; }
.footer-brand-lockup img { width: 48px; height: 55px; object-fit: contain; }
.footer-brand-lockup span { display: grid; line-height: 1; }
.footer-brand-lockup b { color: white; font-size: 1.08rem; letter-spacing: .12em; font-weight: 900; }
.footer-brand-lockup small { margin-top: 6px; color: var(--brand); font-size: .57rem; letter-spacing: .06em; font-weight: 800; }
@media (max-width: 1160px) {
  .brand { min-width: 166px; }
  .brand .brand-mark { width: 38px; height: 44px; flex-basis: 38px; }
  .brand-wordmark b { font-size: .9rem; }
  .brand-wordmark small { font-size: .5rem; }
}
@media (max-width: 720px) {
  .brand { min-width: 160px; }
  .brand .brand-mark { width: 36px; height: 42px; flex-basis: 36px; }
  .brand-wordmark b { font-size: .87rem; }
}
/* ===== Homepage assurance + industry refinement (July 2026) ===== */
.assurance-band {
  position: relative;
  z-index: 4;
  padding: 0 0 30px;
  background: #07111f;
}
.assurance-band::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255,255,255,.08);
}
.assurance-strip-home {
  margin: 0;
  border-color: rgba(255,255,255,.12);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13,31,51,.98), rgba(9,22,38,.98));
  color: white;
  box-shadow: 0 20px 48px rgba(0,0,0,.22);
}
.assurance-strip-home article {
  padding: 18px 20px;
  border-color: rgba(255,255,255,.09);
}
.assurance-strip-home article > span {
  background: rgba(237,28,36,.14);
  box-shadow: inset 0 0 0 1px rgba(255,104,111,.08);
}
.assurance-strip-home b { color: #f7f9fc; }
.assurance-strip-home small { color: #9eafc4; }

.industry-showcase {
  overflow: hidden;
  padding: 92px 0 98px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 12%, rgba(237,28,36,.07), transparent 24%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.industry-showcase::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -230px;
  top: 90px;
  border: 70px solid rgba(237,28,36,.035);
  border-radius: 50%;
  pointer-events: none;
}
.industry-showcase-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}
.industry-showcase-copy { max-width: 830px; }
.industry-showcase-copy h2 {
  margin: 13px 0 14px;
  max-width: 800px;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.industry-showcase-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.industry-mosaic {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.industry-card {
  --sector-accent: var(--brand);
  position: relative;
  grid-column: span 3;
  min-height: 282px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-xs);
  transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .32s ease, box-shadow .32s ease;
}
.industry-card::before {
  content: "";
  position: absolute;
  left: 25px;
  right: 25px;
  top: 0;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, var(--sector-accent), transparent 82%);
  transform: scaleX(.38);
  transform-origin: left;
  transition: transform .32s ease;
}
.industry-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -115px;
  bottom: -120px;
  border: 34px solid color-mix(in srgb, var(--sector-accent) 12%, transparent);
  border-radius: 50%;
  transition: transform .4s ease;
}
.industry-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--sector-accent) 34%, var(--line));
  box-shadow: var(--shadow);
}
.industry-card:hover::before { transform: scaleX(1); }
.industry-card:hover::after { transform: scale(1.18); }
.industry-card-featured {
  grid-column: span 6;
  min-height: 350px;
  padding: 30px;
  color: white;
  border-color: rgba(255,255,255,.1);
  background:
    linear-gradient(140deg, rgba(255,255,255,.025), transparent 45%),
    linear-gradient(145deg, #07111f 0%, #0d2035 64%, #171621 100%);
  box-shadow: 0 26px 64px rgba(7,17,31,.16);
}
.industry-card-featured::after { border-color: color-mix(in srgb, var(--sector-accent) 17%, transparent); }
.industry-card-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.industry-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--sector-accent) 30%, var(--line));
  border-radius: 15px;
  background: color-mix(in srgb, var(--sector-accent) 10%, var(--surface));
  color: var(--sector-accent);
  font-size: 1rem;
  font-weight: 900;
}
.industry-card-featured .industry-card-icon {
  border-color: rgba(255,255,255,.12);
  background: color-mix(in srgb, var(--sector-accent) 18%, transparent);
}
.industry-card-index { color: var(--muted); font-size: .67rem; font-weight: 900; letter-spacing: .16em; }
.industry-card-featured .industry-card-index { color: #6f8299; }
.industry-card-body { position: relative; z-index: 2; flex: 1; margin-top: 28px; }
.industry-card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--sector-accent);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.industry-card h3 { margin: 0; font-size: 1.35rem; line-height: 1.18; letter-spacing: -.025em; }
.industry-card-featured h3 { max-width: 580px; font-size: clamp(1.65rem, 2.8vw, 2.45rem); line-height: 1.08; }
.industry-card p { margin: 13px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.68; }
.industry-card-featured p { max-width: 650px; color: #afbed0; font-size: .91rem; }
.industry-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.industry-card-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #c6d1df;
  font-size: .62rem;
  font-weight: 750;
}
.industry-card-link {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: .76rem;
  font-weight: 850;
}
.industry-card-featured .industry-card-link { border-color: rgba(255,255,255,.09); color: white; }
.industry-card-link b { color: var(--sector-accent); font-size: .95rem; transition: transform .25s ease; }
.industry-card:hover .industry-card-link b { transform: translate(3px,-2px); }
.sector-government { --sector-accent: #ff5159; }
.sector-finance { --sector-accent: #4e86ff; }
.sector-health { --sector-accent: #12b981; }
.sector-education { --sector-accent: #f59e0b; }
.sector-mining { --sector-accent: #d97706; }
.sector-professional { --sector-accent: #8b5cf6; }
.industry-showcase-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 24px;
  padding: 18px 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface) 93%, transparent);
  box-shadow: var(--shadow-xs);
}
.industry-showcase-foot span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-strong); font-size: .72rem; font-weight: 750; }
.industry-showcase-foot i { color: var(--green); font-style: normal; }
.industry-showcase-foot a { margin-left: auto; color: var(--brand); font-size: .76rem; font-weight: 850; }

.intro-section { padding-top: 94px; }
.intro-section .section-heading { margin-bottom: 34px; }

@media (max-width: 980px) {
  .industry-showcase-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .industry-showcase-head .btn { justify-self: start; }
  .industry-card { grid-column: span 6; }
  .industry-card-featured { min-height: 335px; }
}

@media (max-width: 720px) {
  .assurance-band { padding-bottom: 22px; }
  .assurance-strip-home { grid-template-columns: repeat(2, minmax(0,1fr)); border-radius: 17px; }
  .assurance-strip-home article { padding: 15px; }
  .assurance-strip-home article:nth-child(2) { border-right: 0; }
  .assurance-strip-home article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .assurance-strip-home small { font-size: .61rem; }
  .industry-showcase { padding: 72px 0 76px; }
  .industry-showcase-copy h2 { font-size: clamp(2.15rem, 10.5vw, 3.25rem); }
  .industry-mosaic { grid-template-columns: 1fr; }
  .industry-card, .industry-card-featured { grid-column: auto; min-height: 0; padding: 23px; }
  .industry-card-featured { min-height: 340px; }
  .industry-card-body { margin-top: 23px; }
  .industry-card-featured h3 { font-size: 1.85rem; }
  .industry-showcase-foot { align-items: flex-start; }
  .industry-showcase-foot a { width: 100%; margin-left: 0; padding-top: 5px; }
  .intro-section { padding-top: 76px; }
}

@media (max-width: 460px) {
  .assurance-strip-home { grid-template-columns: 1fr; }
  .assurance-strip-home article,
  .assurance-strip-home article:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .assurance-strip-home article:last-child { border-bottom: 0; }
  .industry-card-featured { min-height: 360px; }
  .industry-card-tags { gap: 6px; }
}

/* Production backend form states */
.result-box.error { border-color: rgba(239,35,60,.4); background: rgba(239,35,60,.1); color: #ffd7dc; }
button[aria-busy="true"], button:disabled { cursor: wait; opacity: .72; }
.form-honeypot { pointer-events: none !important; }
