body {
  margin:0;
  font-family:"Inter", sans-serif;
  background:#F6F7F9;
  color:#1A1F25;
}

.container {
  width:92%;
  margin:auto;
  max-width:1180px;
}

.topbar {
  background:#FFFFFF;
  border-bottom:1px solid #E4E6EB;
  padding:14px 0;
  position:sticky;
  top:0;
  z-index:99;
}

.header-grid {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand-wrap {
  display:flex;
  align-items:center;
  gap:8px;
}

.brand-logo {
  width:58px;
}

.brand-title {
  font-weight:700;
  font-size:1.3rem;
}

.menu {
  display:flex;
  gap:24px;
}

.menu-link {
  text-decoration:none;
  color:#1A1F25;
  font-weight:500;
  opacity:0.75;
}

.menu-link:hover {
  opacity:1;
}

.hero {
  text-align:center;
  padding:110px 0 90px;
  background:white;
}

.hero h1 {
  font-size:2.7rem;
  font-weight:800;
}

.hero p {
  opacity:0.7;
  max-width:600px;
  margin:auto;
  margin-top:10px;
  line-height:1.6;
}

.primary-btn {
  background:#1A1F25;
  color:white;
  padding:12px 28px;
  border-radius:10px;
  display:inline-block;
  margin-top:22px;
  text-decoration:none;
  font-weight:600;
}

.primary-btn:hover {
  opacity:0.9;
}

.filter-section {
  padding:34px 0;
  text-align:center;
}

.chip {
  background:white;
  border:1px solid #E4E6EB;
  padding:8px 18px;
  border-radius:20px;
  cursor:pointer;
}

.chip.active {
  background:#1A1F25;
  color:white;
}

.grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:28px;
  padding-top:10px;
}

.card {
  background:white;
  border:1px solid #ECEDEF;
  border-radius:16px;
  text-align:center;
  padding:22px;
  transition:0.25s;
}

.card:hover {
  transform:translateY(-4px);
  border-color:#D0D3D8;
}

.card img {
  width:60px;
  height:60px;
}

.card h3 {
  font-size:.95rem;
  margin-top:8px;
  font-weight:600;
}

/* Pagination */
.pagination {
  text-align:center;
  margin:34px 0;
}

.pagination button {
  background:white;
  border:1px solid #D7D9DD;
  padding:8px 16px;
  border-radius:8px;
  cursor:pointer;
}

.pagination button:hover {
  background:#F1F2F4;
}

/* Sections */
.card-section {
  background:white;
  margin:80px auto;
  padding:50px;
  text-align:center;
  border-radius:16px;
  border:1px solid #EAEAEA;
}

.card-section p {
  opacity:0.65;
  max-width:500px;
  margin:auto;
  margin-bottom:18px;
}

/* Footers */
.footer {
  background:white;
  border-top:1px solid #E4E6EB;
  padding:34px 0;
  margin-top:80px;
}

.footer-cols {
  display:flex;
  justify-content:space-between;
}

.footnote {
  text-align:center;
  opacity:0.5;
  margin-top:26px;
  font-size:0.85rem;
}

/* Modal */
.modal {
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.4);
  display:none;
  justify-content:center;
  align-items:center;
}

.modal-box {
  background:white;
  padding:28px;
  border-radius:16px;
  width:400px;
}

.close {
  float:right;
  cursor:pointer;
  font-size:26px;
  opacity:0.6;
}

.close:hover {
  opacity:1;
}

.modal-box input,
.modal-box textarea,
.modal-box select {
  width:100%;
  margin-top:6px;
  padding:10px;
  border-radius:8px;
  border:1px solid #D9D9D9;
  margin-bottom:10px;
}

/* Responsive */
@media(max-width:768px) {
  .footer-cols {
    flex-direction:column;
    gap:30px;
  }
  .menu {
    display:none;
  }
}

/* SECURITY SEAL */
.security-seal{
  margin-top:26px;
  text-align:center;
  padding:16px;
  background:#111a30;
  border-radius:10px;
  border:1px solid rgba(255,0,0,0.3);
  box-shadow:0 0 12px rgba(255,0,0,0.15);
}
.seal-label{
  margin-top:8px;
  font-size:.9rem;
  color:#9aa5b8;
}
.hash{
  margin-top:6px;
  font-size:.83rem;
  opacity:.85;
  font-family:monospace;
}

/* TIMELINE */
.timeline{
  margin-top:30px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:space-between;
}
.event{
  flex:1;
  padding:10px;
  text-align:center;
  border-radius:8px;
  font-size:.82rem;
  background:#0d1426;
  border:1px solid rgba(255,255,255,0.08);
  opacity:.6;
  transition:.4s;
}
.event.active{
  border-color:#ff2740;
  background:#191e36;
  box-shadow:0 0 12px rgba(255,0,0,0.4);
  opacity:1;
}
.event.completed{
  background:#111a30;
  opacity:1;
}
.event.pending{
  opacity:.4;
}

/* EXPORT BTN */
.export-actions{
  margin-top:22px;
  display:flex;
  justify-content:center;
  gap:14px;
}
.export-actions button{
  background:#ff2740;
  color:#fff;
  border:none;
  padding:10px 18px;
  border-radius:8px;
  cursor:pointer;
  transition:.25s;
}
.export-actions button:hover{
  box-shadow:0 0 12px rgba(255,0,0,0.4);
}

#qrCanvas {
  display:block;
  margin:auto;
  image-rendering: crisp-edges;
}
