/*
Theme Name: bert. Landing Page v11
Theme URI: https://usebert.co.uk
Author: QMS Precast Ltd
Description: Full-screen bert. landing page with tablet app preview and consulting package section.
Version: 11.0.0
Text Domain: bert-landing
*/

:root {
  --bert-navy: #020817;
  --bert-navy-2: #07143a;
  --bert-blue: #0b1f4a;
  --bert-orange: #ff7a00;
  --bert-orange-2: #ff8f1f;
  --bert-white: #ffffff;
  --bert-muted: #d9e3ef;
  --bert-text: #07102f;
  --bert-body: #475569;
  --bert-line: #dbe5f1;
  --bert-soft: #f7f9fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bert-soft);
  color: var(--bert-text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.bert-site {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bert-soft);
}

.bert-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 8, 23, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
}

.bert-nav {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.bert-header-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.bert-header-logo img {
  display: block;
  width: 158px;
  height: auto;
}

.bert-nav-links {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: 38px;
  align-items: center;
  color: #e8eef8;
  font-size: 15px;
  font-weight: 850;
}

.bert-nav-links a {
  opacity: 0.9;
  transition: opacity 180ms ease, color 180ms ease;
}

.bert-nav-links a:hover {
  opacity: 1;
  color: var(--bert-white);
}

.bert-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  padding: 0 26px;
  background: var(--bert-orange);
  color: var(--bert-white);
  font-weight: 950;
  font-size: 16px;
  box-shadow: 0 18px 38px rgba(255, 122, 0, 0.28);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.bert-button:hover {
  transform: translateY(-2px);
  background: var(--bert-orange-2);
  box-shadow: 0 24px 48px rgba(255, 122, 0, 0.36);
}

.bert-button:active {
  transform: translateY(0) scale(0.98);
}

.bert-button .bert-arrow {
  transition: transform 180ms ease;
}

.bert-button:hover .bert-arrow {
  transform: translateX(4px);
}

.bert-button-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: none;
}

.bert-button-secondary:hover {
  background: rgba(255,255,255,0.10);
}

.bert-hero {
  position: relative;
  overflow: hidden;
  color: var(--bert-white);
  background:
    radial-gradient(circle at 82% 46%, rgba(255,122,0,.24), transparent 26%),
    radial-gradient(circle at 60% 22%, rgba(14,165,233,.16), transparent 36%),
    linear-gradient(135deg, #020817 0%, #07143a 55%, #07101f 100%);
}


.bert-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 72px 28px 74px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 48px;
  align-items: center;
}

.bert-eyebrow-pill {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(255,122,0,.36);
  background: rgba(255,122,0,.08);
  color: #ffd1a0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 950;
}

.bert-dot { color: var(--bert-orange); }

.bert-hero h1 {
  margin: 28px 0 0;
  max-width: 630px;
  color: var(--bert-white);
  font-size: clamp(50px, 6.6vw, 90px);
  line-height: 0.91;
  letter-spacing: -0.08em;
  font-weight: 1000;
}

.bert-orange { color: var(--bert-orange); }

.bert-hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--bert-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  font-weight: 600;
}

.bert-hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.bert-hero-benefits {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: #e9f0fa;
}

.bert-hero-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
  font-weight: 850;
}

.bert-hero-benefit small {
  display: block;
  margin-top: 2px;
  color: #bdc9d9;
  font-size: 14px;
  font-weight: 600;
}

.bert-benefit-icon {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,.58);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.bert-hero-visual {
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: center;
  transform: translateY(-42px);
}

.bert-hero-logo {
  width: min(100%, 650px);
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 28px 55px rgba(0,0,0,.32));
  animation: bertLogoIn 800ms ease both;
}

.bert-tablet {
  width: min(100%, 610px);
  border-radius: 34px;
  border: 2px solid rgba(255,255,255,.28);
  background: linear-gradient(135deg, #1f2433, #0b1020);
  padding: 18px;
  box-shadow: 0 34px 80px rgba(0,0,0,.34);
  animation: bertTabletFloat 6s ease-in-out infinite;
}

.bert-tablet-screen {
  overflow: hidden;
  border-radius: 24px;
  background: #f8fafc;
  color: #07102f;
}

.bert-tablet-head {
  border-bottom: 1px solid #dbe5f1;
  background: #fff;
  padding: 24px;
}

.bert-tablet-head p {
  margin: 0;
  color: var(--bert-orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bert-tablet-head h3 {
  margin: 6px 0 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.bert-tablet-body {
  padding: 24px;
}

.bert-check-card {
  border: 1px solid #dbe5f1;
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.bert-badge {
  display: inline-flex;
  border-radius: 999px;
  background: #efe7ff;
  color: #6d28d9;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 950;
}

.bert-check-card h4 {
  margin: 12px 0 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.bert-check-card p {
  margin: 5px 0 0;
  color: #64748b;
  font-weight: 650;
}

.bert-start {
  min-width: 108px;
  min-height: 64px;
  border: 0;
  border-radius: 18px;
  background: #7c3aed;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
}

.bert-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.bert-stat {
  border-radius: 18px;
  padding: 18px;
}

.bert-stat strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.bert-stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 850;
}

.bert-stat.orange { background: #fff4e8; color: #9a3412; }
.bert-stat.blue { background: #eff6ff; color: #1d4ed8; }
.bert-stat.green { background: #ecfdf5; color: #166534; }

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

@keyframes bertLogoIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.bert-section {
  padding: 74px 28px;
}

.bert-wrap {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.bert-consulting {
  background: #fff;
  border-bottom: 1px solid var(--bert-line);
}

.bert-grid-two {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 44px;
  align-items: start;
}

.bert-kicker {
  margin: 0 0 14px;
  color: var(--bert-orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bert-section h2 {
  margin: 0;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 1000;
}

.bert-lead {
  margin: 18px 0 0;
  color: var(--bert-body);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 600;
}

.bert-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bert-service {
  border: 1px solid var(--bert-line);
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(15,23,42,.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bert-service:hover {
  transform: translateY(-5px);
  border-color: rgba(255,122,0,.42);
  box-shadow: 0 28px 58px rgba(15,23,42,.11);
}

.bert-service-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff3e7;
  color: var(--bert-orange);
  font-size: 24px;
  margin-bottom: 14px;
}

.bert-service h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.bert-service p {
  margin: 9px 0 0;
  color: #5b6b80;
  line-height: 1.55;
  font-weight: 600;
}

.bert-loop {
  background: linear-gradient(180deg, #fff 0%, #f6faff 100%);
}

.bert-loop-head {
  max-width: 740px;
  margin: 0 auto 40px;
  text-align: center;
}

.bert-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.bert-flow-step {
  position: relative;
  border: 1px solid var(--bert-line);
  border-radius: 24px;
  background: #fff;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 16px 38px rgba(15,23,42,.05);
}

.bert-flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -20px;
  top: 45%;
  transform: translateY(-50%);
  color: var(--bert-orange);
  font-size: 34px;
  font-weight: 950;
}

.bert-flow-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: var(--bert-navy);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.bert-flow-step h3 {
  margin: 0;
  font-size: 18px;
}

.bert-flow-step p {
  margin: 8px 0 0;
  color: #5b6b80;
  line-height: 1.5;
  font-weight: 600;
  font-size: 14px;
}

.bert-cta {
  background: var(--bert-navy);
  color: #fff;
  text-align: center;
}

.bert-cta .bert-lead {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: #d9e3ef;
}

.bert-footer {
  background: #020817;
  color: #cbd5e1;
}

.bert-footer-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.bert-footer img {
  width: 138px;
  height: auto;
  display: block;
}

@media (max-width: 1040px) {
  .bert-nav-links { display: none; }
  .bert-hero-inner,
  .bert-grid-two {
    grid-template-columns: 1fr;
  }
  .bert-hero-inner {
    min-height: auto;
  }
  .bert-hero-visual {
    margin-top: 12px;
  }
  .bert-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bert-flow {
    grid-template-columns: 1fr;
  }
  .bert-flow-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 660px) {
  .bert-nav {
    padding: 14px 16px;
  }
  .bert-header-logo img {
    width: 118px;
  }
  .bert-button {
    min-height: 46px;
    padding: 0 16px;
    font-size: 14px;
  }
  .bert-hero-inner,
  .bert-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .bert-hero-inner {
    padding-top: 48px;
    padding-bottom: 52px;
  }
  .bert-hero h1 {
    font-size: clamp(42px, 14vw, 64px);
  }
  .bert-hero-actions {
    flex-direction: column;
  }
  .bert-tablet {
    padding: 10px;
    border-radius: 24px;
  }
  .bert-tablet-body,
  .bert-tablet-head {
    padding: 18px;
  }
  .bert-check-card {
    flex-direction: column;
    align-items: stretch;
  }
  .bert-start {
    width: 100%;
  }
  .bert-stats {
    grid-template-columns: 1fr;
  }
  .bert-service-grid {
    grid-template-columns: 1fr;
  }
  .bert-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* Extra app information sections */
.bert-problem {
  background: #f7f9fc;
}

.bert-section-head {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.bert-section-head .bert-lead {
  margin-left: auto;
  margin-right: auto;
}

.bert-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bert-card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bert-info-card {
  border: 1px solid var(--bert-line);
  background: #fff;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(15,23,42,.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bert-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,122,0,.42);
  box-shadow: 0 28px 58px rgba(15,23,42,.11);
}

.bert-info-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 16px;
  background: #fff3e7;
  color: var(--bert-orange);
  font-size: 24px;
  font-weight: 950;
}

.bert-info-card h3 {
  margin: 0;
  color: var(--bert-text);
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 950;
}

.bert-info-card p {
  margin: 10px 0 0;
  color: #5b6b80;
  line-height: 1.58;
  font-weight: 600;
}

.bert-app-detail {
  background: var(--bert-navy);
  color: #fff;
}

.bert-app-detail .bert-lead,
.bert-app-detail .bert-info-card p {
  color: #d9e3ef;
}

.bert-app-detail .bert-info-card {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}

.bert-app-detail .bert-info-card h3 {
  color: #fff;
}

.bert-app-detail .bert-info-icon {
  background: rgba(255,122,0,.13);
}

.bert-tablet-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.bert-tablet-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #e8eef8;
  font-weight: 750;
  line-height: 1.5;
}

.bert-tablet-list span {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--bert-orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 950;
}

.bert-proof-panel {
  border-radius: 32px;
  background: #fff;
  color: var(--bert-text);
  padding: 26px;
  box-shadow: 0 34px 80px rgba(0,0,0,.28);
}

.bert-proof-top {
  border-radius: 24px;
  background: #f8fafc;
  padding: 24px;
  border: 1px solid var(--bert-line);
}

.bert-proof-top h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.bert-proof-top p {
  margin: 10px 0 0;
  color: #64748b;
  font-weight: 650;
  line-height: 1.55;
}

.bert-proof-rows {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.bert-proof-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--bert-line);
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 850;
}

.bert-proof-row small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-weight: 650;
}

.bert-status-pill {
  border-radius: 999px;
  padding: 7px 11px;
  background: #ecfdf5;
  color: #166534;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.bert-status-pill.warn {
  background: #fff7ed;
  color: #9a3412;
}

.bert-roles {
  background: #fff;
}

.bert-ready {
  background: #f7f9fc;
}

.bert-ready-strip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--bert-line);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15,23,42,.05);
}

.bert-ready-item {
  padding: 22px;
  border-right: 1px solid var(--bert-line);
}

.bert-ready-item:last-child {
  border-right: 0;
}

.bert-ready-item strong {
  display: block;
  font-size: 17px;
  color: var(--bert-text);
}

.bert-ready-item span {
  display: block;
  margin-top: 7px;
  color: #64748b;
  line-height: 1.45;
  font-weight: 600;
}

@media (max-width: 1040px) {
  .bert-card-grid-4,
  .bert-ready-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .bert-card-grid-3 {
    grid-template-columns: 1fr;
  }
  .bert-ready-item:nth-child(2) {
    border-right: 0;
  }
  .bert-ready-item:nth-child(3),
  .bert-ready-item:nth-child(4) {
    border-top: 1px solid var(--bert-line);
  }
}

@media (max-width: 660px) {
  .bert-card-grid-4,
  .bert-ready-strip {
    grid-template-columns: 1fr;
  }
  .bert-ready-item {
    border-right: 0;
    border-top: 1px solid var(--bert-line);
  }
  .bert-ready-item:first-child {
    border-top: 0;
  }
}


/* Scroll reveal transitions */
.bert-js .bert-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms ease, transform 760ms ease;
  will-change: opacity, transform;
}

.bert-js .bert-reveal.bert-visible {
  opacity: 1;
  transform: translateY(0);
}

.bert-js .bert-reveal .bert-info-card,
.bert-js .bert-reveal .bert-service,
.bert-js .bert-reveal .bert-flow-step,
.bert-js .bert-reveal .bert-ready-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.bert-js .bert-reveal.bert-visible .bert-info-card,
.bert-js .bert-reveal.bert-visible .bert-service,
.bert-js .bert-reveal.bert-visible .bert-flow-step,
.bert-js .bert-reveal.bert-visible .bert-ready-item {
  opacity: 1;
  transform: translateY(0);
}

.bert-js .bert-reveal.bert-visible .bert-info-card:nth-child(1),
.bert-js .bert-reveal.bert-visible .bert-service:nth-child(1),
.bert-js .bert-reveal.bert-visible .bert-flow-step:nth-child(1),
.bert-js .bert-reveal.bert-visible .bert-ready-item:nth-child(1) {
  transition-delay: 80ms;
}

.bert-js .bert-reveal.bert-visible .bert-info-card:nth-child(2),
.bert-js .bert-reveal.bert-visible .bert-service:nth-child(2),
.bert-js .bert-reveal.bert-visible .bert-flow-step:nth-child(2),
.bert-js .bert-reveal.bert-visible .bert-ready-item:nth-child(2) {
  transition-delay: 150ms;
}

.bert-js .bert-reveal.bert-visible .bert-info-card:nth-child(3),
.bert-js .bert-reveal.bert-visible .bert-service:nth-child(3),
.bert-js .bert-reveal.bert-visible .bert-flow-step:nth-child(3),
.bert-js .bert-reveal.bert-visible .bert-ready-item:nth-child(3) {
  transition-delay: 220ms;
}

.bert-js .bert-reveal.bert-visible .bert-info-card:nth-child(4),
.bert-js .bert-reveal.bert-visible .bert-service:nth-child(4),
.bert-js .bert-reveal.bert-visible .bert-flow-step:nth-child(4),
.bert-js .bert-reveal.bert-visible .bert-ready-item:nth-child(4) {
  transition-delay: 290ms;
}

.bert-js .bert-reveal.bert-visible .bert-info-card:nth-child(5),
.bert-js .bert-reveal.bert-visible .bert-service:nth-child(5),
.bert-js .bert-reveal.bert-visible .bert-flow-step:nth-child(5) {
  transition-delay: 360ms;
}

.bert-js .bert-reveal.bert-visible .bert-info-card:nth-child(6),
.bert-js .bert-reveal.bert-visible .bert-service:nth-child(6) {
  transition-delay: 430ms;
}

@media (max-width: 1040px) {
  .bert-hero-visual {
    transform: translateY(-14px);
  }
}

@media (max-width: 660px) {
  .bert-hero-visual {
    transform: none;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bert-js .bert-reveal,
  .bert-js .bert-reveal .bert-info-card,
  .bert-js .bert-reveal .bert-service,
  .bert-js .bert-reveal .bert-flow-step,
  .bert-js .bert-reveal .bert-ready-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Simple moving hero background glows */
.bert-moving-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.72;
  will-change: transform;
}

.bert-moving-glow-blue {
  width: 520px;
  height: 520px;
  right: 12%;
  top: 4%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.34), rgba(14, 165, 233, 0.10) 44%, transparent 72%);
  animation: bertBlueGlowDrift 16s ease-in-out infinite;
}

.bert-moving-glow-orange {
  width: 460px;
  height: 460px;
  right: -3%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.34), rgba(255, 122, 0, 0.12) 42%, transparent 72%);
  animation: bertOrangeGlowDrift 18s ease-in-out infinite;
}

@keyframes bertBlueGlowDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-42px, 28px, 0) scale(1.08);
  }
}

@keyframes bertOrangeGlowDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(34px, -30px, 0) scale(1.1);
  }
}

@media (max-width: 660px) {
  .bert-moving-glow {
    filter: blur(44px);
    opacity: 0.52;
  }

  .bert-moving-glow-blue {
    width: 360px;
    height: 360px;
    right: -80px;
    top: 40px;
  }

  .bert-moving-glow-orange {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bert-moving-glow {
    animation: none !important;
  }
}


/* Slow moving orbit lines in the hero */
.bert-orbit {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 122, 0, 0.24);
  border-radius: 999px;
  will-change: transform;
}

.bert-orbit-one {
  right: -190px;
  top: -170px;
  width: 850px;
  height: 850px;
  transform: rotate(-14deg);
  animation: bertOrbitOne 24s ease-in-out infinite;
}

.bert-orbit-two {
  right: 28px;
  bottom: 150px;
  width: 780px;
  height: 270px;
  transform: rotate(-9deg);
  animation: bertOrbitTwo 20s ease-in-out infinite;
}

.bert-orbit-three {
  right: 175px;
  top: 150px;
  width: 560px;
  height: 175px;
  border-color: rgba(14, 165, 233, 0.18);
  transform: rotate(18deg);
  animation: bertOrbitThree 28s ease-in-out infinite;
}

@keyframes bertOrbitOne {
  0%, 100% {
    transform: rotate(-14deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(-9deg) translate3d(-18px, 14px, 0);
  }
}

@keyframes bertOrbitTwo {
  0%, 100% {
    transform: rotate(-9deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(-5deg) translate3d(22px, -8px, 0);
  }
}

@keyframes bertOrbitThree {
  0%, 100% {
    transform: rotate(18deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(23deg) translate3d(-16px, -12px, 0);
  }
}

@media (max-width: 1040px) {
  .bert-orbit-one {
    right: -320px;
    top: -220px;
  }

  .bert-orbit-two {
    right: -180px;
    bottom: 210px;
  }

  .bert-orbit-three {
    right: -80px;
    top: 360px;
  }
}

@media (max-width: 660px) {
  .bert-orbit {
    opacity: 0.55;
  }

  .bert-orbit-one {
    width: 560px;
    height: 560px;
    right: -300px;
    top: -120px;
  }

  .bert-orbit-two,
  .bert-orbit-three {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bert-orbit {
    animation: none !important;
  }
}
