:root {
  --bg-dark: #090a0e;
  --bg-gradient: radial-gradient(circle at 82% 6%, #151a24 0%, #090a0e 52%);
  --sidebar-bg: rgba(18, 20, 28, 0.72);
  --glass-bg: rgba(18, 20, 28, 0.62);
  --glass-border: rgba(255, 255, 255, 0.07);

  /* Institutional accent (replaces neon cyan for highlights & links) */
  --accent: #8aa3be;
  --accent-soft: rgba(138, 163, 190, 0.35);
  --accent-muted: rgba(138, 163, 190, 0.1);
  --link: #9eb4ce;
  --link-hover: #c5d4e8;

  /* Primary CTA / emphasis — slate, not purple */
  --primary: #3d4d62;
  --primary-bright: #4d5f78;
  --primary-glow: rgba(0, 0, 0, 0.32);

  /* Back-compat: treat “secondary” as accent in new designs */
  --secondary: var(--accent);
  --secondary-glow: rgba(138, 163, 190, 0.12);

  --success: #3ecf8e;
  --danger: #e85d75;
  --warning: #d4a534;

  --text-main: #f0f2f6;
  --text-muted: #8b92a5;

  --orb-1: #2a3142;
  --orb-2: #1c2230;
  --orb-3: #252b3a;

  /* Institutional UI: system sans + native monospace (no webfont load). */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-main: var(--font-base);
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Custom scrollbars (institutional, thin) */
  --scrollbar-size: 8px;
  --scrollbar-track: rgba(255, 255, 255, 0.04);
  --scrollbar-thumb: rgba(138, 163, 190, 0.32);
  --scrollbar-thumb-hover: rgba(138, 163, 190, 0.52);
  --scrollbar-corner: transparent;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* Forms inherit the same UI face as body (no decorative faces on controls). */
button,
input,
select,
textarea,
optgroup {
  font-family: inherit;
}

.notranslate {
  -webkit-touch-callout: none;
}


body {
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Global custom scrollbars (Firefox + WebKit)
   Applies to main scroll areas and nested overflow containers.
   -------------------------------------------------------------------------- */
html {
  scrollbar-gutter: stable;
}

*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  background-clip: padding-box;
}

*::-webkit-scrollbar-corner {
  background: var(--scrollbar-corner);
}

/* Background Animated Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(96px);
  opacity: 0.2;
  animation: float 20s infinite alternate linear;
}
.orb-1 { width: 300px; height: 300px; background: var(--orb-1); top: 10%; right: 10%; }
.orb-2 { width: 400px; height: 400px; background: var(--orb-2); bottom: 10%; left: 5%; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: var(--orb-3); top: 50%; left: 50%; animation-delay: -10s; }

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 50px); }
}

/* Auth pages: slightly quieter orbs (global palette is already restrained) */
body.auth-page .bg-orbs .orb {
  opacity: 0.14;
}

body.auth-page {
  flex-direction: column;
  align-items: stretch;
}

/* Language Selector - Top Right Corner */
.auth-lang-selector {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0,0,0,0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}

.auth-lang-selector .lang-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-right: 0.2rem;
  opacity: 0.6;
}

.auth-lang-selector .lang-option {
  text-decoration: none;
  padding: 0.15rem 0.3rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: var(--transition);
  opacity: 0.6;
}

.auth-lang-selector .lang-option:hover,
.auth-lang-selector .lang-option.active {
  opacity: 1;
  color: var(--link-hover);
  background: var(--accent-muted);
}

/* Auth Layout */
.auth-container {

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.auth-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
}


.auth-bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  width: 100%;
}



.auth-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0.3rem 0 0.3rem 2rem;
  text-align: left;
}




.auth-left p {
  max-width: 100% !important;
  padding-right: 0;
}




.auth-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0.3rem 2rem 0.3rem 0.5rem;
}








.auth-brand {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
}


.auth-brand .brand-logo {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
}

.auth-brand .brand-axion {
  color: #ffffff;
}

.auth-brand .brand-lab {
  color: var(--secondary);
}

.auth-subtitle {
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  margin-top: -2rem;
  text-align: center;
  letter-spacing: normal;
  white-space: nowrap;
}

.auth-divider {
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  margin: 0 auto;
}


.auth-footer {
  padding: 0.8rem 2rem 1.5rem;
  text-align: center;
}


.footer-content {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}


.auth-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 0.8rem 2rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  text-align: center;
  animation: slideUp 0.5s ease-out;
}


.auth-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}



/* App Layout */
.app-layout {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--sidebar-bg);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 10;
}

.sidebar-logo {
  padding: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-logo-axion {
  color: #ffffff;
}
.sidebar-logo-lab {
  color: var(--secondary);
}

.nav-menu {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition);
  font-weight: 500;
}

.nav-item:hover, .nav-item.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}
.nav-item.active {
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-muted) 0%, transparent 100%);
}

.nav-item i {
  font-size: 1.2rem;
  width: 24px;
}

/* Main Content */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Topbar */
.topbar {
  height: 80px;
  background: rgba(10, 11, 16, 0.5);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.topbar-stats {
  display: flex;
  gap: 1.25rem;
}
.top-stat {
  display: flex;
  flex-direction: column;
  min-width: 110px;
}
.top-stat .label {
  font-size: 0.64rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.top-stat .val {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
}
.top-stat .meta {
  margin-top: 1px;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: normal;
}

.topbar-user {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
}
.topbar-user::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

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

.topbar-user-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  opacity: 0.85;
}

.btn-logout-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-logout-link:hover {
  color: var(--danger);
  transform: translateY(-1px);
}

/* Content Area */
.content-area {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.page-header {
  margin-bottom: 2rem;
}
.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-base);
  letter-spacing: normal;
}

/* Cards & Widgets */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}
.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Footer: official social (Instagram / X / Discord) — URLs from AXION_SOCIAL_* env */
.official-social {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
}
.official-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(200, 210, 224, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1;
  transition: var(--transition);
  box-sizing: border-box;
}
.official-social__btn:hover {
  color: var(--text-main);
  border-color: rgba(138, 163, 190, 0.38);
  background: rgba(255, 255, 255, 0.05);
}
.login-gate__official-social-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.55rem;
}

/* Contact creator modal (Explorer-style overlay; backdrop does not dismiss) */
.contact-creator-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  background: rgba(5, 10, 18, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.contact-creator-overlay.is-open {
  display: flex;
}
.contact-creator-card {
  width: 100%;
  max-width: 520px;
  max-height: min(88vh, 720px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 22, 34, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 4px;
  padding: 1.25rem 1.35rem 1.2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.contact-creator-card .contact-creator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.contact-creator-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
}
.contact-creator-card .contact-creator-intro {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
}
.contact-creator-card select.form-control {
  color-scheme: dark;
}
.contact-creator-card textarea.form-control {
  min-height: 140px;
  resize: vertical;
}
.contact-creator-alert {
  font-size: 0.8rem;
  padding: 0.5rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  display: none;
}
.contact-creator-alert.is-error {
  display: block;
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.28);
  color: #ffb4c8;
}
.contact-creator-alert.is-success {
  display: block;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.22);
  color: #b8f6d5;
}
.contact-creator-alert:not(.is-error):not(.is-success) {
  display: none;
}
.contact-creator-actions {
  margin-top: 0.35rem;
}
.card-title {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-value {
  font-size: 2rem;
  font-family: var(--font-mono);
  font-weight: 600;
}
.card-value.primary { color: var(--accent); }
.card-value.secondary { color: var(--link); }
.card-value.success { color: var(--success); }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

/* Forms & Inputs */
.form-group {
  margin-bottom: 0.8rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-family: var(--font-base);
  font-size: 1rem;
  transition: var(--transition);
  color-scheme: dark;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 2px var(--accent-muted);
}
.form-control:hover {
  border-color: rgba(138, 163, 190, 0.28);
}
.form-control:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(8, 12, 19, 0.72);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(205, 216, 234, 0.88) 50%),
    linear-gradient(135deg, rgba(205, 216, 234, 0.88) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 3px),
    calc(100% - 9px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.8rem;
  line-height: 1.2;
}

select.form-control:hover {
  background-color: rgba(11, 16, 25, 0.82);
}

select.form-control:focus {
  background-color: rgba(12, 18, 28, 0.9);
}

select.form-control option {
  background: #101722;
  color: var(--text-main);
}

input[type="date"].form-control,
input[type="number"].form-control {
  background-color: rgba(8, 12, 19, 0.72);
}

/* File Upload / Drag & Drop */
.file-upload-wrapper {
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 0.7rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(0,0,0,0.1);
  margin-bottom: 0.8rem;
}

.file-upload-wrapper:hover {
  border-color: var(--accent-soft);
  background: rgba(138, 163, 190, 0.06);
}
.file-upload-wrapper i {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.file-upload-wrapper input[type="file"] {
  display: none;
}
.file-upload-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-upload-text span {
  color: var(--secondary);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  border: none;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: normal;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: #f0f3f8;
  box-shadow: 0 2px 14px var(--primary-glow);
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
  transform: none;
}
.btn-secondary {
  background: linear-gradient(135deg, #4a5f78, #3a4a5e);
  color: #f0f3f8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}
.btn-secondary:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.34);
  transform: none;
}
.btn-search-institutional {
  background: linear-gradient(135deg, rgba(138, 163, 190, 0.26), rgba(61, 77, 98, 0.34));
  color: #eaf0f9;
  border: 1px solid rgba(138, 163, 190, 0.42);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: normal;
  padding: 0.6rem 1rem;
}
.btn-search-institutional:hover {
  background: linear-gradient(135deg, rgba(138, 163, 190, 0.34), rgba(77, 95, 120, 0.42));
  border-color: rgba(158, 180, 206, 0.58);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}
.btn-search-institutional:active {
  transform: translateY(1px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}
.btn-block {
  width: 100%;
}

/* Tables */
.table-container {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}
th {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.mono {
  font-family: var(--font-mono);
}

/* Alerts / Badges */
.badge {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-success { background: rgba(0, 255, 136, 0.1); color: var(--success); border: 1px solid rgba(0,255,136,0.2); }
.badge-warning { background: rgba(255, 184, 0, 0.1); color: var(--warning); border: 1px solid rgba(255,184,0,0.2); }
.badge-danger { background: rgba(255, 51, 102, 0.1); color: var(--danger); border: 1px solid rgba(255,51,102,0.2); }

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-error {
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.2);
  color: #ff8a9f;
}
.alert-success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: #8affc2;
}

.alert-warning {
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.2);
  color: #ffd966;
}

/* Motor / Stabilizer Specific */
.motor-core {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.motor-ring {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 4px dashed var(--secondary);
  border-radius: 50%;
  animation: spin 10s linear infinite;
  opacity: 0.5;
}
.motor-ring-inner {
  position: absolute;
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 5s linear infinite reverse;
  box-shadow: inset 0 0 20px var(--primary-glow);
}
.motor-status-text {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.2rem;
  z-index: 2;
  text-transform: uppercase;
}
.motor-status.stable .motor-ring { border-color: var(--success); }
.motor-status.stable .motor-ring-inner { border-color: var(--success); box-shadow: inset 0 0 20px rgba(62, 207, 142, 0.25); }

/* Progress Bars */
.progress-wrapper {
  margin-bottom: 1rem;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}
.progress-bar {
  height: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.5s ease;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Econometer Radial (--meter-fill set by JS tier; avoids rewriting full background each poll) */
.radial-meter {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--meter-fill, var(--secondary)) var(--progress), rgba(255,255,255,0.05) 0deg);
}
.radial-meter::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--glass-bg);
  border-radius: 50%;
}
.radial-value {
  position: relative;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Logo and Sidebar Branding */
.sidebar-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Chat Layout */
.chat-container {
  display: flex;
  height: calc(100vh - 200px);
  gap: 1.5rem;
}

.chat-sidebar {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contacts-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-item:hover, .contact-item.active {
  background: rgba(255,255,255,0.08);
  border-color: var(--secondary);
}

.chat-messages {
  flex: 1;
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--glass-border);
}

.msg-bubble {
  max-width: 70%;
  padding: 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.4;
  position: relative;
}

.msg-me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: white;
  border-bottom-right-radius: 4px;
}

.msg-other {
  align-self: flex-start;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  border-bottom-left-radius: 4px;
}

.msg-time {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.4rem;
  text-align: right;
}

/* QR Code Section */
.deposit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.deposit-card {
  text-align: center;
  padding: 1.5rem;
}

.qr-wrapper {
  background: white;
  padding: 10px;
  border-radius: 4px;
  display: inline-block;
  margin: 1rem 0;
}

.addr-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0,0,0,0.3);
  padding: 0.5rem;
  border-radius: 4px;
  word-break: break-all;
  cursor: pointer;
}

/* Home Explorer Additions */
.search-results-area {
  margin-bottom: 2rem;
}

.compact-table th, .compact-table td {
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
}

/* Header Full Address */
.topbar-user {
  max-width: 500px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text-main);
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
}

.sidebar-overlay {
  display: none;
}

.btn-logout {
  color: var(--danger) !important;
}
.btn-logout:hover {
  background: rgba(255, 51, 102, 0.1) !important;
}
/* Modal System */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: slideUp 0.3s ease-out;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* 2FA Icons and Elements */
.fa-shield-check { color: var(--success); }
.fa-shield-xmark { color: var(--danger); }

.backup-codes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0,0,0,0.3);
  padding: 1rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}
.backup-code-item {
  color: var(--accent);
  font-size: 0.9rem;
  text-align: center;
}
/* 2FA and Transfer Form Enhancements */
#totp_code:focus {
    border-color: var(--accent-soft);
    box-shadow: 0 0 0 2px var(--accent-muted);
    background: rgba(138, 163, 190, 0.06);
}

#transfer-card {
    position: relative;
    overflow: hidden;
}

#transfer-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 163, 190, 0.04));
    pointer-events: none;
}

.transfer-grid .form-control {
    border-radius: 4px;
}

#transfer-result .alert {
    margin-top: 1rem;
    animation: slideUp 0.3s ease-out;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Pool V2.0 Trading Enhancements */
#trading-card {
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

#step-2-review {
    animation: fadeIn 0.3s ease-out;
}

.badge-buy { 
    background: rgba(0, 255, 136, 0.15); 
    color: var(--success); 
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.badge-sell { 
    background: rgba(255, 51, 102, 0.15); 
    color: var(--danger); 
    border: 1px solid rgba(255, 51, 102, 0.2);
}

#timer-progress {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    box-shadow: 0 0 10px var(--secondary-glow);
    transition: width 0.1s linear;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ====== WALLET PAGE ENHANCEMENTS ====== */
.deposit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.deposit-card {
    text-align: center;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.qr-wrapper {
    width: 128px;
    height: 128px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.qr-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.addr-copy {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    word-break: break-all;
    cursor: pointer;
    padding: 6px 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.addr-copy:hover {
    background: var(--accent-muted);
    border-color: var(--accent-soft);
    color: var(--text-main);
}

.addr-copy.no-copy {
    cursor: default;
    opacity: 0.5;
}

.addr-copy.no-copy:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--glass-border);
    color: var(--text-muted);
}

.compact-table table {
    font-size: 0.85rem;
}

.compact-table th {
    padding: 0.6rem 0.8rem;
}

.compact-table td {
    padding: 0.5rem 0.8rem;
}

/* ====== INDEX / LANDING PAGE ====== */
.landing-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(10,11,16,0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.landing-logo img {
    height: 40px;
}

.landing-logo span {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.landing-hero h1 .highlight {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.landing-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(138,43,226,0.3);
    transform: translateY(-2px);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent-soft);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.landing-footer {
    margin-top: auto;
    padding: 2rem 3rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.landing-footer .text-muted {
    font-size: 0.8rem;
}

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

.landing-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.landing-footer-links a:hover {
    color: var(--secondary);
}

/* ====== RESPONSIVE ====== */

/* Large Screens (1200px+) */
@media (min-width: 1200px) {
    .auth-bottom {
        grid-template-columns: 1.3fr 1fr;
    }
    
    .auth-left {
        padding: 0.3rem 0 0.3rem 2rem;
    }
    
    .auth-right {
        padding: 0.3rem 2rem 0.3rem 0.5rem;
    }
    
    .auth-card {
        max-width: 480px;
    }
}

/* Medium Screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .auth-bottom {
        grid-template-columns: 1.1fr 1fr;
    }
    
    .auth-left {
        padding: 0.3rem 0 0.3rem 1.5rem;
    }
    
    .auth-left p {
        font-size: 1.1rem !important;
    }
    
    .auth-right {
        padding: 0.3rem 1.5rem 0.3rem 0.5rem;
    }
    
    .auth-card {
        max-width: 440px;
    }
    
    .auth-brand {
        font-size: 2.5rem;
    }
    
    .auth-brand .brand-logo {
        height: 3rem;
    }
    
    .auth-subtitle {
        font-size: 0.85rem;
    }
}

/* Small Screens / Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .auth-bottom {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: flex;
        padding: 0.5rem 1.5rem 0.3rem;
        text-align: justify;
        align-items: center;
    }
    
    .auth-left p {
        font-size: 1rem !important;
        text-align: justify !important;
        max-width: 90% !important;
        margin: 0 auto;
    }

    
    .auth-right {
        padding: 0.3rem 1.5rem;
        align-items: center;
    }
    
    .auth-card {
        max-width: 420px;
    }
    
    .auth-brand {
        font-size: 2.2rem;
    }
    
    .auth-brand .brand-logo {
        height: 2.6rem;
    }
    
    .auth-subtitle {
        font-size: 0.8rem;
        white-space: normal;
        max-width: 90%;
    }
    
    .auth-top {
        padding: 2rem 1.5rem 1rem;
    }
}


/* Mobile (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .auth-bottom {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: flex;
        padding: 0.5rem 1.2rem 0.3rem;
        text-align: justify;
        align-items: center;
    }
    
    .auth-left p {
        font-size: 0.95rem !important;
        text-align: justify !important;
        max-width: 95% !important;
        margin: 0 auto;
    }


    
    .auth-right {
        padding: 0.3rem 1.2rem;
        align-items: center;
    }
    
    .auth-card {
        max-width: 100%;
        padding: 0.8rem 1.2rem;
    }
    
    .auth-card h2 {
        font-size: 1.1rem;
    }
    
    .auth-brand {
        font-size: 2rem;
    }
    
    .auth-brand .brand-logo {
        height: 2.2rem;
    }
    
    .auth-subtitle {
        font-size: 0.75rem;
        white-space: normal;
        max-width: 95%;
        margin-top: -1.5rem;
    }
    
    .auth-top {
        padding: 1.5rem 1rem 1rem;
    }
    
    .auth-divider {
        width: 90%;
    }
    
    .auth-lang-selector {
        top: 0.5rem;
        right: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
    
    .auth-lang-selector .lang-option {
        font-size: 0.65rem;
        padding: 0.1rem 0.2rem;
    }
    
    .auth-footer {
        padding: 0.6rem 1rem 1rem;
    }
    
    .footer-content {
        font-size: 0.75rem;
    }
    
    .file-upload-wrapper {
        padding: 1rem;
    }
    
    .file-upload-wrapper i {
        font-size: 1.5rem;
    }
    
    .file-upload-text {
        font-size: 0.8rem;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
    .auth-bottom {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: flex;
        padding: 0.4rem 0.8rem 0.2rem;
        text-align: justify;
        align-items: center;
    }
    
    .auth-left p {
        font-size: 0.85rem !important;
        text-align: justify !important;
        max-width: 98% !important;
        margin: 0 auto;
    }


    
    .auth-right {
        padding: 0.2rem 0.8rem;
        align-items: center;
    }
    
    .auth-card {
        max-width: 100%;
        padding: 0.6rem 1rem;
        border-radius: 4px;
    }
    
    .auth-card h2 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .auth-brand {
        font-size: 1.6rem;
        letter-spacing: 0.02em;
    }
    
    .auth-brand .brand-logo {
        height: 1.8rem;
    }
    
    .auth-subtitle {
        font-size: 0.7rem;
        white-space: normal;
        max-width: 98%;
        margin-top: -1.2rem;
        margin-bottom: 1rem;
    }
    
    .auth-top {
        padding: 1rem 0.8rem 0.8rem;
    }
    
    .auth-divider {
        width: 95%;
    }
    
    .auth-lang-selector {
        top: 0.4rem;
        right: 0.5rem;
        padding: 0.15rem 0.3rem;
        gap: 0.15rem;
    }
    
    .auth-lang-selector .lang-option {
        font-size: 0.6rem;
        padding: 0.1rem 0.15rem;
    }
    
    .auth-footer {
        padding: 0.5rem 0.8rem 0.8rem;
    }
    
    .footer-content {
        font-size: 0.65rem;
    }
    
    .file-upload-wrapper {
        padding: 0.8rem;
    }
    
    .file-upload-wrapper i {
        font-size: 1.3rem;
    }
    
    .file-upload-text {
        font-size: 0.75rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-control {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    /* 2FA step adjustments for small mobile */
    #login-step-2 h2 {
        font-size: 1rem;
    }
    
    #login-step-2 .text-muted {
        font-size: 0.75rem;
    }
    
    #totp_code {
        font-size: 1.8rem !important;
        letter-spacing: 0.35rem !important;
        height: 60px !important;
    }
    
    #verify-btn {
        height: 45px !important;
        font-size: 0.85rem !important;
    }
    
    .mt-2.text-center {
        gap: 0.5rem !important;
    }
    
    .mt-2.text-center .btn-outline {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .mt-2.text-center a {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .auth-top {
        padding: 0.8rem 1rem 0.5rem;
    }
    
    .auth-brand {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-brand .brand-logo {
        height: 1.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.65rem;
        margin-top: -0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-divider {
        display: none;
    }
    
    .auth-bottom {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: flex;
        padding: 0.2rem 1rem 0.1rem;
        text-align: justify;
        align-items: center;
    }
    
    .auth-left p {
        font-size: 0.75rem !important;
        text-align: justify !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    
    .auth-right {
        padding: 0.2rem 1rem;
        align-items: center;
    }
    
    .auth-card {
        max-width: 100%;
        padding: 0.5rem 1rem;
    }
    
    .auth-card h2 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .file-upload-wrapper {
        padding: 0.5rem;
    }
    
    .file-upload-wrapper i {
        font-size: 1.2rem;
    }
    
    .file-upload-text {
        font-size: 0.7rem;
    }
    
    .form-group {
        margin-bottom: 0.4rem;
    }
    
    .form-control {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .auth-footer {
        padding: 0.3rem 0.8rem 0.5rem;
    }
    
    .footer-content {
        font-size: 0.6rem;
    }
    
    .auth-lang-selector {
        top: 0.3rem;
        right: 0.5rem;
        padding: 0.1rem 0.3rem;
    }
    
    .auth-lang-selector .lang-option {
        font-size: 0.55rem;
    }

}

/* Legacy responsive (keep for backward compatibility) */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .app-layout {
        height: auto;
        min-height: 100vh;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 20vw;
        min-width: 200px;
        max-width: 280px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 1200;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(1px);
        z-index: 1100;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .main-wrapper {
        width: 100%;
    }

    .topbar {
        height: auto;
        min-height: 64px;
        padding: 0.7rem 1rem;
        gap: 12px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .topbar-stats {
        gap: 1rem;
    }

    .top-stat .label {
        font-size: 0.65rem;
    }

    .top-stat .val {
        font-size: 0.9rem;
    }

    .topbar-user-wrap {
        min-width: 0;
    }

    .topbar-user {
        max-width: 42vw;
    }

    .landing-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .landing-hero h1 {
        font-size: 2rem;
    }
    
    .landing-hero p {
        font-size: 1rem;
    }
    
    .landing-stats,
    .landing-features {
        padding: 1.5rem;
    }
    
    .deposit-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}


