/* =====================================================================
   Devtrixx Support — Design System
   Primary #00D084 · light content on a dark green sidebar
   ===================================================================== */

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bg: #f3f5fa;
  --card: #ffffff;
  --border: #e6e9f2;
  --text: #101828;
  --muted: #667085;
  --faint: #98a2b3;

  --primary: #00D084;
  --primary-600: #00b874;
  --primary-soft: #eef0ff;
  --accent: #7c3aed;

  --green: #059669;  --green-bg: #ecfdf5;  --green-line: #a7f3d0;
  --amber: #b45309;  --amber-bg: #fffbeb;  --amber-line: #fde68a;
  --red:   #dc2626;  --red-bg:   #fef2f2;  --red-line:  #fecaca;
  --blue:  #2563eb;  --blue-bg:  #eff6ff;  --blue-line: #bfdbfe;
  --violet:#7c3aed;  --violet-bg:#f5f3ff;  --violet-line:#ddd6fe;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 6px 20px -6px rgba(16,24,40,.07);
  --shadow-lg: 0 12px 34px -8px rgba(16,24,40,.18);
  --sidebar-w: 258px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1,h2,h3,h4 { margin: 0 0 .35em; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 24px; font-weight: 700; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; }

/* ============================ Sidebar layout ======================== */
.app-body { display: block; min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, #0d1c15 0%, #0a1410 100%);
  color: #a8bfb3;
  display: flex; flex-direction: column;
  z-index: 60;
}
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 20px 22px 16px; color: #fff; font-weight: 800; font-size: 17px; }

.brand-logo { height: 40px; width: auto; display: block; }
.public-nav .brand-logo { height: 44px; }
.sidebar .brand-logo { height: 26px; background: #fff; border-radius: 8px; padding: 5px 9px; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.auth-aside .brand-logo { height: 34px; background: #fff; border-radius: 9px; padding: 6px 11px; }
.auth-main .auth-card .brand-logo { height: 48px; margin: 0 auto 16px; }
.land-footer .brand-logo { height: 40px; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--primary);
  color: #04241a; font-weight: 800; box-shadow: 0 6px 14px -4px rgba(0,208,132,.55);
}
.side-nav { padding: 8px 14px; overflow-y: auto; flex: 1; }
.nav-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .09em;
  color: #4e6558; margin: 16px 10px 6px; font-weight: 700;
}
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; margin: 2px 0;
  border-radius: 10px; color: #93aca0; font-weight: 500; font-size: 14px;
  transition: background .15s, color .15s;
}
.nav-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav-item.is-active {
  background: rgba(0,208,132,.13);
  color: #fff; box-shadow: inset 2px 0 0 var(--primary);
}
.side-footer { padding: 14px; border-top: 1px solid rgba(255,255,255,.07); }
.side-user { display: flex; align-items: center; gap: 10px; padding: 6px 6px 12px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,#00D084,#0fb5a2);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.side-user-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.side-user-meta strong { color: #fff; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-meta small { color: #6d8a7c; font-size: 11.5px; }
.side-footer .btn { border-color: rgba(255,255,255,.18); color: #a9c2b6; background: transparent; }
.side-footer .btn:hover { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(0,208,132,.4); }

.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(6,16,11,.55); z-index: 55; }

.layout { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
  padding: 12px 26px;
}
.topbar-title { font-weight: 700; font-size: 14.5px; color: var(--muted); }
.topbar-right { margin-left: auto; display: flex; gap: 8px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

.content { padding: 26px 30px 46px; max-width: 1220px; width: 100%; margin: 0 auto; flex: 1; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { font-size: 23px; }
.page-sub { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================ Public shell ========================= */
.public-body { min-height: 100vh; display: flex; flex-direction: column; background:
  radial-gradient(1000px 460px at 84% -10%, rgba(0,208,132,.12), transparent 62%),
  radial-gradient(760px 400px at -10% 0%, rgba(0,208,132,.07), transparent 55%),
  var(--bg);
}
.public-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  width: 100%; height: 62px;
  background: rgba(246,248,247,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.public-nav .brand { padding: 0; color: var(--text); font-size: 15px; }
.public-nav .brand-name { color: var(--text); }
.public-links { display: flex; align-items: center; gap: 20px; font-weight: 500; font-size: 13.5px; }
.public-links > a:not(.btn) { color: var(--muted); }
.public-links > a:not(.btn):hover { color: var(--text); }
.nav-burger { display: none; background: #fff; border: 1px solid var(--border-strong, #d3ddd7); border-radius: var(--radius-sm, 8px); width: 38px; height: 38px; cursor: pointer; place-items: center; }
.nav-burger svg { width: 19px; height: 19px; stroke: var(--text); }
.mobile-menu {
  display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 8px 16px 16px; z-index: 60; box-shadow: var(--shadow-lg);
}
.mobile-menu a { display: block; padding: 11px 10px; border-radius: var(--radius-sm, 8px); color: var(--text); font-weight: 600; font-size: 14px; }
.mobile-menu a:hover { background: var(--primary-soft); color: var(--primary-600); }
.mobile-menu .btn { margin-top: 8px; }
.public-nav.nav-open .mobile-menu { display: block; }

.public-main { max-width: 1140px; margin: 0 auto; padding: 0 24px 56px; flex: 1; width: 100%; }
.public-footer {
  border-top: 1px solid var(--border);
  max-width: 1140px; margin: 0 auto; width: calc(100% - 48px);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px 24px 30px; color: var(--muted); font-size: 13px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--primary); }

/* ============================ Buttons ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; border: 1px solid transparent;
  padding: 9px 16px; font: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: filter .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, #00E08E, #00c47c); color: #fff; box-shadow: 0 6px 16px -6px rgba(0,208,132,.6); }
.btn-primary:hover { filter: brightness(1.06); color: #fff; box-shadow: 0 8px 20px -6px rgba(0,208,132,.7); }
.btn-outline { background: #fff; border-color: var(--border); color: var(--text); box-shadow: var(--shadow); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #047857; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--muted); }
.btn-ghost:hover { background: #f3f4f8; color: var(--text); }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn .icon { width: 16px; height: 16px; }

/* ============================ Forms ================================ */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-pad { padding: 24px; }
.card + .card, .mt-16 { margin-top: 16px; }
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.card-desc { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.field label .req { color: var(--red); }
.input, select.input, textarea.input {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border-strong, #d3ddd7); border-radius: var(--radius-sm, 8px);
  font: inherit; font-size: 14px; color: var(--text); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,208,132,.14); }
textarea.input { min-height: 128px; resize: vertical; line-height: 1.6; }
select.input {
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; padding-right: 36px;
}
.hint { color: var(--faint); font-size: 12.5px; margin-top: 5px; }
.error-text { color: var(--red); font-size: 13px; margin-top: 6px; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* file drop zone */
.file-drop {
  border: 1.5px dashed var(--border-strong, #d3ddd7); border-radius: var(--radius-sm, 8px); padding: 20px 14px; text-align: center;
  color: var(--muted); font-size: 13px; cursor: pointer; display: block;
  transition: border-color .15s, background .15s;
}
.file-drop:hover { border-color: var(--primary); background: #f7fcfa; }
.file-drop input[type=file] { display: none; }
.file-drop strong { color: var(--primary); font-weight: 600; }
.file-drop .file-picked { display: block; margin-top: 7px; color: var(--text); font-weight: 600; word-break: break-all; }

/* switch */
.switch-row { display: flex; align-items: flex-start; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--border); }
.switch-row:last-child { border-bottom: 0; }
.switch-text strong { display: block; font-size: 14px; }
.switch-text p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.switch { position: relative; width: 40px; height: 23px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider-t { position: absolute; inset: 0; background: #cbd8d1; border-radius: 999px; cursor: pointer; transition: .15s; }
.slider-t:before { content: ""; position: absolute; width: 17px; height: 17px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + .slider-t { background: linear-gradient(135deg, #00E08E, #00c47c); }
.switch input:checked + .slider-t:before { transform: translateX(17px); }

/* ============================ Cards / stats ======================= */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center;
}
.stat-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.st-indigo { background: var(--primary-soft); color: var(--primary); }
.st-green  { background: var(--green-bg);  color: var(--green); }
.st-amber  { background: var(--amber-bg);  color: var(--amber); }
.st-violet { background: var(--violet-bg); color: var(--violet); }
.st-blue   { background: var(--blue-bg);   color: var(--blue); }
.stat-meta b { display: block; font-size: 23px; letter-spacing: -.02em; }
.stat-meta span { color: var(--muted); font-size: 13px; font-weight: 500; }

.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; align-items: start; }

/* ============================ Tables =============================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); font-weight: 600; padding: 12px 16px;
  background: #f8f9fd; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fafbff; }
.t-title { font-weight: 600; color: var(--text); }
.t-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.code-chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: #f2f4fa; border: 1px solid var(--border); padding: 2px 8px; border-radius: 7px; white-space: nowrap; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 11px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-open     { background: var(--blue-bg);   color: var(--blue);   border: 1px solid var(--blue-line); }
.badge-answered { background: var(--violet-bg); color: var(--violet); border: 1px solid var(--violet-line); }
.badge-closed   { background: #f2f4f7;          color: #5c6773;       border: 1px solid #e4e7ee; }
.badge-admin    { background: var(--violet-bg); color: var(--violet); border: 1px solid var(--violet-line); }
.badge-user     { background: #f2f4f7;          color: #5c6773;       border: 1px solid #e4e7ee; }
.badge-active   { background: var(--green-bg);  color: var(--green);  border: 1px solid var(--green-line); }
.badge-banned   { background: var(--red-bg);    color: var(--red);    border: 1px solid var(--red-line); }

/* segmented filter chips */
.chips { display: inline-flex; background: #eceef5; border-radius: 11px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.chip { padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.chip:hover { color: var(--text); }
.chip.active { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.chip .count { background: #e4e7f2; color: var(--muted); border-radius: 999px; padding: 0 7px; margin-left: 5px; font-size: 11.5px; }
.chip.active .count { background: var(--primary-soft); color: var(--primary); }

/* ============================ Alerts =============================== */
.alert { border-radius: 12px; padding: 13px 16px; font-size: 14px; margin: 0 0 16px; border: 1px solid; animation: slideDown .25s ease; }
.alert a { font-weight: 600; }
.alert-info    { background: var(--blue-bg);   color: #1e40af; border-color: var(--blue-line); }
.alert-success { background: var(--green-bg);  color: #065f46; border-color: var(--green-line); }
.alert-warning { background: var(--amber-bg);  color: #92400e; border-color: var(--amber-line); }
.alert-error   { background: var(--red-bg);    color: #991b1b; border-color: var(--red-line); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px);} to { opacity: 1; transform: none; } }

/* ============================ Misc ================================= */
.empty-state { text-align: center; padding: 54px 20px; color: var(--muted); }
.empty-state .big-icon {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary); display: grid; place-items: center;
}
.empty-state h3 { color: var(--text); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.page-link {
  min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--muted);
  font-size: 13.5px; font-weight: 600; padding: 0 10px;
}
.page-link:hover:not(.disabled):not(.active) { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: linear-gradient(135deg, #00E08E, #00c47c); border-color: transparent; color: #fff; }
.page-link.disabled { opacity: .45; cursor: default; }
.page-link.dots { border: 0; background: none; }

.text-muted { color: var(--muted); }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 18px 0; border: 0; }

/* Attachments chip */
.attach-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f6f7fc; border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 13px; font-size: 13px; color: var(--text); font-weight: 500; max-width: 100%;
}
.attach-chip svg { color: var(--primary); }

/* Ticket conversation bubbles */
.convo { display: flex; flex-direction: column; gap: 14px; }
.msg { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.msg.staff { border-color: #d6ccff; background: linear-gradient(180deg,#fdfcff, #faf8ff); }
.msg-head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 13px; background: rgba(248,249,253,.6); flex-wrap: wrap; }
.msg.staff .msg-head { background: rgba(245,243,255,.7); }
.msg-head strong { font-size: 13.5px; }
.msg-body { padding: 16px 18px; white-space: pre-wrap; word-wrap: break-word; font-size: 14.5px; }
.msg-foot { padding: 0 16px 14px; }

.ticket-meta-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 12px; }
.tm-item { background: #f8f9fd; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; }
.tm-item small { display: block; color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.tm-item div { font-size: 14px; font-weight: 600; margin-top: 3px; word-break: break-word; }

.kbd-link-code { font-family: ui-monospace, monospace; background: #f2f4fa; border: 1px dashed #cdd3e4; border-radius: 8px; padding: 2px 7px; font-size: 12.5px; }

/* code verification boxes */
.otp-row { display: flex; gap: 10px; justify-content: center; margin: 6px 0 4px; }
.otp-row input {
  width: 52px; height: 58px; text-align: center; font-size: 24px; font-weight: 700;
  border: 1.5px solid #dce0ec; border-radius: 12px; caret-color: var(--primary);
}
.otp-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,208,132,.12); }

/* =====================================================================
   LANDING
   ===================================================================== */
.landing { overflow-x: clip; }

/* hero — centered */
/* hero — two columns: copy left, product mock right */
.hero {
  max-width: 1140px; margin: 0 auto; padding: 64px 10px 46px;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; text-align: left;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--green-line); color: var(--green);
  font-size: 13px; font-weight: 700; border-radius: 999px; padding: 7px 15px;
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(0,208,132,.18); }
.hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.hero h1 .grad { background: linear-gradient(90deg, #00b874, #00D084); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { color: var(--muted); font-size: 17px; max-width: 540px; margin: 14px 0 28px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-ctas .btn-lg { min-width: 230px; }
.hero-trust { display: flex; gap: 20px; justify-content: flex-start; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--primary); }

/* product mockup */
.mock-zone { position: relative; }
.mock-zone::before {
  content: ""; position: absolute; inset: -40px -60px;
  background: radial-gradient(closest-side, rgba(0,208,132,.22), rgba(0,208,132,.05) 62%, transparent 78%);
  filter: blur(8px);
}
.mock {
  position: relative;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden; text-align: left;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: #f7faf8; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8e2dc; }
.mock-bar i:first-child { background: var(--primary); }
.mock-in { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.mock-stat b { display: block; font-size: 19px; letter-spacing: -.02em; }
.mock-stat span { font-size: 11px; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.mock-ticket { display: flex; align-items: center; gap: 11px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 13px; font-size: 12.5px; }
.mock-ticket .badge { margin-left: auto; }
.mock-ticket b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.mock-ticket small { display: block; color: var(--faint); font-size: 10.5px; }
.shot-reply {
  border: 1px solid var(--green-line); background: #f4fcf8;
  border-radius: 10px; padding: 11px 13px; display: flex; gap: 10px;
}
.shot-reply .rp-av { width: 26px; height: 26px; border-radius: 7px; background: var(--primary); color: #fff; font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.shot-reply b { display: block; font-size: 11.5px; }
.shot-reply b span { color: var(--faint); font-weight: 500; margin-left: 5px; }
.shot-reply p { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.float-card {
  position: absolute; z-index: 2;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 15px; font-size: 13px; font-weight: 600;
  display: flex; gap: 10px; align-items: center; animation: floaty 5.5s ease-in-out infinite;
}
.float-card .fc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.float-card small { display: block; color: var(--faint); font-weight: 500; font-size: 11.5px; }
.fc-tg { right: -20px; bottom: 46px; left: auto; }
.fc-tg .fc-ico { background: var(--primary-soft); color: var(--primary); }
.fc-mail { right: -14px; top: -22px; animation-delay: -2.7s; }
.fc-mail .fc-ico { background: #fef3e2; color: #b45309; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

/* metrics strip */
.strip { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.strip-in {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--dark, #0a1410); border-radius: 18px; padding: 28px 10px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.strip-in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 220px at 50% -30%, rgba(0,208,132,.32), transparent 68%); }
.strip-in::after { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,208,132,.75), transparent); }
.strip-item { text-align: center; padding: 4px 24px; position: relative; z-index: 1; }
.strip-item + .strip-item { border-left: 1px solid rgba(255,255,255,.08); }
.strip-item b { display: block; font-family: var(--mono, ui-monospace, Menlo, monospace); font-size: 21px; font-weight: 600; color: var(--primary); margin-bottom: 3px; }
.strip-item span { color: #8fa89b; font-size: 12.5px; }

/* sections */
.section-title { text-align: center; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.025em; margin-top: 76px; }
.section-sub { text-align: center; color: var(--muted); margin: 8px 0 0; font-size: 15px; }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--green-line); box-shadow: 0 18px 44px -20px rgba(9,32,22,.25); }
.icon-bubble {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--green-bg); border: 1px solid var(--green-line); color: var(--green);
}
.icon-bubble .icon { width: 18px; height: 18px; }
.feature h3 { font-size: 15px; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 42px auto 0; max-width: 1140px; padding: 0 24px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, #00E08E, #00c47c); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 8px 18px -6px rgba(0,208,132,.6);
}
.step h3 { font-size: 15px; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* CTA */
.cta-banner {
  max-width: 1140px; margin: 84px auto 0; border-radius: 20px;
  padding: 58px 32px; text-align: center; color: #fff;
  background:
    radial-gradient(620px 300px at 50% -25%, rgba(0,208,132,.4), transparent 68%),
    linear-gradient(165deg, #0e221a, #0a1410 75%);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-banner::after { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,208,132,.7), transparent); }
.cta-banner h2 { font-size: clamp(24px, 2.8vw, 30px); letter-spacing: -.02em; margin: 0 0 10px; }
.cta-banner p { color: #9db8ab; margin: 0 auto 28px; max-width: 480px; font-size: 15px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-signin { color: rgba(255,255,255,.55); font-size: 13.5px; font-weight: 600; }
.cta-signin:hover { color: #fff; }

/* footer */
.land-footer { border-top: 1px solid var(--border); margin-top: 88px; background: #fff; }
.land-footer .brand { color: var(--text); padding: 0; }
.land-footer .brand-name { color: var(--text); }
.land-footer-in { max-width: 1140px; margin: 0 auto; padding: 44px 24px 26px; }
.land-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.land-footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 12px; }
.land-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.land-footer-links a { color: var(--muted); }
.land-footer-links a:hover { color: var(--primary); }
.land-footer-blurb { color: var(--muted); font-size: 13.5px; max-width: 290px; margin-top: 12px; }
.land-footer-bottom {
  border-top: 1px solid var(--border); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--faint); font-size: 12.5px;
}

/* =====================================================================
   AUTH — split screen
   ===================================================================== */
.auth-body { background: #fafbfa; }
.auth-split { min-height: 100vh; display: grid; grid-template-columns: minmax(400px, 480px) 1fr; }
.auth-aside {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background:
    radial-gradient(640px 360px at 110% 115%, rgba(0,208,132,.2), transparent 62%),
    linear-gradient(170deg, #0e221a 0%, #0a1410 78%);
  color: #b7cdc2;
  padding: 44px 44px;
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(115deg, transparent 55%, #000 92%);
          mask-image: linear-gradient(115deg, transparent 55%, #000 92%);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .brand { padding: 0; }
.auth-aside-markline { width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #00E08E, rgba(0,208,132,0)); margin: 40px 0 22px; }
.auth-pitch h2 { color: #f2f8f5; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.22; margin-bottom: 12px; max-width: 360px; }
.auth-pitch p { color: #8fa89c; font-size: 14px; max-width: 350px; margin: 0 0 28px; }
.auth-points { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 13px; }
.auth-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: #cfe2d8; }
.auth-points .pt-ico {
  width: 20px; height: 20px; border-radius: 6px; flex: 0 0 auto; margin-top: 1px;
  background: rgba(0,208,132,.14); border: 1px solid rgba(0,208,132,.3);
  display: grid; place-items: center; color: var(--primary);
}
.auth-points .pt-ico svg { width: 11px; height: 11px; }
.auth-aside-foot { margin-top: auto; padding-top: 30px; font-size: 12px; color: #5f7a6c; }
.auth-aside-foot b { color: #9db8ab; font-weight: 600; }

.auth-main {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 46px 24px; position: relative;
}
.auth-main .auth-wrap { width: 100%; max-width: 430px; }
.auth-main .auth-wrap .auth-card { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.auth-main .auth-card .brand { color: var(--text); padding: 0 0 16px; width: 100%; justify-content: center; }
.auth-main .auth-card .brand-name { color: var(--text); }
.auth-main .auth-foot { text-align: center; margin-top: 20px; font-size: 13.5px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .card-desc { margin-bottom: 24px; }
.auth-main .btn-lg { width: 100%; }
.auth-main form .btn-lg { margin-top: 6px; }
.auth-back { position: absolute; top: 20px; left: 22px; font-size: 13px; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; }
.auth-back:hover { color: var(--primary); }

/* responsive */
@media (max-width: 1080px) {
  .hero { gap: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 46px; padding-top: 48px; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .mock-zone { max-width: 560px; margin: 0 auto; }
  .float-card.fc-tg { left: 10px; }
  .float-card.fc-mail { right: -6px; }
}
@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .mock-zone { max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; }
  .float-card.fc-tg { left: 10px; }
  .float-card.fc-mail { right: -6px; }
  .public-links > a:not(.btn):not(.nav-burger) { display: none; }
  .public-links .nav-burger { display: grid; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .land-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .public-links > a:not(.btn):not(.nav-burger) { display: none; }
  .public-links .nav-burger { display: grid; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* ============================ responsive — app ===================== */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .content { padding: 20px 18px 40px; }
}
@media (max-width: 860px) {
  .sidebar { transform: translateX(-105%); transition: transform .22s ease; box-shadow: none; }
  body.sidebar-open .sidebar { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.4); }
  body.sidebar-open .sidebar-backdrop { display: block; }
  .layout { margin-left: 0; }
  .burger { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar { padding: 10px 16px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 861px) { .burger { display: none; } }
/* ============================ responsive — app ===================== */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .content { padding: 20px 18px 40px; }
}
@media (max-width: 860px) {
  .sidebar { transform: translateX(-105%); transition: transform .22s ease; box-shadow: none; }
  body.sidebar-open .sidebar { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.4); }
  body.sidebar-open .sidebar-backdrop { display: block; }
  .layout { margin-left: 0; }
  .burger { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar { padding: 10px 16px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 861px) { .burger { display: none; } }
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .content { padding: 16px 14px 34px; }
  .topbar { gap: 10px; }
  .topbar-title { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-head h1 { font-size: 19px; }
  .page-actions { width: 100%; }
  .page-actions .btn { flex: 1 1 auto; }
  .card-pad { padding: 17px 15px; }
  table.table { min-width: 640px; }
  .chips { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .stat-grid { grid-template-columns: 1fr; gap: 10px; }
  .auth-main { padding: 30px 18px 40px; }
  .auth-back { position: static; align-self: flex-start; margin-bottom: 14px; }
  .public-nav { padding: 0 16px; }
  .public-main { padding: 0 16px 40px; }
  .hero .lede { font-size: 15px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta { gap: 16px; }
  .shot-toast { left: 8px; bottom: 18px; }
  .metrics { gap: 24px; }
  .section { padding: 52px 16px 0; }
  .strip-item { padding: 14px 18px; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .strip-in { grid-template-columns: 1fr; padding: 6px 8px; }
  .faq-section { padding-top: 56px; }
  .cta-banner { margin-top: 56px; padding: 44px 22px; }
  .land-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .public-footer { flex-direction: column; align-items: flex-start; }
  .tm-item div { font-size: 13px; }
  .msg-body { padding: 12px 13px; font-size: 14px; }
}
