:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #0d1117;
  --surface: #111720;
  --surface-2: #151d27;
  --surface-3: #1b2531;
  --text: #f7fbff;
  --muted: #aeb8c5;
  --muted-2: #788494;
  --line: rgba(174, 184, 197, 0.14);
  --line-strong: rgba(108, 154, 205, 0.34);
  --blue: #3f7dd9;
  --blue-2: #77a7e8;
  --cyan: #68b8d4;
  --teal: #64c7b2;
  --amber: #d8a657;
  --green: #6abf8d;
  --yellow: #d9a63a;
  --red: #c85b66;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 28px 78px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.26);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 96px;
}

body {
  position: relative;
  background: linear-gradient(180deg, var(--bg), #080b10 58%, #05070a);
  color: var(--text);
  font: 15px/1.6 Inter, Manrope, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(174, 184, 197, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 184, 197, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 62%);
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg,
video {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(49, 211, 255, 0.26);
  color: var(--text);
}

:where(section[id], div[id]) {
  scroll-margin-top: 96px;
}

:focus-visible {
  outline: 3px solid rgba(90, 162, 255, 0.42);
  outline-offset: 2px;
}

.loading-screen {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 16px;
  color: var(--muted);
}

.loading-screen .brand-mark {
  position: relative;
  width: 48px;
  height: 52px;
  justify-self: center;
  clip-path: polygon(50% 0, 88% 13%, 82% 75%, 50% 100%, 18% 75%, 12% 13%);
  border: 1px solid rgba(90, 162, 255, 0.46);
  background: linear-gradient(160deg, #12243c, #08111e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 38px rgba(31, 122, 255, 0.22);
  animation: loadingPulse 1.6s ease-in-out infinite;
}

.loading-screen .brand-mark::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid var(--blue-2);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(49, 211, 255, 0.32);
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: rgba(174, 184, 197, 0.08);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  border-radius: var(--radius-sm);
  transition: opacity 160ms ease, transform 160ms ease;
}

.brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand strong,
.footer-brand strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand small,
.footer-brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.pd-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  clip-path: polygon(50% 0, 88% 13%, 82% 75%, 50% 100%, 18% 75%, 12% 13%);
  border: 1px solid rgba(90, 162, 255, 0.38);
  background: linear-gradient(160deg, #12243c, #08111e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 34px rgba(31, 122, 255, 0.16);
}

.pd-brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(49, 211, 255, 0.12);
  clip-path: inherit;
}

.pd-brand-mark span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--blue-2);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(49, 211, 255, 0.28);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav a {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a.active {
  border-color: rgba(90, 162, 255, 0.16);
  background: rgba(90, 162, 255, 0.1);
  color: var(--text);
}

.nav a:hover::after,
.nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  min-height: 44px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.button,
button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-weight: 820;
  line-height: 1.1;
  min-width: 0;
  text-align: center;
  white-space: normal;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
button:hover,
.button:focus-visible,
button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(90, 162, 255, 0.4);
  background: rgba(90, 162, 255, 0.08);
}

.button.primary,
button.primary {
  border-color: rgba(119, 167, 232, 0.62);
  background: #2f6fc7;
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 111, 199, 0.22);
}

.button.primary::after,
button.primary::after {
  display: none;
}

.button.primary:hover,
button.primary:hover {
  background: #3d7dd8;
  box-shadow: 0 14px 34px rgba(47, 111, 199, 0.28);
}

.button:active,
button:active {
  transform: translateY(0) scale(0.98);
}

button:disabled,
button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button.secondary,
button.secondary {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.button.secondary:hover,
button.secondary:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

button[aria-busy="true"]::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 780ms linear infinite;
}

.button.block {
  width: 100%;
}

.main {
  flex: 1;
}

.section {
  padding: 96px 0;
}

.section.slim {
  padding: 34px 0;
}

.hero-section {
  position: relative;
  padding: 92px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(174, 184, 197, 0.08);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(104, 184, 212, 0.06), transparent 42%);
  opacity: 0.48;
}

.hero-section > .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 46px;
  align-items: center;
}

.hero-copy {
  max-width: 610px;
}

.hero-badge,
.section-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(90, 162, 255, 0.26);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(119, 167, 232, 0.07);
  color: #b7ccec;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: none;
  animation: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  color: var(--text);
  letter-spacing: 0;
}

.hero-copy h1 {
  margin-top: 20px;
  font-size: 66px;
  font-weight: 920;
  max-width: 720px;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
  width: fit-content;
  margin-top: 8px;
  background: none;
  color: #d7e1ed;
  font-size: 0.58em;
  line-height: 1.18;
  font-weight: 780;
}

.hero-copy > p {
  margin-top: 24px;
  max-width: 570px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.play-dot {
  font-size: 12px;
  color: var(--blue-2);
  filter: drop-shadow(0 0 10px rgba(49, 211, 255, 0.55));
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.hero-facts > div {
  border-top: 1px solid rgba(174, 184, 197, 0.16);
  padding-top: 12px;
}

.hero-facts span,
.ops-strip span {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts strong,
.ops-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.hero-benefits,
.trust-grid {
  display: grid;
  gap: 12px;
}

.hero-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.benefit-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: rgba(17, 23, 32, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.benefit-card:hover {
  transform: none;
  border-color: rgba(174, 184, 197, 0.24);
  background: rgba(21, 29, 39, 0.88);
}

.benefit-card > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(104, 184, 212, 0.1);
  color: var(--cyan);
  font-weight: 900;
}

.benefit-card:nth-child(2) > span {
  background: rgba(106, 191, 141, 0.12);
  color: #8ee5b9;
}

.benefit-card:nth-child(3) > span {
  background: rgba(216, 166, 87, 0.12);
  color: #f0c76c;
}

.benefit-card strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.benefit-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  line-height: 1.45;
}

.laptop-wrap {
  position: relative;
  perspective: 1400px;
}

.laptop-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18px -10px 12%;
  border: 1px solid rgba(49, 211, 255, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 16%, rgba(69, 196, 134, 0.12), transparent 28%),
    radial-gradient(circle at 22% 82%, rgba(31, 122, 255, 0.16), transparent 34%);
  opacity: 0.8;
}

.laptop-wrap::before {
  content: "";
  position: absolute;
  right: 7%;
  bottom: -24px;
  left: 9%;
  height: 26px;
  border-radius: 50%;
  background: rgba(31, 122, 255, 0.24);
  filter: blur(22px);
  opacity: 0.7;
  transform: rotate(-2deg);
}

.laptop {
  position: relative;
  transform: rotateY(-8deg) rotateX(2deg);
  transform-origin: center;
  animation: laptopFloat 7s ease-in-out infinite;
}

.laptop-screen {
  position: relative;
  overflow: hidden;
  border: 14px solid #090d14;
  border-radius: 20px;
  background: #060a10;
  box-shadow: var(--shadow), 0 0 0 1px rgba(90, 162, 255, 0.2);
}

.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 28%, transparent 74%, rgba(90, 162, 255, 0.08));
}

.laptop-screen::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(49, 211, 255, 0.1), transparent);
  animation: screenScan 6s ease-in-out infinite;
}

.laptop-base {
  width: 88%;
  height: 16px;
  margin: 0 auto;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #1b2638, #0b111d);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.product-console-wrap {
  position: relative;
}

.product-console-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 2% -8%;
  z-index: -1;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.26);
  filter: blur(24px);
}

.product-console {
  overflow: hidden;
  border: 1px solid rgba(174, 184, 197, 0.2);
  border-radius: 8px;
  background: #0c1118;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.screenshot-frame {
  aspect-ratio: 16 / 10;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.record-ui {
  display: grid;
  grid-template-columns: 158px 1fr;
  min-height: 420px;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 12%, rgba(31, 122, 255, 0.12), transparent 34%),
    #080d16;
}

.record-ui aside {
  display: grid;
  align-content: start;
  gap: 9px;
  border-right: 1px solid rgba(150, 174, 205, 0.12);
  padding: 18px 14px;
  background: rgba(5, 10, 18, 0.52);
}

.record-ui aside strong {
  margin-bottom: 12px;
  font-size: 14px;
}

.record-ui aside span {
  border-radius: 9px;
  padding: 8px 9px;
  color: var(--muted);
  font-size: 12px;
  transition: background 160ms ease, color 160ms ease;
}

.record-ui aside span:nth-child(3) {
  background: rgba(31, 122, 255, 0.12);
  color: var(--blue-2);
}

.record-ui main {
  padding: 22px;
}

.record-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.record-top small,
.record-grid small {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
}

.record-top h3 {
  margin-top: 4px;
  font-size: 30px;
}

.record-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.record-status-strip span {
  border: 1px solid rgba(150, 174, 205, 0.1);
  border-radius: 12px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(49, 211, 255, 0.055), transparent),
    rgba(5, 10, 18, 0.3);
}

.record-status-strip strong,
.record-status-strip small {
  display: block;
}

.record-status-strip strong {
  color: var(--cyan);
  font-size: 18px;
}

.record-status-strip small {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 11px;
}

.status,
.tag-gold {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.status.active {
  background: rgba(69, 196, 134, 0.13);
  color: #8ee5b9;
  box-shadow: 0 0 22px rgba(69, 196, 134, 0.16);
}

.tag-gold {
  margin-top: 6px;
  background: rgba(217, 166, 58, 0.16);
  color: #f0c76c;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.record-grid > div,
.case-list > div {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(150, 174, 205, 0.12);
  border-radius: 12px;
  padding: 13px;
  background: rgba(14, 23, 36, 0.82);
}

.record-grid > div::before,
.case-list > div::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--cyan);
  opacity: 0.55;
}

.case-list > div {
  animation: caseAttention 5.5s ease-in-out infinite;
}

.case-list > div:nth-child(2) {
  animation-delay: 900ms;
}

.case-list > div:nth-child(4) {
  animation-delay: 1700ms;
}

.record-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.case-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.case-list strong,
.case-list span {
  display: block;
}

.case-list strong {
  font-size: 14px;
}

.case-list span {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 12px;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(174, 184, 197, 0.14);
  border-radius: 8px;
  background: rgba(17, 23, 32, 0.68);
}

.ops-strip > div {
  min-width: 0;
  padding: 18px 20px;
}

.ops-strip > div + div {
  border-left: 1px solid rgba(174, 184, 197, 0.1);
}

.section-heading {
  max-width: 760px;
  margin: 0 0 34px;
  text-align: left;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: 42px;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.section-heading h2 span {
  color: var(--cyan);
}

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.card,
.price-card,
.trust-panel,
.final-cta {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%),
    rgba(17, 23, 32, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.feature-card,
.card {
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.feature-card::before,
.card::before,
.price-card::before,
.trust-panel::before,
.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(174, 184, 197, 0.1);
  opacity: 1;
}

.feature-card:hover,
.card:hover {
  transform: translateY(-1px);
  border-color: rgba(174, 184, 197, 0.24);
  background: rgba(21, 29, 39, 0.88);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.feature-card svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
  stroke: #9ec4e8;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

.feature-card:nth-child(3n + 2) svg {
  stroke: var(--blue-2);
}

.feature-card:nth-child(3n) svg {
  stroke: var(--green);
}

.feature-card h3 {
  margin-top: 20px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.feature-card p,
.card p,
.muted {
  color: var(--muted);
}

.feature-card p {
  margin-top: 10px;
}

.module-card {
  min-height: 210px;
}

.module-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.module-card-top > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border: 1px solid rgba(174, 184, 197, 0.14);
  border-radius: 8px;
  background: rgba(7, 9, 13, 0.42);
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(360px, 1fr) minmax(220px, 0.7fr);
  gap: 22px;
  align-items: center;
}

.tiers-layout {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-side {
  display: grid;
  gap: 14px;
}

.price-card {
  padding: 30px;
  border-color: rgba(174, 184, 197, 0.18);
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.price-card:hover {
  transform: translateY(-1px);
  border-color: rgba(119, 167, 232, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.tier-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-color: rgba(150, 174, 205, 0.18);
  box-shadow: none;
}

.tier-card.featured {
  border-color: rgba(119, 167, 232, 0.48);
  background:
    linear-gradient(180deg, rgba(119, 167, 232, 0.08), transparent 42%),
    rgba(17, 23, 32, 0.88);
  box-shadow: inset 0 0 0 1px rgba(119, 167, 232, 0.08);
}

.price-card h3 {
  margin-top: 18px;
  font-size: 24px;
  overflow-wrap: anywhere;
}

.price-line {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 24px 0;
}

.price-line strong {
  font-size: 40px;
  line-height: 0.95;
  white-space: nowrap;
}

.price-line span {
  margin-bottom: 7px;
  color: var(--muted);
}

.price-card ul,
.list {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li,
.list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.price-card li::before,
.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08em;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 7px;
  background: rgba(69, 196, 134, 0.12);
  color: #8ee5b9;
  font-size: 11px;
  font-weight: 900;
}

.price-card small {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: var(--muted-2);
}

.tier-card .checkout-form,
.tier-card > .button,
.tier-card > .empty {
  margin-top: auto;
}

.pricing-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.trust-panel {
  padding: 26px;
}

.trust-panel h3 {
  margin-top: 20px;
}

.trust-panel p {
  margin-top: 12px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.82fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  background: rgba(17, 23, 32, 0.82);
}

.final-cta h2 {
  font-size: 40px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.final-cta p {
  margin-top: 16px;
  color: var(--muted);
}

.cta-list {
  display: grid;
  gap: 10px;
}

.cta-list span {
  color: var(--muted);
}

.cta-list span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
}

.cta-actions {
  display: grid;
  gap: 10px;
}

.grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split,
.product-detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(90, 162, 255, 0.2);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(31, 122, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form {
  display: grid;
  gap: 14px;
}

.checkout-form {
  margin-top: 22px;
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: rgba(5, 10, 18, 0.74);
  color: var(--text);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(168, 183, 202, 0.52);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(49, 211, 255, 0.24);
  background: rgba(5, 10, 18, 0.86);
}

textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.55;
}

.auth-resend {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.auth-switch a {
  color: var(--cyan);
  font-weight: 820;
}

.auth-switch a:hover {
  color: var(--text);
}

.auth-resend strong {
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-2);
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 122, 255, 0.16);
}

.form-row:focus-within label {
  color: var(--blue-2);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--blue);
}

.badge,
.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.badge.active,
.badge.available,
.badge.completed,
.badge.closed,
.badge.paid,
.badge.resolved {
  background: rgba(69, 196, 134, 0.13);
  color: #8ee5b9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 18px rgba(69, 196, 134, 0.08);
}

.badge.awaiting_customer,
.badge.awaiting_support,
.badge.warning,
.badge.pending,
.badge.pending_email,
.badge.processing,
.badge.retrying,
.badge.trialing,
.badge.incomplete,
.badge.open {
  background: rgba(217, 166, 58, 0.14);
  color: #f0c76c;
}

.badge.failed,
.badge.suspended,
.badge.canceled,
.badge.past_due,
.badge.unpaid {
  background: rgba(200, 91, 102, 0.12);
  color: #f09ca5;
}

.notice {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: rgba(31, 122, 255, 0.09);
  color: var(--blue-2);
}

.notice::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--green));
}

.notice.error {
  border-color: rgba(200, 91, 102, 0.32);
  background: rgba(200, 91, 102, 0.1);
  color: #f09ca5;
}

.notice.error::before {
  background: var(--red);
}

.notice.warning {
  border-color: rgba(217, 166, 58, 0.34);
  background: rgba(217, 166, 58, 0.1);
  color: #f0c76c;
}

.notice.warning::before {
  background: #d9a63a;
}

.verification-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.verification-notice strong {
  display: block;
  color: var(--text);
}

.verification-notice p {
  margin: 4px 0 0;
  color: inherit;
}

.verification-resend-form {
  flex: 0 0 auto;
}

.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.admin-hero h1 {
  margin-top: 10px;
  font-size: 48px;
}

.admin-overview-metrics {
  margin-top: 22px;
}

.admin-section {
  padding-top: 72px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 26px;
  border-bottom: 1px solid rgba(150, 174, 205, 0.1);
  padding-bottom: 12px;
}

.admin-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.admin-nav a.active,
.admin-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(49, 211, 255, 0.3);
  background: rgba(31, 122, 255, 0.1);
  color: var(--text);
}

.admin-section-grid,
.admin-preview-grid {
  margin-top: 22px;
}

.admin-section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-area-card {
  min-height: 206px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.admin-area-card h3 {
  margin-top: 14px;
}

.admin-area-card p {
  margin-top: 10px;
}

.admin-area-card .button {
  margin-top: auto;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(14, 23, 36, 0.62);
}

.admin-customer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.admin-check-row {
  align-self: end;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: rgba(5, 10, 18, 0.42);
}

.user-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  background:
    linear-gradient(135deg, rgba(49, 211, 255, 0.07), transparent 28%),
    linear-gradient(180deg, var(--bg), #03060b);
}

.user-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--line);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(49, 211, 255, 0.045), transparent 34%),
    rgba(5, 10, 18, 0.88);
  backdrop-filter: blur(18px);
}

.dashboard-nav {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.dashboard-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 820;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.dashboard-nav a svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.78;
}

.dashboard-nav a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-nav a.active,
.dashboard-nav a:hover {
  border-color: rgba(90, 162, 255, 0.24);
  background: rgba(31, 122, 255, 0.1);
  color: var(--text);
  transform: translateX(2px);
}

.dashboard-nav a.active svg,
.dashboard-nav a:hover svg {
  color: var(--cyan);
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(49, 211, 255, 0.26));
}

.user-account {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(14, 23, 36, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(90, 162, 255, 0.32);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(49, 211, 255, 0.16), rgba(69, 196, 134, 0.1));
  color: var(--cyan);
  font-weight: 900;
}

.avatar.large {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 18px;
}

.avatar.xlarge {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  font-size: 22px;
}

.user-account strong,
.user-account small {
  display: block;
}

.user-account small {
  max-width: 168px;
  overflow: hidden;
  color: var(--muted-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-workspace {
  min-width: 0;
}

.user-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(5, 10, 18, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.user-topbar strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
}

.user-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.user-main {
  padding: 34px clamp(20px, 4vw, 48px) 58px;
}

.user-main > .notice {
  margin: 0 auto 20px;
  max-width: var(--max);
}

.dashboard-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.dashboard-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.dashboard-hero h1 {
  margin-top: 10px;
  font-size: 46px;
  font-weight: 920;
  text-wrap: balance;
}

.lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.dashboard-hero-action {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.customer-overview,
.profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, 0.68fr);
  gap: 18px;
  margin-bottom: 18px;
}

.customer-welcome-card,
.profile-identity-card,
.completion-card {
  display: grid;
  gap: 22px;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.profile-identity h2 {
  margin-top: 4px;
  font-size: 30px;
  overflow-wrap: anywhere;
}

.profile-identity p {
  margin-top: 6px;
  color: var(--muted);
}

.profile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.compact-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.compact-metric {
  min-width: 0;
  border: 1px solid rgba(150, 174, 205, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(5, 10, 18, 0.34);
}

.compact-metric span,
.compact-metric small {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
}

.compact-metric strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.compact-metric small {
  margin-top: 3px;
  font-weight: 700;
}

.completion-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.completion-ring {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(14, 23, 36, 0.96) 0 58%, transparent 59%),
    conic-gradient(var(--cyan) var(--completion), rgba(150, 174, 205, 0.12) 0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 0 34px rgba(49, 211, 255, 0.08);
}

.completion-ring strong,
.completion-ring span {
  grid-column: 1;
  grid-row: 1;
}

.completion-ring strong {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 24px;
}

.completion-ring span {
  margin-top: 34px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.quick-action-card {
  min-height: 168px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.quick-action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 211, 255, 0.28);
  background: rgba(17, 29, 45, 0.9);
  box-shadow: var(--shadow-soft);
}

.quick-action-card > span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(49, 211, 255, 0.18);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(49, 211, 255, 0.16), rgba(69, 196, 134, 0.08));
}

.quick-action-card.green > span {
  border-color: rgba(69, 196, 134, 0.18);
  background: linear-gradient(145deg, rgba(69, 196, 134, 0.16), rgba(49, 211, 255, 0.08));
}

.quick-action-card.blue > span {
  border-color: rgba(90, 162, 255, 0.2);
  background: linear-gradient(145deg, rgba(90, 162, 255, 0.18), rgba(31, 122, 255, 0.08));
}

.quick-action-card.amber > span {
  border-color: rgba(240, 184, 79, 0.22);
  background: linear-gradient(145deg, rgba(240, 184, 79, 0.16), rgba(49, 211, 255, 0.08));
}

.quick-action-card strong,
.quick-action-card p,
.quick-action-card em {
  display: block;
}

.quick-action-card p {
  margin-top: 8px;
  color: var(--muted);
}

.quick-action-card em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 900;
}

.customer-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-blocks,
.subscription-list,
.message-list,
.reply-card {
  margin-top: 22px;
}

.action-card {
  display: flex;
  min-height: 218px;
  flex-direction: column;
  align-items: flex-start;
}

.action-card .button {
  margin-top: auto;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(300px, 0.66fr);
  gap: 18px;
  align-items: start;
}

.profile-side {
  display: grid;
  gap: 18px;
}

.profile-form-card {
  min-height: 100%;
}

.form-row small,
.form-footer p,
.card-intro {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(150, 174, 205, 0.1);
  padding-top: 4px;
}

.form-footer .primary {
  flex: 0 0 auto;
}

.card-intro {
  margin: -4px 0 16px;
}

.checklist {
  display: grid;
  gap: 10px;
}

.checklist > div {
  display: flex;
  gap: 12px;
  border: 1px solid rgba(150, 174, 205, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(5, 10, 18, 0.3);
}

.checklist > div > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(150, 174, 205, 0.14);
  border-radius: 999px;
  color: var(--muted-2);
  font-weight: 900;
}

.checklist > div.complete {
  border-color: rgba(69, 196, 134, 0.16);
  background: rgba(69, 196, 134, 0.06);
}

.checklist > div.complete > span {
  border-color: rgba(69, 196, 134, 0.28);
  background: rgba(69, 196, 134, 0.12);
  color: #8ee5b9;
}

.checklist strong,
.checklist small {
  display: block;
}

.checklist small {
  margin-top: 2px;
  color: var(--muted-2);
  line-height: 1.45;
}

.announcement-list,
.insight-list,
.org-list,
.timeline-list {
  display: grid;
  gap: 10px;
}

.announcement-list article,
.insight-list > div,
.insight-list > a,
.org-list > div,
.timeline-list > div {
  border: 1px solid rgba(150, 174, 205, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(5, 10, 18, 0.3);
}

.announcement-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
}

.announcement-list strong,
.announcement-list p,
.announcement-list small,
.insight-list strong,
.insight-list small,
.org-list strong,
.org-list small {
  display: block;
}

.announcement-list p {
  margin-top: 3px;
  color: var(--muted);
}

.announcement-list small,
.insight-list small,
.org-list small {
  margin-top: 3px;
  color: var(--muted-2);
}

.insight-list > div,
.insight-list > a,
.org-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.insight-list > a {
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.insight-list > a:hover {
  transform: translateX(2px);
  border-color: rgba(49, 211, 255, 0.22);
  background: rgba(31, 122, 255, 0.07);
}

.insight-list-value,
.org-list-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-list > div {
  position: relative;
  display: flex;
  gap: 12px;
}

.timeline-list > div > span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 5px;
  border: 2px solid rgba(90, 162, 255, 0.45);
  border-radius: 50%;
  background: rgba(5, 10, 18, 0.8);
  box-shadow: 0 0 18px rgba(90, 162, 255, 0.16);
}

.timeline-list > div.complete > span {
  border-color: rgba(69, 196, 134, 0.72);
  background: rgba(69, 196, 134, 0.26);
}

.timeline-list strong,
.timeline-list small {
  display: block;
}

.timeline-list small {
  margin-top: 3px;
  color: var(--muted-2);
}

.meta-pill.success {
  border-color: rgba(69, 196, 134, 0.22);
  background: rgba(69, 196, 134, 0.1);
  color: #8ee5b9;
}

.meta-pill.warning {
  border-color: rgba(240, 184, 79, 0.24);
  background: rgba(240, 184, 79, 0.1);
  color: #f0c76c;
}

.meta-pill.critical {
  border-color: rgba(200, 91, 102, 0.26);
  background: rgba(200, 91, 102, 0.1);
  color: #f09ca5;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h2,
.section-head h3 {
  margin: 0;
}

.section-title {
  margin: 30px 0 14px;
  font-size: 26px;
}

.card.compact {
  padding: 16px;
}

.detail-list,
.session-list {
  display: grid;
  gap: 12px;
}

.detail-list > div,
.session-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(150, 174, 205, 0.1);
  border-radius: 12px;
  padding: 12px;
  background: rgba(5, 10, 18, 0.34);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.detail-list > div:hover,
.session-list > div:hover {
  transform: translateX(2px);
  border-color: rgba(49, 211, 255, 0.2);
  background: rgba(5, 10, 18, 0.5);
}

.detail-list span,
.session-list span {
  color: var(--muted-2);
}

.detail-list strong,
.session-list strong {
  color: var(--text);
  text-align: right;
}

.subscription-list {
  display: grid;
  gap: 18px;
}

.subscription-card {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.9fr) auto;
  gap: 24px;
  align-items: center;
}

.tenant-progress-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  border: 1px solid rgba(90, 162, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: rgba(31, 122, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.tenant-progress-panel strong {
  display: block;
  color: var(--text);
}

.tenant-progress-panel p {
  margin: 4px 0 0;
  color: var(--muted);
}

.tenant-spinner {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 3px solid rgba(90, 162, 255, 0.18);
  border-top-color: var(--blue-2);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.empty-state-large {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(circle at 82% 0%, rgba(31, 122, 255, 0.16), transparent 34%),
    rgba(14, 23, 36, 0.84);
}

.empty-state-large h2 {
  max-width: 720px;
  margin-top: 18px;
  font-size: 42px;
}

.empty-state-large p {
  max-width: 680px;
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.support-metrics {
  margin-bottom: 22px;
}

.support-compose {
  position: sticky;
  top: 102px;
}

.ticket-list {
  display: grid;
  gap: 12px;
}

.ticket-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(150, 174, 205, 0.1);
  padding: 2px 2px 10px;
}

.ticket-list-head strong,
.ticket-list-head small {
  display: block;
}

.ticket-list-head small {
  color: var(--muted-2);
  font-weight: 800;
}

.ticket-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.ticket-card:hover .ticket-title {
  color: var(--blue-2);
}

.ticket-card::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--cyan), var(--green));
  opacity: 0.65;
}

.ticket-card-main {
  min-width: 0;
}

.ticket-kicker,
.ticket-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-number,
.ticket-tags span,
.meta-pill,
.table-count {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(150, 174, 205, 0.12);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(5, 10, 18, 0.36);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.ticket-number {
  color: var(--cyan);
}

.ticket-title {
  display: block;
  margin-top: 9px;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.ticket-title:hover {
  color: var(--blue-2);
}

.ticket-tags {
  margin-top: 9px;
}

.ticket-meta {
  display: grid;
  justify-items: end;
  gap: 3px;
  flex: 0 0 auto;
}

.ticket-meta strong {
  color: var(--text);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.ticket-meta small,
.ticket-message small {
  color: var(--muted-2);
}

.message-list {
  display: grid;
  gap: 12px;
}

.ticket-conversation {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.chat-thread {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(49, 211, 255, 0.05), transparent 32%),
    linear-gradient(90deg, rgba(150, 174, 205, 0.035) 1px, transparent 1px),
    rgba(5, 10, 18, 0.38);
  background-size: auto, 34px 34px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.chat-message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.chat-message.customer {
  justify-content: flex-end;
}

.chat-message.support,
.chat-message.internal {
  justify-content: flex-start;
}

.chat-message.customer .chat-avatar {
  order: 2;
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(150, 174, 205, 0.14);
  border-radius: 10px;
  background: rgba(14, 23, 36, 0.9);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.chat-message.customer .chat-avatar {
  border-color: rgba(49, 211, 255, 0.22);
  background: rgba(31, 122, 255, 0.13);
  color: var(--cyan);
}

.chat-message.internal .chat-avatar {
  border-color: rgba(240, 184, 79, 0.32);
  background: rgba(240, 184, 79, 0.1);
  color: #f0c76c;
}

.chat-bubble {
  width: min(700px, calc(100% - 44px));
  border: 1px solid rgba(150, 174, 205, 0.14);
  border-radius: 14px 14px 14px 6px;
  padding: 14px;
  background: rgba(14, 23, 36, 0.9);
}

.chat-message.customer .chat-bubble {
  border-color: rgba(49, 211, 255, 0.26);
  border-radius: 14px 14px 6px 14px;
  background: rgba(31, 122, 255, 0.13);
}

.chat-message.internal .chat-bubble {
  border-style: dashed;
  border-color: rgba(240, 184, 79, 0.36);
  background: rgba(240, 184, 79, 0.08);
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.chat-meta strong {
  color: var(--text);
}

.chat-meta small {
  color: var(--muted-2);
  white-space: nowrap;
}

.chat-bubble p {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
}

/* Customer workspace: calmer, denser app surface */
.user-shell {
  grid-template-columns: 262px minmax(0, 1fr);
  background: #080b10;
}

.user-sidebar {
  gap: 18px;
  padding: 18px 16px;
  background: #0a0e14;
  backdrop-filter: none;
}

.user-sidebar .brand {
  border-bottom: 1px solid rgba(174, 184, 197, 0.1);
  border-radius: 0;
  padding: 0 4px 16px;
}

.dashboard-nav {
  gap: 4px;
  margin-top: 0;
}

.dashboard-nav a {
  min-height: 40px;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
}

.dashboard-nav a.active,
.dashboard-nav a:hover {
  transform: none;
  border-color: rgba(174, 184, 197, 0.14);
  background: rgba(119, 167, 232, 0.08);
}

.dashboard-nav a.active::before {
  content: "";
  width: 3px;
  align-self: stretch;
  border-radius: 999px;
  background: var(--blue-2);
}

.dashboard-nav a.active svg,
.dashboard-nav a:hover svg {
  color: #b7ccec;
  filter: none;
}

.user-account {
  border-radius: 8px;
  padding: 10px;
  background: #101720;
  box-shadow: none;
}

.user-shell .avatar {
  border-color: rgba(174, 184, 197, 0.16);
  border-radius: 8px;
  background: #151d27;
  color: #d7e1ed;
}

.user-topbar {
  min-height: 64px;
  padding: 12px clamp(18px, 3vw, 34px);
  background: rgba(8, 11, 16, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.user-topbar strong {
  font-size: 16px;
}

.user-main {
  padding: 24px clamp(18px, 3vw, 34px) 44px;
}

.user-shell .eyebrow {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.dashboard-hero {
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(174, 184, 197, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: #0d1219;
}

.dashboard-hero h1 {
  margin-top: 5px;
  font-size: 30px;
  line-height: 1.15;
}

.dashboard-hero .lead {
  max-width: 760px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.dashboard-hero-action {
  align-items: center;
}

.user-shell .card,
.user-shell .feature-card,
.user-shell .price-card,
.user-shell .empty-state-large {
  border-color: rgba(174, 184, 197, 0.12);
  border-radius: 8px;
  background: #101720;
  box-shadow: none;
}

.user-shell .card::before,
.user-shell .feature-card::before,
.user-shell .price-card::before,
.user-shell .empty-state-large::before {
  display: none;
}

.user-shell .card:hover,
.user-shell .feature-card:hover,
.user-shell .price-card:hover {
  transform: none;
  border-color: rgba(174, 184, 197, 0.2);
  background: #121a24;
  box-shadow: none;
}

.user-shell .button,
.user-shell button {
  min-height: 38px;
  border-radius: 8px;
  padding: 8px 12px;
}

.user-shell .button.primary,
.user-shell button.primary {
  background: #326fbd;
  box-shadow: none;
}

.customer-overview,
.profile-overview {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 12px;
  margin-bottom: 12px;
}

.customer-welcome-card,
.profile-identity-card,
.completion-card {
  gap: 16px;
}

.profile-identity h2 {
  font-size: 24px;
}

.profile-identity p {
  margin-top: 4px;
  font-size: 14px;
}

.compact-metrics {
  gap: 8px;
}

.compact-metric {
  border-color: rgba(174, 184, 197, 0.1);
  border-radius: 8px;
  padding: 10px;
  background: #0c1118;
}

.compact-metric strong {
  font-size: 15px;
}

.completion-card {
  grid-template-columns: 78px minmax(0, 1fr);
}

.completion-ring {
  width: 72px;
  height: 72px;
  background:
    radial-gradient(circle at center, #101720 0 58%, transparent 59%),
    conic-gradient(#77a7e8 var(--completion), rgba(174, 184, 197, 0.16) 0);
  box-shadow: none;
}

.completion-ring strong {
  margin-bottom: 9px;
  font-size: 18px;
}

.completion-ring span {
  margin-top: 25px;
  font-size: 9px;
}

.completion-card h3 {
  font-size: 17px;
}

.completion-card p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.5;
}

.user-shell .grid.cols-4 {
  gap: 10px;
}

.user-shell .metric-card {
  min-height: 100px;
  padding: 14px;
  gap: 6px;
}

.user-shell .metric-card strong {
  color: var(--text);
  font-size: 26px;
}

.user-shell .metric-card small {
  font-size: 12px;
}

.quick-action-grid {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.quick-action-card {
  min-height: 0;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.quick-action-card:hover {
  transform: none;
  border-color: rgba(174, 184, 197, 0.2);
  background: #121a24;
  box-shadow: none;
}

.quick-action-card > span,
.quick-action-card.green > span,
.quick-action-card.blue > span,
.quick-action-card.amber > span {
  width: 30px;
  height: 30px;
  border-color: rgba(174, 184, 197, 0.14);
  border-radius: 8px;
  background: #0c1118;
}

.quick-action-card strong {
  font-size: 14px;
}

.quick-action-card p {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.4;
}

.quick-action-card em {
  color: #b7ccec;
  font-size: 12px;
}

.customer-home-grid,
.profile-layout,
.support-layout {
  gap: 12px;
}

.customer-home-grid {
  margin-top: 16px;
}

.dashboard-blocks,
.subscription-list,
.message-list,
.reply-card {
  margin-top: 16px;
}

.section-head {
  margin-bottom: 12px;
}

.section-head h3,
.section-head h2 {
  font-size: 17px;
}

.checklist,
.announcement-list,
.insight-list,
.org-list,
.timeline-list,
.detail-list,
.session-list,
.ticket-list {
  gap: 8px;
}

.checklist > div,
.announcement-list article,
.insight-list > div,
.insight-list > a,
.org-list > div,
.timeline-list > div,
.detail-list > div,
.session-list > div {
  border-color: rgba(174, 184, 197, 0.1);
  border-radius: 8px;
  padding: 10px;
  background: #0c1118;
}

.checklist > div.complete {
  border-color: rgba(106, 191, 141, 0.2);
  background: rgba(106, 191, 141, 0.06);
}

.detail-list > div:hover,
.session-list > div:hover,
.insight-list > a:hover {
  transform: none;
  border-color: rgba(174, 184, 197, 0.18);
  background: #0f151d;
}

.ticket-number,
.ticket-tags span,
.meta-pill,
.table-count {
  border-color: rgba(174, 184, 197, 0.12);
  border-radius: 8px;
  background: #0c1118;
}

.ticket-number,
.table-count {
  color: #b7ccec;
}

.user-shell .badge,
.user-shell .status {
  border: 1px solid rgba(174, 184, 197, 0.12);
  box-shadow: none;
}

.user-shell .badge.active,
.user-shell .badge.available,
.user-shell .badge.completed,
.user-shell .badge.closed,
.user-shell .badge.paid,
.user-shell .badge.resolved {
  background: rgba(106, 191, 141, 0.1);
  color: #9bd5b4;
}

.user-shell input,
.user-shell select,
.user-shell textarea {
  background: #0c1118;
}

.user-shell input:hover,
.user-shell select:hover,
.user-shell textarea:hover,
.user-shell input:focus,
.user-shell select:focus,
.user-shell textarea:focus {
  border-color: rgba(119, 167, 232, 0.38);
  background: #0b1017;
  box-shadow: 0 0 0 3px rgba(119, 167, 232, 0.1);
}

.subscription-card {
  gap: 16px;
}

.tenant-progress-panel {
  border-color: rgba(119, 167, 232, 0.22);
  border-radius: 8px;
  background: rgba(119, 167, 232, 0.08);
  box-shadow: none;
}

.empty-state-large {
  padding: clamp(24px, 4vw, 42px);
}

.chat-thread {
  border-radius: 8px;
  background: #0c1118;
  background-size: auto;
  box-shadow: none;
}

.chat-bubble,
.chat-message.customer .chat-bubble {
  border-radius: 8px;
  background: #101720;
}

.chat-message.customer .chat-bubble {
  border-color: rgba(119, 167, 232, 0.22);
}

.admin-ticket-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.admin-ticket-panel {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 18px;
}

.feedback-note {
  border: 1px solid rgba(69, 196, 134, 0.18);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(69, 196, 134, 0.08);
}

.feedback-note span {
  display: block;
  color: #8ee5b9;
  font-size: 12px;
  font-weight: 900;
}

.feedback-note p {
  margin-top: 6px;
  color: var(--muted);
  white-space: pre-wrap;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  min-height: 44px;
}

.check-row input {
  width: auto;
  min-height: auto;
}

.rating-control {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 8px;
}

.rating-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-control span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 10, 18, 0.54);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.rating-control label:hover span,
.rating-control label:hover ~ label span,
.rating-control input:checked ~ span,
.rating-control label:has(input:checked) ~ label span {
  border-color: rgba(49, 211, 255, 0.34);
  background: rgba(31, 122, 255, 0.14);
  color: var(--text);
}

.ticket-message {
  max-width: 820px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(14, 23, 36, 0.78);
}

.ticket-message.admin {
  margin-left: auto;
  border-color: rgba(90, 162, 255, 0.28);
  background: rgba(31, 122, 255, 0.1);
}

.ticket-message > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.ticket-message p {
  color: var(--muted);
  white-space: pre-wrap;
}

input:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.subnav a {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 11px;
  color: var(--muted);
}

.subnav a.active,
.subnav a:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(31, 122, 255, 0.08);
}

.faq-grid,
.legal-card,
.status-grid {
  margin-top: 22px;
}

.legal-title,
.legal-grid {
  margin-top: 18px;
}

.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), transparent 38%),
    rgba(14, 23, 36, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  scrollbar-color: rgba(90, 162, 255, 0.45) rgba(5, 10, 18, 0.6);
  scrollbar-width: thin;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(5, 10, 18, 0.18);
}

tbody tr {
  transition: background 160ms ease;
}

tbody tr:hover {
  background: rgba(49, 211, 255, 0.045);
}

tr:last-child td {
  border-bottom: 0;
}

.admin-table-section {
  margin-top: 28px;
}

.admin-table-section .section-head {
  margin-bottom: 12px;
}

.admin-table-section h2 {
  font-size: 22px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.table-count {
  color: var(--cyan);
}

.table-primary {
  display: grid;
  gap: 2px;
  min-width: 180px;
}

.table-primary strong {
  color: var(--text);
}

.table-primary small {
  color: var(--muted-2);
}

.compact-empty {
  padding: 12px;
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(150, 174, 205, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(5, 10, 18, 0.32);
}

.pagination-bar span {
  color: var(--muted);
  font-weight: 800;
}

.pagination-bar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

td .button,
td button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

.metric-card {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  isolation: isolate;
}

.metric-kicker {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  font-size: 34px;
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.metric-card small {
  color: var(--muted);
  font-weight: 760;
}

.price {
  font-size: 42px;
  font-weight: 900;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent),
    rgba(5, 10, 18, 0.28);
  color: var(--muted);
}

.dark-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(14, 23, 36, 0.78);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 22px;
  background:
    linear-gradient(180deg, rgba(49, 211, 255, 0.025), transparent 48%),
    rgba(5, 10, 18, 0.82);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: start;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

.footer-links a,
.footer-contact a {
  border-radius: var(--radius-sm);
  transition: color 160ms ease, background 160ms ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--text);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 26px auto 0;
  color: var(--muted-2);
  font-size: 13px;
}

.ui-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.ui-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes buttonSheen {
  0% {
    left: -42%;
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  100% {
    left: 118%;
    opacity: 0;
  }
}

@keyframes loadingPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 38px rgba(31, 122, 255, 0.22);
  }
  50% {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 46px rgba(49, 211, 255, 0.28);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

@keyframes screenScan {
  0%,
  42% {
    transform: translateX(-90px);
    opacity: 0;
  }
  52% {
    opacity: 1;
  }
  72% {
    transform: translateX(720px);
    opacity: 0;
  }
  100% {
    transform: translateX(720px);
    opacity: 0;
  }
}

@keyframes caseAttention {
  0%,
  74%,
  100% {
    border-color: rgba(150, 174, 205, 0.12);
    background: rgba(14, 23, 36, 0.82);
  }
  84% {
    border-color: rgba(49, 211, 255, 0.28);
    background: rgba(17, 29, 45, 0.92);
  }
}

@keyframes laptopFloat {
  0%,
  100% {
    transform: rotateY(-8deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: rotateY(-8deg) rotateX(2deg) translateY(-8px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1120px) {
  .user-shell {
    grid-template-columns: 248px minmax(0, 1fr);
  }

  .dashboard-grid,
  .quick-action-grid,
  .grid.cols-4,
  .admin-section-grid,
  .tiers-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-overview,
  .profile-overview,
  .profile-layout,
  .customer-home-grid {
    grid-template-columns: 1fr;
  }

  .subscription-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .dashboard-hero h1,
  .admin-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 70px;
    padding: 8px 0;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .nav,
  .nav-actions {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
  }

  .menu-open .nav,
  .menu-open .nav-actions {
    display: flex;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
      rgba(5, 10, 18, 0.94);
    box-shadow: var(--shadow-soft);
  }

  .nav {
    flex-direction: column;
  }

  .menu-open .nav {
    margin-top: 4px;
  }

  .menu-open .nav a {
    width: 100%;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .user-shell {
    grid-template-columns: 1fr;
  }

  .user-sidebar {
    position: static;
    height: auto;
    gap: 16px;
    padding: 18px 20px;
  }

  .dashboard-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .dashboard-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .user-account {
    margin-top: 0;
  }

  .dashboard-hero,
  .subscription-card,
  .support-layout,
  .admin-ticket-grid,
  .admin-customer-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-compose,
  .admin-ticket-panel {
    position: static;
  }

  .dashboard-hero,
  .ticket-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-hero-action,
  .ticket-meta {
    justify-items: start;
    justify-content: flex-start;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .pricing-layout,
  .final-cta,
  .split,
  .product-detail-grid,
  .customer-overview,
  .profile-overview,
  .profile-layout,
  .customer-home-grid {
    grid-template-columns: 1fr;
  }

  .tiers-layout,
  .pricing-note {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .admin-hero h1,
  .final-cta h2,
  .empty-state-large h2 {
    font-size: 36px;
  }

  .hero-benefits,
  .hero-facts,
  .ops-strip,
  .trust-grid,
  .features-grid,
  .quick-action-grid,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .laptop {
    transform: none;
    animation: none;
  }

  .laptop-wrap::before {
    right: 12%;
    left: 12%;
  }

  .laptop-wrap::after {
    inset: -12px -8px 10%;
  }

  .ops-strip > div + div {
    border-top: 1px solid rgba(174, 184, 197, 0.1);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 66px 0;
  }

  .hero-section {
    padding: 64px 0 56px;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-copy > p,
  .section-heading p,
  .lead,
  .empty-state-large p {
    font-size: 16px;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .verification-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .verification-resend-form,
  .verification-resend-form button {
    width: 100%;
  }

  .hero-benefits,
  .hero-facts,
  .ops-strip,
  .trust-grid,
  .features-grid,
  .quick-action-grid,
  .tiers-layout,
  .pricing-note,
  .admin-section-grid,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .compact-metrics {
    grid-template-columns: 1fr;
  }

  .profile-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .completion-card {
    grid-template-columns: 1fr;
  }

  .form-footer,
  .insight-list > div,
  .insight-list > a,
  .org-list > div {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .primary,
  .org-list-actions,
  .insight-list-value {
    width: 100%;
  }

  .form-footer .primary,
  .org-list-actions .button {
    justify-content: center;
  }

  .record-ui {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .record-ui aside {
    display: none;
  }

  .record-ui main {
    padding: 18px;
  }

  .record-status-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .record-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .laptop-screen {
    border-width: 8px;
    border-radius: 16px;
  }

  .laptop-wrap::after {
    display: none;
  }

  .price-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-line strong {
    font-size: 42px;
  }

  .feature-card,
  .card,
  .price-card,
  .trust-panel,
  .final-cta,
  .dark-panel {
    padding: 20px;
    border-radius: var(--radius);
  }

  .tenant-progress-panel {
    min-width: 0;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .user-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-nav {
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 20px 6px;
  }

  .user-topbar-actions,
  .user-topbar-actions .button,
  .user-topbar-actions button,
  .admin-filter-bar,
  .dashboard-grid,
  .detail-list > div,
  .session-list > div,
  .chat-bubble {
    width: 100%;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-bar {
    grid-template-columns: 1fr;
  }

  .admin-filter-bar .button,
  .admin-filter-bar button,
  .pagination-bar .button {
    width: 100%;
  }

  .pagination-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-bar > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .metric-card {
    min-height: auto;
  }

  .record-top h3 {
    font-size: 26px;
  }

  .case-list > div:nth-child(n + 4) {
    display: none;
  }

  .ticket-list-head,
  .ticket-meta {
    align-items: flex-start;
  }

  .ticket-meta strong {
    text-align: left;
    white-space: normal;
  }

  .chat-avatar {
    display: none;
  }

  .detail-list > div,
  .session-list > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .detail-list strong,
  .session-list strong {
    text-align: left;
  }

  .chat-meta {
    flex-direction: column;
    gap: 4px;
  }

  .rating-control {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .rating-control span {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 35px;
  }

  .section-heading h2,
  .admin-hero h1,
  .dashboard-hero h1,
  .final-cta h2,
  .empty-state-large h2 {
    font-size: 30px;
  }

  .record-top h3 {
    font-size: 24px;
  }
}

@media (max-width: 1120px) {
  .user-shell .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .user-shell .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .user-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .user-sidebar .brand {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .user-topbar {
    position: static;
  }

  .dashboard-hero {
    align-items: flex-start;
  }

  .customer-overview,
  .profile-overview,
  .profile-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .user-main {
    padding: 18px 14px 34px;
  }

  .dashboard-hero {
    padding: 14px;
  }

  .dashboard-hero h1 {
    font-size: 26px;
  }

  .user-shell .grid.cols-4,
  .compact-metrics {
    grid-template-columns: 1fr;
  }

  .quick-action-card {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .quick-action-card em {
    grid-column: 2;
  }
}
