:root {
  --bg: #040714;
  --bg-soft: #0a1023;
  --surface: rgba(15, 22, 46, 0.56);
  --surface-strong: rgba(13, 19, 40, 0.76);
  --ink: #eef4ff;
  --muted: #9aa7c7;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --graphite: #060a18;
  --graphite-2: #101832;
  --steel: #bfd0ff;
  --copper: #8b5cf6;
  --copper-dark: #5b47ff;
  --cyan: #42d6ff;
  --ok: #39d6a0;
  --warn: #ffb36c;
  --info: #5cc8ff;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow-xl: 0 48px 120px rgba(0, 0, 0, 0.46);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.36);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(66, 214, 255, 0.18), transparent 18%),
    radial-gradient(circle at 84% 12%, rgba(139, 92, 246, 0.22), transparent 20%),
    radial-gradient(circle at 50% 42%, rgba(91, 71, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #060915 0%, #081024 36%, #091127 68%, #070b18 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.44), transparent 82%);
  pointer-events: none;
  z-index: 0;
  animation: gridDrift 26s linear infinite;
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

body::after {
  content: "";
  position: fixed;
  inset: auto auto 5% 44%;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(91, 71, 255, 0.22), transparent 64%);
  filter: blur(56px);
  pointer-events: none;
  z-index: 0;
  animation: haloFloat 18s ease-in-out infinite alternate;
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes gridDrift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  50% {
    transform: translate3d(-10px, 8px, 0);
    opacity: 0.88;
  }

  100% {
    transform: translate3d(8px, -6px, 0);
    opacity: 1;
  }
}

@keyframes haloFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-32px, -18px, 0) scale(1.08);
  }
}

@keyframes orbDriftA {
  0% {
    transform: rotate(18deg) translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: rotate(28deg) translate3d(-18px, 24px, 0) scale(1.06);
  }
}

@keyframes orbDriftB {
  0% {
    transform: rotate(-22deg) translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: rotate(-10deg) translate3d(22px, -18px, 0) scale(1.08);
  }
}

@keyframes ambientPulse {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.82;
  }

  100% {
    transform: translate3d(18px, -12px, 0) scale(1.1);
    opacity: 1;
  }
}

@keyframes pageEnter {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
    filter: blur(12px);
  }

  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes heroLift {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

iframe {
  border: 0;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 38% 62% 56% 44% / 44% 38% 62% 56%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(66, 214, 255, 0.16), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 30px 90px rgba(34, 90, 255, 0.18);
  backdrop-filter: blur(12px);
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-shell::before {
  top: 9rem;
  right: -5rem;
  width: 22rem;
  height: 22rem;
  transform: rotate(18deg);
  opacity: 0.78;
  animation: orbDriftA 18s ease-in-out infinite alternate;
}

.page-shell::after {
  top: 30rem;
  left: -7rem;
  width: 18rem;
  height: 18rem;
  transform: rotate(-22deg);
  opacity: 0.5;
  animation: orbDriftB 20s ease-in-out infinite alternate;
}

.content-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.ambient {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease;
}

.ambient-left {
  top: -14rem;
  left: -18rem;
  background: radial-gradient(circle, rgba(66, 214, 255, 0.24), transparent 58%);
  animation: ambientPulse 16s ease-in-out infinite alternate;
}

.ambient-right {
  top: 8rem;
  right: -18rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.26), transparent 58%);
  animation: ambientPulse 19s ease-in-out infinite alternate-reverse;
}

.site-header {
  position: sticky;
  top: 20px;
  z-index: 100;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  min-height: 82px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(18, 26, 56, 0.72), rgba(8, 12, 28, 0.76)),
    rgba(8, 10, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(160%);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
  animation: pageEnter 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 168px;
  height: 94px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 36px rgba(91, 71, 255, 0.26))
    drop-shadow(0 0 18px rgba(0, 195, 255, 0.18));
  margin-inline-start: -8px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}

.brand-copy strong,
.page-hero h1,
.section-head h2,
.panel-card h3,
.feature-card h3,
.service-preview-card h3,
.process-card h3,
.deliverable-card h3,
.contact-card h3,
.login-card h1,
.table-card h3,
.note-card h3,
.certificate-viewer h2,
.site-footer h3,
.dashboard-top h1 {
  font-family: "Sora", sans-serif;
}

.brand-copy strong {
  line-height: 1;
  white-space: nowrap;
}

.brand-copy small {
  color: rgba(230, 238, 255, 0.48);
  font-size: 0.86rem;
}

.menu-button {
  display: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.menu-button[aria-expanded="true"] {
  transform: translateY(-1px);
  background:
    linear-gradient(135deg, rgba(66, 214, 255, 0.14), rgba(139, 92, 246, 0.16)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(161, 190, 255, 0.24);
  box-shadow:
    0 16px 36px rgba(40, 87, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background:
    radial-gradient(circle at 50% 12%, rgba(66, 214, 255, 0.08), transparent 22%),
    rgba(4, 7, 20, 0.46);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
}

body.nav-open .menu-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: rgba(232, 238, 255, 0.76);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 22px rgba(12, 18, 44, 0.18);
}

.header-actions,
.hero-actions,
.button-row,
.panel-inline,
.badge-row {
  display: flex;
  gap: 12px;
}

.ghost-button,
.primary-button,
.secondary-button,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.ghost-button,
.secondary-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(12, 18, 38, 0.4);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.secondary-button {
  color: #dfe8ff;
  border-color: rgba(255, 255, 255, 0.14);
}

.primary-button {
  background:
    linear-gradient(135deg, var(--cyan), var(--copper-dark) 52%, var(--copper));
  color: #fff;
  box-shadow:
    0 18px 36px rgba(53, 105, 255, 0.34),
    0 0 42px rgba(139, 92, 246, 0.24);
}

.site-header .ghost-button,
.page-hero__copy .secondary-button,
.cta-band .secondary-button,
.dashboard-top .secondary-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.inline-link {
  padding: 0;
  border-radius: 0;
  color: var(--cyan);
  font-weight: 700;
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover,
.inline-link:hover,
.ghost-button:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.inline-link:focus-visible {
  transform: translateY(-2px);
}

.content-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 96px;
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
  animation: pageEnter 860ms cubic-bezier(0.22, 1, 0.36, 1) 70ms both;
}

.page-hero {
  padding: 18px 0 20px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 26px;
  align-items: stretch;
}

.page-hero__copy,
.page-hero__panel,
.feature-card,
.service-preview-card,
.process-card,
.deliverable-card,
.contact-card,
.panel-card,
.table-card,
.note-card,
.login-card,
.certificate-sidebar,
.certificate-viewer,
.cta-band {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.page-hero__copy {
  position: relative;
  overflow: hidden;
  padding: 48px 46px 44px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(66, 214, 255, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(16, 24, 52, 0.74), rgba(7, 11, 24, 0.8)),
    rgba(7, 11, 24, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    var(--shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px) saturate(160%);
}

.page-hero__copy::before,
.certificate-sidebar::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.04) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.04) 95%);
  background-size: 100% 38px, 38px 100%;
  opacity: 0.4;
  pointer-events: none;
}

.page-hero__copy::after,
.cta-band::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -58px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34), transparent 66%);
  pointer-events: none;
}

.page-hero__panel {
  padding: 0;
  border-radius: var(--radius-xl);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-hero__copy > *,
.page-hero__panel > *,
.login-card,
.dashboard-top {
  animation: heroLift 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero__copy > :nth-child(1) {
  animation-delay: 180ms;
}

.page-hero__copy > :nth-child(2) {
  animation-delay: 240ms;
}

.page-hero__copy > :nth-child(3) {
  animation-delay: 300ms;
}

.page-hero__copy > :nth-child(4) {
  animation-delay: 360ms;
}

.page-hero__copy > :nth-child(5) {
  animation-delay: 420ms;
}

.page-hero__copy > :nth-child(6) {
  animation-delay: 480ms;
}

.page-hero__panel > * {
  animation-delay: 340ms;
}

.login-card,
.dashboard-top {
  animation-delay: 220ms;
}

.kicker,
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(166, 190, 255, 0.92);
}

.page-hero h1,
.login-card h1,
.dashboard-top h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
  line-height: 0.96;
  max-width: none;
  text-wrap: balance;
}

.page-hero--home h1 {
  font-size: clamp(3.2rem, 6.4vw, 5.6rem);
  max-width: none;
}

body[data-page="automation"] .page-hero h1 {
  max-width: 8.5ch;
  overflow-wrap: anywhere;
}

.lead {
  margin: 14px 0 0;
  font-size: clamp(1.14rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: rgba(243, 247, 255, 0.94);
  max-width: 22ch;
}

.page-hero__text,
.section-head p,
.feature-card p,
.service-preview-card p,
.process-card p,
.deliverable-card p,
.contact-card p,
.panel-card p,
.table-card p,
.note-card p,
.login-card p,
.certificate-viewer p,
.site-footer p,
.site-footer a,
.form-field label,
.form-status {
  color: var(--muted);
}

.page-hero__text {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(225, 233, 255, 0.72);
  line-height: 1.78;
  font-size: 1.02rem;
}

.feature-card p,
.service-preview-card p,
.process-card p,
.deliverable-card p,
.contact-card p,
.panel-card p,
.table-card p,
.note-card p {
  font-size: 0.97rem;
  line-height: 1.7;
}

.metric-row,
.mini-stat-grid {
  display: grid;
  gap: 14px;
}

.metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.metric-card,
.mini-stat {
  padding: 18px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.metric-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric-card strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.02rem;
}

.metric-card span {
  color: rgba(220, 231, 255, 0.58);
}

.panel-card {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 16, 36, 0.52);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(150%);
}

.panel-card--light {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-card--light::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(66, 214, 255, 0.12), transparent 22%),
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.14), transparent 22%);
  pointer-events: none;
}

.panel-card--surface {
  border-radius: var(--radius-lg);
}

.panel-card__label {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.panel-list,
.bullet-list {
  margin: 0;
  padding-left: 0;
  line-height: 1.72;
  color: var(--muted);
}

.panel-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.panel-list li {
  position: relative;
  padding-left: 18px;
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--copper), var(--cyan));
  box-shadow: 0 0 12px rgba(66, 214, 255, 0.4);
}

.panel-inline {
  flex-wrap: wrap;
  margin-top: 22px;
}

.panel-inline article {
  min-width: 180px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(21, 32, 43, 0.04);
  border: 1px solid rgba(21, 32, 43, 0.08);
}

.panel-inline span {
  display: block;
  color: var(--muted);
}

.panel-inline strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

.panel-inline a {
  color: var(--ink);
}

.hero-mini-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hero-mini-card {
  padding: 16px 18px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.hero-mini-card--wide {
  grid-column: 1 / -1;
}

.hero-mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-mini-card strong,
.hero-mini-card a {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.section {
  padding: 34px 0;
}

.section-head {
  margin-bottom: 26px;
  max-width: 760px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
}

.section-head p {
  max-width: 64ch;
}

.feature-grid,
.service-preview-grid,
.process-grid,
.deliverable-grid,
.contact-grid,
.dashboard-layout,
.note-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.service-preview-grid,
.deliverable-grid,
.contact-grid,
.note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.service-preview-card,
.process-card,
.deliverable-card,
.contact-card,
.table-card,
.note-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 16, 36, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(150%);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.feature-card::before,
.process-card::before,
.deliverable-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--copper), var(--cyan));
  box-shadow: 0 0 18px rgba(66, 214, 255, 0.22);
}

.feature-card:hover,
.service-preview-card:hover,
.process-card:hover,
.deliverable-card:hover,
.contact-card:hover,
.table-card:hover,
.note-card:hover,
.panel-card--surface:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(102, 151, 255, 0.14);
  border-color: rgba(120, 150, 255, 0.2);
}

.feature-card h3,
.service-preview-card h3,
.process-card h3,
.deliverable-card h3,
.contact-card h3,
.panel-card h3,
.table-card h3,
.note-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  transition: color 220ms ease, transform 220ms ease, text-shadow 220ms ease;
}

.service-preview-card .badge,
.deliverable-card .badge {
  margin-bottom: 18px;
}

.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dce6ff;
  font-size: 0.9rem;
  backdrop-filter: blur(14px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(66, 214, 255, 0.2), transparent 24%),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(16, 24, 52, 0.74), rgba(7, 11, 24, 0.82)),
    rgba(7, 11, 24, 0.58);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    var(--shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(26px) saturate(150%);
}

.cta-band h2 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
}

.cta-band p {
  margin: 0;
  max-width: 56ch;
  color: rgba(225, 233, 255, 0.7);
}

.cta-band .button-row {
  margin-top: 24px;
}

.contact-card strong,
.contact-card a {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
  color: var(--steel);
}

.certificate-page {
  display: grid;
  gap: 18px;
}

.mini-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-stat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 16, 36, 0.5);
  border: 1px solid var(--line);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.mini-stat span {
  display: block;
  color: var(--muted);
}

.mini-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
  color: var(--ink);
}

.certificate-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.certificate-sidebar {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(66, 214, 255, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(16, 24, 52, 0.74), rgba(7, 11, 24, 0.82)),
    rgba(7, 11, 24, 0.58);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(150%);
}

.certificate-sidebar .section-head h2,
.certificate-sidebar .section-head p {
  color: #fff;
}

.certificate-sidebar .section-head p {
  color: rgba(225, 233, 255, 0.68);
}

.certificate-filters {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-chip {
  padding: 10px 14px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  color: rgba(232, 238, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.filter-chip.is-active {
  background:
    linear-gradient(135deg, rgba(66, 214, 255, 0.18), rgba(139, 92, 246, 0.18)),
    rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 0 28px rgba(91, 71, 255, 0.18);
}

.certificate-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.certificate-list__item {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: left;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  backdrop-filter: blur(16px);
}

.certificate-list__item:hover,
.certificate-list__item:focus-visible,
.certificate-list__item.is-active {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(66, 214, 255, 0.12), rgba(139, 92, 246, 0.12)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(161, 190, 255, 0.24);
}

.certificate-list__title {
  display: block;
  font-weight: 700;
  line-height: 1.5;
}

.certificate-list__meta {
  display: block;
  margin-top: 8px;
  color: rgba(225, 233, 255, 0.56);
  font-size: 0.92rem;
}

.metric-card::after,
.mini-stat::after,
.hero-mini-card::after,
.feature-card::after,
.service-preview-card::after,
.process-card::after,
.deliverable-card::after,
.contact-card::after,
.table-card::after,
.note-card::after,
.filter-chip::after,
.certificate-list__item::after {
  content: "";
  position: absolute;
  top: -36%;
  left: -28%;
  width: 54%;
  height: 180%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 46%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.08) 54%,
    transparent 100%
  );
  transform: rotate(18deg) translate3d(-38%, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .metric-card:hover,
  .hero-mini-card:hover,
  .mini-stat:hover,
  .feature-card:hover,
  .service-preview-card:hover,
  .process-card:hover,
  .deliverable-card:hover,
  .contact-card:hover,
  .table-card:hover,
  .note-card:hover,
  .panel-card--surface:hover,
  .certificate-list__item:hover,
  .filter-chip:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(139, 182, 255, 0.24);
    box-shadow:
      0 30px 72px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(102, 151, 255, 0.18),
      0 0 34px rgba(91, 71, 255, 0.1);
  }

  .metric-card:hover::after,
  .hero-mini-card:hover::after,
  .mini-stat:hover::after,
  .feature-card:hover::after,
  .service-preview-card:hover::after,
  .process-card:hover::after,
  .deliverable-card:hover::after,
  .contact-card:hover::after,
  .table-card:hover::after,
  .note-card:hover::after,
  .certificate-list__item:hover::after,
  .filter-chip:hover::after {
    opacity: 1;
    transform: rotate(18deg) translate3d(138%, 0, 0);
  }

  .feature-card:hover h3,
  .service-preview-card:hover h3,
  .process-card:hover h3,
  .deliverable-card:hover h3,
  .contact-card:hover h3,
  .table-card:hover h3,
  .note-card:hover h3,
  .panel-card--surface:hover h3 {
    color: #fff;
    text-shadow: 0 0 18px rgba(66, 214, 255, 0.14);
    transform: translateY(-1px);
  }

  .site-nav a:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 14px 26px rgba(12, 18, 44, 0.22),
      0 0 22px rgba(91, 71, 255, 0.08);
  }
}

.certificate-viewer {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 16, 36, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.certificate-viewer h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.08;
}

.certificate-viewer__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.certificate-viewer__meta {
  margin: 10px 0 0;
}

.viewer-frame-shell {
  height: min(76vh, 920px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 7, 20, 0.8);
}

#certificate-frame {
  width: 100%;
  height: 100%;
  background: #fff;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 24px;
}

.login-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 16, 36, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.login-card p {
  margin-top: 14px;
}

.form-stack {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(6, 10, 24, 0.72);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.form-status {
  min-height: 24px;
  margin: 0;
}

.form-status.success {
  color: var(--ok);
}

.form-status.error {
  color: #b64c3b;
}

.dashboard-shell {
  display: grid;
  gap: 24px;
}

.dashboard-top {
  padding: 36px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(66, 214, 255, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(16, 24, 52, 0.74), rgba(7, 11, 24, 0.82)),
    rgba(7, 11, 24, 0.58);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
}

.dashboard-top p {
  max-width: 58ch;
  color: rgba(225, 233, 255, 0.68);
}

.dashboard-top__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.dashboard-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.table-stack {
  display: grid;
  gap: 16px;
}

.table-card__head {
  margin-bottom: 16px;
}

.table-card__head h3 {
  margin-bottom: 8px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.data-table th {
  color: var(--muted);
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.status-ok {
  background: rgba(57, 214, 160, 0.16);
  color: var(--ok);
}

.status-warn {
  background: rgba(255, 179, 108, 0.16);
  color: var(--warn);
}

.status-info {
  background: rgba(92, 200, 255, 0.16);
  color: var(--info);
}

.note-grid {
  margin-top: 16px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(18, 26, 56, 0.74), rgba(8, 12, 28, 0.78)),
    rgba(8, 10, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
  animation: pageEnter 920ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.4fr));
  gap: 24px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
  color: rgba(225, 233, 255, 0.68);
}

.site-footer__copy .brand {
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.site-footer__bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(225, 233, 255, 0.54);
  font-size: 0.92rem;
}

.site-footer__bottom a,
.site-footer__bottom button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(225, 233, 255, 0.68);
}

body.page-leaving {
  overflow: hidden;
}

body.page-leaving .site-header,
body.page-leaving .content-shell,
body.page-leaving .site-footer {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.992);
  filter: blur(14px);
}

body.page-leaving .ambient {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1.12);
  filter: blur(86px);
}

body.page-leaving .page-shell::before,
body.page-leaving .page-shell::after,
body.page-leaving::before,
body.page-leaving::after {
  opacity: 0;
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready [data-reveal] {
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.988);
  filter: blur(10px);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 1100px) {
  .page-hero__grid,
  .split-layout,
  .certificate-layout,
  .login-shell,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid,
  .service-preview-grid,
  .deliverable-grid,
  .contact-grid,
  .note-grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    flex-wrap: wrap;
    border-radius: 30px;
    transition: box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(18, 26, 56, 0.82), rgba(8, 12, 28, 0.88)),
      rgba(8, 10, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
      var(--shadow-lg),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.985);
    transform-origin: top center;
    transition:
      opacity 220ms ease,
      transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 220ms ease;
  }

  .site-nav a {
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 220ms ease,
      transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
      color 180ms ease,
      border-color 180ms ease,
      background 180ms ease,
      box-shadow 180ms ease;
    transition-delay: 0ms;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  body.nav-open .site-nav a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--nav-order, 0) * 50ms + 40ms);
  }

  body.nav-open .site-header {
    box-shadow:
      0 28px 80px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(102, 151, 255, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .header-actions {
    margin-left: auto;
  }

  .metric-row,
  .feature-grid,
  .service-preview-grid,
  .process-grid,
  .deliverable-grid,
  .contact-grid,
  .mini-stat-grid,
  .note-grid,
  .hero-mini-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom,
  .dashboard-top__row,
  .certificate-viewer__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .certificate-viewer__head .ghost-button,
  .button-row,
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .button-row > *,
  .hero-actions > * {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header,
  .content-shell,
  .site-footer {
    width: min(100% - 12px, 1180px);
  }

  .content-shell {
    padding: 28px 0 72px;
  }

  .page-hero {
    padding: 10px 0 14px;
  }

  .page-hero__grid {
    gap: 16px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 70px;
    padding: 12px 14px;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    overflow: hidden;
    gap: 8px;
  }

  .brand-logo {
    width: 104px;
    height: 58px;
    margin-inline-start: -2px;
  }

  .brand-copy {
    min-width: 0;
    overflow: hidden;
  }

  .brand-copy strong {
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-copy small {
    display: none;
  }

  .header-actions {
    margin-left: 0;
    grid-column: 1 / -1;
    width: 100%;
  }

  .menu-button,
  .site-header .ghost-button {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .menu-button {
    justify-self: end;
    min-width: 56px;
  }

  .header-actions .ghost-button {
    width: 100%;
    min-height: 42px;
  }

  .page-hero__copy,
  .panel-card,
  .feature-card,
  .service-preview-card,
  .process-card,
  .deliverable-card,
  .contact-card,
  .table-card,
  .note-card,
  .certificate-sidebar,
  .certificate-viewer,
  .cta-band,
  .login-card,
  .dashboard-top,
  .site-footer {
    padding: 20px;
  }

  .page-hero h1,
  .login-card h1,
  .dashboard-top h1 {
    font-size: clamp(2.35rem, 11.2vw, 3.4rem);
    max-width: 9ch;
  }

  .page-hero--home h1 {
    max-width: none;
  }

  .lead {
    margin-top: 12px;
    font-size: 1.02rem;
    line-height: 1.38;
  }

  .page-hero__text {
    margin-top: 14px;
    line-height: 1.64;
    font-size: 0.97rem;
  }

  .lead {
    max-width: none;
  }

  .viewer-frame-shell {
    height: 56vh;
  }

  .site-footer__bottom {
    align-items: flex-start;
  }
}
