:root {
  --bg: #070b10;
  --panel: rgba(13, 18, 27, 0.9);
  --panel-strong: rgba(17, 23, 34, 0.98);
  --border: rgba(42, 51, 66, 0.95);
  --text: #f5f7fb;
  --muted: #98acc1;
  --accent: #d53328;
  --accent-soft: #ff8c7f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(213, 51, 40, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 130, 108, 0.1), transparent 18%),
    linear-gradient(180deg, #070b10 0%, #090d13 100%);
  color: var(--text);
  font-family:
    "Segoe UI",
    "Inter",
    system-ui,
    sans-serif;
}

body {
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 22px;
}

.matrix-canvas,
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.matrix-canvas {
  opacity: 0.28;
}

.ambient-left,
.ambient-right {
  filter: blur(90px);
  opacity: 0.32;
}

.ambient-left {
  background: radial-gradient(circle, rgba(213, 51, 40, 0.26), transparent 56%);
  transform: translate(-26%, -18%);
}

.ambient-right {
  background: radial-gradient(circle, rgba(88, 255, 178, 0.12), transparent 54%);
  transform: translate(28%, 14%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1380px);
  border: 1px solid var(--border);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(88, 255, 178, 0.02), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.015), transparent 34%),
    linear-gradient(180deg, rgba(16, 22, 32, 0.9), rgba(9, 14, 22, 0.94));
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  padding: 28px 34px 24px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(122, 255, 200, 0.04);
  pointer-events: none;
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(135deg, #d53328, #f35c4b);
  color: #fff;
  font-size: 1.65rem;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(213, 51, 40, 0.32);
}

.eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(68, 88, 111, 0.95);
  background: rgba(10, 16, 25, 0.88);
  padding: 10px 14px;
  color: #dbe5f0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #59ffb0;
  box-shadow: 0 0 14px rgba(89, 255, 176, 0.62);
}

.hero-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  align-items: center;
  min-height: 68vh;
}

.hero-copy {
  min-width: 0;
}

.section-kicker {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 20px 0 0;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.lead {
  margin: 22px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.95;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.primary-button {
  background: linear-gradient(135deg, #d53328, #f14f40);
  color: #fff;
  box-shadow: 0 18px 40px rgba(213, 51, 40, 0.3);
}

.secondary-button {
  border: 1px solid rgba(72, 85, 104, 0.95);
  background: rgba(10, 17, 27, 0.9);
  color: #e6edf6;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.primary-button:hover {
  box-shadow: 0 22px 46px rgba(213, 51, 40, 0.38);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.meta-item {
  min-width: 180px;
  border: 1px solid rgba(38, 47, 60, 0.96);
  border-radius: 18px;
  background: rgba(12, 17, 26, 0.72);
  padding: 16px 18px;
}

.meta-label {
  display: block;
  color: #8195ab;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.meta-value {
  display: block;
  margin-top: 10px;
  color: #f6f8fb;
  font-size: 1rem;
  font-weight: 700;
}

.code-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.code-strip span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(54, 72, 90, 0.95);
  background: rgba(9, 14, 22, 0.84);
  padding: 8px 12px;
  color: #8ecfb4;
  font-family: "Consolas", "Segoe UI", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-card,
.progress-card {
  border: 1px solid rgba(40, 49, 62, 0.96);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 18, 27, 0.9), rgba(11, 15, 23, 0.94));
  padding: 22px;
  backdrop-filter: blur(12px);
}

.panel-card.accent {
  background:
    radial-gradient(circle at top right, rgba(89, 255, 176, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(213, 51, 40, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(17, 23, 34, 0.94), rgba(11, 15, 23, 0.98));
}

.panel-label {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.panel-title {
  margin: 16px 0 0;
  color: #fff;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.4;
}

.panel-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  position: relative;
  padding-left: 18px;
  color: #9cb0c5;
  font-size: 0.98rem;
  line-height: 1.9;
}

.panel-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #59ffb0, #d53328);
}

.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #e8eef7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.progress-track {
  overflow: hidden;
  height: 10px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(28, 36, 49, 0.96);
}

.progress-bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #59ffb0, #d53328, #ff8d7c);
  box-shadow:
    0 0 22px rgba(213, 51, 40, 0.28),
    0 0 26px rgba(89, 255, 176, 0.14);
  transition: width 0.9s linear;
}

.hero-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(41, 49, 62, 0.94);
  color: #8ea2b9;
  font-size: 0.94rem;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .hero-shell {
    padding: 24px 22px 20px;
    border-radius: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px;
  }

  .hero-shell {
    padding: 20px 16px 18px;
    border-radius: 24px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }

  .meta-item {
    min-width: 100%;
  }
}
