*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

:root {
  --navy: #07111f;
  --navy-soft: #0d1d33;
  --accent: #2563eb;
  --accent-light: #38bdf8;
  --teal: #14b8a6;
  --lime: #84cc16;
  --coral: #f97316;
  --white: #ffffff;
  --offwhite: #f7fbff;
  --surface: #ffffff;
  --text-main: #101b2f;
  --text-muted: #5b6d83;
  --text-light: #8da1ba;
  --border: rgba(37, 99, 235, 0.14);
  --border-strong: rgba(20, 184, 166, 0.28);
  --section-alt: #f2f8ff;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbff 48%, #ffffff 100%);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::selection {
  background: rgba(20, 184, 166, 0.25);
}

h1, h2, h3, h4, .btn {
  font-family: 'Sora', sans-serif;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

body.is-scrolled nav {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  width: 232px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--navy);
}

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

.nav-cta {
  color: white !important;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  color: white !important;
  transform: translateY(-1px);
}

.hero {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(320px, 1fr);
  align-items: center;
  gap: 54px;
  padding: 112px 5% 104px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.18), transparent 30%),
    linear-gradient(310deg, rgba(249, 115, 22, 0.16), transparent 34%),
    linear-gradient(180deg, var(--navy) 0%, #0a1a31 58%, #07111f 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, 0.08) 46%, transparent 56%),
    linear-gradient(260deg, transparent 0 55%, rgba(56, 189, 248, 0.14) 65%, transparent 76%);
  animation: heroSweep 9s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.9));
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.85;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  animation: gridDrift 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: revealHero 0.85s ease both;
}

.hero-logo-lockup {
  margin-bottom: 30px;
}

.hero-logo-lockup img {
  width: 312px;
  max-width: 88vw;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 7px 14px;
  color: #c1f8ec;
  font-size: 13px;
  border: 1px solid rgba(20, 184, 166, 0.38);
  border-radius: 999px;
  background: rgba(8, 28, 49, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(132, 204, 22, 0.9);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero h1 {
  max-width: 760px;
  color: white;
  font-size: 62px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero h1 .accent-word {
  color: transparent;
  background: linear-gradient(90deg, #5eead4, #93c5fd, #fed7aa);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textFlow 5s ease-in-out infinite alternate;
}

.hero p {
  max-width: 560px;
  margin-bottom: 40px;
  color: #adc0d6;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 24px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(20, 184, 166, 0.28);
}

.btn-outline {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: revealHero 0.9s 0.15s ease both;
}

.signal-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 50%;
  transform: rotate(-14deg);
  animation: ringSpin 18s linear infinite;
}

.signal-ring::before,
.signal-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.signal-ring::before {
  inset: 42px;
}

.signal-ring::after {
  inset: 86px;
  border-color: rgba(249, 115, 22, 0.2);
}

.system-panel {
  position: relative;
  width: min(380px, 100%);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 26, 48, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  animation: panelFloat 5.5s ease-in-out infinite;
}

.system-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 184, 166, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%);
  pointer-events: none;
}

.panel-topline,
.system-metric,
.system-row,
.metric-bars {
  position: relative;
  z-index: 1;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: #d9e9f7;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.live-pill {
  padding: 5px 9px;
  border-radius: 999px;
  color: #d9f99d;
  background: rgba(132, 204, 22, 0.14);
  border: 1px solid rgba(132, 204, 22, 0.28);
}

.system-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  color: #96a9bd;
  font-size: 14px;
}

.system-metric strong {
  color: white;
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  line-height: 1;
}

.metric-bars {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.metric-bars span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--coral));
  transform-origin: left;
  animation: barPulse 2.8s ease-in-out infinite;
}

.metric-bars span:nth-child(1) {
  width: 92%;
}

.metric-bars span:nth-child(2) {
  width: 76%;
  animation-delay: 0.2s;
}

.metric-bars span:nth-child(3) {
  width: 84%;
  animation-delay: 0.4s;
}

.metric-bars span:nth-child(4) {
  width: 62%;
  animation-delay: 0.6s;
}

.system-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  color: #d8e6f4;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.row-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.75);
}

.row-dot-alt {
  background: var(--coral);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.72);
}

.hero-stats {
  position: absolute;
  left: 5%;
  bottom: 34px;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.stat-card {
  min-width: 128px;
  padding: 16px 18px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.stat-num {
  display: block;
  color: white;
  font-family: 'Sora', sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 5px;
  color: #8fa8c0;
  font-size: 12px;
}

.trust-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  padding: 22px 5%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(7, 17, 31, 0.04);
}

.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--coral), var(--lime));
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

section {
  padding: 96px 5%;
}

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-label {
  margin-bottom: 12px;
  color: var(--accent);
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-sub {
  max-width: 590px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
}

#services {
  background:
    linear-gradient(180deg, var(--offwhite), #ffffff);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 100%;
  padding: 30px 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.14), transparent 36%),
    linear-gradient(315deg, rgba(249, 115, 22, 0.11), transparent 42%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

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

.service-card:hover::after {
  transform: scaleX(1);
}

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

.service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, var(--teal), var(--lime));
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, var(--coral), var(--accent));
}

.service-card:nth-child(4) .service-icon {
  background: linear-gradient(135deg, var(--navy-soft), var(--accent-light));
}

.service-card:nth-child(5) .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--coral));
}

.service-card:nth-child(6) .service-icon {
  background: linear-gradient(135deg, var(--lime), var(--teal));
}

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

.service-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.72;
  font-weight: 300;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

#how {
  background: var(--white);
}

.steps-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.steps-row::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 55px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--coral));
  opacity: 0.2;
}

.step {
  position: relative;
  padding: 30px 24px;
  text-align: center;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 17px;
  color: white;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.step h4 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.step p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 300;
}

#about {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: 76px;
}

.about-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 42px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.26), transparent 36%),
    linear-gradient(315deg, rgba(249, 115, 22, 0.18), transparent 42%),
    linear-gradient(180deg, var(--navy), #0b2039);
  box-shadow: var(--shadow);
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: auto 28px 26px 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--coral));
  opacity: 0.85;
}

.about-visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.68;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: gridDrift 18s linear infinite;
}

.about-logo-display {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 10px 0 34px;
}

.about-logo-display img {
  width: 280px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.about-icon-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-icon-item {
  padding: 20px 16px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: transform 0.24s ease, background 0.24s ease;
}

.about-icon-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.about-icon-item .icon-emoji {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.about-icon-item span:last-child {
  display: block;
  color: #b9d0e6;
  font-size: 12px;
  font-weight: 600;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.82;
  font-weight: 300;
}

.uk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  color: #0f766e;
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.22);
  font-size: 13px;
  font-weight: 600;
}

#contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.22), transparent 32%),
    linear-gradient(315deg, rgba(249, 115, 22, 0.16), transparent 38%),
    linear-gradient(180deg, var(--navy), #07111f);
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 50%, transparent 58%);
  animation: heroSweep 10s ease-in-out infinite alternate;
}

#contact .section-label {
  color: #5eead4;
}

#contact .section-title {
  color: white;
}

#contact .section-sub {
  margin: 0 auto 40px;
  color: #adc0d6;
}

.contact-primary-action {
  margin: 0 auto;
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  animation: gridDrift 20s linear infinite;
}

.contact-inner {
  position: relative;
  z-index: 2;
}

.contact-inner .section-header {
  margin-inline: auto;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-opt {
  min-width: 180px;
  padding: 24px 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.contact-opt:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(20, 184, 166, 0.32);
}

.contact-opt-icon {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
}

.contact-opt-label {
  display: block;
  margin-bottom: 4px;
  color: #8fa8c0;
  font-size: 12px;
}

.contact-opt-val {
  display: block;
  color: white;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 32px 5%;
  background: #050b14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo img {
  width: 190px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.52;
}

.footer-legal {
  color: #52677e;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #52677e;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #5eead4;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
}

.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 17px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  box-shadow: 0 18px 42px rgba(7, 17, 31, 0.24);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(20, 184, 166, 0.26);
}

.chat-toggle svg {
  width: 18px;
  height: 18px;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(360px, calc(100vw - 32px));
  padding: 20px;
  color: var(--text-main);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(7, 17, 31, 0.24);
  animation: panelReveal 0.22s ease both;
}

.chat-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--coral));
}

.chat-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.chat-eyebrow,
.cookie-eyebrow {
  margin-bottom: 4px;
  color: var(--accent);
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.chat-panel h2,
.cookie-banner h2,
.cookie-dialog h2 {
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  line-height: 1.25;
}

.chat-close,
.cookie-close {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--text-muted);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
  background: white;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.chat-close:hover,
.cookie-close:hover {
  color: var(--navy);
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-1px);
}

.chat-copy {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.chat-actions {
  display: grid;
  gap: 10px;
}

.chat-actions a {
  display: block;
  padding: 13px 14px;
  color: inherit;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.08), transparent 42%),
    #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.08);
}

.chat-actions span {
  display: block;
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.chat-actions small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
}

.chat-note {
  margin-top: 14px;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.55;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 130;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  max-width: 920px;
  padding: 20px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 90px rgba(7, 17, 31, 0.2);
}

.cookie-banner h2 {
  margin-bottom: 6px;
}

.cookie-banner p,
.cookie-dialog p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.cookie-actions,
.cookie-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  min-height: 42px;
  padding: 11px 15px;
  border-radius: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.cookie-btn-primary {
  color: white;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
}

.cookie-btn-secondary {
  color: var(--navy);
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: white;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 20, 0.58);
  backdrop-filter: blur(6px);
}

.cookie-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background: white;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
  animation: panelReveal 0.22s ease both;
}

.cookie-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.cookie-preferences {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.preference-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.06), transparent 48%);
}

label.preference-row {
  cursor: pointer;
}

.preference-row h3 {
  margin-bottom: 4px;
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-size: 15px;
}

.preference-required {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  color: #0f766e;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.preference-row input {
  appearance: none;
  width: 48px;
  height: 28px;
  position: relative;
  border: 1px solid rgba(91, 109, 131, 0.32);
  border-radius: 999px;
  background: #d9e2ee;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.preference-row input::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(7, 17, 31, 0.18);
  transition: transform 0.2s ease;
}

.preference-row input:checked {
  border-color: rgba(20, 184, 166, 0.6);
  background: linear-gradient(135deg, var(--accent), var(--teal));
}

.preference-row input:checked::before {
  transform: translateX(20px);
}

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

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

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.78);
  }
}

@keyframes heroSweep {
  0% {
    transform: translateX(-8%);
    opacity: 0.62;
  }
  100% {
    transform: translateX(8%);
    opacity: 1;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 58px 58px;
  }
}

@keyframes revealHero {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textFlow {
  from {
    background-position: 0 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes ringSpin {
  to {
    transform: rotate(346deg);
  }
}

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

@keyframes barPulse {
  0%, 100% {
    transform: scaleX(0.9);
    opacity: 0.86;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

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

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 112px;
  }

  .hero-visual {
    min-height: 360px;
    justify-content: flex-start;
  }

  .hero-stats {
    position: static;
    grid-column: 1;
    margin-top: -18px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 820px) {
  .nav-logo img {
    width: 190px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links li:not(:last-child) {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .section-title {
    font-size: 34px;
  }

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

  .steps-row::before {
    display: none;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  nav {
    height: 68px;
  }

  .nav-logo img {
    width: 168px;
  }

  .nav-cta {
    padding: 9px 13px;
    font-size: 13px;
  }

  .hero {
    padding: 100px 5% 64px;
  }

  .hero-logo-lockup img {
    width: 248px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .system-panel {
    padding: 20px;
  }

  .chat-widget {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .chat-toggle {
    width: 100%;
    justify-content: center;
  }

  .chat-panel {
    left: 0;
    right: 0;
    bottom: 62px;
    width: 100%;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 76px;
    padding: 18px;
  }

  .cookie-actions,
  .cookie-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-dialog {
    padding: 20px;
  }

  .preference-row {
    grid-template-columns: 1fr;
  }

  .preference-row input,
  .preference-required {
    justify-self: start;
  }

  .hero-stats {
    display: none;
  }

  section {
    padding: 72px 5%;
  }

  .section-title {
    font-size: 30px;
  }

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

  .about-visual {
    min-height: 350px;
    padding: 28px;
  }

  .about-icon-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    justify-content: flex-start;
    gap: 18px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
