:root {
  --bg: #0b1020;
  --card: #151a2b;
  --line: #223048;
  --muted: #9fb0ff;
  --ink: #e6ecff;
  --pill: #0d1330;
  --pillline: #26305a;
  --accent1: #6ea8ff;
  --accent2: #9ba8ff;
  --synline: #39507a;
  --danger: #722a3a;
  --dangerbg: #2a0f1a;
  --dangerink: #ffdfe6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.wrap {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 24px;
}

h1 {
  font-size: 30px;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #6ea8ff, #f3daff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  background: linear-gradient(90deg, #6ea8ff, #9ba8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #cfe0ff;
}

.profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.profile-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-form .form-row.data-center {
  grid-column: 1 / 3;
  text-align: center;
}

.profile-form .form-row.data-center label {
  margin: 0 auto 7px auto;
  font-size: 15px;
}

.profile-form .form-row.data-center input {
  display: block;
  margin: 0 auto;
  width: 54%;
  min-width: 160px;
  max-width: 280px;
  text-align: center;
}

.profile-form label {
  font-size: 15px;
  font-weight: 500;
  color: #79ffe1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.profile-form input {
  font-size: 18px;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #365adc;
  background: #1a2140;
  color: #eaffff;
  transition: all 0.2s ease;
}

.profile-form input:focus {
  outline: none;
  border-color: #6ea8ff;
  background: #233671;
  box-shadow: 0 0 8px rgba(110, 168, 255, 0.2);
}

.profile-form input::placeholder {
  color: #5a6e9e;
}

.form-errors {
  margin: 12px 0 0 0;
}

.error-msg {
  background: var(--dangerbg);
  color: var(--dangerink);
  padding: 9px 16px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 16px;
  border-left: 4px solid var(--danger);
}

.btn-calc {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #6ea8ff, #9ba8ff);
  color: #222;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(110, 168, 255, 0.12);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-calc:hover,
.btn-calc:focus {
  background: linear-gradient(90deg, #79d0ff, #b0c7ff);
  box-shadow: 0 4px 16px rgba(110, 168, 255, 0.25);
  transform: translateY(-2px);
}

.btn-calc:active {
  transform: translateY(0);
}

.download {
  margin-top: 16px;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #2a3555;
  background: #0f1530;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.download:hover {
  border-color: #6ea8ff;
  box-shadow: 0 0 12px rgba(110, 168, 255, 0.2);
  background: rgba(110, 168, 255, 0.05);
}

.full {
  grid-column: 1 / -1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.report-title {
  margin: 10px 0 18px;
  text-align: center;
}

.report-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.report-title p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  background: linear-gradient(135deg, #0d1330 0%, #1a1f3a 100%);
  border: 1px solid #26305a;
  padding: 12px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.25s ease;
}

.pill:hover {
  box-shadow: 0 0 20px rgba(110, 168, 255, 0.5);
  transform: scale(1.06);
  border-color: #6ea8ff;
}

.pill span {
  display: block;
  font-size: 14px;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-weight: 700;
  letter-spacing: 1px;
}



.pill strong {
  font-size: 26px;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  filter: drop-shadow(0 0 8px currentColor);
}

.pill:nth-child(1) strong { color: #ff6b6b; filter: drop-shadow(0 0 8px #ff6b6b); }
.pill:nth-child(2) strong { color: #4ecdc4; filter: drop-shadow(0 0 8px #4ecdc4); }
.pill:nth-child(3) strong { color: #ffe66d; filter: drop-shadow(0 0 8px #ffe66d); }
.pill:nth-child(4) strong { color: #95a5a6; filter: drop-shadow(0 0 8px #95a5a6); }
.pill:nth-child(5) strong { color: #ff9f43; filter: drop-shadow(0 0 8px #ff9f43); }
.pill:nth-child(6) strong { color: #fd79a8; filter: drop-shadow(0 0 8px #fd79a8); }
.pill:nth-child(7) strong { color: #a29bfe; filter: drop-shadow(0 0 8px #a29bfe); }
.pill:nth-child(8) strong { color: #74b9ff; filter: drop-shadow(0 0 8px #74b9ff); }
.pill:nth-child(9) strong { color: #00b894; filter: drop-shadow(0 0 8px #00b894); }
.pill:nth-child(10) strong { color: #fdcb6e; filter: drop-shadow(0 0 8px #fdcb6e); }
.pill:nth-child(11) strong { color: #fab1a0; filter: drop-shadow(0 0 8px #fab1a0); }
.pill:nth-child(12) strong { color: #55efc4; filter: drop-shadow(0 0 8px #55efc4); }


.pill:nth-child(1) strong { color: #ff6b6b; }
.pill:nth-child(2) strong { color: #4ecdc4; }
.pill:nth-child(3) strong { color: #ffe66d; }
.pill:nth-child(4) strong { color: #95a5a6; }
.pill:nth-child(5) strong { color: #ff9f43; }
.pill:nth-child(6) strong { color: #fd79a8; }
.pill:nth-child(7) strong { color: #a29bfe; }
.pill:nth-child(8) strong { color: #74b9ff; }
.pill:nth-child(9) strong { color: #00b894; }
.pill:nth-child(10) strong { color: #fdcb6e; }
.pill:nth-child(11) strong { color: #fab1a0; }
.pill:nth-child(12) strong { color: #55efc4; }

.pill em {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #cdd8ff;
  font-style: italic;
}

.box {
  background: linear-gradient(135deg, #0d1330 0%, #151a2b 100%);
  border: 1px solid #26305a;
  border-left: 4px solid #6ea8ff;
  padding: 18px;
  border-radius: 14px;
  margin-top: 12px;
  transition: all 0.3s ease;
}

.box:hover {
  border-color: #6ea8ff;
  border-left-color: #f3daff;
  box-shadow: 0 4px 16px rgba(110, 168, 255, 0.15);
  background: linear-gradient(135deg, #151a2b 0%, #1a2145 100%);
}

.box .desc p {
  margin: 0 0 10px;
  line-height: 1.7;
  color: #d6e0ff;
}

.box .desc p:last-child {
  margin-bottom: 0;
}

.box .desc strong {
  color: #dbe6ff;
  font-weight: 600;
}

.syn {
  background: #0d1330;
  border: 1px solid #39507a;
  padding: 18px;
  border-radius: 16px;
  margin-top: 16px;
}

.syn h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.syn p {
  white-space: pre-line;
  line-height: 1.6;
  margin: 0;
  color: #d6e0ff;
}

.sender {
  background: rgba(110, 168, 255, 0.08);
  border: 1px solid rgba(110, 168, 255, 0.25);
  padding: 16px;
  border-radius: 14px;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.sender:hover {
  background: rgba(110, 168, 255, 0.12);
  border-color: rgba(110, 168, 255, 0.35);
}

.sender h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #cfe0ff;
}

.sender .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 8px;
}

.sender input[type="email"] {
  width: 100%;
  border: 1px solid #2a3555;
  background: #0f1530;
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.sender input[type="email"]:focus {
  outline: none;
  border-color: #6ea8ff;
  background: #1a2140;
  box-shadow: 0 0 8px rgba(110, 168, 255, 0.15);
}

.sender button {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border: 0;
  color: var(--bg);
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.sender button:hover {
  box-shadow: 0 4px 12px rgba(110, 168, 255, 0.3);
  transform: translateY(-1px);
}

.sender .msg {
  margin-top: 8px;
  font-size: 14px;
  color: #cfe0ff;
}

.sender .msg.error {
  color: #ffb5c1;
}

.sender .mini {
  font-size: 12px;
  color: #9fb0ff;
  margin-top: 6px;
}
