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

:root {
  --bg: #05070b;
  --surface: #0a0f18;
  --surface-alt: #0f1724;
  --border: #213554;
  --border-light: #2e4a73;
  --blue: #2997ff;
  --blue-hover: #1b7fe0;
  --blue-dim: #102642;
  --text: #edf2f8;
  --text-muted: #8fa3bf;
  --danger: #e5484d;
  --danger-bg: #291114;
  --success: #2ea043;
  --warning: #d29922;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

#wave-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}


.navbar {
  border-bottom: 2px solid var(--border);
  background-color: #05070b;
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--blue);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  font-family: inherit;
  line-height: 1.2;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--blue);
  color: #03070e;
  border-color: var(--blue);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--blue-hover);
  border-color: var(--blue-hover);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border-light);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--surface-alt);
  border-color: var(--blue);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}


.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  background-color: var(--blue-dim);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 14px;
}

.hero-title span {
  color: var(--blue);
}

.hero-quote {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


.section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.96rem;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 26px;
}

.card-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--blue);
  display: inline-block;
  flex-shrink: 0;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}


.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border-color: var(--blue);
}

.price-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.price-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.price-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  background-color: var(--blue-dim);
  color: var(--blue);
  border: 2px solid var(--border-light);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-list li {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--blue);
  border-radius: 1px;
  flex-shrink: 0;
}


.footer {
  margin-top: auto;
  border-top: 2px solid var(--border);
  padding: 28px 0;
  background-color: #05070b;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
}


.dash-main {
  padding: 48px 0 72px;
  flex: 1;
}

.auth-box {
  max-width: 460px;
  margin: 36px auto 0;
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: var(--border);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.input {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--bg);
  border: 2px solid var(--border-light);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.input:focus {
  border-color: var(--blue);
}

.input-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.03em;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row .input {
  flex: 1;
}

.status-text {
  font-size: 0.88rem;
  margin-top: 10px;
  font-weight: 500;
}

.status-error {
  color: #ff7b72;
}

.status-info {
  color: var(--blue);
}


.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border);
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--blue-dim);
  border: 2px solid var(--border-light);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue);
}

.user-meta h2 {
  font-size: 1.15rem;
  font-weight: 700;
}

.user-meta p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.panel {
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 26px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.panel-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.license-card {
  background-color: var(--bg);
  border: 2px solid var(--border-light);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.license-card:last-child {
  margin-bottom: 0;
}

.license-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.license-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-active {
  background-color: var(--blue-dim);
  color: var(--blue);
  border: 2px solid var(--border-light);
}

.badge-bound {
  background-color: #0d2818;
  color: #56d364;
  border: 2px solid #246635;
}

.badge-unbound {
  background-color: #271d0b;
  color: #e3b341;
  border: 2px solid #63491a;
}

.badge-inactive {
  background-color: var(--danger-bg);
  color: #ff7b72;
  border: 2px solid var(--danger);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.stat-item {
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
}

.loader-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 16px;
}

.loader-info h4 {
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.loader-info p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}


.legal-main {
  padding: 56px 0 80px;
  flex: 1;
}

.legal-box {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}

.legal-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.legal-updated {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.legal-section {
  margin-bottom: 28px;
}

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

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 10px;
}

.legal-section ul {
  margin: 8px 0 12px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section li strong {
  color: var(--text);
}

.antibot-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.antibot-box {
  max-width: 440px;
  margin: 0 auto;
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
}

.spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.spinner {
  width: 46px;
  height: 46px;
  border: 4px solid var(--border-light);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: azura-spin 0.85s linear infinite;
}

.spinner.spinner-error {
  border-top-color: var(--danger);
  animation: none;
}

@keyframes azura-spin {
  to {
    transform: rotate(360deg);
  }
}

.antibot-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.antibot-sub {
  font-size: 0.96rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 20px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--bg);
  border: 2px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}

.progress-fill {
  height: 100%;
  width: 8%;
  background-color: var(--blue);
  transition: width 0.2s ease;
}

.antibot-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 640px) {
  .legal-box {
    padding: 24px 18px;
  }
  .hero {
    padding: 64px 0 48px;
  }
  .input-row {
    flex-direction: column;
  }
  .navbar-inner {
    height: 60px;
  }
  .nav-links {
    gap: 16px;
  }
}
