/* =========================================================
   NOCTERIS AI READINESS AUDIT
   public/assets/app.css
   ========================================================= */

:root {
  --bg: #040404;
  --bg-deep: #020606;

  --panel: rgba(10, 15, 15, 0.9);
  --panel-light: rgba(17, 26, 26, 0.92);
  --panel-soft: rgba(7, 13, 13, 0.82);

  --text: #f3f5f4;
  --muted: #b8c2bf;
  --muted-dark: #81908c;

  --green: #00ffcc;
  --green-dark: #00cda5;
  --neon-green: #a6ff00;
  --mint: #b8f9bf;
  --pink: #fdebf3;
  --amber: #ffca67;
  --danger: #ff7b7b;

  --line: rgba(0, 255, 204, 0.16);
  --line-strong: rgba(0, 255, 204, 0.42);
  --line-soft: rgba(255, 255, 255, 0.07);

  --radius: 18px;
  --radius-small: 12px;
  --radius-pill: 999px;

  --shadow:
    0 0 30px rgba(0, 255, 204, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.34);

  --cursor-default:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cdefs%3E%3Cfilter id='g'%3E%3CfeGaussianBlur stdDeviation='1.3'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M4 3 L4 24 L10.2 18.1 L14.2 27 L18 25.2 L14.2 16.8 L22.6 16.6 Z' fill='%2300ffcc' fill-opacity='.20' stroke='%2300ffcc' stroke-width='1.7' stroke-linejoin='round'/%3E%3Ccircle cx='22.8' cy='8' r='3.1' fill='%2300ffcc' fill-opacity='.92' filter='url(%23g)'/%3E%3Ccircle cx='22.8' cy='8' r='1.25' fill='%23ffffff'/%3E%3C/svg%3E")
    4 3,
    auto;

  --cursor-pointer:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cdefs%3E%3Cfilter id='g'%3E%3CfeGaussianBlur stdDeviation='1.4'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M5 4 L5 27 L12 20.5 L16 30 L20.1 28 L16.1 19.6 L26 19.2 Z' fill='%2300ffcc' fill-opacity='.24' stroke='%2300ffcc' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='25.5' cy='8.5' r='4.2' fill='%2300ffcc' fill-opacity='.95' filter='url(%23g)'/%3E%3Ccircle cx='25.5' cy='8.5' r='1.5' fill='%23ffffff'/%3E%3C/svg%3E")
    5 4,
    pointer;
}

/* =========================================================
   RESET / PAGE FOUNDATION
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;

  color: var(--text);

  font-family:
    "Inter",
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.55;

  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(0, 255, 204, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at 84% 14%,
      rgba(0, 255, 204, 0.08),
      transparent 22%
    ),
    radial-gradient(
      circle at 50% 62%,
      rgba(0, 180, 145, 0.09),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #07100f 0%,
      #061111 20%,
      #050707 50%,
      #071110 78%,
      #040404 100%
    );

  cursor: var(--cursor-default);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(0, 255, 204, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 255, 204, 0.05) 1px,
      transparent 1px
    );

  background-size: 44px 44px;
  opacity: 0.75;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.18)
    );

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.18)
    );
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 18% 24%,
      rgba(0, 255, 204, 0.07),
      transparent 18%
    ),
    radial-gradient(
      circle at 78% 66%,
      rgba(0, 255, 204, 0.06),
      transparent 20%
    ),
    radial-gradient(
      circle at 48% 86%,
      rgba(253, 235, 243, 0.03),
      transparent 22%
    );

  mix-blend-mode: screen;
}

button,
input,
a,
label {
  cursor: var(--cursor-pointer);
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--mint);
}

h1,
h2,
h3,
.eyebrow,
button,
.score,
.category-grid strong {
  font-family:
    "Orbitron",
    "Inter",
    Arial,
    sans-serif;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

p {
  margin-top: 0;
}

/* =========================================================
   PRIMARY PAGE LAYOUT
   ========================================================= */

.shell {
  position: relative;
  z-index: 2;

  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;

  padding-top: 180px;
  padding-bottom: clamp(34px, 7vw, 82px);
}

.results-shell {
  max-width: 1080px;
  padding-top: 24px;
}










/* =========================================================
   AUDIT LANDING HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  padding: clamp(30px, 5vw, 64px);

  border: 1px solid var(--line);
  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(18, 28, 28, 0.94),
      rgba(8, 14, 14, 0.94)
    );

  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 204, 0.09),
      transparent 38%
    );
}

.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0, 255, 204, 0.11),
      transparent 66%
    );

  filter: blur(8px);
  pointer-events: none;
}

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

.eyebrow {
  margin: 0 0 14px;

  color: var(--green);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  text-shadow: 0 0 14px rgba(0, 255, 204, 0.24);
}

.hero h1,
.result-card h1 {
  max-width: 920px;
  margin: 0 0 20px;

  color: var(--text);

  font-size: clamp(1.9rem, 4.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 820px;
  margin-bottom: 0;

  color: var(--muted);

  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

/* =========================================================
   AUDIT FORM
   ========================================================= */

.audit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

  margin-top: 36px;
  padding: clamp(20px, 3vw, 30px);

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

  background:
    linear-gradient(
      180deg,
      rgba(4, 12, 12, 0.88),
      rgba(2, 8, 8, 0.82)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 14px 40px rgba(0, 0, 0, 0.24);
}

.audit-form label {
  display: block;

  color: var(--mint);

  font-family:
    "Rajdhani",
    "Inter",
    sans-serif;

  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.audit-form input[type="url"],
.audit-form input[type="email"] {
  display: block;

  width: 100%;
  min-height: 58px;
  margin-top: 9px;
  padding: 0 17px;

  border: 1px solid rgba(0, 255, 204, 0.2);
  border-radius: var(--radius-small);
  outline: none;

  background: rgba(1, 7, 7, 0.9);
  color: var(--text);

  font: inherit;
  font-size: 1.1rem;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.012);

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.audit-form input[type="url"]::placeholder,
.audit-form input[type="email"]::placeholder {
  color: #697773;
}

.audit-form input[type="url"]:hover,
.audit-form input[type="email"]:hover {
  border-color: rgba(0, 255, 204, 0.38);
}

.audit-form input[type="url"]:focus,
.audit-form input[type="email"]:focus {
  border-color: rgba(0, 255, 204, 0.78);
  background: rgba(3, 14, 13, 0.96);

  box-shadow:
    0 0 0 3px rgba(0, 255, 204, 0.08),
    0 0 26px rgba(0, 255, 204, 0.09);

  transform: translateY(-1px);
}

.consent {
  grid-column: 1 / -1;

  display: flex !important;
  align-items: flex-start;
  gap: 10px;

  color: var(--muted) !important;

  font-family:
    "Inter",
    Arial,
    sans-serif !important;

  font-size: 0.88rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
  text-transform: none !important;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;

  accent-color: var(--green);
}

button {
  grid-column: 1 / -1;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;
  padding: 0 28px;

  border: 1px solid rgba(0, 255, 204, 0.56);
  border-radius: var(--radius-pill);

  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 204, 0.16),
      rgba(0, 205, 165, 0.08)
    );

  color: var(--text);

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  box-shadow:
    0 0 22px rgba(0, 255, 204, 0.09);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

button:hover,
button:focus {
  border-color: var(--green);

  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 204, 0.24),
      rgba(0, 205, 165, 0.12)
    );

  color: var(--mint);

  box-shadow:
    0 0 28px rgba(0, 255, 204, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.24);

  transform: translateY(-2px);
}

button:disabled {
  opacity: 0.56;
  transform: none;
  cursor: not-allowed;
}

.form-status {
  grid-column: 1 / -1;

  margin: 0;
  padding: 12px 14px;

  border: 1px solid rgba(255, 123, 123, 0.24);
  border-radius: 10px;

  background: rgba(255, 123, 123, 0.06);
  color: var(--danger);

  font-size: 0.9rem;
}

.form-status:empty {
  display: none;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* =========================================================
   EXPLANATION CARDS
   ========================================================= */

.explain-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;

  margin-top: 28px;
}

.explain-grid article,
.category-grid article,
.result-card {
  position: relative;
  overflow: hidden;

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

  background:
    linear-gradient(
      180deg,
      rgba(17, 26, 26, 0.92),
      rgba(8, 14, 14, 0.92)
    );

  box-shadow:
    0 0 24px rgba(0, 255, 204, 0.06),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.explain-grid article {
  padding: 26px;
}

.explain-grid article::before,
.category-grid article::before,
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 204, 0.05),
      transparent 42%
    );
}

.explain-grid article > *,
.category-grid article > *,
.result-card > * {
  position: relative;
  z-index: 1;
}

.explain-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  margin-bottom: 18px;

  border: 1px solid rgba(0, 255, 204, 0.28);
  border-radius: 50%;

  background: rgba(0, 255, 204, 0.06);
  color: var(--green);

  font-family: "Orbitron", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;

  box-shadow: 0 0 15px rgba(0, 255, 204, 0.08);
}

.explain-grid h2 {
  margin-bottom: 10px;

  color: var(--text);

  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

.explain-grid p {
  margin-bottom: 0;

  color: var(--muted);

  font-size: 0.95rem;
  line-height: 1.65;
}

/* =========================================================
   PROGRESS / RESULTS CONTAINER
   ========================================================= */

.result-card {
  padding: clamp(26px, 5vw, 54px);
}

.result-card .eyebrow {
  margin-bottom: 12px;
}

.progress {
  position: relative;
  overflow: hidden;

  height: 14px;
  margin-top: 30px;

  border: 1px solid rgba(0, 255, 204, 0.14);
  border-radius: var(--radius-pill);

  background: rgba(0, 0, 0, 0.42);

  box-shadow:
    inset 0 1px 6px rgba(0, 0, 0, 0.5);
}

.progress div {
  position: relative;

  width: 0;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      var(--green-dark),
      var(--green),
      var(--neon-green)
    );

  box-shadow:
    0 0 14px rgba(0, 255, 204, 0.42);

  transition: width 0.5s ease;
}

.progress div::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(255, 255, 255, 0.38) 50%,
      transparent 80%
    );

  animation: progressSweep 1.6s linear infinite;
}

@keyframes progressSweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.progress-number {
  margin-top: 12px;

  color: var(--mint);

  font-family: "Orbitron", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hidden {
  display: none !important;
}

/* =========================================================
   SCORE DISPLAY
   ========================================================= */

.score-line {
  display: flex;
  align-items: center;
  gap: 26px;

  margin-top: 16px;
  padding: 24px 0 8px;
}

.score {
  color: var(--green);

  font-size: clamp(4rem, 11vw, 7.4rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;

  text-shadow:
    0 0 18px rgba(0, 255, 204, 0.26),
    0 0 48px rgba(0, 255, 204, 0.08);
}

.score span {
  color: var(--muted);

  font-family:
    "Inter",
    Arial,
    sans-serif;

  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
}

.score-label {
  max-width: 290px;

  color: var(--muted);

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

/* =========================================================
   CATEGORY SCORE CARDS
   ========================================================= */

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-grid article {
  min-width: 0;
  padding: 20px;
}

.category-grid span {
  display: block;

  min-height: 44px;
  margin-bottom: 10px;

  color: var(--muted);

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.category-grid strong {
  display: block;

  color: var(--green);

  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;

  text-shadow: 0 0 14px rgba(0, 255, 204, 0.18);
}

/* =========================================================
   FINDINGS
   ========================================================= */

.results-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;

  margin-top: 38px;
}

.results-columns h2 {
  margin-bottom: 20px;

  color: var(--text);

  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.finding {
  position: relative;

  margin: 16px 0;
  padding: 15px 16px 15px 20px;

  border: 1px solid var(--line-soft);
  border-left: 3px solid rgba(184, 194, 191, 0.5);
  border-radius: 0 12px 12px 0;

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

.finding.priority {
  border-left-color: var(--amber);
  background: rgba(255, 202, 103, 0.035);
}

.finding.good {
  border-left-color: var(--green);
  background: rgba(0, 255, 204, 0.035);
}

.finding strong,
.finding h3 {
  color: var(--text);
}

.finding p {
  margin: 0.35rem 0 0;

  color: var(--muted);

  font-size: 0.93rem;
  line-height: 1.55;
}

/* =========================================================
   EMAIL NOTICE / DISCLAIMER
   ========================================================= */

.email-note {
  margin-top: 34px;
  padding: 18px 20px;

  border: 1px solid rgba(0, 255, 204, 0.2);
  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 204, 0.08),
      rgba(0, 205, 165, 0.03)
    );

  color: var(--mint);

  font-size: 0.92rem;
  font-weight: 700;
}

.disclaimer {
  margin-top: 22px;

  color: var(--muted-dark);

  font-size: 0.82rem;
  line-height: 1.55;
}

/* =========================================================
   ADMIN TABLE
   ========================================================= */

.table-wrap {
  overflow: auto;

  margin-top: 24px;

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

  background: rgba(5, 12, 12, 0.78);

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;

  border-bottom: 1px solid rgba(0, 255, 204, 0.1);

  color: var(--muted);

  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--mint);

  font-family:
    "Rajdhani",
    "Inter",
    sans-serif;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;

  background: rgba(0, 255, 204, 0.035);
}

tbody tr {
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

tbody tr:hover {
  background: rgba(0, 255, 204, 0.035);
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 24px, 1120px);
    padding: 24px 0 40px;
  }

  .hero,
  .result-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .hero h1,
  .result-card h1 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .audit-form,
  .results-columns {
    grid-template-columns: 1fr;
  }

  .consent,
  button,
  .form-status {
    grid-column: auto;
  }

  .explain-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-grid article:last-child {
    grid-column: auto;
  }

  .category-grid span {
    min-height: auto;
  }

  .score-line {
    align-items: flex-end;
    gap: 16px;
  }

  .score-label {
    padding-bottom: 5px;
    font-size: 0.92rem;
  }
}

@media (max-width: 520px) {
  .hero,
  .result-card {
    padding: 22px 17px;
  }

  .audit-form {
    padding: 18px 15px;
  }

  .audit-form input[type="url"],
  .audit-form input[type="email"] {
    min-height: 54px;
  }

  button {
    min-height: 54px;
    padding: 0 18px;
    font-size: 0.7rem;
  }

  .score-line {
    display: block;
  }

  .score-label {
    margin-top: 14px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

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


/* =========================================================
   ANALYSIS PROGRESS EXPERIENCE
   ========================================================= */

.analysis-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.analysis-intro {
  max-width: 760px;
}

.analysis-orbit {
  position: relative;
  flex: 0 0 auto;

  width: 112px;
  height: 112px;
}

.analysis-orbit-ring {
  position: absolute;
  inset: 7px;

  border: 1px solid rgba(0, 255, 204, 0.32);
  border-top-color: var(--green);
  border-radius: 50%;

  box-shadow:
    0 0 18px rgba(0, 255, 204, 0.12),
    inset 0 0 18px rgba(0, 255, 204, 0.05);

  animation: auditOrbit 2.1s linear infinite;
}

.analysis-orbit-ring::before {
  content: "";
  position: absolute;
  inset: 14px;

  border: 1px dashed rgba(166, 255, 0, 0.25);
  border-radius: 50%;

  animation: auditOrbitReverse 3.4s linear infinite;
}

.analysis-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 12px rgba(0, 255, 204, 0.9),
    0 0 34px rgba(0, 255, 204, 0.42);

  transform: translate(-50%, -50%);

  animation: auditPulse 1.6s ease-in-out infinite;
}

@keyframes auditOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes auditOrbitReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes auditPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.85);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.analysis-status-panel {
  margin-top: 34px;
  padding: 22px;

  border: 1px solid rgba(0, 255, 204, 0.16);
  border-radius: 14px;

  background:
    linear-gradient(
      180deg,
      rgba(2, 10, 10, 0.84),
      rgba(3, 8, 8, 0.7)
    );
}

.analysis-status-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.analysis-status-label,
.analysis-timer span {
  display: block;

  margin-bottom: 5px;

  color: var(--green);

  font-family: "Rajdhani", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.analysis-status-top p {
  margin: 0;

  color: var(--text);

  font-size: 1rem;
  font-weight: 600;
}

.analysis-timer {
  flex: 0 0 auto;

  min-width: 112px;
  padding-left: 20px;

  border-left: 1px solid rgba(0, 255, 204, 0.14);

  text-align: right;
}

.analysis-timer strong {
  color: var(--mint);

  font-family: "Orbitron", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  margin-top: 11px;
}

.progress-meta .progress-number {
  flex: 0 0 auto;
  margin: 0;
}

.activity-message {
  color: var(--muted);

  font-size: 0.82rem;
  text-align: right;
}

.analysis-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;

  margin-top: 26px;
}

.analysis-step {
  position: relative;

  min-width: 0;
  padding: 18px 15px;

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.018);

  opacity: 0.52;

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

.analysis-step.active {
  border-color: rgba(0, 255, 204, 0.38);

  background: rgba(0, 255, 204, 0.045);

  opacity: 1;

  transform: translateY(-2px);

  box-shadow: 0 0 20px rgba(0, 255, 204, 0.07);
}

.analysis-step.finished {
  border-color: rgba(166, 255, 0, 0.16);
  opacity: 0.82;
}

.step-indicator {
  display: block;

  width: 9px;
  height: 9px;
  margin-bottom: 12px;

  border: 1px solid rgba(184, 194, 191, 0.42);
  border-radius: 50%;

  background: transparent;
}

.analysis-step.active .step-indicator {
  border-color: var(--green);

  background: var(--green);

  box-shadow:
    0 0 10px rgba(0, 255, 204, 0.72);

  animation: auditStepPulse 1.4s ease-in-out infinite;
}

.analysis-step.finished .step-indicator {
  border-color: var(--neon-green);
  background: var(--neon-green);

  box-shadow:
    0 0 8px rgba(166, 255, 0, 0.36);
}

@keyframes auditStepPulse {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

.analysis-step strong {
  display: block;

  margin-bottom: 7px;

  color: var(--text);

  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.015em;
}

.analysis-step p {
  margin: 0;

  color: var(--muted);

  font-size: 0.76rem;
  line-height: 1.45;
}

.analysis-wait-note {
  margin: 22px 0 0;

  color: var(--muted-dark);

  font-size: 0.8rem;
  line-height: 1.5;
}

.audit-brand {
  display: flex;
  align-items: center;
  margin-bottom: 34px;
  padding: 12px 0 28px;
  border-bottom: 1px solid rgba(0, 255, 204, 0.12);
}

.audit-brand a {
  display: inline-block;
  line-height: 0;
}

.audit-logo {
  display: block;
  width: 280px;
  height: auto;
  max-width: 100%;
}


@media (max-width: 850px) {
  .analysis-steps {
    grid-template-columns: 1fr;
  }

  .analysis-step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
  }

  .step-indicator {
    grid-row: 1 / 3;
    margin-top: 3px;
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .analysis-heading-row {
    grid-template-columns: 1fr;
  }

  .analysis-orbit {
    width: 82px;
    height: 82px;
  }

  .analysis-status-top,
  .progress-meta {
    display: block;
  }

  .analysis-timer {
    margin-top: 18px;
    padding-top: 14px;
    padding-left: 0;

    border-top: 1px solid rgba(0, 255, 204, 0.14);
    border-left: 0;

    text-align: left;
  }

  .activity-message {
    margin-top: 8px;
    text-align: left;
  }
}