/* ============================================================
   ZX17 Design System — main.css
   Premium Fintech / Trading Terminal
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --zx-yellow:           #FFB800;
  --zx-yellow-hover:     #E6A500;
  --zx-yellow-glow:      rgba(255, 184, 0, 0.25);
  --zx-yellow-glow-md:   rgba(255, 184, 0, 0.15);

  --zx-bg-primary:       #1A1A1A;
  --zx-bg-secondary:     #242424;
  --zx-bg-elevated:      #2C2C2C;

  --zx-border:           #333333;
  --zx-border-hover:     #444444;

  --zx-text-primary:     #FFFFFF;
  --zx-text-secondary:   #B0B0B0;
  --zx-text-muted:       #666666;

  --zx-error:            #F03E3E;
  --zx-error-glow:       rgba(240, 62, 62, 0.2);
  --zx-success:          #00A884;
  --zx-success-glow:     rgba(0, 168, 132, 0.2);

  --zx-radius-sm:        6px;
  --zx-radius-md:        12px;
  --zx-radius-lg:        16px;

  --zx-transition:       0.18s ease;
  --zx-transition-slow:  0.3s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  background-color: var(--zx-bg-primary);
  color: var(--zx-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--zx-yellow);
  text-decoration: none;
  transition: color var(--zx-transition);
}

a:hover {
  color: var(--zx-yellow-hover);
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--zx-text-primary);
}

h1 { font-size: 42px; letter-spacing: -0.03em; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
h5 { font-size: 15px; }
h6 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--zx-text-secondary); }

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--zx-text-secondary);
}

.text-sm   { font-size: 12px; }
.text-base { font-size: 14px; }
.text-md   { font-size: 16px; }
.text-lg   { font-size: 20px; }
.text-xl   { font-size: 28px; }
.text-2xl  { font-size: 42px; }

.text-primary   { color: var(--zx-text-primary); }
.text-secondary { color: var(--zx-text-secondary); }
.text-muted     { color: var(--zx-text-muted); }
.text-yellow    { color: var(--zx-yellow); }
.text-success   { color: var(--zx-success); }
.text-error     { color: var(--zx-error); }

.font-normal  { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.uppercase { text-transform: uppercase; letter-spacing: 0.06em; }
.tabular   { font-variant-numeric: tabular-nums; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

.container-sm  { max-width: 720px;  margin-inline: auto; padding-inline: 24px; }
.container-md  { max-width: 960px;  margin-inline: auto; padding-inline: 24px; }
.container-lg  { max-width: 1440px; margin-inline: auto; padding-inline: 24px; }

.flex         { display: flex; }
.flex-col     { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.flex-wrap    { flex-wrap: wrap; }
.flex-1       { flex: 1; }
.gap-1  { gap: 4px; }
.gap-2  { gap: 8px; }
.gap-3  { gap: 12px; }
.gap-4  { gap: 16px; }
.gap-5  { gap: 20px; }
.gap-6  { gap: 24px; }
.gap-8  { gap: 32px; }
.gap-10 { gap: 40px; }

.grid         { display: grid; }
.grid-2       { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-3       { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-4       { display: grid; grid-template-columns: repeat(4, 1fr); }

/* ── Spacing — 8px grid ───────────────────────────────────── */
.p-0  { padding: 0; }
.p-1  { padding: 4px; }
.p-2  { padding: 8px; }
.p-3  { padding: 12px; }
.p-4  { padding: 16px; }
.p-5  { padding: 20px; }
.p-6  { padding: 24px; }
.p-8  { padding: 32px; }
.p-10 { padding: 40px; }

.px-1  { padding-inline: 4px; }
.px-2  { padding-inline: 8px; }
.px-3  { padding-inline: 12px; }
.px-4  { padding-inline: 16px; }
.px-5  { padding-inline: 20px; }
.px-6  { padding-inline: 24px; }
.px-8  { padding-inline: 32px; }

.py-1  { padding-block: 4px; }
.py-2  { padding-block: 8px; }
.py-3  { padding-block: 12px; }
.py-4  { padding-block: 16px; }
.py-5  { padding-block: 20px; }
.py-6  { padding-block: 24px; }
.py-8  { padding-block: 32px; }

.m-0  { margin: 0; }
.m-1  { margin: 4px; }
.m-2  { margin: 8px; }
.m-3  { margin: 12px; }
.m-4  { margin: 16px; }
.m-5  { margin: 20px; }
.m-6  { margin: 24px; }
.m-8  { margin: 32px; }
.m-auto { margin: auto; }

.mx-auto { margin-inline: auto; }
.mx-1  { margin-inline: 4px; }
.mx-2  { margin-inline: 8px; }
.mx-4  { margin-inline: 16px; }
.mx-6  { margin-inline: 24px; }

.my-1  { margin-block: 4px; }
.my-2  { margin-block: 8px; }
.my-3  { margin-block: 12px; }
.my-4  { margin-block: 16px; }
.my-5  { margin-block: 20px; }
.my-6  { margin-block: 24px; }
.my-8  { margin-block: 32px; }
.my-10 { margin-block: 40px; }

.mt-1  { margin-top: 4px; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-5  { margin-top: 20px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }

.mb-1  { margin-bottom: 4px; }
.mb-2  { margin-bottom: 8px; }
.mb-3  { margin-bottom: 12px; }
.mb-4  { margin-bottom: 16px; }
.mb-5  { margin-bottom: 20px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--zx-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition:
    background-color var(--zx-transition),
    border-color     var(--zx-transition),
    color            var(--zx-transition),
    box-shadow       var(--zx-transition),
    transform        var(--zx-transition);
}

.btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

.btn-primary {
  background-color: var(--zx-yellow);
  color: #111111;
  border-color: var(--zx-yellow);
}

.btn-primary:hover {
  background-color: var(--zx-yellow-hover);
  border-color: var(--zx-yellow-hover);
  color: #111111;
  box-shadow: 0 0 20px var(--zx-yellow-glow), 0 4px 16px var(--zx-yellow-glow-md);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--zx-yellow);
  border-color: var(--zx-yellow);
}

.btn-outline:hover {
  background-color: var(--zx-yellow-glow-md);
  box-shadow: 0 0 16px var(--zx-yellow-glow);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-ghost {
  background-color: transparent;
  color: var(--zx-text-secondary);
  border-color: var(--zx-border);
}

.btn-ghost:hover {
  background-color: var(--zx-bg-elevated);
  color: var(--zx-text-primary);
  border-color: var(--zx-border-hover);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(0);
}

.btn-danger {
  background-color: var(--zx-error);
  color: #ffffff;
  border-color: var(--zx-error);
}

.btn-danger:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px var(--zx-error-glow);
  transform: translateY(-1px);
}

.btn-success {
  background-color: var(--zx-success);
  color: #ffffff;
  border-color: var(--zx-success);
}

.btn-success:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px var(--zx-success-glow);
  transform: translateY(-1px);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background-color: var(--zx-bg-secondary);
  border: 1px solid var(--zx-border);
  border-radius: var(--zx-radius-md);
  padding: 20px;
  transition:
    border-color  var(--zx-transition),
    transform     var(--zx-transition-slow),
    box-shadow    var(--zx-transition-slow);
}

.card:hover {
  border-color: var(--zx-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.card-sm { padding: 14px; border-radius: var(--zx-radius-sm); }
.card-lg { padding: 32px; border-radius: var(--zx-radius-lg); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--zx-border);
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--zx-text-primary);
  letter-spacing: 0;
}

.card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--zx-text-muted);
}

.card-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--zx-text-primary);
  font-variant-numeric: tabular-nums;
}

.card-highlight {
  border-color: var(--zx-yellow);
  box-shadow: 0 0 0 1px var(--zx-yellow), inset 0 0 32px rgba(255, 184, 0, 0.04);
}

/* ── Inputs ───────────────────────────────────────────────── */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--zx-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--zx-bg-primary);
  color: var(--zx-text-primary);
  border: 1px solid var(--zx-border);
  border-radius: var(--zx-radius-sm);
  font-size: 14px;
  outline: none;
  transition:
    border-color var(--zx-transition),
    box-shadow   var(--zx-transition),
    background-color var(--zx-transition);
}

.input::placeholder {
  color: var(--zx-text-muted);
}

.input:hover {
  border-color: var(--zx-border-hover);
}

.input:focus {
  border-color: var(--zx-yellow);
  box-shadow: 0 0 0 3px var(--zx-yellow-glow);
  background-color: #1e1e1e;
}

.input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.input-error {
  border-color: var(--zx-error) !important;
  box-shadow: 0 0 0 3px var(--zx-error-glow) !important;
}

.input-success {
  border-color: var(--zx-success) !important;
  box-shadow: 0 0 0 3px var(--zx-success-glow) !important;
}

.input-hint {
  font-size: 12px;
  color: var(--zx-text-muted);
}

.input-hint.error { color: var(--zx-error); }
.input-hint.success { color: var(--zx-success); }

.input-with-icon {
  position: relative;
}

.input-with-icon .input {
  padding-left: 40px;
}

.input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--zx-text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea.input {
  resize: vertical;
  min-height: 100px;
}

/* ── Tables ───────────────────────────────────────────────── */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--zx-radius-md);
  border: 1px solid var(--zx-border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--zx-text-muted);
  background-color: var(--zx-bg-primary);
  border-bottom: 1px solid var(--zx-border);
  white-space: nowrap;
  user-select: none;
}

.table th.sortable {
  cursor: pointer;
}

.table th.sortable:hover {
  color: var(--zx-text-primary);
}

.table td {
  padding: 12px 16px;
  color: var(--zx-text-secondary);
  border-bottom: 1px solid rgba(51, 51, 51, 0.5);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.table td.text-strong {
  color: var(--zx-text-primary);
  font-weight: 500;
}

.table tbody tr {
  transition: background-color var(--zx-transition);
}

.table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.table tbody tr:hover td {
  color: var(--zx-text-primary);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table .col-up   { color: var(--zx-success); }
.table .col-down { color: var(--zx-error); }

/* ── Progress Bar ─────────────────────────────────────────── */
.progress {
  width: 100%;
  height: 6px;
  background-color: var(--zx-bg-elevated);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--zx-yellow);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
  border-radius: 999px;
}

.progress-fill.success { background-color: var(--zx-success); }
.progress-fill.error   { background-color: var(--zx-error); }

.progress-lg { height: 10px; }
.progress-sm { height: 3px; }

/* ── Badge / Tag ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-yellow  { background-color: rgba(255, 184, 0, 0.15);  color: var(--zx-yellow); }
.badge-success { background-color: rgba(0, 168, 132, 0.15);  color: var(--zx-success); }
.badge-error   { background-color: rgba(240, 62, 62, 0.15);  color: var(--zx-error); }
.badge-neutral { background-color: rgba(255, 255, 255, 0.07); color: var(--zx-text-secondary); }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--zx-border);
}

.divider-v {
  width: 1px;
  height: 100%;
  background-color: var(--zx-border);
  align-self: stretch;
}

/* ── Stat / KPI block ─────────────────────────────────────── */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--zx-text-muted);
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--zx-text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-delta {
  font-size: 12px;
  font-weight: 500;
  color: var(--zx-text-muted);
}

.stat-delta.up   { color: var(--zx-success); }
.stat-delta.down { color: var(--zx-error); }

/* ── Logo ─────────────────────────────────────────────────── */
.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--zx-text-primary);
  user-select: none;
}

.logo .logo-x {
  color: var(--zx-yellow);
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes zx-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes zx-glow-pulse {
  0%, 100% { box-shadow: 0 0 12px var(--zx-yellow-glow); }
  50%       { box-shadow: 0 0 28px var(--zx-yellow-glow), 0 0 48px rgba(255, 184, 0, 0.1); }
}

@keyframes zx-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes zx-spin {
  to { transform: rotate(360deg); }
}

.animate-fade-in {
  animation: zx-fade-in 0.3s ease forwards;
}

.animate-glow-pulse {
  animation: zx-glow-pulse 2.4s ease-in-out infinite;
}

.animate-spin {
  animation: zx-spin 0.8s linear infinite;
}

/* ── Skeleton loader ──────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--zx-bg-elevated) 25%,
    rgba(255,255,255,0.04) 50%,
    var(--zx-bg-elevated) 75%
  );
  background-size: 200% 100%;
  animation: zx-shimmer 1.6s ease-in-out infinite;
  border-radius: var(--zx-radius-sm);
}

/* ── Utility ──────────────────────────────────────────────── */
.w-full   { width: 100%; }
.h-full   { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hidden   { display: none !important; }
.sr-only  { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pointer  { cursor: pointer; }
.no-select { user-select: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }

  .container,
  .container-sm,
  .container-md,
  .container-lg { padding-inline: 16px; }

  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }

  .card-lg { padding: 20px; }
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  .btn-lg { padding: 12px 24px; font-size: 14px; }
}

/* ── Landing nav, footer, static pages ───────────────────── */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--zx-border);
}

.lp-footer {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 0 20px;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.9fr;
  gap: 36px 28px;
  align-items: start;
}

.lp-footer-brand .logo {
  display: inline-block;
  font-size: 1.25rem;
}

.lp-footer-tagline {
  margin: 14px 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--zx-text-secondary);
  opacity: 0.85;
  max-width: 280px;
}

.lp-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lp-footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.lp-footer-nav a:hover {
  color: #FFB700;
}

.lp-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lp-footer-contact-key {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zx-text-muted);
}

.lp-footer-contact-row a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.lp-footer-contact-row a:hover {
  color: #FFB700;
}

.lp-footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--zx-text-muted);
}

body.page-static {
  background: url("/static/img/base-bg.jpg") fixed center / cover;
  background-color: #0a0a0a;
}

.page-main {
  padding: 88px 0 48px;
  min-height: 100vh;
}

.page-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px 40px;
  max-width: 720px;
  margin: 0 auto;
}

.page-glass--wide {
  max-width: 800px;
}

.page-glass h1 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #ffffff;
}

.page-glass .page-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.page-glass p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.page-glass h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #ffffff;
}

.page-glass h3 {
  color: #ffffff;
}

.page-glass .page-contact-row {
  margin-bottom: 20px;
}

.page-glass .page-contact-row:last-child {
  margin-bottom: 0;
}

.page-glass .page-contact-key {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zx-text-muted);
  display: block;
  margin-bottom: 6px;
}

.page-glass a.page-contact-val {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.page-glass a.page-contact-val:hover {
  color: #FFB700;
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--zx-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-ghost:hover {
  background-color: var(--zx-bg-elevated);
  color: var(--zx-text-primary);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-hero-ghost:active {
  transform: translateY(0);
}

.page-glass .about-h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 26px 0 10px;
  color: #ffffff;
}

.page-glass .about-section:first-of-type .about-h2 {
  margin-top: 18px;
}

/* About page — stacked glass cards */
.about-page-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 32px;
}

.about-card-h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 14px;
}

.about-card-h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.about-card-h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  margin: 22px 0 10px;
}

.about-glass-card .about-card-lead {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.about-glass-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 12px;
}

.about-glass-card p:last-child {
  margin-bottom: 0;
}

.about-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.about-list li:last-child {
  margin-bottom: 0;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFB700;
}

.about-list--tight li {
  margin-bottom: 6px;
}

@media (max-width: 560px) {
  .about-glass-card {
    padding: 22px 18px;
  }
}

@media (max-width: 560px) {
  .page-glass {
    padding: 28px 22px;
  }
}

@media (max-width: 768px) {
  .lp-nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .lp-footer {
    padding: 24px 0 12px;
  }
  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .lp-footer-brand {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .lp-footer-tagline {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.7;
  }
  .lp-footer-col:nth-child(2) {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .lp-footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 20px;
  }
  .lp-footer-nav a {
    font-size: 13px;
  }
  .lp-footer-col:nth-child(3) {
    padding-bottom: 0;
  }
  .lp-footer-contact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .lp-footer-contact-row {
    gap: 2px;
  }
  .lp-footer-bottom {
    margin-top: 16px;
    padding-top: 12px;
  }
}
