:root {
  --bg: #071129;
  --bg-deep: #040a1a;
  --surface: rgba(14, 28, 58, 0.72);
  --surface-strong: rgba(20, 38, 74, 0.9);
  --text: #edf2ff;
  --muted: #afbddf;
  --line: rgba(165, 185, 236, 0.22);
  --primary: #57c7ff;
  --accent: #5cffcf;
  --radius: 18px;
  --shadow: 0 18px 38px rgba(1, 8, 22, 0.42);
  --spot-x: 50%;
  --spot-y: 20%;
  --fs-copy: 0.96rem;
  --fs-copy-small: 0.88rem;
  --fs-title-main: clamp(1.8rem, 3.2vw, 2.2rem);
  --fs-title-sub: 1.05rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: #040a1a;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: Manrope, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, #19306b 0%, transparent 38%),
    radial-gradient(circle at 85% 20%, rgba(87, 199, 255, 0.12), transparent 35%),
    linear-gradient(170deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      420px circle at var(--spot-x) var(--spot-y),
      rgba(112, 213, 255, 0.16),
      rgba(112, 213, 255, 0.04) 34%,
      transparent 68%
    );
  transition: background-position 0.16s linear;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(129, 176, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 176, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black 10%, transparent 78%);
  animation: gridShift 22s linear infinite;
}

.admin-body {
  background-color: #040c1f;
  background:
    radial-gradient(circle at 12% -10%, rgba(43, 95, 204, 0.3) 0%, transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(54, 154, 255, 0.2) 0%, transparent 34%),
    linear-gradient(170deg, #030a1b 0%, #060f25 54%, #050b1b 100%);
}

.admin-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(54, 154, 255, 0.14), transparent 38%),
    linear-gradient(165deg, rgba(4, 12, 31, 0.97), rgba(4, 10, 25, 0.97));
}

.admin-body .btn-ghost {
  color: #dbe9ff;
  background: rgba(10, 24, 53, 0.48);
  border-color: rgba(153, 192, 255, 0.32);
}

body.intro-active {
  overflow: hidden;
}

.cinematic-intro {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(101, 193, 255, 0.2), transparent 55%),
    linear-gradient(165deg, rgba(4, 10, 25, 0.96), rgba(2, 7, 18, 0.98));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cinematic-intro.play {
  opacity: 1;
  visibility: visible;
  animation: cinematicOut 2.7s ease forwards;
}

.cinematic-noise {
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(rgba(196, 235, 255, 0.12) 0.45px, transparent 0.45px);
  background-size: 3px 3px;
  opacity: 0.28;
  animation: noiseShift 0.6s steps(4) infinite;
}

.cinematic-core {
  position: relative;
  text-align: center;
  padding: 1.2rem;
}

.cinematic-kicker {
  margin: 0;
  color: #72ffd3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.cinematic-core h2 {
  margin: 0.9rem 0 1rem;
  font-family: Sora, sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  color: #edf4ff;
  text-shadow: 0 0 30px rgba(113, 194, 255, 0.25);
}

.cinematic-line {
  display: inline-block;
  width: min(300px, 60vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(126, 212, 255, 0.95), transparent);
  transform-origin: center;
  animation: linePulse 1.3s ease-in-out infinite;
}

.morph-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.morph-shape {
  position: absolute;
  filter: blur(34px);
  opacity: 0.25;
  mix-blend-mode: screen;
  border-radius: 38% 62% 64% 36% / 52% 38% 62% 48%;
}

.morph-shape-a {
  width: 460px;
  height: 460px;
  left: -110px;
  top: 20%;
  background: radial-gradient(circle at 40% 30%, rgba(110, 178, 255, 0.62), rgba(51, 94, 219, 0.08));
  animation: morphA 17s ease-in-out infinite;
}

.morph-shape-b {
  width: 380px;
  height: 380px;
  right: 10%;
  top: -80px;
  background: radial-gradient(circle at 44% 40%, rgba(88, 255, 206, 0.52), rgba(40, 167, 126, 0.08));
  animation: morphB 19s ease-in-out infinite;
}

.morph-shape-c {
  width: 420px;
  height: 420px;
  right: -90px;
  bottom: 4%;
  background: radial-gradient(circle at 60% 35%, rgba(103, 152, 255, 0.46), rgba(67, 123, 245, 0.08));
  animation: morphC 22s ease-in-out infinite;
}

.admin-body .admin-topbar h1,
.admin-body .admin-item-head h2,
.admin-body .admin-stat-card strong {
  color: #edf3ff;
}

.admin-body .admin-item-head p,
.admin-body .admin-meta,
.admin-body .admin-stat-card span,
.admin-body .empty-state,
.admin-body .admin-outreach-head p {
  color: #c1cdec;
}

.admin-body .admin-controls input,
.admin-body .admin-controls select,
.admin-body .admin-grid input,
.admin-body .admin-grid select,
.admin-body .admin-notes textarea,
.admin-body .admin-outreach input,
.admin-body .admin-outreach select,
.admin-body .admin-outreach textarea {
  background: rgba(7, 17, 39, 0.9);
  border-color: rgba(153, 192, 255, 0.26);
}

.admin-body .admin-stat-card,
.admin-body .admin-item,
.admin-body .admin-outreach,
.admin-body .empty-state {
  background: linear-gradient(158deg, rgba(10, 24, 52, 0.94), rgba(6, 14, 32, 0.95));
}

body.modal-open {
  overflow: hidden;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 120;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #79bbff 0%, #57c7ff 45%, #5cffcf 100%);
  box-shadow: 0 0 18px rgba(92, 255, 207, 0.42);
}

.bg-orb-1 {
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: rgba(87, 199, 255, 0.14);
  top: -120px;
  left: -100px;
  animation: orbFloatA 12s ease-in-out infinite;
}

.bg-orb-2 {
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(92, 255, 207, 0.1);
  right: -100px;
  top: 260px;
  animation: orbFloatB 16s ease-in-out infinite;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 10, 26, 0.75);
  backdrop-filter: blur(14px);
}

.header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166, 222, 255, 0.72), transparent);
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: 50% 50%;
}

body.page-ready .header::after {
  opacity: 0.95;
  transform: scaleX(1);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.logo {
  text-decoration: none;
  font-family: Sora, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a,
.footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(91, 151, 255, 0.95), rgba(106, 244, 214, 0.95));
  transition: transform 0.28s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a:hover,
.footer a:hover {
  color: var(--text);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.15rem;
  border-radius: 10px;
  padding: 0.3rem 0.55rem;
}

.hero {
  padding: 7.5rem 0 5.8rem;
  position: relative;
  overflow: hidden;
}

.hero .eyebrow,
.hero h1,
.hero-text,
.hero-actions,
.logo,
.nav {
  opacity: 0;
  transform: translateY(18px);
}

body.page-ready .logo,
body.page-ready .nav,
body.page-ready .hero .eyebrow,
body.page-ready .hero h1,
body.page-ready .hero-text,
body.page-ready .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

body.page-ready .logo,
body.page-ready .nav {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body.page-ready .hero .eyebrow {
  transition: opacity 0.6s ease 0.08s, transform 0.6s ease 0.08s;
}

body.page-ready .hero h1 {
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

body.page-ready .hero-text {
  transition: opacity 0.7s ease 0.34s, transform 0.7s ease 0.34s;
}

body.page-ready .hero-actions {
  transition: opacity 0.7s ease 0.46s, transform 0.7s ease 0.46s;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.25px;
  font-size: 0.84rem;
}

.hero h1,
.section-title,
.about-box h2,
.contact-grid h2,
.modal-panel h2,
.admin-login-card h1,
.admin-topbar h1,
.legal-card h1,
.legal-card h2 {
  font-family: Sora, sans-serif;
}

.section-title,
.about-box h2,
.contact-grid h2,
.modal-panel h2,
.admin-login-card h1,
.admin-topbar h1,
.legal-card h1,
.legal-card h2,
.card h3,
.admin-outreach-head h2,
.contact-launch-card h3,
.cta-box h2 {
  font-size: var(--fs-title-main);
}

.hero h1 {
  margin: 0.95rem 0 1rem;
  font-size: clamp(2.2rem, 6.4vw, 4.4rem);
  line-height: 1.03;
  max-width: 900px;
  text-wrap: balance;
  background: linear-gradient(120deg, #edf2ff 10%, #cce7ff 45%, #cffff1 75%, #edf2ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.page-ready .hero h1 {
  animation: heroShimmer 7.5s linear infinite;
}

.hero-text,
.section-subtitle,
.about-box p,
.contact-grid p,
.modal-copy,
.admin-copy,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
  font-size: var(--fs-copy);
}

.hero-text {
  max-width: 760px;
  font-size: var(--fs-copy);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(166, 233, 255, 0.7), rgba(166, 233, 255, 0));
  opacity: 0;
  animation: floatParticle var(--particle-duration, 12s) linear infinite;
  animation-delay: var(--particle-delay, 0s);
}

.btn {
  border: none;
  background: linear-gradient(130deg, #77b9ff, #5a86ff);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  padding: 0.82rem 1.14rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(89, 124, 255, 0.28);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn,
.card-link {
  will-change: transform;
}

.btn.magnetic,
.card-link.magnetic {
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-small {
  padding: 0.56rem 0.86rem;
  border-radius: 12px;
}

.services {
  padding: 2.2rem 0 4.5rem;
}

.section-title {
  margin: 0;
}

.section-subtitle {
  margin: 0.7rem 0 1.6rem;
  max-width: 760px;
  font-size: var(--fs-copy);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.card,
.about-box,
.contact-form,
.modal-panel,
.admin-login-card,
.admin-item,
.admin-stat-card,
.legal-card {
  background: linear-gradient(145deg, var(--surface) 0%, rgba(20, 38, 74, 0.9) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.45rem;
  background:
    linear-gradient(165deg, rgba(16, 36, 79, 0.95) 0%, rgba(9, 21, 48, 0.95) 100%),
    radial-gradient(circle at 100% -20%, rgba(92, 255, 207, 0.14), transparent 52%);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  animation: cardRise 0.7s ease both;
}

.card-depth-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 0.22s ease;
}

.card-depth-layer-a {
  background: radial-gradient(circle at 18% 20%, rgba(130, 202, 255, 0.22), transparent 48%);
  transform: translateZ(18px);
}

.card-depth-layer-b {
  background: radial-gradient(circle at 86% 72%, rgba(92, 255, 207, 0.14), transparent 52%);
  transform: translateZ(34px);
}

.card > *:not(.card-depth-layer) {
  position: relative;
  z-index: 1;
}

.card-top {
  transform: translateZ(26px);
}

.card h3 {
  transform: translateZ(34px);
}

.card p,
.card-list,
.card-tags {
  transform: translateZ(22px);
}

.card .card-link {
  transform: translateZ(30px);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(132, 207, 255, 0.35),
    rgba(92, 255, 207, 0.16),
    rgba(132, 207, 255, 0.08)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  top: -38%;
  right: -22%;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(87, 199, 255, 0.2), transparent 70%);
  z-index: -1;
}

.card .card-link {
  position: relative;
  overflow: hidden;
}

.card .card-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -180%;
  width: 120%;
  height: 100%;
  transform: skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(237, 247, 255, 0.38), transparent);
  transition: left 0.5s ease;
}

.card .card-link:hover::before {
  left: 180%;
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(122, 202, 255, 0.58);
  box-shadow: 0 24px 40px rgba(1, 8, 24, 0.52);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  border-radius: 999px;
  background: rgba(87, 199, 255, 0.18);
  color: #c7e7ff;
  font-weight: 700;
  font-size: 0.82rem;
}

.card-label {
  color: #b8c4e8;
  font-size: 0.92rem;
}

.card h3 {
  margin: 0.7rem 0 0.55rem;
  font-family: Sora, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0 0 0.2rem;
  color: var(--muted);
  line-height: 1.68;
  font-size: var(--fs-copy);
}

.card-list {
  margin: 1rem 0 0;
  padding-left: 0;
  list-style: none;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #c2cfef;
  line-height: 1.58;
  margin-bottom: 0.35rem;
  font-size: var(--fs-copy);
}

.card-list li::before {
  content: '';
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 0.46rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #8fd6ff, #6ef7cf);
  box-shadow: 0 0 0 3px rgba(110, 247, 207, 0.12);
}

.card-tags {
  margin-top: 1.05rem;
  margin-bottom: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.card-tag-chip,
.badge {
  border: 1px solid rgba(140, 168, 232, 0.36);
  background: rgba(14, 24, 53, 0.8);
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  font-size: 0.78rem;
  color: #ccdaff;
}

.card-tag-chip {
  position: relative;
  cursor: pointer;
  font: inherit;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.22s ease;
}

.card-tag-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 217, 255, 0.7);
  box-shadow: 0 8px 16px rgba(23, 59, 132, 0.32);
}

.card-tag-chip:focus-visible {
  outline: 2px solid rgba(166, 239, 255, 0.92);
  outline-offset: 2px;
}

.badge-priority {
  border-color: rgba(92, 255, 207, 0.36);
  color: #b9ffe8;
}

.card-link {
  margin-top: auto;
  width: 100%;
  border: 1px solid rgba(126, 191, 255, 0.6);
  border-radius: 12px;
  padding: 0.74rem 1rem;
  background: linear-gradient(130deg, rgba(119, 185, 255, 0.2), rgba(90, 134, 255, 0.26));
  color: #dff6ff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 18px rgba(49, 104, 211, 0.24);
}

.card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(151, 214, 255, 0.8);
  box-shadow: 0 12px 24px rgba(43, 112, 226, 0.3);
}

.card-link:focus-visible {
  outline: 2px solid rgba(167, 236, 255, 0.95);
  outline-offset: 2px;
}

.about {
  padding: 0.8rem 0 4.3rem;
}

.about-box,
.contact-form,
.legal-card,
.admin-login-card,
.modal-panel,
.admin-item {
  padding: 1.35rem;
}

.stats,
.admin-stats {
  display: grid;
  gap: 0.8rem;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.stats div,
.admin-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.82rem;
}

.stats strong,
.admin-stat-card strong {
  display: block;
  font-size: 1.45rem;
  text-shadow: 0 0 14px rgba(99, 194, 255, 0.15);
}

.stats span,
.admin-stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact {
  padding: 1rem 0 5rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-grid-single {
  grid-template-columns: 1fr;
}

.contact-grid-single .contact-copy {
  max-width: 860px;
}

.contact-chooser,
.modal-form,
.admin-login-form {
  display: grid;
  gap: 0.8rem;
}

.contact-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.contact-points {
  display: grid;
  gap: 0.8rem;
}

.contact-points div {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.contact-points strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(87, 199, 255, 0.18);
  color: #c7e7ff;
}

.contact-points span {
  color: var(--muted);
}

.contact-launch-card {
  display: grid;
  gap: 0.9rem;
}

.contact-launch-card h3 {
  margin: 0;
  font-family: Sora, sans-serif;
}

.contact-helper {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-copy);
}

.field-label {
  display: block;
  font-size: var(--fs-copy-small);
  font-weight: 700;
  color: #d8e4ff;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.78rem;
  font: inherit;
  color-scheme: dark;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9cc9ff 50%),
    linear-gradient(135deg, #9cc9ff 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.8rem;
}

select option,
select optgroup {
  color: #edf2ff;
  background: #0a1838;
}

input::placeholder,
textarea::placeholder {
  color: #8da0cb;
}

.form-note {
  min-height: 1.2rem;
  margin: 0;
  color: var(--accent);
  font-size: var(--fs-copy-small);
  transition: color 0.25s ease;
}

.modal-form.is-submitting .btn {
  position: relative;
  padding-right: 2.5rem;
  opacity: 0.92;
}

.modal-form.is-submitting .btn::after {
  content: '';
  position: absolute;
  right: 0.95rem;
  top: calc(50% - 7px);
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: spin 0.75s linear infinite;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 19, 0.72);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100dvh - 2rem);
  background: linear-gradient(160deg, rgba(11, 25, 54, 0.96), rgba(6, 14, 32, 0.96));
  border: 1px solid rgba(122, 202, 255, 0.26);
  overflow-x: hidden;
  overflow-y: auto;
  transform-origin: 50% 62%;
  will-change: transform, opacity, border-radius, filter;
}

.modal-panel::before,
.modal-panel::after {
  content: '';
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.modal-panel::before {
  inset: 18% 14%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.82);
  background:
    linear-gradient(138deg, rgba(163, 235, 255, 0.98), rgba(211, 255, 245, 0.92) 52%, rgba(127, 199, 255, 0.9)),
    linear-gradient(180deg, rgba(21, 76, 142, 0.14), rgba(21, 76, 142, 0));
  border: 1px solid rgba(133, 210, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(6, 19, 45, 0.35);
}

.modal-panel::after {
  width: 72%;
  height: 46%;
  left: 14%;
  top: 18%;
  background:
    linear-gradient(180deg, rgba(111, 204, 255, 0.94), rgba(104, 171, 255, 0.92));
  border: 1px solid rgba(132, 214, 255, 0.86);
  border-radius: 10px;
  clip-path: polygon(0 0, 50% 76%, 100% 0, 100% 100%, 0 100%);
  transform-origin: 50% 8%;
  box-shadow: 0 9px 24px rgba(3, 15, 42, 0.34);
}

.modal.is-closing-animating {
  pointer-events: none;
}

.modal.is-closing-animating .modal-backdrop {
  animation: modalBackdropFadeOut 1.45s ease forwards;
}

.modal.is-closing-animating .modal-panel {
  animation: modalPanelToLetterFlight 1.4s cubic-bezier(0.2, 0.9, 0.22, 1) forwards;
}

.modal.is-closing-animating .modal-panel > * {
  animation: modalPanelContentVanish 0.28s ease forwards;
}

.modal.is-closing-animating .modal-panel::before {
  opacity: 1;
  animation: modalEnvelopeBodyIn 1.4s cubic-bezier(0.18, 0.9, 0.24, 1) forwards;
}

.modal.is-closing-animating .modal-panel::after {
  opacity: 1;
  animation: modalEnvelopeFlapFold 1.4s cubic-bezier(0.19, 0.84, 0.26, 1) forwards;
}

.modal.is-closing-animating.is-success-animating .modal-panel {
  filter: saturate(1.08) brightness(1.03);
  animation:
    modalPanelToLetterFlight 1.4s cubic-bezier(0.2, 0.9, 0.22, 1) forwards,
    modalSuccessTrailPulse 1.05s ease-out;
}

.modal-service-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(92, 255, 207, 0.28);
  border-radius: 999px;
  background: rgba(92, 255, 207, 0.08);
  color: #cbfff0;
  font-size: 0.88rem;
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.tag-popup {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.tag-popup-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(95, 217, 255, 0.15), transparent 32%),
    rgba(2, 7, 18, 0.74);
  backdrop-filter: blur(12px);
}

.tag-popup-panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  border-radius: 20px;
  padding: 1.2rem 1.25rem 1.15rem;
  border: 1px solid rgba(134, 220, 255, 0.34);
  background:
    linear-gradient(168deg, rgba(11, 26, 56, 0.97), rgba(6, 14, 32, 0.96)),
    radial-gradient(circle at 85% 6%, rgba(92, 255, 207, 0.14), transparent 38%);
  box-shadow: 0 24px 52px rgba(2, 10, 28, 0.58);
  animation: tagPopupIn 0.22s ease;
}

.tag-popup-panel h3 {
  margin: 0.45rem 0 0.6rem;
  font-family: Sora, sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  color: #e7f1ff;
}

.tag-popup-copy {
  margin: 0;
  color: #c7d5f4;
  line-height: 1.65;
}

.tag-popup-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(150, 188, 255, 0.28);
  background: rgba(13, 25, 56, 0.6);
  color: #e9f3ff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.tag-popup-close:focus-visible {
  outline: 2px solid rgba(166, 239, 255, 0.92);
  outline-offset: 2px;
}

.admin-shell {
  width: min(1200px, 94%);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.admin-login-card {
  width: min(520px, 100%);
  margin: 8vh auto 0;
}

.admin-warning {
  margin: 1rem 0;
  border: 1px solid rgba(255, 143, 159, 0.4);
  background: rgba(122, 24, 44, 0.24);
  color: #ffd1d7;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
}

.admin-topbar,
.admin-item-head,
.admin-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-topbar {
  align-items: flex-end;
  margin-bottom: 1.2rem;
}

.admin-topbar h1,
.admin-item-head h2 {
  margin: 0;
}

.admin-topbar-actions,
.admin-badges,
.admin-item-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.admin-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.admin-quick-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-kpi-chip {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  background: rgba(9, 20, 45, 0.7);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.admin-kpi-chip span {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-kpi-chip strong {
  color: #e5efff;
  font-size: 1.1rem;
}

.admin-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.admin-tab {
  border: 1px solid rgba(153, 192, 255, 0.28);
  background: rgba(8, 20, 46, 0.62);
  color: #dce8ff;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(153, 229, 255, 0.55);
}

.admin-tab.is-active {
  background: linear-gradient(135deg, rgba(87, 199, 255, 0.3), rgba(92, 255, 207, 0.23));
  border-color: rgba(137, 222, 255, 0.82);
  color: #f6fbff;
}

.admin-panel {
  margin-bottom: 1rem;
}

.admin-controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-outreach {
  margin-bottom: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(11, 25, 54, 0.9), rgba(6, 14, 32, 0.9));
}

.admin-outreach-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.admin-outreach-head h2 {
  margin: 0.35rem 0 0;
  font-family: Sora, sans-serif;
}

.admin-outreach-head p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-copy);
  max-width: 520px;
}

.admin-outreach-form {
  display: grid;
  gap: 0.8rem;
}

.admin-outreach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-template-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.admin-template-upload-wrap {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: end;
}

.admin-template-upload-wrap label {
  flex: 1;
}

.admin-signature-builder {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.admin-signature-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.admin-signature-head span {
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-signature-toolbar {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
}

.admin-signature-editor {
  min-height: 170px;
  border: 1px solid rgba(153, 192, 255, 0.22);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(5, 15, 34, 0.92);
  color: #e8f2ff;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-signature-editor:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(108, 190, 255, 0.35);
  border-color: rgba(108, 190, 255, 0.62);
}

.admin-signature-editor img {
  max-width: 220px;
  height: auto;
  display: inline-block;
}

.admin-outreach-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.bulk-preview {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem;
}

.bulk-preview-stats {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
  color: var(--muted);
}

.bulk-preview-table-wrap {
  overflow-x: auto;
}

.bulk-preview-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.bulk-preview-table th,
.bulk-preview-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem;
  font-size: 0.9rem;
}

.bulk-preview-table th {
  color: #d8e4ff;
  font-weight: 700;
}

.bulk-preview-table td {
  color: var(--muted);
}

.admin-list {
  display: grid;
  gap: 1rem;
}

.admin-qr-actions {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.admin-qr-frame-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

#qrFrame {
  width: 100%;
  min-height: 72vh;
  border: 0;
  background: #041024;
}

.admin-workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-utility-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
  background: rgba(8, 20, 44, 0.66);
}

.admin-utility-card h3 {
  margin: 0 0 0.7rem;
  font-size: var(--fs-title-sub);
  font-family: Sora, sans-serif;
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.admin-chat-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 0.8rem;
}

.admin-chat-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem;
  background: rgba(7, 18, 40, 0.7);
  display: grid;
  gap: 0.55rem;
  max-height: 72vh;
  overflow: auto;
}

.admin-chat-list-item {
  text-align: left;
  border: 1px solid rgba(153, 192, 255, 0.2);
  background: rgba(10, 23, 49, 0.66);
  color: #e8f2ff;
  border-radius: 12px;
  padding: 0.55rem;
  cursor: pointer;
  display: grid;
  gap: 0.24rem;
}

.admin-chat-list-item.is-active {
  border-color: rgba(137, 222, 255, 0.86);
  background: rgba(19, 45, 86, 0.8);
}

.admin-chat-list-item strong {
  font-size: var(--fs-copy);
}

.admin-chat-list-item span {
  font-size: var(--fs-copy-small);
  color: #c6d5f2;
}

.admin-chat-thread-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 18, 40, 0.7);
  padding: 0.6rem;
  display: grid;
  gap: 0.7rem;
}

.admin-chat-meta {
  border: 1px solid rgba(153, 192, 255, 0.22);
  border-radius: 12px;
  background: rgba(10, 22, 49, 0.66);
  padding: 0.52rem 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.admin-chat-meta strong {
  color: #edf5ff;
  font-size: var(--fs-copy);
}

.admin-chat-meta span {
  color: #bfd1f2;
  font-size: var(--fs-copy-small);
}

.admin-chat-thread {
  max-height: 54vh;
  overflow: auto;
  display: grid;
  gap: 0.5rem;
  padding-right: 0.2rem;
}

.admin-chat-message {
  border: 1px solid rgba(153, 192, 255, 0.22);
  border-radius: 12px;
  padding: 0.6rem;
  background: rgba(11, 24, 53, 0.74);
}

.admin-chat-message.is-admin {
  border-color: rgba(92, 255, 207, 0.42);
}

.admin-chat-message header {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
  font-size: var(--fs-copy-small);
  color: #bfd0f2;
}

.admin-chat-message p {
  margin: 0;
  white-space: pre-wrap;
  color: #eff6ff;
  font-size: var(--fs-copy);
}

.admin-chat-reply-form {
  display: grid;
  gap: 0.65rem;
}

.admin-chat-reply-form textarea {
  width: 100%;
}

.admin-meta,
.empty-state {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.admin-grid label span,
.admin-notes span {
  display: block;
  margin-bottom: 0.35rem;
  color: #d8e4ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.empty-state {
  padding: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.legal-wrap {
  padding: 5.5rem 0 4rem;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
}

.legal-back {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(900px, 94%);
  z-index: 90;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 10, 26, 0.96);
  box-shadow: 0 16px 36px rgba(2, 8, 22, 0.55);
  padding: 0.9rem;
  display: grid;
  gap: 0.8rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.live-chat {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 95;
  width: min(360px, calc(100vw - 1.6rem));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.live-chat-toggle {
  --chat-bot-blue: #1d6df2;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(123, 177, 255, 0.55);
  border-radius: 999px;
  background: var(--chat-bot-blue);
  color: #fff;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(7, 27, 71, 0.45);
  display: inline-grid;
  place-items: center;
}

.live-chat-bot-icon {
  width: 40px;
  height: 40px;
}

.live-chat-bot-icon .bot-ear,
.live-chat-bot-icon .bot-head,
.live-chat-bot-icon .bot-antenna,
.live-chat-bot-icon .bot-antenna-dot,
.live-chat-bot-icon .bot-tail {
  fill: #ffffff;
}

.live-chat-bot-icon .bot-face {
  fill: var(--chat-bot-blue);
}

.live-chat-bot-icon .bot-eye {
  fill: #ffffff;
}

.live-chat-toggle:hover {
  transform: translateY(-1px) scale(1.02);
}

.live-chat-toggle:focus-visible {
  outline: 2px solid rgba(137, 222, 255, 0.9);
  outline-offset: 2px;
}

.live-chat-panel {
  margin-top: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(6, 14, 34, 0.96);
  box-shadow: 0 16px 34px rgba(2, 7, 20, 0.56);
  overflow: hidden;
}

.live-chat-lead-form {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(153, 192, 255, 0.2);
}

.live-chat-lead-copy {
  margin: 0;
  color: #c8d9f7;
  font-size: 0.82rem;
}

.live-chat-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.live-chat-lead-form input {
  width: 100%;
}

.live-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(153, 192, 255, 0.2);
}

.live-chat-head strong {
  display: block;
  color: #eaf4ff;
  font-size: 0.92rem;
}

.live-chat-head span {
  color: #9fd3b8;
  font-size: 0.78rem;
}

.live-chat-head button {
  border: 1px solid rgba(153, 192, 255, 0.3);
  background: rgba(11, 27, 57, 0.7);
  color: #eaf4ff;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.live-chat-messages {
  max-height: 310px;
  overflow: auto;
  padding: 0.7rem;
  display: grid;
  gap: 0.55rem;
}

.live-chat-message {
  border-radius: 12px;
  padding: 0.58rem 0.62rem;
  border: 1px solid rgba(153, 192, 255, 0.22);
  background: rgba(10, 24, 52, 0.82);
}

.live-chat-message.is-admin {
  border-color: rgba(92, 255, 207, 0.36);
}

.live-chat-message header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.24rem;
}

.live-chat-message header strong {
  font-size: 0.78rem;
  color: #e8f3ff;
}

.live-chat-message header span {
  font-size: 0.7rem;
  color: #a8b8d8;
}

.live-chat-message p {
  margin: 0;
  color: #d7e7ff;
  font-size: 0.86rem;
  white-space: pre-wrap;
}

.live-chat-form {
  display: grid;
  gap: 0.55rem;
  padding: 0.7rem;
  border-top: 1px solid rgba(153, 192, 255, 0.2);
}

.live-chat-form textarea {
  width: 100%;
  min-height: 68px;
  max-height: 140px;
}

.live-chat-form textarea,
.live-chat-lead-form input {
  border: 1px solid rgba(153, 192, 255, 0.32);
  border-radius: 12px;
  background: rgba(9, 22, 48, 0.92);
  color: #eaf4ff;
  padding: 0.62rem 0.7rem;
  font-family: Manrope, sans-serif;
  font-size: 0.88rem;
}

.live-chat-form textarea:focus,
.live-chat-lead-form input:focus {
  outline: 2px solid rgba(137, 222, 255, 0.76);
  outline-offset: 1px;
}

.cookie-banner a {
  color: var(--accent);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.services .cards .card.reveal {
  animation: none;
  opacity: 0;
  transition-delay: 0ms;
  transition: opacity 0.92s cubic-bezier(0.16, 0.88, 0.22, 1),
    transform 0.92s cubic-bezier(0.16, 0.88, 0.22, 1);
}

.services .cards .card.reveal:nth-child(3n + 1) {
  transform: translate3d(-46vw, 34px, 0) rotate(-5deg) scale(0.95);
}

.services .cards .card.reveal:nth-child(3n + 2) {
  transform: translate3d(0, 60px, 0) scale(0.94);
}

.services .cards .card.reveal:nth-child(3n) {
  transform: translate3d(46vw, 34px, 0) rotate(5deg) scale(0.95);
}

.services.fly-in-active .cards .card.reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.services.fly-in-active .cards .card.reveal:nth-child(1) {
  transition-delay: 40ms;
}

.services.fly-in-active .cards .card.reveal:nth-child(2) {
  transition-delay: 180ms;
}

.services.fly-in-active .cards .card.reveal:nth-child(3) {
  transition-delay: 320ms;
}

body.page-ready .section-title {
  animation: titlePulse 5.8s ease-in-out infinite;
}

@keyframes orbFloatA {
  0% {
    transform: translate(var(--orb-shift-x, 0), var(--orb-shift-y, 0));
  }
  50% {
    transform: translate(
      calc(var(--orb-shift-x, 0) + 24px),
      calc(var(--orb-shift-y, 0) + 14px)
    );
  }
  100% {
    transform: translate(var(--orb-shift-x, 0), var(--orb-shift-y, 0));
  }
}

@keyframes orbFloatB {
  0% {
    transform: translate(var(--orb-shift-x, 0), var(--orb-shift-y, 0));
  }
  50% {
    transform: translate(
      calc(var(--orb-shift-x, 0) - 18px),
      calc(var(--orb-shift-y, 0) - 26px)
    );
  }
  100% {
    transform: translate(var(--orb-shift-x, 0), var(--orb-shift-y, 0));
  }
}

@keyframes gridShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(48px, 22px, 0);
  }
}

@keyframes heroShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes floatParticle {
  0% {
    transform: translate3d(0, 24px, 0) scale(0.75);
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  80% {
    opacity: 0.4;
  }
  100% {
    transform: translate3d(0, -160px, 0) scale(1.1);
    opacity: 0;
  }
}

@keyframes titlePulse {
  0% {
    text-shadow: 0 0 0 rgba(118, 192, 255, 0);
  }
  50% {
    text-shadow: 0 0 20px rgba(118, 192, 255, 0.14);
  }
  100% {
    text-shadow: 0 0 0 rgba(118, 192, 255, 0);
  }
}

@keyframes cinematicOut {
  0% {
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  76% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes noiseShift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-8px, 6px);
  }
}

@keyframes linePulse {
  0%,
  100% {
    transform: scaleX(0.58);
    opacity: 0.45;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes morphA {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 38% 62% 64% 36% / 52% 38% 62% 48%;
  }
  50% {
    transform: translate3d(90px, -50px, 0) scale(1.08) rotate(12deg);
    border-radius: 61% 39% 48% 52% / 43% 60% 40% 57%;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 38% 62% 64% 36% / 52% 38% 62% 48%;
  }
}

@keyframes morphB {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 58% 42% 31% 69% / 47% 57% 43% 53%;
  }
  50% {
    transform: translate3d(-70px, 72px, 0) scale(1.12) rotate(-16deg);
    border-radius: 36% 64% 56% 44% / 55% 38% 62% 45%;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 58% 42% 31% 69% / 47% 57% 43% 53%;
  }
}

@keyframes morphC {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 66% 34% 45% 55% / 44% 53% 47% 56%;
  }
  50% {
    transform: translate3d(-80px, -66px, 0) scale(1.09) rotate(14deg);
    border-radius: 41% 59% 67% 33% / 63% 36% 64% 37%;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 66% 34% 45% 55% / 44% 53% 47% 56%;
  }
}

@keyframes cardRise {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes modalBackdropFadeOut {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
  }
}

@keyframes modalPanelContentVanish {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
}

@keyframes modalPanelToLetterFlight {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    border-radius: 24px;
    opacity: 1;
    filter: blur(0);
  }
  26% {
    transform: translate3d(0, -6px, 0) rotate(-1deg) scale(0.98);
    border-radius: 18px;
    opacity: 1;
  }
  54% {
    transform: translate3d(10px, -18px, 0) rotate(-4deg) scale(0.78, 0.56);
    border-radius: 14px;
    background: linear-gradient(140deg, rgba(171, 235, 255, 0.96), rgba(117, 198, 255, 0.94));
    border-color: rgba(134, 214, 255, 0.86);
    box-shadow: 0 20px 34px rgba(3, 14, 37, 0.38);
    opacity: 1;
  }
  74% {
    transform: translate3d(132px, -128px, 0) rotate(-12deg) scale(0.54, 0.4);
    opacity: 0.98;
  }
  100% {
    transform: translate3d(368px, -392px, 0) rotate(-18deg) scale(0.28, 0.22);
    opacity: 0;
    filter: blur(1.5px);
  }
}

@keyframes modalEnvelopeBodyIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.76);
  }
  38% {
    opacity: 0;
  }
  56% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes modalEnvelopeFlapFold {
  0% {
    opacity: 0;
    transform: rotateX(0deg);
  }
  44% {
    opacity: 0;
    transform: rotateX(0deg);
  }
  62% {
    opacity: 1;
    transform: rotateX(0deg);
  }
  100% {
    opacity: 1;
    transform: rotateX(-152deg);
  }
}

@keyframes modalSuccessTrailPulse {
  0% {
    box-shadow: 0 0 0 rgba(106, 223, 255, 0);
  }
  65% {
    box-shadow: 0 0 22px rgba(106, 223, 255, 0.55);
  }
  100% {
    opacity: 0;
    box-shadow: 0 0 28px rgba(106, 223, 255, 0);
  }
}

@keyframes tagPopupIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-text,
  .hero-actions,
  .logo,
  .nav {
    opacity: 1;
    transform: none;
  }

  .hero h1 {
    color: var(--text);
    background: none;
  }

  .hero-particle,
  .section-title,
  .scroll-progress,
  .cinematic-intro,
  .morph-shape {
    animation: none !important;
  }

  .cinematic-intro {
    display: none !important;
  }
}

/* ── Audience strip ── */

.audience-strip {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 0 0 2.8rem;
}

.audience-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--muted);
  white-space: nowrap;
}

.audience-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.audience-chips li {
  padding: 0.34rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(14, 28, 62, 0.55);
}

.demo-hub {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(155deg, rgba(11, 25, 54, 0.95), rgba(6, 14, 32, 0.94)),
    radial-gradient(circle at 95% 2%, rgba(92, 255, 207, 0.16), transparent 45%);
}

.demo-hub-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.demo-hub-head .section-title {
  margin-top: 0.45rem;
}

.demo-hub .section-subtitle {
  margin-top: 0.9rem;
  margin-bottom: 1rem;
}

.demo-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.demo-hub-card {
  display: grid;
  gap: 0.48rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(126, 191, 255, 0.32);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(18, 34, 70, 0.86), rgba(8, 19, 42, 0.86));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(165, 223, 255, 0.72);
  box-shadow: 0 14px 30px rgba(4, 16, 38, 0.42);
}

.demo-hub-actions {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.demo-hub-actions .btn {
  flex: 1 1 160px;
  text-align: center;
}

.demo-hub-kicker {
  color: #91c8ff;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.demo-hub-card strong {
  font-family: Sora, sans-serif;
  font-size: 1.02rem;
  color: #edf5ff;
}

.demo-hub-card p {
  margin: 0;
  color: #b7c7e8;
  line-height: 1.5;
  font-size: 0.92rem;
}

.demo-hub-link {
  margin-top: 0.2rem;
  color: #9ff2da;
  font-weight: 700;
  font-size: 0.86rem;
}

.demo-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.demo-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.78);
  backdrop-filter: blur(12px);
}

.demo-preview-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  height: min(86vh, 880px);
  border-radius: 18px;
  border: 1px solid rgba(148, 203, 255, 0.34);
  overflow: hidden;
  background: #050d1a;
  display: grid;
  grid-template-rows: auto 1fr;
}

.demo-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(148, 203, 255, 0.24);
  background: linear-gradient(145deg, rgba(12, 27, 56, 0.95), rgba(8, 17, 34, 0.95));
}

.demo-preview-head h3 {
  margin: 0.4rem 0 0;
  font-family: Sora, sans-serif;
  font-size: 1.2rem;
}

.demo-preview-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.demo-preview-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 203, 255, 0.24);
  background: rgba(8, 17, 34, 0.78);
  color: #eff5ff;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
}

#demoPreviewFrame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

/* ── Process section ── */

.process-section {
  padding: 1.5rem 0 4rem;
}

.process-steps {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(145deg, var(--surface) 0%, rgba(20, 38, 74, 0.9) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  transition: border-color 0.25s ease;
}

.process-step:hover {
  border-color: rgba(87, 199, 255, 0.32);
}

.step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(87, 199, 255, 0.18), rgba(92, 255, 207, 0.12));
  border: 1px solid rgba(87, 199, 255, 0.28);
  font-family: Sora, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.step-content h3 {
  margin: 0 0 0.5rem;
  font-family: Sora, sans-serif;
  font-size: var(--fs-title-sub);
  font-weight: 700;
  color: var(--text);
}

.step-content p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-copy);
  line-height: 1.66;
}

/* ── FAQ section ── */

.faq-section {
  padding: 2rem 0 4rem;
}

.faq-list {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item {
  background: linear-gradient(145deg, var(--surface) 0%, rgba(20, 38, 74, 0.9) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.22s ease;
}

.faq-item:hover {
  border-color: rgba(87, 199, 255, 0.32);
}

.faq-item[open] {
  border-color: rgba(87, 199, 255, 0.28);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  font-size: var(--fs-title-sub);
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.22s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.3rem 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: var(--fs-copy);
}

/* ── Closing CTA ── */

.cta-section {
  padding: 1rem 0 5rem;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(87, 199, 255, 0.28);
  padding: 3.8rem 2.5rem;
  background: linear-gradient(148deg, rgba(15, 34, 84, 0.9), rgba(8, 20, 52, 0.95));
  text-align: center;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(87, 199, 255, 0.16), transparent 60%);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
}

.cta-box h2 {
  margin: 0.7rem 0 0.9rem;
  font-family: Sora, sans-serif;
  line-height: 1.15;
  color: var(--text);
}

.cta-box p {
  margin: 0 auto 2rem;
  max-width: 540px;
  color: var(--muted);
  line-height: 1.7;
  font-size: var(--fs-copy);
}

@media (hover: none), (pointer: coarse) {
  body::before {
    display: none;
  }

  body::after {
    display: none;
  }

  .morph-bg {
    display: none;
  }

  .morph-shape {
    mix-blend-mode: normal;
    opacity: 0.14;
    filter: blur(46px);
  }

  .hero h1 {
    color: var(--text);
    background: none;
    -webkit-text-fill-color: var(--text);
    text-shadow: 0 8px 24px rgba(3, 11, 28, 0.35);
  }

  body.page-ready .hero h1 {
    animation: none;
  }

  .hero-particle {
    opacity: 0.14;
  }
}

@media (max-width: 1080px) {
  .cards,
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-hub-grid {
    grid-template-columns: 1fr;
  }

  .demo-preview-shell {
    height: min(84vh, 760px);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .stats,
  .admin-quick-kpis,
  .admin-controls,
  .admin-grid,
  .admin-outreach-grid,
  .admin-workspace-grid {
    grid-template-columns: 1fr;
  }

  .admin-chat-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .nav {
    display: none;
    position: absolute;
    right: 4%;
    top: 60px;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(6, 13, 33, 0.96);
    flex-direction: column;
    min-width: 190px;
  }

  .nav.open {
    display: flex;
  }

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

  .footer-inner,
  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  body {
    background:
      radial-gradient(circle at 16% -6%, rgba(40, 89, 196, 0.26), transparent 40%),
      radial-gradient(circle at 84% 10%, rgba(64, 159, 255, 0.14), transparent 36%),
      linear-gradient(172deg, #050d22 0%, #040b1d 54%, #030915 100%);
  }

  body::before,
  body::after,
  .morph-bg {
    display: none !important;
  }

  .bg-orb {
    opacity: 0.16;
    filter: blur(56px);
  }

  .hero {
    padding-top: 6.2rem;
  }

  .modal {
    place-items: start center;
    padding: 0.8rem;
  }

  .modal-panel {
    max-height: calc(100dvh - 1.6rem);
  }

  .admin-body {
    background-color: #040b1d;
    background:
      radial-gradient(circle at 82% 6%, rgba(54, 154, 255, 0.14) 0%, transparent 34%),
      linear-gradient(175deg, #030a1a 0%, #040d21 58%, #050b1a 100%);
  }

  .admin-body::before {
    background:
      radial-gradient(circle at 80% 14%, rgba(54, 154, 255, 0.11), transparent 36%),
      linear-gradient(172deg, rgba(4, 10, 26, 0.98), rgba(3, 8, 20, 0.98));
  }

  .admin-body .bg-orb {
    opacity: 0.2;
    filter: blur(42px);
  }

  .admin-body .admin-shell {
    padding-top: 1.6rem;
  }

  .admin-body .admin-topbar-actions {
    width: 100%;
  }

  .admin-body .admin-topbar-actions .btn,
  .admin-body .admin-topbar-actions .btn-ghost {
    flex: 1 1 0;
    text-align: center;
    min-width: 0;
  }

  .cards,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-quick-actions {
    grid-template-columns: 1fr;
  }

  .audience-strip {
    gap: 0.7rem;
  }

  .demo-hub {
    padding: 1rem;
  }

  .demo-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-preview-actions {
    width: 100%;
  }

  .demo-preview-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .cta-box {
    padding: 2.4rem 1.5rem;
  }

  .cookie-banner {
    bottom: 0.6rem;
  }

  .live-chat {
    right: 0.6rem;
    bottom: 0.6rem;
    width: min(360px, calc(100vw - 1.2rem));
  }

  .live-chat-lead-grid {
    grid-template-columns: 1fr;
  }

  /* --- Mobile: Text declutter --- */
  .hero-text {
    display: none;
  }

  .hero-actions a:last-child {
    display: none;
  }

  .section-subtitle {
    display: none;
  }

  .card > p {
    display: none;
  }

  .card-tags {
    display: none;
  }

  .step-content > p {
    display: none;
  }

  .cta-box > p {
    display: none;
  }
}
