:root {
  --n1c-blue: #042c5c;
  --n1c-red: #de3b38;
  --n1c-red-dark: #b9312c;
  --n1c-white-soft: rgba(255,255,255,0.08);
  --n1c-white-border: rgba(255,255,255,0.18);
  --n1c-text-soft: rgba(255,255,255,0.84);
  --n1c-text-muted: rgba(255,255,255,0.68);
  --n1c-green: #27ae60;
  --n1c-orange: #f39c12;
  --n1c-grey: #95a5a6;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--n1c-blue);
  color: white;
  margin: 0;
  padding: 0;
}

.page {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 60px;
  text-align: center;
}

.floating-logo {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 1000;
}

.floating-main-button {
  position: fixed;
  top: 20px;
  right: 10px;
  background-color: var(--n1c-red);
  color: white;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 12px;
  width: 60px;
  text-align: center;
  line-height: 1.2;
  z-index: 1000;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

.floating-main-button:hover {
  background-color: var(--n1c-red-dark);
}

h1 {
  color: white;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: bold;
  margin: 28px 0 18px;
  letter-spacing: -0.02em;
}

.hero-icon svg {
  width: 54px;
  height: 54px;
  color: var(--n1c-red);
  margin-top: 24px;
}

.intro-card {
  background: white;
  border: 1px solid var(--n1c-white-border);
  border-radius: 16px;
  padding: 26px;
  margin: 24px auto 34px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.20);
  text-align: left;
}

.intro-card h2 {
  color: var(--n1c-red);
  margin-top: 0;
  margin-bottom: 12px;
}

.intro-card p {
  color: black;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 14px;
}

.construction-note {
  display: inline-block;
  background: rgba(222, 59, 56, 0.12);
  border: 1px solid rgba(222, 59, 56, 0.45);
  color: black;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 18px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 10px;
}

.tool-tile {
  background-color: var(--n1c-blue);
  border: 2px solid var(--n1c-red);
  border-radius: 16px;
  padding: 22px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 10px 28px rgba(0,0,0,0.20);
}

.tool-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  border-color: white;
}

.tool-icon svg {
  width: 36px;
  height: 36px;
  color: var(--n1c-red);
  margin-bottom: 10px;
}

.tool-tile h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: white;
}

.tool-tile p {
  margin: 0 0 16px;
  color: var(--n1c-text-soft);
  line-height: 1.5;
  font-size: 15px;
}

.tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge-status-complete {
  background-color: rgba(39, 174, 96, 0.18);
  color: #bdf3cf;
  border: 1px solid rgba(39, 174, 96, 0.45);
}

.badge-status-review {
  background-color: rgba(243, 156, 18, 0.18);
  color: #ffe1a8;
  border: 1px solid rgba(243, 156, 18, 0.45);
}

.badge-status-soon {
  background-color: rgba(149, 165, 166, 0.18);
  color: #dde4e6;
  border: 1px solid rgba(149, 165, 166, 0.45);
}

.badge-score {
  background-color: rgba(255,255,255,0.10);
  color: white;
  border: 1px solid var(--n1c-white-border);
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 5000;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  padding: 28px 18px;
  overflow-y: auto;
}

.modal-content {
  width: min(900px, 100%);
  margin: 40px auto;
  background: var(--n1c-blue);
  border: 1px solid var(--n1c-white-border);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  padding: 28px;
  text-align: left;
  position: relative;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.modal h2 {
  color: white;
  margin-top: 0;
  margin-bottom: 10px;
  padding-right: 32px;
}

.modal p {
  color: var(--n1c-text-soft);
  line-height: 1.6;
  font-size: 15.5px;
}

.report-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--n1c-white-border);
}

.report-section h3 {
  color: var(--n1c-red);
  margin-top: 0;
  margin-bottom: 12px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 18px;
}

.summary-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--n1c-white-border);
  border-radius: 12px;
  padding: 14px;
}

.summary-box .label {
  display: block;
  color: var(--n1c-text-muted);
  font-size: 13px;
  margin-bottom: 5px;
}

.summary-box .value {
  color: white;
  font-size: 17px;
  font-weight: 700;
}

.report-list {
  margin: 0;
  padding-left: 20px;
  color: var(--n1c-text-soft);
}

.report-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.report-note {
  margin-top: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--n1c-red);
  border-radius: 10px;
  color: var(--n1c-text-soft);
}

@media (max-width: 900px) {
  .tools-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }
}
