@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #12223a;
  --ink-soft: #516176;
  --brand: #1259ff;
  --brand-deep: #073fc7;
  --cyan: #08a9ce;
  --aqua: #dff9ff;
  --amber: #f3a712;
  --red: #d83b46;
  --green: #14855f;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --surface-blue: #edf4ff;
  --line: #dbe4ef;
  --line-strong: #bfd0e4;
  --shadow-sm: 0 8px 24px rgb(20 45 80 / 8%);
  --shadow-lg: 0 24px 70px rgb(13 38 72 / 16%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --page: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgb(18 89 255 / 10%), transparent 28rem),
    radial-gradient(circle at 95% 12%, rgb(8 169 206 / 10%), transparent 24rem),
    #f8faff;
  font-family:
    "Microsoft YaHei UI",
    "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    sans-serif;
  line-height: 1.65;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a:hover {
  color: var(--brand-deep);
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

:focus-visible {
  outline: 3px solid rgb(18 89 255 / 28%);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(219 228 239 / 78%);
  background: rgb(255 255 255 / 86%);
  backdrop-filter: blur(18px);
}

.site-nav,
.page-container {
  width: min(calc(100% - 36px), var(--page));
  margin-inline: auto;
}

.site-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--cyan));
  border-radius: 12px;
  box-shadow: 0 8px 18px rgb(18 89 255 / 24%);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--brand);
}

.site-main {
  min-height: calc(100vh - 150px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
}

.hero::after {
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 500px;
  height: 500px;
  content: "";
  background:
    linear-gradient(135deg, rgb(18 89 255 / 14%), rgb(8 169 206 / 3%));
  border: 1px solid rgb(18 89 255 / 10%);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  color: var(--brand-deep);
  background: var(--surface-blue);
  border: 1px solid #d4e3ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(18 89 255 / 12%);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 5.3vw, 67px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--brand);
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 750;
  line-height: 1.2;
  transition: 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #2677ff);
  box-shadow: 0 10px 25px rgb(18 89 255 / 24%);
}

.button--primary:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
}

.button--secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button--secondary:hover {
  color: var(--brand);
  border-color: #a9c4f9;
}

.button--ghost {
  color: var(--ink-soft);
  background: transparent;
  border-color: var(--line);
}

.button--danger {
  color: #fff;
  background: var(--red);
}

.button--small {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13px;
}

.button--block {
  width: 100%;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.hero-proof span::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.product-window {
  position: relative;
  min-height: 430px;
  padding: 19px;
  overflow: hidden;
  background: linear-gradient(155deg, #10254a, #0a1830);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.product-window::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.window-bar {
  position: relative;
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
}

.window-bar i {
  width: 9px;
  height: 9px;
  background: rgb(255 255 255 / 25%);
  border-radius: 50%;
}

.mock-dashboard {
  position: relative;
  display: grid;
  gap: 13px;
}

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-stat,
.mock-panel {
  padding: 15px;
  color: #dbeaff;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 14px;
}

.mock-stat small {
  display: block;
  color: #8ea9c9;
  font-size: 11px;
}

.mock-stat strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 19px;
}

.mock-panel {
  min-height: 160px;
}

.mock-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.mock-panel-title span {
  color: #7edcff;
  font-size: 11px;
}

.chart-bars {
  height: 105px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding-top: 16px;
}

.chart-bars i {
  flex: 1;
  min-width: 8px;
  background: linear-gradient(to top, #1766ff, #5fe4ff);
  border-radius: 5px 5px 2px 2px;
  opacity: 0.8;
}

.chart-bar--34 { height: 34%; }
.chart-bar--46 { height: 46%; }
.chart-bar--53 { height: 53%; }
.chart-bar--58 { height: 58%; }
.chart-bar--61 { height: 61%; }
.chart-bar--64 { height: 64%; }
.chart-bar--69 { height: 69%; }
.chart-bar--75 { height: 75%; }
.chart-bar--77 { height: 77%; }
.chart-bar--82 { height: 82%; }
.chart-bar--87 { height: 87%; }
.chart-bar--92 { height: 92%; }

.floating-tip {
  position: absolute;
  right: 26px;
  bottom: 22px;
  width: 230px;
  padding: 15px;
  color: #fff;
  background: rgb(12 25 50 / 76%);
  border: 1px solid rgb(104 218 255 / 30%);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgb(0 0 0 / 28%);
  backdrop-filter: blur(12px);
}

.floating-tip strong {
  display: block;
  margin-bottom: 5px;
  color: #68e8ff;
  font-size: 12px;
}

.floating-tip span {
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section--white {
  background: rgb(255 255 255 / 72%);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

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

.feature-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--surface-blue);
  border-radius: 12px;
  font-size: 19px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

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

.plan-card {
  position: relative;
  padding: 27px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.plan-card--featured {
  border-color: #8bb2ff;
  box-shadow: 0 20px 55px rgb(18 89 255 / 14%);
}

.plan-card--delay-0 { animation-delay: 0ms; }
.plan-card--delay-1 { animation-delay: 40ms; }
.plan-card--delay-2 { animation-delay: 80ms; }
.plan-card--delay-3 { animation-delay: 120ms; }
.plan-card--delay-4 { animation-delay: 160ms; }
.plan-card--delay-5 { animation-delay: 200ms; }

.plan-badge {
  position: absolute;
  top: 17px;
  right: 17px;
  padding: 4px 9px;
  color: var(--brand-deep);
  background: var(--surface-blue);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.plan-name {
  margin: 0;
  font-size: 20px;
}

.plan-description {
  min-height: 46px;
  margin: 9px 0 20px;
  color: var(--ink-soft);
  font-size: 13px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 9px;
}

.plan-price strong {
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-price span {
  color: var(--ink-soft);
  font-size: 13px;
}

.plan-compute {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 750;
}

.plan-features {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  color: var(--ink-soft);
  font-size: 13px;
}

.plan-features li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.notice-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px;
  color: #e5f2ff;
  background:
    radial-gradient(circle at 95% 20%, rgb(54 196 255 / 24%), transparent 28rem),
    #10254a;
  border-radius: var(--radius-lg);
}

.notice-band h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 25px;
}

.notice-band p {
  margin: 0;
  color: #b9cbe2;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-chip::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--amber);
  border-radius: 50%;
}

.status-chip--ok::before {
  background: var(--green);
}

.site-footer {
  padding: 34px 0 42px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(440px, 1.1fr);
  background: #fff;
}

.auth-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgb(52 177 255 / 40%), transparent 28rem),
    linear-gradient(150deg, #0d2450, #07162c);
}

.auth-story::after {
  position: absolute;
  right: -170px;
  bottom: -180px;
  width: 450px;
  height: 450px;
  content: "";
  border: 1px solid rgb(117 216 255 / 24%);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgb(117 216 255 / 5%),
    0 0 0 140px rgb(117 216 255 / 3%);
}

.auth-story .brand {
  position: relative;
  z-index: 1;
  color: #fff;
}

.auth-story .brand-text small {
  color: #91abc9;
}

.auth-quote {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.auth-quote h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.19;
  letter-spacing: -0.05em;
}

.auth-quote p {
  margin: 0;
  color: #b8cbe2;
  font-size: 16px;
}

.auth-story-foot {
  position: relative;
  z-index: 1;
  color: #829bb8;
  font-size: 12px;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 90% 8%, rgb(18 89 255 / 8%), transparent 22rem),
    #fff;
}

.auth-card {
  width: min(100%, 440px);
}

.auth-card h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.auth-card > p {
  margin: 8px 0 26px;
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.field-help {
  color: var(--ink-soft);
  font-size: 12px;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  transition: 0.16s ease;
}

.textarea {
  min-height: 90px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgb(18 89 255 / 10%);
}

.input:disabled,
.select:disabled,
.textarea:disabled {
  color: var(--ink-soft);
  background: var(--surface-soft);
}

.password-wrap {
  position: relative;
}

.password-wrap .input {
  padding-right: 72px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  padding: 6px 8px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  transform: translateY(-50%);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--red);
  font-size: 13px;
}

.form-message--ok {
  color: var(--green);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: #8a99ab;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  flex: 1;
  height: 1px;
  content: "";
  background: var(--line);
}

.auth-alt {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 13px;
}

.bootstrap-box {
  margin-top: 22px;
  padding: 19px;
  background: #fff8e7;
  border: 1px solid #f3dfad;
  border-radius: 14px;
}

.bootstrap-box h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.bootstrap-box p {
  margin: 0 0 16px;
  color: #765b21;
  font-size: 13px;
}

.app-body {
  background: #f3f6fb;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  color: #dce9f8;
  background:
    radial-gradient(circle at 10% 4%, rgb(31 124 255 / 30%), transparent 18rem),
    #0d1d35;
}

.app-sidebar .brand {
  padding-inline: 6px;
  color: #fff;
}

.app-sidebar .brand-text small {
  color: #849bb6;
}

.sidebar-label {
  margin: 28px 8px 8px;
  color: #7189a4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
}

.sidebar-nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  color: #9eb2c8;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}

.sidebar-nav button:hover,
.sidebar-nav button.is-active {
  color: #fff;
  background: rgb(255 255 255 / 9%);
}

.sidebar-nav .nav-icon {
  width: 19px;
  text-align: center;
  font-size: 15px;
}

.sidebar-foot {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 12px 7px 2px;
  color: #7f96b1;
  font-size: 11px;
}

.sidebar-user {
  padding: 11px;
  color: #dbe7f6;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 6%);
  border-radius: 11px;
}

.sidebar-user strong,
.sidebar-user span {
  display: block;
}

.sidebar-user span {
  margin-top: 2px;
  color: #8199b5;
  font-size: 11px;
}

.app-main {
  min-width: 0;
}

.app-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgb(255 255 255 / 84%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.app-topbar h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.app-topbar p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-content {
  padding: clamp(20px, 3.5vw, 42px);
}

.page-section {
  display: none;
}

.page-section.is-active {
  display: block;
}

.section-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.section-title-row p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.stat-card {
  padding: 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-card small {
  color: var(--ink-soft);
  font-size: 12px;
}

.stat-card strong {
  display: block;
  margin: 7px 0 3px;
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--ink-soft);
  font-size: 11px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: 18px;
}

.panel {
  min-width: 0;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.panel + .panel {
  margin-top: 18px;
}

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

.panel-head h3 {
  margin: 0;
  font-size: 17px;
}

.panel-head p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  background: #e8eef6;
  border-radius: 999px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  border-radius: inherit;
  transition: width 0.4s ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 11px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf1f6;
}

.info-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-row dt {
  color: var(--ink-soft);
  font-size: 12px;
}

.info-row dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.badge--ok {
  color: #0c6a4a;
  background: #e5f7ef;
}

.badge--warn {
  color: #895c05;
  background: #fff4d8;
}

.badge--danger {
  color: #a3232d;
  background: #ffeaed;
}

.badge--info {
  color: var(--brand-deep);
  background: var(--surface-blue);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #edf1f6;
}

.data-table th {
  color: var(--ink-soft);
  background: #f7f9fc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.data-table tbody tr:hover {
  background: #fbfcff;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.empty-state {
  padding: 34px 20px;
  color: var(--ink-soft);
  text-align: center;
  font-size: 13px;
}

.empty-state strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.toolbar .input,
.toolbar .select {
  width: auto;
  min-width: 160px;
}

.toolbar-spacer {
  flex: 1;
}

.warning-box,
.info-box {
  padding: 14px 16px;
  color: #725313;
  background: #fff8e7;
  border: 1px solid #f3dfad;
  border-radius: 11px;
  font-size: 12px;
}

.info-box {
  color: #23527b;
  background: #eef7ff;
  border-color: #cce6fb;
}

.dialog {
  width: min(calc(100% - 28px), 680px);
  max-height: min(88vh, 900px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 100px rgb(8 25 50 / 30%);
}

.dialog--wide {
  width: min(calc(100% - 28px), 980px);
}

.dialog::backdrop {
  background: rgb(8 20 38 / 56%);
  backdrop-filter: blur(4px);
}

.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 17px;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.dialog-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.dialog-head p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.dialog-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border: 0;
  border-radius: 9px;
  font-size: 18px;
}

.dialog-body {
  padding: 22px 24px;
}

.dialog-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 24px;
  background: rgb(255 255 255 / 96%);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.tab {
  padding: 7px 11px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.tab.is-active {
  color: var(--brand);
  background: var(--surface-blue);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.toast-region {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: min(360px, calc(100% - 40px));
  display: grid;
  gap: 9px;
  pointer-events: none;
}

.toast {
  padding: 13px 15px;
  color: #fff;
  background: #25364e;
  border-radius: 11px;
  box-shadow: 0 16px 40px rgb(7 26 54 / 24%);
  font-size: 13px;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.22s ease;
}

.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  background: #127653;
}

.toast--error {
  background: #a52e38;
}

.toast--warning {
  background: #8a630b;
}

.loading-line {
  height: 3px;
  overflow: hidden;
  background: #e9eef5;
  border-radius: 999px;
}

.loading-line::after {
  width: 38%;
  height: 100%;
  display: block;
  content: "";
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: loading 1.1s infinite linear;
}

@keyframes loading {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(360%);
  }
}

.legal-page {
  max-width: 880px;
  padding-block: 60px 90px;
}

.legal-page h1 {
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.04em;
}

.legal-page h2 {
  margin-top: 34px;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-meta {
  color: var(--ink-soft);
  font-size: 13px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-window {
    min-height: 390px;
  }

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

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

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

  .app-shell {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .app-sidebar {
    padding-inline: 10px;
  }

  .app-sidebar .brand-text,
  .sidebar-label,
  .sidebar-nav button span:last-child,
  .sidebar-user,
  .sidebar-foot {
    display: none;
  }

  .app-sidebar .brand {
    justify-content: center;
  }

  .sidebar-nav button {
    justify-content: center;
    padding-inline: 8px;
  }

  .sidebar-nav .nav-icon {
    width: auto;
  }
}

@media (max-width: 760px) {
  .site-nav {
    min-height: 64px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    padding: 54px 0 48px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .feature-grid,
  .plans-grid,
  .form-grid--two {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .notice-band {
    grid-template-columns: 1fr;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-story {
    min-height: 260px;
    padding: 26px;
  }

  .auth-quote h1 {
    font-size: 32px;
  }

  .auth-quote p,
  .auth-story-foot {
    display: none;
  }

  .auth-panel {
    padding: 28px 20px 44px;
  }

  .app-shell {
    display: block;
  }

  .app-sidebar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 40;
    width: auto;
    height: 62px;
    flex-direction: row;
    justify-content: center;
    padding: 7px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgb(5 17 37 / 28%);
  }

  .app-sidebar .brand,
  .sidebar-user,
  .sidebar-foot {
    display: none;
  }

  .sidebar-nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 3px;
  }

  .sidebar-nav button {
    width: auto;
    min-width: 48px;
    flex: 1;
    justify-content: center;
    padding: 8px;
  }

  .app-topbar {
    min-height: 66px;
    padding: 12px 18px;
  }

  .app-topbar p {
    display: none;
  }

  .app-content {
    padding: 18px 14px 94px;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-card strong {
    font-size: 24px;
  }

  .panel {
    padding: 16px;
  }

  .dialog-body,
  .dialog-head {
    padding-inline: 17px;
  }

  .dialog-foot {
    padding-inline: 17px;
  }
}

@media (max-width: 480px) {
  .site-nav,
  .page-container {
    width: min(calc(100% - 24px), var(--page));
  }

  .hero h1 {
    font-size: 37px;
  }

  .product-window {
    min-height: 350px;
    padding: 14px;
  }

  .mock-stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .mock-stat:last-child {
    display: none;
  }

  .floating-tip {
    right: 16px;
    bottom: 16px;
    width: 210px;
  }

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

  .topbar-actions .button span {
    display: none;
  }
}

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