* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  background: linear-gradient(180deg, #f3f6fb, #e8edf5);
}

.app {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: 520px;
  max-width: 92%;
  background: white;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 40px 90px rgba(0,0,0,.15);
  text-align: center;
  transition: transform .4s ease;
}

h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.status {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.circle-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 25px;
}

svg {
  transform: rotate(-90deg);
}

circle {
  fill: none;
  stroke-width: 14;
}

circle.bg {
  stroke: #e5e7eb;
}

circle.progress {
  stroke: #3b82f6;
  stroke-linecap: round;
  stroke-dasharray: 628;
  stroke-dashoffset: 628;
  transition: stroke-dashoffset .8s ease, stroke .6s ease;
}

.percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 600;
}

.info {
  color: #9ca3af;
  font-size: .95rem;
}

.cursor {
  display: inline-block;
  width: 6px;
  height: 18px;
  background: #3b82f6;
  margin-left: 4px;
  animation: blink 1s infinite;
}

/* ISSUES */
.issues {
  display: none;
  margin-top: 35px;
  animation: alertIn .6s ease forwards;
}

.issues h2 {
  color: #dc2626;
  margin-bottom: 20px;
}

.issue {
  padding: 12px;
  background: #fee2e2;
  border-left: 4px solid #dc2626;
  margin-bottom: 12px;
  border-radius: 6px;
  text-align: left;
}

.fix-btn {
  margin-top: 25px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #dc2626;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

/* ATTENTION EFFECT */
.attention {
  animation: shake .4s ease;
}

.attention circle.progress {
  stroke: #dc2626;
  filter: drop-shadow(0 0 12px rgba(220,38,38,.7));
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes alertIn {
  from { opacity: 0; transform: translateY(20px); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
}
