:root {
  --bg: #050711;
  --bg-soft: #090d1b;
  --panel: rgba(12, 17, 34, 0.72);

  --accent: #6366f1;
  --accent-light: #818cf8;
  --cyan: #22d3ee;

  --danger: #f87171;
  --warning: #fbbf24;

  --text: #f8fafc;
  --text-soft: #94a3b8;
  --text-muted: #64748b;

  --border: rgba(129, 140, 248, 0.14);
  --border-bright: rgba(99, 102, 241, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(99, 102, 241, 0.09),
      transparent 35%
    ),
    #050711;

  color: var(--text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
}


/* ========================================
   BACKGROUND
======================================== */

.background-grid {
  position: fixed;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(99, 102, 241, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(99, 102, 241, 0.035) 1px,
      transparent 1px
    );

  background-size: 55px 55px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 90%
    );

  pointer-events: none;
  z-index: 0;
}


.ambient {
  position: fixed;

  width: 600px;
  height: 600px;

  border-radius: 50%;

  filter: blur(120px);

  opacity: 0.12;

  pointer-events: none;

  z-index: 0;
}


.ambient-one {
  top: -250px;
  left: -200px;

  background: var(--accent);
}


.ambient-two {
  right: -250px;
  bottom: -250px;

  background: var(--cyan);
}


/* ========================================
   CONTAINER
======================================== */

.container {
  width: min(1240px, calc(100% - 48px));

  margin: 0 auto;

  position: relative;
  z-index: 1;
}


/* ========================================
   HEADER
======================================== */

.site-header {
  height: 82px;

  border-bottom:
    1px solid rgba(148, 163, 184, 0.08);

  background:
    rgba(5, 7, 17, 0.72);

  backdrop-filter: blur(20px);

  position: relative;
  z-index: 10;
}


.nav-container {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo {
  display: flex;
  align-items: center;
  gap: 11px;

  color: white;

  font-family: Orbitron, sans-serif;

  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}


.logo-accent,
.footer-brand span {
  color: var(--accent-light);
}


.logo-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--accent-light);

  box-shadow:
    0 0 10px var(--accent),
    0 0 25px rgba(99, 102, 241, 0.8);
}


.status-pill {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 8px 13px;

  border:
    1px solid rgba(248, 113, 113, 0.18);

  border-radius: 999px;

  background:
    rgba(248, 113, 113, 0.04);

  color: #fca5a5;

  font-family: Orbitron, sans-serif;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.13em;
}


.status-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--danger);

  box-shadow:
    0 0 10px rgba(248, 113, 113, 0.8);

  animation: statusPulse 2s infinite;
}


/* ========================================
   SHUTDOWN
======================================== */

.shutdown {
  padding:
    80px 0
    70px;
}


.shutdown-container {
  display: flex;
  flex-direction: column;
}


/* ========================================
   SYSTEM LABEL
======================================== */

.terminal-label {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--text-muted);

  font-family: Orbitron, sans-serif;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.16em;

  margin-bottom: 55px;
}


.terminal-icon {
  color: var(--accent-light);

  font-size: 14px;
}


.terminal-line {
  width: 70px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      transparent
    );
}


/* ========================================
   HERO
======================================== */

.shutdown-content {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(450px, 0.9fr);

  gap: 90px;

  align-items: center;
}


.shutdown-copy {
  max-width: 650px;
}


.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 20px;

  color: var(--accent-light);

  font-family: Orbitron, sans-serif;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.25em;
}


.eyebrow-line {
  width: 25px;
  height: 1px;

  background: var(--accent);
}


h1 {
  font-family: Orbitron, sans-serif;

  font-size: clamp(48px, 6vw, 84px);

  line-height: 0.98;

  letter-spacing: -0.055em;

  font-weight: 800;

  margin-bottom: 30px;
}


h1 span {
  display: block;

  color: transparent;

  background:
    linear-gradient(
      100deg,
      var(--accent-light),
      var(--cyan)
    );

  background-clip: text;
  -webkit-background-clip: text;

  filter:
    drop-shadow(
      0 0 28px
      rgba(99, 102, 241, 0.22)
    );
}


.lead {
  max-width: 590px;

  color: #dbe4f0;

  font-size: 20px;

  line-height: 1.65;

  margin-bottom: 15px;
}


.description {
  max-width: 560px;

  color: var(--text-soft);

  font-size: 14px;

  line-height: 1.8;
}


/* ========================================
   DATE CARD
======================================== */

.date-card {
  display: inline-flex;

  align-items: center;

  gap: 16px;

  margin-top: 32px;

  padding: 15px 20px;

  border:
    1px solid
    rgba(99, 102, 241, 0.2);

  border-radius: 12px;

  background:
    rgba(99, 102, 241, 0.045);

  box-shadow:
    inset 0 0 30px
    rgba(99, 102, 241, 0.025);
}


.date-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background:
    rgba(99, 102, 241, 0.1);

  border:
    1px solid
    rgba(99, 102, 241, 0.2);
}


.date-icon span {
  width: 11px;
  height: 11px;

  border-radius: 50%;

  background: var(--accent-light);

  box-shadow:
    0 0 14px var(--accent);
}


.date-card div:last-child {
  display: flex;
  flex-direction: column;

  gap: 4px;
}


.date-label {
  color: var(--text-muted);

  font-family: Orbitron, sans-serif;

  font-size: 8px;

  letter-spacing: 0.15em;
}


.date-card strong {
  font-family: Orbitron, sans-serif;

  font-size: 13px;

  letter-spacing: 0.08em;
}


/* ========================================
   TERMINAL
======================================== */

.terminal {
  position: relative;

  border:
    1px solid
    rgba(129, 140, 248, 0.18);

  border-radius: 14px;

  overflow: hidden;

  background:
    rgba(5, 8, 19, 0.88);

  box-shadow:
    0 30px 100px
    rgba(0, 0, 0, 0.45),

    0 0 80px
    rgba(99, 102, 241, 0.07),

    inset 0 1px 0
    rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(25px);
}


.terminal::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--accent),
      var(--cyan),
      transparent
    );
}


.terminal-header {
  height: 48px;

  display: flex;
  align-items: center;

  padding: 0 16px;

  border-bottom:
    1px solid
    rgba(148, 163, 184, 0.08);

  background:
    rgba(255, 255, 255, 0.015);
}


.terminal-controls {
  display: flex;
  gap: 6px;
}


.control {
  width: 8px;
  height: 8px;

  border-radius: 50%;
}


.control.red {
  background: #f87171;
}


.control.yellow {
  background: #fbbf24;
}


.control.green {
  background: #34d399;
}


.terminal-title {
  margin-left: 18px;

  color: var(--text-muted);

  font-family: Orbitron, sans-serif;

  font-size: 9px;

  letter-spacing: 0.08em;
}


.terminal-version {
  margin-left: auto;

  color: #475569;

  font-family: monospace;

  font-size: 9px;
}


.terminal-body {
  min-height: 390px;

  padding: 28px;

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

  font-size: 12px;

  line-height: 1.9;

  color: #94a3b8;
}


.terminal-row {
  display: flex;

  gap: 12px;

  color: #cbd5e1;
}


.prompt {
  color: var(--accent-light);

  font-weight: 700;
}


.terminal-result {
  color: #64748b;

  padding-left: 22px;
}


.terminal-result.warning {
  color: var(--warning);

  padding-left: 22px;
}


.red-text {
  color: var(--danger);
}


.cyan-text {
  color: var(--cyan);
}


.typing {
  color: #cbd5e1;
}


.cursor {
  display: inline-block;

  width: 7px;
  height: 14px;

  margin-left: 5px;

  vertical-align: -2px;

  background: var(--accent-light);

  animation: cursorBlink 1s infinite;
}


/* ========================================
   INFO CARDS
======================================== */

.info-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 16px;

  margin-top: 100px;
}


.info-card {
  display: flex;

  gap: 20px;

  padding: 25px;

  border:
    1px solid var(--border);

  border-radius: 14px;

  background:
    rgba(12, 17, 34, 0.48);

  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}


.info-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(99, 102, 241, 0.3);

  background:
    rgba(15, 20, 40, 0.65);
}


.info-number {
  color: var(--accent);

  font-family: Orbitron, sans-serif;

  font-size: 10px;

  letter-spacing: 0.1em;
}


.info-card h3 {
  margin-bottom: 8px;

  font-size: 14px;

  font-weight: 700;
}


.info-card p {
  color: var(--text-muted);

  font-size: 12px;

  line-height: 1.65;
}


/* ========================================
   FINAL MESSAGE
======================================== */

.final-message {
  display: grid;

  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  gap: 35px;

  margin-top: 115px;

  text-align: center;
}


.final-line {
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(99, 102, 241, 0.3)
    );
}


.final-line:last-child {
  background:
    linear-gradient(
      90deg,
      rgba(99, 102, 241, 0.3),
      transparent
    );
}


.final-content {
  width: min(580px, 100%);
}


.final-small {
  display: block;

  margin-bottom: 17px;

  color: var(--accent-light);

  font-family: Orbitron, sans-serif;

  font-size: 9px;

  letter-spacing: 0.25em;
}


.final-content h2 {
  font-family: Orbitron, sans-serif;

  font-size: clamp(25px, 3vw, 38px);

  line-height: 1.2;

  margin-bottom: 17px;
}


.final-content h2 span {
  color: var(--accent-light);
}


.final-content p {
  color: var(--text-muted);

  font-size: 13px;

  line-height: 1.8;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
  border-top:
    1px solid
    rgba(148, 163, 184, 0.07);

  background:
    rgba(3, 5, 12, 0.75);
}


.footer-inner {
  min-height: 80px;

  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;
}


.footer-brand {
  font-family: Orbitron, sans-serif;

  font-size: 12px;

  font-weight: 700;

  display: flex;
  align-items: center;
  gap: 8px;
}


.footer-center {
  color: #475569;

  font-family: Orbitron, sans-serif;

  font-size: 8px;

  letter-spacing: 0.12em;
}


.footer-center span {
  color: var(--accent);
  margin: 0 7px;
}


.footer-right {
  justify-self: end;

  color: #334155;

  font-family: Orbitron, sans-serif;

  font-size: 8px;

  letter-spacing: 0.15em;
}


/* ========================================
   ANIMATIONS
======================================== */

@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;

    box-shadow:
      0 0 10px
      rgba(248, 113, 113, 0.8);
  }

  50% {
    opacity: 0.45;

    box-shadow:
      0 0 3px
      rgba(248, 113, 113, 0.3);
  }
}


@keyframes cursorBlink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 950px) {

  .shutdown {
    padding-top: 60px;
  }

  .shutdown-content {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .shutdown-copy {
    max-width: 800px;
  }

  .terminal {
    width: 100%;
  }

  .info-grid {
    grid-template-columns: 1fr;

    margin-top: 70px;
  }

}


@media (max-width: 600px) {

  .container {
    width: min(100% - 30px, 1240px);
  }

  .site-header {
    height: 70px;
  }

  .status-pill {
    padding: 7px 9px;

    font-size: 7px;
  }

  .shutdown {
    padding:
      45px 0
      45px;
  }

  .terminal-label {
    margin-bottom: 35px;

    font-size: 7px;
  }

  h1 {
    font-size: 45px;

    letter-spacing: -0.045em;
  }

  .lead {
    font-size: 16px;
  }

  .description {
    font-size: 13px;
  }

  .date-card {
    width: 100%;
  }

  .terminal-body {
    min-height: 350px;

    padding: 20px 16px;

    font-size: 10px;

    overflow-x: auto;
  }

  .terminal-result {
    padding-left: 18px;
  }

  .info-card {
    padding: 20px;
  }

  .final-message {
    display: block;

    margin-top: 80px;
  }

  .final-line {
    display: none;
  }

  .final-content {
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;

    gap: 12px;

    padding:
      22px 0;

    text-align: center;
  }

  .footer-brand,
  .footer-right {
    justify-self: center;
  }

  .footer-center {
    order: 3;
  }

}
