/* =========================================================
   GUIA — Landing page premium
   ========================================================= */

:root {
  --ink: #06142f;
  --ink-2: #0c1f3d;
  --ink-3: #172a44;
  --muted: #5c7188;
  --muted-light: rgba(226, 238, 250, 0.72);
  --blue: #0f5f9f;
  --blue-2: #0b78c8;
  --cyan: #38bdf8;
  --cyan-soft: #dff7ff;
  --white: #ffffff;
  --paper: #f6faff;
  --paper-2: #eef7ff;
  --line: rgba(9, 35, 68, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-dark: rgba(10, 26, 51, 0.6);
  --green: #11a56b;
  --yellow: #dd9d16;
  --red: #de4358;
  --shadow-sm: 0 1px 2px rgba(13, 40, 74, 0.07), 0 14px 30px rgba(13, 40, 74, 0.12);
  --shadow-md: 0 2px 5px rgba(13, 40, 74, 0.08), 0 30px 68px rgba(11, 60, 110, 0.18);
  --shadow-lg: 0 40px 100px rgba(6, 20, 47, 0.22);
  --glow-shadow: 0 22px 50px rgba(15, 95, 159, 0.32);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.16, 0.8, 0.28, 1);
  --gradient-brand: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 55%, var(--cyan) 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-3);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: rgba(56, 189, 248, 0.32);
  color: var(--ink);
}

.container-pad {
  padding-inline: clamp(1.25rem, 5vw, 4.5rem);
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 100;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  transition: width 0.08s linear;
}

/* ---------- Grain texture ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Kicker / headings ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.9rem;
  color: var(--blue);
  background: rgba(15, 95, 159, 0.08);
  border: 1px solid rgba(15, 95, 159, 0.16);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.kicker-light {
  color: var(--cyan-soft);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--white);
  text-wrap: balance;
}

h2 {
  max-width: 760px;
  margin-bottom: 1.05rem;
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.32rem;
  font-weight: 780;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.68;
}

.lead {
  max-width: 560px;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--muted-light);
}

.text-gradient {
  background: linear-gradient(100deg, var(--cyan) 0%, #8fe3ff 45%, var(--white) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3.6rem;
  text-align: center;
}

.section-head h2,
.section-head p {
  margin-left: auto;
  margin-right: auto;
}

.section-head p {
  font-size: 1.08rem;
}

section {
  position: relative;
  padding: clamp(4.6rem, 9vw, 7.6rem) clamp(1.25rem, 5vw, 4.5rem);
}

section > * {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Soft background depth for light sections so they don't read as flat panels */
.transform-section,
.flow-section,
.product-section,
.security-section,
.roles-section {
  overflow: hidden;
}

.transform-section::before,
.flow-section::before,
.product-section::before,
.security-section::before,
.roles-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(4px);
}

.transform-section::before {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -180px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 70%);
}

.flow-section::before {
  width: 560px;
  height: 560px;
  bottom: -240px;
  left: -160px;
  background: radial-gradient(circle, rgba(15, 95, 159, 0.14), transparent 70%);
}

.product-section::before {
  width: 640px;
  height: 640px;
  top: -260px;
  left: -200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 70%);
}

.security-section::before {
  width: 560px;
  height: 560px;
  bottom: -220px;
  right: -180px;
  background: radial-gradient(circle, rgba(15, 95, 159, 0.14), transparent 70%);
}

.roles-section::before {
  width: 560px;
  height: 560px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.13), transparent 70%);
}

/* ---------- Buttons ---------- */

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.5rem;
  min-height: 54px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 820;
  font-size: 1rem;
  background: var(--gradient-brand);
  box-shadow: var(--glow-shadow);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), filter 0.32s var(--ease);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 64px rgba(15, 95, 159, 0.42);
  filter: brightness(1.05);
}

.cta-button .icn {
  width: 18px;
  height: 18px;
  transition: transform 0.32s var(--ease);
}

.cta-button:hover .icn {
  transform: translateX(3px);
}

.cta-large {
  min-height: 60px;
  padding: 0 1.9rem;
  font-size: 1.06rem;
}

.cta-small {
  min-height: 42px;
  padding: 0 1.15rem;
  font-size: 0.88rem;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 1.5rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 0.28s ease, transform 0.28s var(--ease), background 0.28s ease;
}

.ghost-button:hover {
  border-color: var(--blue-2);
  transform: translateY(-3px);
  background: var(--white);
}

.ghost-light {
  color: var(--white);
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.06);
}

.ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.6rem;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.4rem;
  padding: 0.5rem 0.6rem 0.5rem 1.15rem;
  background: var(--glass-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(2, 10, 24, 0.35);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: nowrap;
}

.main-nav a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: rgba(226, 238, 250, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.24s ease, background 0.24s ease;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a.nav-active {
  color: var(--white);
  background: rgba(56, 189, 248, 0.18);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ghost-link {
  color: rgba(226, 238, 250, 0.82);
  font-weight: 750;
  font-size: 0.9rem;
  padding: 0.5rem 0.2rem;
  transition: color 0.24s ease;
}

.ghost-link:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 78px;
  left: 1rem;
  right: 1rem;
  z-index: 79;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--glass-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(2, 10, 24, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  padding: 0.8rem 0.7rem;
  border-radius: 12px;
  color: rgba(226, 238, 250, 0.86);
  font-weight: 700;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.mobile-nav .cta-button {
  justify-content: center;
  margin-top: 0.4rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(8rem, 14vw, 10.5rem);
  padding-bottom: 0;
  background: radial-gradient(circle at 18% 8%, #0d2c52 0%, transparent 46%),
    radial-gradient(circle at 86% 0%, #0a3a5c 0%, transparent 42%),
    linear-gradient(180deg, #050f22 0%, var(--ink) 46%, #061733 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.glow-a {
  width: 640px;
  height: 640px;
  top: -160px;
  right: -140px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 68%);
  animation: drift-a 16s ease-in-out infinite;
}

.glow-b {
  width: 520px;
  height: 520px;
  bottom: -220px;
  left: -160px;
  background: radial-gradient(circle, rgba(15, 95, 159, 0.5), transparent 68%);
  animation: drift-b 18s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(24px, -24px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 0%, transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-copy .lead {
  margin-bottom: 1.9rem;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.86rem;
  color: rgba(226, 238, 250, 0.55);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  padding: 2rem 1.5rem;
  perspective: 1400px;
}

.device-glow {
  position: absolute;
  inset: 6% 8%;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.5), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.product-frame {
  position: relative;
  z-index: 2;
  padding: 1.3rem 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(20, 42, 74, 0.92), rgba(9, 22, 43, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(2, 10, 24, 0.55);
  transform: rotateX(4deg) rotateY(-6deg);
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.frame-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  color: rgba(226, 238, 250, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
}

.frame-header span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.frame-header span:nth-child(1) { background: #ff6a6a; }
.frame-header span:nth-child(2) { background: #ffcc66; }
.frame-header span:nth-child(3) { background: #62e39a; }

.frame-header strong {
  margin-left: 0.35rem;
}

.live-dot {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse-dot 1.8s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.executive-cover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.executive-cover small {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(226, 238, 250, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.executive-cover strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--white);
  font-size: 1.05rem;
}

.executive-cover p {
  margin: 0;
  color: rgba(226, 238, 250, 0.55);
  font-size: 0.82rem;
  line-height: 1.4;
}

.score-orb {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 999px;
  background: conic-gradient(from -90deg, var(--cyan) 0deg 252deg, rgba(255, 255, 255, 0.12) 252deg 360deg);
  box-shadow: 0 14px 30px rgba(56, 189, 248, 0.28);
}

.score-orb span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #0b1c38;
  color: var(--white);
  font-weight: 850;
  font-size: 0.94rem;
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.mini-kpis article {
  padding: 0.75rem 0.5rem;
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid transparent;
}

.mini-kpis small {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(226, 238, 250, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mini-kpis strong {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 850;
}

.mini-kpis .good { border-top-color: var(--green); }
.mini-kpis .watch { border-top-color: var(--yellow); }
.mini-kpis .risk { border-top-color: var(--red); }

.live-changing {
  opacity: 0.25;
  transition: opacity 0.16s ease;
}

.live-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 44px;
}

.live-bars span,
.live-bars i,
.live-bars em {
  flex: 1;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.live-bars span::after,
.live-bars i::after,
.live-bars em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: var(--bar-h, 60%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue-2));
  transition: height 1.1s var(--ease);
}

.glass-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px rgba(2, 10, 24, 0.28);
  animation: floaty 5.5s ease-in-out infinite;
}

.glass-badge span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
}

.glass-badge strong {
  display: block;
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 820;
}

.glass-badge small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
}

.badge-indicators { top: -6%; left: -9%; animation-delay: 0s; }
.badge-report { bottom: 10%; right: -11%; animation-delay: 1.4s; }
.badge-identity { bottom: -8%; left: 6%; animation-delay: 2.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats strip ---------- */

.stats-strip {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: clamp(3.6rem, 8vw, 5.5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-strip article {
  padding: 1.9rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.stats-strip article:last-child {
  border-right: 0;
}

.stats-strip strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
  font-weight: 880;
  background: linear-gradient(120deg, var(--white), var(--cyan-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-strip p {
  margin: 0;
  color: rgba(226, 238, 250, 0.62);
  font-size: 0.86rem;
  line-height: 1.4;
}

/* ---------- Transformation ---------- */

.transform-section {
  background: var(--paper);
}

.transform-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1.6rem;
}

.chaos-panel,
.clarity-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.chaos-panel {
  background: linear-gradient(165deg, #fff 62%, rgba(222, 67, 88, 0.05) 100%);
}

.chaos-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(222, 67, 88, 0.7), rgba(222, 67, 88, 0.15));
}

.clarity-panel {
  border-color: rgba(15, 95, 159, 0.2);
  box-shadow: var(--shadow-md);
  background: linear-gradient(165deg, #fff 58%, rgba(56, 189, 248, 0.06) 100%);
}

.clarity-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.chaos-panel > *,
.clarity-panel > * {
  position: relative;
  z-index: 1;
}

.panel-watermark {
  position: absolute;
  z-index: 0;
  right: -1.2rem;
  bottom: -1.2rem;
  width: 128px;
  height: 128px;
  opacity: 0.06;
  pointer-events: none;
}

.clarity-panel .panel-watermark {
  color: var(--blue-2);
}

.chaos-panel .panel-watermark {
  color: var(--red);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chaos-panel .panel-label {
  color: var(--red);
  background: rgba(222, 67, 88, 0.1);
}

.clarity-panel .panel-label {
  color: var(--green);
  background: rgba(17, 165, 107, 0.1);
}

.messy-files {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
}

.messy-files i {
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-3);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(13, 40, 74, 0.1);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.messy-files i:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 0 14px 26px rgba(13, 40, 74, 0.16);
}

.messy-files i:nth-child(2n) { --r: -3deg; }
.messy-files i:nth-child(3n) { --r: 2.2deg; }
.messy-files i:nth-child(5n) { --r: -1.6deg; }

.transform-engine {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
}

.engine-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-2) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.engine-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  text-align: center;
  background: var(--gradient-brand);
  box-shadow: var(--glow-shadow);
  animation: engine-pulse 2.6s ease-in-out infinite;
}

@keyframes engine-pulse {
  0%, 100% {
    box-shadow: var(--glow-shadow);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 26px 60px rgba(15, 95, 159, 0.46);
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .engine-card {
    animation: none;
  }
}

.engine-card span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.engine-card strong {
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 820;
}

.ordered-dashboard {
  padding: 1.1rem;
  margin-bottom: 1.2rem;
  border-radius: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.ordered-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
}

.ordered-top span {
  color: var(--muted);
  font-weight: 700;
}

.ordered-top strong {
  color: var(--ink);
}

.ordered-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.ordered-kpis article {
  padding: 0.6rem 0.4rem;
  border-radius: 12px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
}

.ordered-kpis span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ordered-kpis strong {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
}

.ordered-table {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ordered-table p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.82rem;
}

.ordered-table span {
  flex: 1;
  color: var(--ink-3);
  font-weight: 650;
}

.ordered-table strong {
  font-size: 0.76rem;
  font-weight: 800;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.dot-green { background: var(--green); }
.dot-yellow { background: var(--yellow); }
.dot-red { background: var(--red); }

/* ---------- Flow section ---------- */

.flow-section {
  background: var(--paper-2);
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: center;
  perspective: 1500px;
}

.flow-device-wrap {
  position: relative;
}

.device-glow-flow {
  inset: 5% 8%;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.flow-step {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.1rem;
  padding: 1.3rem 1.5rem;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.flow-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 95, 159, 0.25);
}

.flow-step:hover .step-icon {
  transform: scale(1.08);
}

.step-index {
  position: absolute;
  z-index: 0;
  top: -0.6rem;
  right: 0.8rem;
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(15, 95, 159, 0.07);
  line-height: 1;
  pointer-events: none;
}

.step-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--gradient-brand);
  box-shadow: 0 12px 26px rgba(15, 95, 159, 0.32);
  transition: transform 0.3s var(--ease);
}

.step-icon svg {
  width: 23px;
  height: 23px;
}

.flow-step strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1.04rem;
}

.flow-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.88rem;
}

.flow-device {
  position: relative;
  z-index: 2;
  padding: 1.4rem 1.5rem 1.7rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0e2647, #081a34);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 90px rgba(2, 10, 24, 0.5);
  color: var(--white);
  transform: rotateX(3deg) rotateY(5deg);
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.flow-device-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  color: rgba(226, 238, 250, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
}

.flow-device-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.flow-device-top strong {
  margin-left: 0.3rem;
}

.flow-device-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-device-hero small {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(226, 238, 250, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.flow-device-hero strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.flow-device-hero p {
  margin: 0;
  color: rgba(226, 238, 250, 0.55);
  font-size: 0.8rem;
}

.flow-device-hero b {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
}

.flow-device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.flow-device-grid article {
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-device-grid span {
  display: block;
  margin-bottom: 0.2rem;
  color: rgba(226, 238, 250, 0.5);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
}

.flow-device-grid strong {
  font-size: 1.1rem;
  font-weight: 850;
}

/* ---------- Product / Bento ---------- */

.product-section {
  background: var(--paper);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 1.2rem;
  perspective: 1600px;
}

.bento-tile {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s ease;
}

.bento-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 95, 159, 0.28);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  background: linear-gradient(160deg, #0e2647, #081a34);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 40px 90px rgba(2, 10, 24, 0.45);
  transform: rotateX(2deg) rotateY(-3deg);
  transition: transform 0.35s var(--ease), box-shadow 0.32s var(--ease);
  will-change: transform;
}

.bento-tile.bento-large:hover {
  transform: rotateX(2deg) rotateY(-3deg);
  box-shadow: 0 46px 100px rgba(2, 10, 24, 0.55);
  border-color: transparent;
}

.bento-large .kicker {
  color: var(--cyan-soft);
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.3);
}

.bento-copy strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

.spotlight-screen {
  position: relative;
  padding: 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-cover {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.spotlight-cover b {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--cyan);
}

.spotlight-cover span {
  color: rgba(226, 238, 250, 0.6);
  font-size: 0.86rem;
  font-weight: 700;
}

.spotlight-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.spotlight-metrics i {
  display: block;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-bars {
  height: 36px;
}

.bento-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  color: var(--white);
  background: var(--gradient-brand);
  box-shadow: 0 12px 24px rgba(15, 95, 159, 0.3);
  transition: transform 0.3s var(--ease);
}

.bento-tile:hover .bento-icon {
  transform: scale(1.08) rotate(-2deg);
}

.bento-icon svg {
  width: 25px;
  height: 25px;
}

.bento-tile strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.06rem;
}

.bento-tile p {
  margin: 0;
  font-size: 0.9rem;
}

.mid-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 2.6rem;
  padding: 1.6rem 2rem;
  border-radius: var(--radius-md);
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.mid-cta p {
  margin: 0;
  max-width: 460px;
  color: var(--ink-3);
  font-weight: 650;
  font-size: 1.02rem;
}

/* ---------- Security ---------- */

.security-section {
  background: var(--paper-2);
}

.security-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.4rem;
}

.security-hero-card {
  position: relative;
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0e2647, #081a34);
  color: var(--white);
  box-shadow: 0 40px 90px rgba(2, 10, 24, 0.5);
  overflow: hidden;
}

.security-hero-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -30%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 70%);
  pointer-events: none;
}

.security-hero-card > * {
  position: relative;
  z-index: 1;
}

.shield-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--cyan);
}

.shield-orb::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -8px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  animation: shield-ring 2.4s ease-out infinite;
}

.shield-orb svg {
  position: relative;
  z-index: 1;
}

@keyframes shield-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shield-orb::before {
    animation: none;
  }
}

.shield-orb svg {
  width: 28px;
  height: 28px;
}

.security-hero-card > span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--cyan-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.security-hero-card strong {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.28;
}

.security-hero-card p {
  margin: 0;
  color: rgba(226, 238, 250, 0.6);
}

.security-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.security-feature-list article {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.security-feature-list article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.security-feature-list article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.security-feature-list article:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  color: var(--white);
  background: var(--gradient-brand);
  box-shadow: 0 12px 24px rgba(15, 95, 159, 0.3);
  transition: transform 0.3s var(--ease);
}

.security-feature-list article:hover .feature-icon {
  transform: scale(1.08) rotate(-2deg);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.security-feature-list strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.security-feature-list p {
  margin: 0;
  font-size: 0.86rem;
}

/* ---------- Roles ---------- */

.roles-section {
  background: var(--paper);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.role-card {
  position: relative;
  padding: 1.8rem 1.7rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.role-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease);
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.role-card:hover::before {
  opacity: 1;
}

.role-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 13px;
  color: var(--white);
  background: var(--gradient-brand);
  box-shadow: 0 12px 24px rgba(15, 95, 159, 0.3);
  transition: transform 0.3s var(--ease);
}

.role-card:hover .role-icon {
  transform: scale(1.08) rotate(-2deg);
}

.role-icon svg {
  width: 23px;
  height: 23px;
}

.role-tag {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.98rem;
  font-weight: 820;
  color: var(--ink);
}

.role-card p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 16% 20%, #0d2c52 0%, transparent 46%),
    radial-gradient(circle at 88% 82%, #0a3a5c 0%, transparent 42%),
    linear-gradient(180deg, #061733 0%, var(--ink) 50%, #050f22 100%);
}

.final-cta-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 720px;
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: center;
}

.final-cta h2 {
  color: var(--white);
  max-width: 620px;
}

.final-cta-copy p {
  max-width: 540px;
  color: var(--muted-light);
}

.cta-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.5rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.cta-checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(226, 238, 250, 0.86);
  font-weight: 650;
  font-size: 0.96rem;
}

.cta-checklist svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  color: var(--cyan);
}

.lead-card {
  padding: 2.1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.premium-logo-orb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(2, 10, 24, 0.4);
}

.premium-logo-orb img {
  height: 26px;
}

.lead-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.lead-card-head span {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(226, 238, 250, 0.55);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lead-card-head strong {
  display: block;
  color: var(--white);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.3;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  color: rgba(226, 238, 250, 0.75);
  font-size: 0.84rem;
  font-weight: 700;
}

.field label small {
  color: rgba(226, 238, 250, 0.4);
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: var(--white);
  font: inherit;
  font-size: 0.94rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.24s ease, background 0.24s ease;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(226, 238, 250, 0.35);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.08);
}

.botcheck {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lead-submit {
  justify-content: center;
  width: 100%;
  margin-top: 0.2rem;
}

.lead-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.lead-result {
  margin: 0.2rem 0 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  font-weight: 650;
  color: rgba(226, 238, 250, 0.7);
}

.lead-result.is-success {
  color: #6ee7b7;
}

.lead-result.is-error {
  color: #fca5a5;
}

.lead-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.lead-direct span {
  color: rgba(226, 238, 250, 0.5);
}

.lead-direct a {
  color: var(--cyan-soft);
  font-weight: 700;
  transition: color 0.24s ease;
}

.lead-direct a:hover {
  color: var(--white);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #050f22;
  padding: 3.2rem clamp(1.25rem, 5vw, 4.5rem) 2.4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.footer-inner .brand img {
  height: 26px;
}

.footer-inner p {
  margin: 0;
  color: rgba(226, 238, 250, 0.55);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin: 0.4rem 0;
}

.footer-links a {
  color: rgba(226, 238, 250, 0.7);
  font-size: 0.88rem;
  font-weight: 650;
  transition: color 0.24s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.site-footer small {
  color: rgba(226, 238, 250, 0.35);
  font-size: 0.78rem;
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: var(--white);
  background: var(--glass-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ---------- Focus states ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .header-actions .ghost-link {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-copy h1,
  .hero-copy .lead {
    max-width: 620px;
  }
  .hero-visual {
    max-width: 460px;
    margin: 0 auto;
  }
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .security-panel {
    grid-template-columns: 1fr;
  }
  .final-cta-inner {
    grid-template-columns: 1fr;
  }
  .lead-card {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .header-actions .cta-small {
    display: none;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .transform-stage {
    grid-template-columns: 1fr;
  }
  .transform-engine {
    padding: 1rem 0;
  }
  .engine-line {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--blue-2) 0 8px, transparent 8px 16px);
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip article:nth-child(2) {
    border-right: 0;
  }
  .stats-strip article:nth-child(1),
  .stats-strip article:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .security-feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .lead-card {
    padding: 1.5rem;
  }
  .header-inner {
    padding: 0.45rem 0.5rem 0.45rem 0.9rem;
  }
  .brand img {
    height: 24px;
  }
  h1 {
    letter-spacing: -0.02em;
  }
  .action-row {
    flex-direction: column;
    align-items: stretch;
  }
  .action-row .cta-button,
  .action-row .ghost-button {
    justify-content: center;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-large {
    grid-column: span 1;
  }
  .roles-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr;
  }
  .stats-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stats-strip article:last-child {
    border-bottom: 0;
  }
  .mid-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .mid-cta p {
    max-width: none;
  }
  .glass-badge {
    display: none;
  }
  .product-frame,
  .flow-device,
  .bento-tile.bento-large {
    transform: none;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .mini-kpis strong {
    font-size: 1.05rem;
  }
}
