:root {
  --green: #36e0a1;
  --green-dark: #0cb979;
  --ink: #080b0a;
  --muted: #5e6662;
  --paper: #f6f8f7;
  --white: #fff;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Roboto", Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 5% 95%, rgba(54,224,161,.13), transparent 24rem),
    linear-gradient(rgba(8,11,10,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,11,10,.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000);
}

.page {
  width: min(100% - 48px, 1240px);
  min-height: 100vh;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.header {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { width: 164px; height: auto; display: block; }

.status {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid #dce3e0;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #313735;
  font-size: 13px;
  font-weight: 500;
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(54,224,161,.18);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .85fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: 40px 0 70px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 6.1vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
}

h1 span {
  position: relative;
  z-index: 0;
  display: inline-block;
}

h1 span::after {
  position: absolute;
  z-index: -1;
  left: -2%;
  right: -3%;
  bottom: 5%;
  height: 25%;
  content: "";
  background: var(--green);
  transform: rotate(-1.5deg);
}

.description {
  max-width: 610px;
  margin: 30px 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

.info {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 0 34px;
}

.info strong, .info small { display: block; }
.info strong { margin-bottom: 5px; font-size: 15px; }
.info small { color: #747c78; font-size: 13px; }

.pulse {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d8faed;
}

.pulse span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-dark);
  animation: blink 1.8s ease-out infinite;
}

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

button {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  padding: 17px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(8,11,10,.15);
  color: var(--white);
  cursor: pointer;
  font: 700 13px/1 "Roboto", sans-serif;
  letter-spacing: .04em;
  transition: transform .2s, background .2s;
}

button:hover { transform: translateY(-2px); background: #202522; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.actions a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-color: var(--green-dark);
}

.visual {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.visual::before {
  position: absolute;
  width: min(38vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: var(--green);
  box-shadow: inset -35px -30px 80px rgba(0,0,0,.06), 0 45px 70px rgba(12,185,121,.16);
}

.orbit { position: absolute; border: 1px solid rgba(8,11,10,.15); border-radius: 50%; }
.orbit-one { width: 94%; aspect-ratio: 1; transform: rotate(-20deg) scaleY(.5); }
.orbit-two { width: 83%; aspect-ratio: 1; transform: rotate(45deg) scaleY(.48); }

.maintenance-card {
  position: relative;
  width: min(82%, 390px);
  aspect-ratio: 1.17;
  overflow: hidden;
  border: 9px solid var(--ink);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 18px 22px 0 rgba(8,11,10,.12);
  transform: rotate(-5deg);
  animation: float 5s ease-in-out infinite;
}

.card-top { height: 48px; display: flex; gap: 7px; align-items: center; padding: 0 18px; border-bottom: 5px solid var(--ink); }
.card-top span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.card-body { position: relative; height: calc(100% - 48px); padding-top: 47px; text-align: center; }

.gear {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green);
  line-height: 1;
}

.gear-large { width: 94px; height: 94px; left: 35%; top: 28px; font-size: 66px; animation: spin 8s linear infinite; }
.gear-small { width: 60px; height: 60px; left: 56%; top: 95px; font-size: 42px; animation: spin-reverse 6s linear infinite; }
.progress { width: 68%; height: 8px; margin: 135px auto 17px; overflow: hidden; border-radius: 10px; background: #e8ecea; }
.progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--green); animation: load 2.8s ease-in-out infinite alternate; }
.card-body p { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .15em; }

.shape { position: absolute; background: var(--ink); }
.shape-one { width: 46px; height: 46px; left: 3%; top: 17%; border-radius: 10px; transform: rotate(18deg); }
.shape-two { width: 25px; height: 25px; right: 5%; bottom: 13%; border-radius: 50%; }
.spark { position: absolute; color: var(--ink); font-size: 42px; font-weight: 300; }
.spark-one { right: 4%; top: 14%; transform: rotate(24deg); }
.spark-two { left: 6%; bottom: 13%; transform: rotate(42deg); }

footer {
  min-height: 74px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid #dce3e0;
  color: #7b827f;
  font-size: 12px;
}

.footer-line { width: 28px; height: 1px; background: var(--green-dark); }

@keyframes float { 50% { transform: rotate(-2deg) translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
@keyframes load { to { width: 94%; } }
@keyframes blink { 70%, 100% { box-shadow: 0 0 0 14px rgba(12,185,121,0); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 55px; }
  .content { display: flex; flex-direction: column; align-items: center; }
  .visual { min-height: 430px; order: -1; }
  .visual::before { width: min(70vw, 420px); }
  .orbit-one { width: min(86vw, 530px); }
  .orbit-two { width: min(76vw, 470px); }
}

@media (max-width: 600px) {
  .page { width: min(100% - 32px, 1240px); }
  .header { min-height: 88px; }
  .logo { width: 132px; }
  .status { padding: 8px 10px; font-size: 11px; }
  .hero { padding: 18px 0 48px; gap: 34px; }
  .visual { min-height: 310px; }
  .maintenance-card { width: min(74vw, 310px); border-width: 7px; border-radius: 20px; }
  .card-top { height: 38px; border-bottom-width: 4px; }
  .gear-large { width: 72px; height: 72px; font-size: 50px; }
  .gear-small { width: 46px; height: 46px; top: 78px; font-size: 32px; }
  .progress { margin-top: 106px; }
  .shape-one { left: 0; }
  h1 { font-size: clamp(44px, 14vw, 62px); }
  .description { margin: 24px 0; }
  .actions { justify-content: center; }
  footer { justify-content: center; flex-wrap: wrap; text-align: center; padding: 20px 0; }
}

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