/* ============================================================
   AUXIONMARKETS — Base & Resets (Quiet Luxury)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { background: none; border: none; font: inherit; cursor: pointer; color: inherit; }

/* ── Typography Containers ────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 500; /* Shifted from 800 to 500 for elegance */
  color: var(--text-dark);
  letter-spacing: -1px; /* Less aggressive tracking */
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  position: relative;
}

.section-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.section-title { font-size: var(--text-2xl); margin-bottom: 24px; }
.section-title--mega { font-size: clamp(40px, 5vw, var(--text-3xl)); letter-spacing: -1.5px; }

@media (max-width: 768px) {
  :root {
    --container-px: 16px;
    --nav-height: var(--nav-height-sm);
  }
  section { padding: var(--section-py-sm) 0; }
  .section-title--mega { font-size: 32px; letter-spacing: -1px; }
  .section-label { margin-bottom: 16px; }
  .container { padding: 0 16px; }
  .award-icon svg { margin: 0 auto; }
}

@media (max-width: 992px) {
  .hero { overflow: hidden; }
}

.section-sub { font-size: var(--text-md); color: var(--text-muted); max-width: 500px; line-height: 1.8; }
.section-sub.centered { margin: 0 auto; text-align: center; }

/* ── SVGs ─────────────────────────────────────────────── */
/* Force all SVGs to feel thinner and more premium */
svg {
  stroke-width: 1.25px !important;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: var(--transition-base);
  padding: 16px 32px;
  font-size: var(--text-base);
  position: relative;
  overflow: hidden;
}

.btn-primary { 
  background-color: var(--accent); 
  color: var(--text-white); 
  /* Machined button depth */
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 14px rgba(0,82,255,0.2);
}
.btn-primary:active {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  transform: translateY(1px);
}
.btn-primary:hover { 
  background-color: var(--accent-hover); 
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 8px 24px rgba(0,82,255,0.3);
}

.jm-table-wrapper {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow-x: auto; /* Enable horizontal scroll on mobile */
  max-width: 100vw;
  border: 1px solid var(--border-faint);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.btn-secondary { 
  background-color: var(--bg-primary); 
  color: var(--text-dark); 
  border: 1px solid var(--border-light); 
  box-shadow: 0 4px 14px rgba(0,0,0,0.02);
}
.btn-secondary:hover { 
  background-color: var(--bg-surface); 
  border-color: var(--border-medium);
}

.btn-lg { padding: 18px 40px; font-size: var(--text-base); }

/* ── Utilities ────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* ── Animation States ─────────────────────────────────── */
.animate-in { opacity: 0; transform: translateY(15px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.animate-in.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
