@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #090a0d;
  --bg-surface: #111216;
  --bg-surface-elevated: #16181d;
  --bg-surface-hover: #1c1e24;
  --border-subtle: #22242b;
  --border-strong: #2f323c;
  --text-primary: #f2f3f5;
  --text-secondary: #9497a1;
  --text-muted: #626571;
  --accent-primary: #ffffff;
  --accent-subtle: #252830;
  --badge-bg: #181a20;
  --badge-border: #2c2f38;
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.08);
  --success-border: rgba(16, 185, 129, 0.2);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
.header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(9, 10, 13, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.brand-text {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--badge-bg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--badge-border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

/* Layout */
.main-wrapper {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* Hero Section */
.hero-section {
  margin-bottom: 3rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-mono);
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.page-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  line-height: 1.6;
}

/* Verification URL Hub Cards */
.url-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.url-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.url-card:hover {
  border-color: var(--border-strong);
}

.url-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.url-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.url-card-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--text-secondary);
}

.url-card-desc {
  color: var(--text-secondary);
  font-size: 0.86rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.url-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  gap: 0.5rem;
}

.url-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  outline: none;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.copy-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-strong);
}

.copy-btn.copied {
  color: var(--success);
  border-color: var(--success-border);
  background: var(--success-bg);
}

.view-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.view-btn:hover {
  color: var(--text-primary);
}

/* Document Legal Content Container */
.legal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 1rem;
}

.legal-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  margin-top: 0.5rem;
}

.legal-section {
  margin-bottom: 2.25rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.legal-h2-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-list {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0;
}

.legal-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* Callout Box */
.callout {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--border-strong);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.callout p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
  background: var(--bg-primary);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .page-title {
    font-size: 1.75rem;
  }
  .legal-container {
    padding: 1.5rem;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
