/* ==========================================================================
   Cuterax - Design System
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------- */
/* Palette taken from the Cuterax mark: deep blue -> cyan on cool white. */
:root {
  /* surfaces */
  --bg:            #f6f9fd;
  --bg-elev:       #ffffff;
  --bg-elev-2:     #eff4fb;
  --bg-hover:      #e6edf8;
  --surface-line:  #dde6f2;

  /* text */
  --text:          #0d1b2a;
  --text-muted:    #5b6b80;
  --text-dim:      #8c9bb0;

  /* brand */
  --brand:         #0f6fde;
  --brand-2:       #22b8f0;   /* cyan end of the logo gradient */
  --brand-deep:    #0a4ea6;
  --brand-soft:    rgba(15, 111, 222, .10);
  --brand-hover:   #0c5cbc;
  --brand-grad:    linear-gradient(135deg, #0a4ea6 0%, #0f6fde 45%, #22b8f0 100%);

  /* semantic */
  --success:       #10916b;
  --success-soft:  rgba(16, 145, 107, .12);
  --danger:        #d0453f;
  --danger-soft:   rgba(208, 69, 63, .12);
  --warning:       #c2870f;
  --warning-soft:  rgba(194, 135, 15, .13);
  --info:          #1a86c9;
  --info-soft:     rgba(26, 134, 201, .12);

  /* shape */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(13,27,42,.06);
  --shadow:    0 6px 20px rgba(13,27,42,.08);
  --shadow-lg: 0 22px 55px rgba(13,27,42,.16);
  --shadow-brand: 0 10px 30px rgba(15,111,222,.28);

  --sidebar-w: 250px;
  --header-h:  64px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* Deep navy dark mode - never pure black. */
[data-theme="dark"] {
  --bg:           #0a1420;
  --bg-elev:      #10202f;
  --bg-elev-2:    #16293b;
  --bg-hover:     #1d3549;
  --surface-line: #223b52;

  --text:         #e8f0fa;
  --text-muted:   #93a6bd;
  --text-dim:     #6b7f96;

  --brand:        #3d95f5;
  --brand-2:      #38c6f7;
  --brand-deep:   #1a6fd0;
  --brand-soft:   rgba(61, 149, 245, .16);
  --brand-hover:  #5aa8f8;
  --brand-grad:   linear-gradient(135deg, #1a6fd0 0%, #3d95f5 45%, #38c6f7 100%);

  --success:      #35c495;
  --success-soft: rgba(53, 196, 149, .15);
  --danger:       #f0736a;
  --danger-soft:  rgba(240, 115, 106, .15);
  --warning:      #e8b44c;
  --warning-soft: rgba(232, 180, 76, .15);
  --info:         #4fbdec;
  --info-soft:    rgba(79, 189, 236, .15);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow:    0 6px 22px rgba(0,0,0,.36);
  --shadow-lg: 0 22px 55px rgba(0,0,0,.5);
  --shadow-brand: 0 10px 30px rgba(61,149,245,.3);
}

/* ---- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 { margin: 0 0 .5rem; font-weight: 650; line-height: 1.25; letter-spacing: -.015em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: .98rem; }
p  { margin: 0 0 1rem; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }

code, .mono { font-family: var(--mono); font-size: .88em; }

img { max-width: 100%; }

/* ---- Layout helpers ------------------------------------------------ */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1440px; }

.row { display: flex; flex-wrap: wrap; gap: 20px; }
.col { flex: 1 1 0; min-width: 0; }

.grid   { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-1 { gap: .35rem; } .gap-2 { gap: .7rem; }
.gap-3 { gap: 1rem; }  .gap-4 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}
.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}
.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}

.text-center{text-align:center}.text-right{text-align:right}
.text-muted{color:var(--text-muted)}.text-dim{color:var(--text-dim)}
.text-success{color:var(--success)}.text-danger{color:var(--danger)}
.text-warning{color:var(--warning)}.text-brand{color:var(--brand)}
.text-sm{font-size:.86rem}.text-xs{font-size:.78rem}
.text-lg{font-size:1.1rem}.text-xl{font-size:1.4rem}
.fw-500{font-weight:500}.fw-600{font-weight:600}.fw-700{font-weight:700}
.uppercase{text-transform:uppercase;letter-spacing:.06em}
.nowrap{white-space:nowrap}
.hidden{display:none !important}

/* ---- Card ---------------------------------------------------------- */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-pad     { padding: 22px; }
.card-header  {
  padding: 18px 22px;
  border-bottom: 1px solid var(--surface-line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card-header h3, .card-header h2 { margin: 0; }
.card-body   { padding: 22px; }
.card-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--surface-line);
  background: var(--bg-elev-2);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

/* ---- Stat tile ----------------------------------------------------- */
.stat {
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: .8;
}
.stat.stat-success::after { background: linear-gradient(90deg, var(--success), transparent); }
.stat.stat-warning::after { background: linear-gradient(90deg, var(--warning), transparent); }
.stat.stat-danger::after  { background: linear-gradient(90deg, var(--danger), transparent); }
.stat.stat-info::after    { background: linear-gradient(90deg, var(--info), transparent); }

.stat-label {
  font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-muted); margin-bottom: 8px;
}
.stat-value {
  font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em;
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.stat-value small { font-size: .62em; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.stat-meta { margin-top: 8px; font-size: .8rem; color: var(--text-muted); }

/* ---- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .62rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font: inherit; font-size: .92rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .06s, opacity .15s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }

.btn-success { background: var(--success); color: #05261a; }
.btn-success:hover { filter: brightness(1.08); color: #05261a; }

.btn-danger  { background: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(1.08); color: #fff; }

.btn-warning { background: var(--warning); color: #2a1c00; }
.btn-warning:hover { filter: brightness(1.08); color: #2a1c00; }

.btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--surface-line);
}
.btn-outline:hover { background: var(--bg-hover); color: var(--text); }

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text); }

.btn-sm  { padding: .38rem .75rem; font-size: .82rem; border-radius: var(--r-sm); }
.btn-lg  { padding: .8rem 1.6rem;  font-size: 1rem; }
.btn-block { width: 100%; }

/* ---- Badges -------------------------------------------------------- */
.badge-soft {
  display: inline-block; padding: .2rem .6rem;
  border-radius: 999px; font-size: .75rem; font-weight: 650;
  line-height: 1.5;
}
.badge-success  { background: var(--success-soft); color: var(--success); }
.badge-danger   { background: var(--danger-soft);  color: var(--danger); }
.badge-warning  { background: var(--warning-soft); color: var(--warning); }
.badge-info     { background: var(--info-soft);    color: var(--info); }
.badge-secondary{ background: var(--bg-elev-2);    color: var(--text-muted); }
.badge-dark     { background: var(--bg-elev-2);    color: var(--text-dim); }

.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--bg-elev-2); border: 1px solid var(--surface-line);
  font-size: .8rem; font-weight: 600;
}

/* ---- Forms --------------------------------------------------------- */
.form-group { margin-bottom: 1.15rem; }
.form-label {
  display: block; margin-bottom: .4rem;
  font-size: .85rem; font-weight: 600; color: var(--text);
}
.form-control, .form-select, textarea.form-control {
  display: block; width: 100%;
  padding: .68rem .9rem;
  font: inherit; font-size: .93rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--surface-line);
  border-radius: var(--r);
  transition: border-color .15s, box-shadow .15s;
}
.form-control,
.form-select { background: #fff; }
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select { background: var(--bg); }

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-control::placeholder { color: var(--text-dim); }
.form-hint  { margin-top: .35rem; font-size: .8rem; color: var(--text-muted); }
.form-error { margin-top: .35rem; font-size: .8rem; color: var(--danger); }

.input-group { display: flex; width: 100%; }
.input-group .form-control { border-radius: var(--r) 0 0 var(--r); }
.input-group .input-addon {
  display: flex; align-items: center; padding: 0 .9rem;
  background: var(--bg-elev-2); border: 1px solid var(--surface-line);
  border-left: none; border-radius: 0 var(--r) var(--r) 0;
  font-size: .88rem; font-weight: 600; color: var(--text-muted);
}
.input-group .input-prefix {
  display: flex; align-items: center; padding: 0 .95rem;
  background: var(--bg-elev-2); border: 1px solid var(--surface-line);
  border-right: none; border-radius: var(--r) 0 0 var(--r);
  font-size: .92rem; font-weight: 700; color: var(--text);
  user-select: none;
}
.input-group .input-prefix + .form-control {
  border-radius: 0 var(--r) var(--r) 0;
}

.form-check { display: flex; align-items: flex-start; gap: .55rem; }
.form-check input { margin-top: .28rem; accent-color: var(--brand); }

/* Password field with toggle view button */
.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.password-wrap .form-control {
  padding-right: 2.75rem;
}
.password-toggle-btn {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  transition: color .15s ease, background .15s ease;
  line-height: 1;
}
.password-toggle-btn:hover {
  color: var(--brand);
  background: var(--brand-soft);
}
.password-toggle-btn:focus {
  outline: none;
  color: var(--brand);
}

/* Password real-time condition checklist */
.password-requirements {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-sm);
}
.req-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s ease;
}
.req-item .req-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  background: var(--bg-elev-2);
  color: var(--text-dim);
  border: 1px solid var(--surface-line);
  transition: all .2s ease;
  flex-shrink: 0;
}
.req-item.valid {
  color: var(--success, #10b981);
}
.req-item.valid .req-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
}
.req-item.invalid {
  color: var(--danger, #ef4444);
}
.req-item.invalid .req-icon {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* ---- Alerts -------------------------------------------------------- */
.alert {
  padding: .85rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  margin-bottom: 1rem;
  font-size: .9rem;
  display: flex; gap: .6rem; align-items: flex-start;
}
.alert-success { background: var(--success-soft); border-color: rgba(47,208,138,.3);  color: var(--success); }
.alert-error,
.alert-danger  { background: var(--danger-soft);  border-color: rgba(255,95,109,.3);  color: var(--danger); }
.alert-warning { background: var(--warning-soft); border-color: rgba(255,182,72,.3);  color: var(--warning); }
.alert-info    { background: var(--info-soft);    border-color: rgba(70,200,245,.3);  color: var(--info); }

/* ---- Tables -------------------------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  text-align: left; padding: .8rem 1rem;
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted);
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--surface-line);
  white-space: nowrap;
}
.table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--surface-line);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--bg-hover); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }

.table-empty {
  padding: 3rem 1rem; text-align: center; color: var(--text-muted);
}

/* ---- Pagination ---------------------------------------------------- */
.pagination { display: flex; gap: .3rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.page-link {
  display: block; padding: .4rem .75rem;
  border: 1px solid var(--surface-line); border-radius: var(--r-sm);
  color: var(--text-muted); font-size: .86rem; font-weight: 600;
}
.page-link:hover { background: var(--bg-hover); color: var(--text); }
.page-item.active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-item.disabled .page-link { opacity: .4; pointer-events: none; }

/* ---- App shell ----------------------------------------------------- */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: var(--bg-elev);
  border-right: 1px solid var(--surface-line);
  display: flex; flex-direction: column;
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  transition: transform .22s ease;
}
.sidebar-brand {
  height: var(--header-h); flex-shrink: 0;
  display: flex; align-items: center; gap: .6rem;
  padding: 0 16px;
  border-bottom: 1px solid var(--surface-line);
  font-weight: 750; font-size: 1.1rem; letter-spacing: -.02em;
  color: var(--text);
}
.brand-logo {
  height: 38px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
}
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.auth-brand-logo {
  max-height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 14px;
  display: inline-block;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #d99a6c);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .9rem;
  flex-shrink: 0;
}
.sidebar-nav { flex: 1; overflow-y: auto; padding: 14px 12px; }
.nav-section {
  padding: 14px 10px 6px;
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--text-dim);
}
.nav-link {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .75rem; margin-bottom: 2px;
  border-radius: var(--r);
  color: var(--text-muted); font-size: .9rem; font-weight: 550;
  transition: background .13s, color .13s;
}
.nav-link:hover { background: var(--bg-hover); color: var(--text); }
.nav-link.active { background: var(--brand-soft); color: var(--brand); font-weight: 650; }
.nav-link .ico { width: 18px; text-align: center; flex-shrink: 0; opacity: .95; }
.nav-badge {
  margin-left: auto; background: var(--danger); color: #fff;
  border-radius: 999px; padding: .05rem .4rem; font-size: .7rem; font-weight: 700;
}
.sidebar-foot { padding: 14px; border-top: 1px solid var(--surface-line); }

.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }

.topbar {
  height: var(--header-h); flex-shrink: 0;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--surface-line);
  display: flex; align-items: center; gap: 14px;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 30;
}
.topbar h1 { font-size: 1.15rem; margin: 0; }

.content { flex: 1; padding: 26px 24px 60px; }

.icon-btn {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--surface-line); border-radius: var(--r);
  background: transparent; color: var(--text-muted);
  cursor: pointer; font-size: 1rem;
  transition: background .13s, color .13s;
}
.icon-btn:hover { background: var(--bg-hover); color: var(--text); }

.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #d99a6c);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .82rem;
  flex-shrink: 0;
}
.avatar-lg { width: 58px; height: 58px; font-size: 1.2rem; }
.avatar-sm { width: 28px; height: 28px; font-size: .7rem; }

/* ---- Dropdown ------------------------------------------------------ */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 210px;
  background: var(--bg-elev); border: 1px solid var(--surface-line);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 6px; z-index: 60;
  display: none;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .7rem; border-radius: var(--r-sm);
  color: var(--text-muted); font-size: .88rem; font-weight: 550;
}
.dropdown-item:hover { background: var(--bg-hover); color: var(--text); }
.dropdown-divider { height: 1px; background: var(--surface-line); margin: 6px 0; }

/* ---- Progress ------------------------------------------------------ */
.progress {
  height: 7px; background: var(--bg-elev-2);
  border-radius: 999px; overflow: hidden;
}
.progress-bar {
  height: 100%; background: var(--brand);
  border-radius: 999px; transition: width .4s ease;
}
.progress-bar.success { background: var(--success); }
.progress-bar.warning { background: var(--warning); }

/* ---- Package card -------------------------------------------------- */
.pkg {
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.pkg:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.pkg-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 2px; }
.pkg-range { font-size: .84rem; color: var(--text-muted); margin-bottom: 16px; }
.pkg-metric {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .5rem 0; border-bottom: 1px dashed var(--surface-line);
  font-size: .87rem;
}
.pkg-metric:last-of-type { border-bottom: none; }
.pkg-metric .k { color: var(--text-muted); }
.pkg-metric .v { font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---- Tree / genealogy ---------------------------------------------- */
.tree-level { margin-bottom: 1.5rem; }
.tree-level-head {
  display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem;
}
.level-chip {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  font-weight: 750; font-size: .82rem;
}
.member-row {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem .9rem;
  background: var(--bg-elev-2);
  border: 1px solid var(--surface-line);
  border-radius: var(--r);
  margin-bottom: 6px;
}

/* ---- Chart --------------------------------------------------------- */
.chart { width: 100%; display: block; overflow: visible; }
.chart-empty {
  height: 200px; display: grid; place-items: center;
  color: var(--text-dim); font-size: .88rem;
}

/* ---- Auth pages ---------------------------------------------------- */
.auth-wrap {
  min-height: 100vh; display: grid; place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(1000px 500px at 15% -10%, rgba(201,100,66,.13), transparent 60%),
    radial-gradient(800px 400px at 90% 110%, rgba(217,154,108,.14), transparent 60%),
    var(--bg);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 34px;
}
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head .brand-mark { width: 46px; height: 46px; font-size: 1.15rem; margin: 0 auto 14px; border-radius: 13px; }

/* logo lockup on the sign-in / sign-up cards */
.auth-brand-logo { height: 46px; width: auto; display: block; margin: 0 auto 18px; }
[data-theme="dark"] .auth-brand-logo { filter: brightness(1.18) contrast(1.05); }

/* logo inside the app sidebar */
.sidebar-brand { min-height: 95px; height: auto; padding: 8px 16px; }
.sidebar-brand .brand-logo-wrap { width: 100%; display: flex; align-items: center; justify-content: center; }
.sidebar-brand .brand-logo { height: 90px; max-height: 90px; max-width: 100%; object-fit: contain; }

/* ==========================================================================
   Landing page
   ========================================================================== */

.site-header {
  height: 76px;
  border-bottom: 1px solid transparent;
  display: flex; align-items: center;
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled {
  border-bottom-color: var(--surface-line);
  box-shadow: var(--shadow-sm);
}

.brand-logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 50px; width: auto; display: block; }
[data-theme="dark"] .brand-logo { filter: brightness(1.18) contrast(1.05); }

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a {
  color: var(--text-muted); font-size: .92rem; font-weight: 550;
  position: relative; padding: 4px 0;
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--brand-grad); border-radius: 2px; transition: right .25s ease;
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a:hover::after { right: 0; }

/* ---- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(820px 460px at 12% -8%,  rgba(15,111,222,.16), transparent 62%),
    radial-gradient(680px 420px at 92% 4%,   rgba(34,184,240,.15), transparent 60%),
    radial-gradient(520px 320px at 55% 108%, rgba(10,78,166,.10),  transparent 62%);
}
/* faint engineering grid, fading out downward */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(var(--surface-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface-line) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  letter-spacing: -.035em; line-height: 1.06;
  margin-bottom: 1.15rem; font-weight: 750;
}
.hero .lead {
  font-size: 1.11rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.62; margin-bottom: 1.8rem;
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem .4rem .5rem;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 1.4rem;
}
.eyebrow .tag {
  padding: .16rem .55rem; border-radius: 999px;
  background: var(--brand-grad); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
}

.btn-hero {
  background: var(--brand-grad); color: #fff;
  box-shadow: var(--shadow-brand);
  border: none; padding: .92rem 1.9rem; font-size: 1rem;
}
.btn-hero:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }

/* trust strip under the hero copy */
.trust-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem;
  margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid var(--surface-line);
}
.trust-item { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.trust-item .ic {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: .85rem;
}
.trust-item .tx { font-size: .82rem; font-weight: 600; line-height: 1.3; min-width: 0; }
.trust-item .tx small { display: block; font-weight: 500; color: var(--text-muted); font-size: .73rem; }

@media (max-width: 560px) {
  .trust-row { grid-template-columns: 1fr; gap: .9rem; }
}

/* ---- Hero visual ---------------------------------------------------- */
.hero-visual { position: relative; }
.hero-visual .glow {
  position: absolute; inset: 8% 6%; z-index: -1; border-radius: 50%;
  background: var(--brand-grad); filter: blur(72px); opacity: .3;
}

/* the illustration itself */
.hero-art { width: 100%; height: auto; display: block; overflow: visible; }

/* line draws itself in on load */
.hero-art .art-line {
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: drawLine 1.6s cubic-bezier(.22,.75,.3,1) .25s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* arrow fades up after the line lands */
.hero-art .art-arrow {
  opacity: 0;
  animation: arrowIn .5s ease 1.75s forwards;
}
@keyframes arrowIn {
  from { opacity: 0; transform: translate(-10px, 10px); }
  to   { opacity: 1; transform: none; }
}

/* the three floating chips drift at different phases */
.hero-art .art-float-a { animation: drift 6s ease-in-out infinite; }
.hero-art .art-float-b { animation: drift 7s ease-in-out -2.2s infinite; }
.hero-art .art-float-c { animation: drift 6.5s ease-in-out -4s infinite; }
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* bars grow from their baseline */
.hero-art .art-bars rect {
  transform-box: fill-box; transform-origin: bottom;
  animation: growBar .9s cubic-bezier(.2,.8,.3,1) backwards;
}
.hero-art .art-bars rect:nth-child(1) { animation-delay: .1s; }
.hero-art .art-bars rect:nth-child(2) { animation-delay: .2s; }
.hero-art .art-bars rect:nth-child(3) { animation-delay: .3s; }
.hero-art .art-bars rect:nth-child(4) { animation-delay: .4s; }
@keyframes growBar { from { transform: scaleY(0); } }

/* respect the OS "reduce motion" setting */
@media (prefers-reduced-motion: reduce) {
  .hero-art .art-line   { animation: none; stroke-dashoffset: 0; }
  .hero-art .art-arrow  { animation: none; opacity: 1; }
  .hero-art .art-float-a,
  .hero-art .art-float-b,
  .hero-art .art-float-c { animation: none; }
  .hero-art .art-bars rect { animation: none; }
  .float-card { animation: none; }
}
.mock {
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--surface-line);
  background: var(--bg-elev-2);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-line); }
.mock-title {
  margin-left: 8px; font-size: .76rem; font-weight: 650; color: var(--text-muted);
}
.mock-body { padding: 18px; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mock-kpi {
  background: var(--bg-elev-2); border: 1px solid var(--surface-line);
  border-radius: 12px; padding: 11px 12px;
}
.mock-kpi .k { font-size: .64rem; font-weight: 700; text-transform: uppercase;
               letter-spacing: .07em; color: var(--text-dim); }
.mock-kpi .v { font-size: 1.02rem; font-weight: 750; margin-top: 3px;
               font-variant-numeric: tabular-nums; }

/* floating badge over the mock */
.float-card {
  position: absolute; z-index: 3;
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: 14px; padding: 11px 14px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .65rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: .9rem;
  background: var(--brand-grad);
}
.float-card .lbl { font-size: .68rem; color: var(--text-muted); font-weight: 600; }
.float-card .val { font-size: .92rem; font-weight: 750; line-height: 1.15; }

.float-a { bottom: -22px; left: -26px; }
.float-b { top: -20px; right: -18px; animation-delay: -2.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---- Logo / stat strip --------------------------------------------- */
.strip {
  border-block: 1px solid var(--surface-line);
  background: var(--bg-elev);
  padding: 30px 0;
}
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.strip-item { text-align: center; }
.strip-item .n {
  font-size: 1.8rem; font-weight: 780; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.strip-item .l {
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .07em; margin-top: 5px;
}

/* ---- Section headers ------------------------------------------------ */
.section { padding: 82px 0; }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-head .kicker {
  display: inline-block; margin-bottom: .8rem;
  font-size: .76rem; font-weight: 750; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  letter-spacing: -.03em; margin-bottom: .7rem;
}
.section-head p { color: var(--text-muted); font-size: 1.03rem; margin: 0; }

/* ---- Feature cards -------------------------------------------------- */
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--surface-line));
}
.feature h4 { margin-bottom: .45rem; font-size: 1.03rem; }
.feature p { color: var(--text-muted); font-size: .9rem; margin: 0; line-height: 1.58; }

.feature-ico {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-grad); color: #fff;
  font-size: 1.15rem; font-weight: 700; margin-bottom: 16px;
  box-shadow: var(--shadow-brand);
}
.feature-ico.soft {
  background: var(--brand-soft); color: var(--brand); box-shadow: none;
}

/* ---- Steps ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; padding-top: 8px; }
.step-n {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--bg-elev); border: 2px solid var(--brand);
  color: var(--brand); font-weight: 780; font-size: 1.05rem;
  position: relative; z-index: 2;
}
.step:not(:last-child)::before {
  content: ''; position: absolute; top: 31px; left: 46px; right: -20px; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--surface-line));
  z-index: 1;
}
.step h4 { margin-bottom: .4rem; font-size: 1rem; }
.step p { color: var(--text-muted); font-size: .88rem; margin: 0; line-height: 1.55; }

/* ---- Split feature -------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px; align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.check-list li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .55rem 0; font-size: .93rem;
}
.check-list .ck {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  display: grid; place-items: center;
  background: var(--success-soft); color: var(--success);
  font-size: .72rem; font-weight: 800;
}

/* ---- CTA band ------------------------------------------------------- */
.cta-band {
  border-radius: var(--r-xl);
  padding: 58px 40px;
  text-align: center;
  background: var(--brand-grad);
  color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .7rem; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 520px; margin: 0 auto 1.7rem; }
.btn-on-brand { background: #fff; color: var(--brand-deep); }
.btn-on-brand:hover { background: #fff; color: var(--brand-deep); filter: brightness(.96); }

/* ---- FAQ ------------------------------------------------------------ */
.faq-item {
  border: 1px solid var(--surface-line);
  border-radius: var(--r);
  background: var(--bg-elev);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 17px 20px; cursor: pointer; font-weight: 620; font-size: .96rem;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--brand);
  transition: transform .2s; flex-shrink: 0; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--bg-elev-2); }
.faq-body {
  padding: 0 20px 18px; color: var(--text-muted); font-size: .91rem; line-height: 1.65;
}

/* ---- Footer --------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--surface-line);
  background: var(--bg-elev);
  padding: 56px 0 28px;
  color: var(--text-muted); font-size: .88rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px;
  padding-bottom: 34px; border-bottom: 1px solid var(--surface-line);
}
.footer-col h5 {
  font-size: .78rem; font-weight: 750; text-transform: uppercase;
  letter-spacing: .09em; color: var(--text); margin-bottom: 1rem;
}
.footer-col a { display: block; color: var(--text-muted); padding: .3rem 0; font-size: .88rem; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  padding-top: 22px; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: .82rem;
}

/* ---- Landing responsive --------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .step:not(:last-child)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .hero { padding: 52px 0 64px; }
  .section { padding: 56px 0; }
  .float-a { left: -8px; bottom: -16px; }
  .float-b { right: -6px; top: -14px; }
  .float-card { padding: 9px 11px; }
  .float-card .val { font-size: .82rem; }
  .cta-band { padding: 40px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .trust-row { gap: 1.1rem; }
}

/* ---- Misc ---------------------------------------------------------- */
.divider { height: 1px; background: var(--surface-line); margin: 1.5rem 0; }

.copy-box {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .9rem;
  background: var(--bg); border: 1px dashed var(--surface-line);
  border-radius: var(--r);
  font-family: var(--mono); font-size: .85rem;
  word-break: break-all;
}
.copy-box { background: var(--bg-elev-2); }

.qr-box {
  width: 180px; height: 180px; margin: 0 auto;
  background: #fff; border-radius: var(--r);
  display: grid; place-items: center; padding: 10px;
}

.toast-wrap {
  position: fixed; top: 20px; right: 20px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 380px;
}
.toast {
  padding: .8rem 1.1rem; border-radius: var(--r);
  background: var(--bg-elev); border: 1px solid var(--surface-line);
  box-shadow: var(--shadow-lg); font-size: .89rem;
  animation: toastIn .25s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } }

.skeleton {
  background: linear-gradient(90deg, var(--bg-elev-2) 25%, var(--bg-hover) 50%, var(--bg-elev-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

.sidebar-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 39;
}

/* ---- Responsive ---------------------------------------------------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
  .sidebar.open ~ .sidebar-backdrop { display: block; }
  .main { margin-left: 0; }
  .content { padding: 18px 16px 50px; }
  .topbar { padding: 0 16px; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-value { font-size: 1.4rem; }
  .card-pad, .card-body, .card-header { padding: 16px; }
  .auth-card { padding: 24px; }
  .hero { padding: 56px 0 44px; }
  .table th, .table td { padding: .7rem .75rem; }
}

@media print {
  .sidebar, .topbar, .btn, .pagination { display: none !important; }
  .main { margin-left: 0; }
  body { background: #fff; color: #000; }
}

/* ---- Custom Modal Component ---------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 32, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  transform: scale(0.92) translateY(16px);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 18px 22px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--surface-line);
}

.modal-body {
  padding: 22px;
}

.modal-footer {
  padding: 14px 22px 18px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid var(--surface-line);
  background: var(--bg-elev-2);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}

.modal-close-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
}

/* ==========================================================================
   24-Hour Daily Return Claim Hub & Interactive Timer
   ========================================================================== */
.claim-hub-card {
  border: 1px solid var(--brand);
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-elev-2) 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
}
.claim-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--surface-line);
}
.claim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 16px 20px;
}
.claim-card-item {
  background: var(--bg-elev);
  border: 1px solid var(--surface-line);
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.claim-card-item.ready {
  border-color: var(--success);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.12);
}
.claim-card-item:hover {
  transform: translateY(-2px);
}
.claim-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--bg-elev-2);
  color: var(--text-muted);
  border: 1px solid var(--surface-line);
}
.claim-timer-badge.ready {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
}
.btn-claim-roi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--r);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  width: 100%;
}
.btn-claim-roi:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  filter: brightness(1.08);
}
.btn-claim-roi:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--surface-line);
  color: var(--text-muted);
  box-shadow: none;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.pulse-claim {
  animation: pulseGlow 2s infinite;
}


