/* =====================================================================
   Home design: header, dashboard hero, modules, industries, workflow,
   stats band, CTA card and footer. Loaded last.
   ===================================================================== */
.btn { border-radius: 10px; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { box-shadow: 0 6px 16px -6px rgba(0, 75, 252, .5); }
.btn-primary:hover { box-shadow: 0 8px 20px -6px rgba(11, 23, 46, .5); }
.btn-outline { background: #fff; color: var(--brand-900); border-color: var(--border-200); }
.btn-outline:hover { border-color: var(--brand-700); color: var(--brand-700); background: #fff; }

/* Header + dropdown */
.site-nav { gap: 1.5rem; }
.site-nav > ul { align-items: center; gap: 1.6rem; }
.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
.nav-signin { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; letter-spacing: -0.01em; color: var(--text-900); text-decoration: none; padding: .5rem 0; }
.nav-signin:hover { color: var(--brand-700); }
.has-menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .5rem 0; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; letter-spacing: -0.01em; color: var(--text-900); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.menu-btn:hover { color: var(--brand-700); }
.menu-btn .icon { width: 1em; height: 1em; transition: transform .15s; }
.menu-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-nav .submenu { display: none; position: absolute; top: 100%; left: -1rem; min-width: 15.5rem; flex-direction: column; gap: 0; padding: .5rem; background: #fff; border: 1px solid var(--border-200); border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(11, 23, 46, .2); z-index: 60; }
.has-menu:hover > .submenu, .has-menu:focus-within > .submenu, .has-menu.open > .submenu { display: flex; }
.site-nav .submenu li a { display: block; padding: .6rem .8rem; border: 0; border-radius: 8px; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: .9rem; letter-spacing: -0.01em; }
.site-nav .submenu li a:hover { background: var(--brand-50); color: var(--brand-700); }
@media (max-width: 1020px) {
  .js .site-nav { gap: 1rem; }
  .site-nav > ul { align-items: stretch; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-signin { padding: .85rem 0; border-bottom: 1px solid var(--border-200); }
  .menu-btn { width: 100%; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--border-200); }
  .site-nav .submenu { position: static; display: none; min-width: 0; padding: 0 0 0 1rem; border: 0; border-radius: 0; box-shadow: none; }
  .has-menu:hover > .submenu, .has-menu:focus-within > .submenu { display: none; }
  .has-menu.open > .submenu { display: flex; }
  .site-nav .submenu li a { padding: .75rem 0; border-bottom: 1px solid var(--border-200); border-radius: 0; }
}

/* Authentic Enterprise Minimal Hero */
.hero-minimal {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 4.75rem) clamp(3.5rem, 6vw, 5.5rem);
  background: 
    radial-gradient(900px 450px at 50% 0%, rgba(0, 75, 252, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-200);
}

.hero-minimal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-minimal-header {
  max-width: 48rem;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .85rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  box-shadow: 0 1px 4px rgba(0, 75, 252, 0.06);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

.hero-minimal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.8rem + 3.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--brand-900);
  margin-bottom: 1.25rem;
}

.hero-minimal .lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-600);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.hero-minimal .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Authentic App Frame */
.app-frame-wrapper {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
}

.app-frame {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 
    0 25px 60px -15px rgba(11, 23, 46, 0.12),
    0 0 0 1px rgba(11, 23, 46, 0.04);
  overflow: hidden;
  text-align: left;
}

/* App Topbar */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 1rem;
  background: #0B172E;
  color: #94A3B8;
  font-size: .75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-controls {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.app-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.app-controls span:nth-child(1) { background: #EF4444; }
.app-controls span:nth-child(2) { background: #F59E0B; }
.app-controls span:nth-child(3) { background: #10B981; }

.app-search-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: .25rem .75rem;
  border-radius: 6px;
  font-size: .75rem;
  color: #94A3B8;
  width: 18rem;
  max-width: 40vw;
}

.app-search-bar .icon {
  width: .85rem;
  height: .85rem;
  color: #64748B;
}

.app-search-bar kbd {
  margin-left: auto;
  font-family: inherit;
  font-size: .65rem;
  background: rgba(255, 255, 255, 0.1);
  padding: .1rem .35rem;
  border-radius: 4px;
  color: #CBD5E1;
}

.app-user-meta {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .75rem;
}

.app-branch-select {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #E2E8F0;
  font-weight: 600;
}

.app-branch-select .icon {
  width: .85rem;
  height: .85rem;
  color: #FD9921;
}

.app-avatar-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #004BFC, #60A5FA);
}

/* App Body: Sidebar + Main Content */
.app-body {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  background: #F8FAFC;
  min-height: 25rem;
}

@media (max-width: 860px) {
  .app-body {
    grid-template-columns: 1fr;
  }
  .app-sidebar {
    display: none;
  }
}

/* App Sidebar */
.app-sidebar {
  background: #FFFFFF;
  border-right: 1px solid #E2E8F0;
  padding: 1.1rem .85rem;
}

.app-sidebar-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  color: var(--brand-900);
  margin-bottom: 1.25rem;
  padding-left: .4rem;
}

.app-sidebar-logo .brand-mark {
  width: 20px;
  height: 20px;
}

.app-nav-label {
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94A3B8;
  padding-left: .5rem;
  margin-bottom: .4rem;
  display: block;
}

.app-nav-menu {
  list-style: none;
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: 0;
}

.app-nav-menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .6rem;
  border-radius: 6px;
  color: #475569;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.app-nav-menu a .icon {
  width: .95rem;
  height: .95rem;
  color: #94A3B8;
}

.app-nav-menu a.active {
  background: #EFF6FF;
  color: #004BFC;
}

.app-nav-menu a.active .icon {
  color: #004BFC;
}

.app-nav-menu a:hover:not(.active) {
  background: #F1F5F9;
  color: var(--brand-900);
}

/* Main Dashboard Area */
.app-main {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Dashboard Header Row */
.app-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-header-row h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-900);
  margin: 0 0 .15rem;
  letter-spacing: -0.01em;
}

.app-sub-text {
  font-size: .75rem;
  color: #64748B;
  margin: 0;
}

.app-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  font-size: .6875rem;
  font-weight: 700;
}

.app-status-indicator .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

/* 3 Clean Metric Cards */
.app-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .app-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.app-metric-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: .85rem 1rem;
}

.app-metric-label {
  font-size: .6875rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: .35rem;
}

.app-metric-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.app-metric-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: -0.02em;
}

.app-metric-trend {
  font-size: .6875rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: 4px;
}

.trend-up { background: #ECFDF5; color: #059669; }
.trend-down { background: #EFF6FF; color: #1D4ED8; }
.trend-neutral { background: #F1F5F9; color: #475569; }

/* Clean Data Table Card */
.app-table-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}

.app-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.app-table-header h3 {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--brand-900);
  margin: 0;
}

.app-table-link {
  font-size: .75rem;
  font-weight: 600;
  color: #004BFC;
  text-decoration: none;
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .75rem;
}

.app-table th {
  background: #F8FAFC;
  color: #64748B;
  font-weight: 600;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .5rem 1rem;
  text-align: left;
  border-bottom: 1px solid #E2E8F0;
}

.app-table th.num, .app-table td.num {
  text-align: right;
}

.app-table td {
  padding: .65rem 1rem;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
}

.app-table tr:last-child td {
  border-bottom: 0;
}

.table-id {
  font-family: monospace;
  font-weight: 700;
  color: #004BFC;
}

.table-amount {
  font-family: monospace;
  font-weight: 700;
  color: var(--brand-900);
}

.table-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .6875rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 999px;
}

.table-pill-success { background: #ECFDF5; color: #059669; }
.table-pill-info { background: #EFF6FF; color: #1D4ED8; }
.table-pill-warning { background: #FFF7ED; color: #C2410C; }

/* Module cards */
.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 1000px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mods { grid-template-columns: 1fr; } }
.mod { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem 1.4rem; background: #fff; border: 1px solid var(--border-200); border-radius: 14px; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
@media (hover: hover) { .mod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #BFDBFE; } }
.mod:hover { color: inherit; }
.mod .ico { margin: 0; width: 46px; height: 46px; border-radius: 12px; border: 0; box-shadow: none; }
.mod .ico .icon { width: 22px; height: 22px; }
.mod h3 { font-size: 1.0625rem; margin-bottom: .3rem; padding-right: 1.5rem; }
.mod p { margin: 0; font-size: .9375rem; color: var(--text-600); line-height: 1.5; }
.mod > .icon { position: absolute; top: 1.35rem; right: 1.25rem; color: #94A3B8; width: 1.1rem; height: 1.1rem; transition: transform .2s, color .2s; }
.mod:hover > .icon { color: var(--brand-700); transform: translateX(3px); }
.ico--green { background: #D1FAE5; color: #047857; }
.ico--blue { background: #DBEAFE; color: #1D4ED8; }
.ico--orange { background: #FFEDD5; color: #C2410C; }
.ico--purple { background: #EDE9FE; color: #6D28D9; }
.ico--pink { background: #FCE7F3; color: #BE185D; }
.ico--teal { background: #CCFBF1; color: #0F766E; }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 1000px) { .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .inds { grid-template-columns: 1fr; } }
.ind { display: block; background: #fff; border: 1px solid var(--border-200); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
@media (hover: hover) { .ind:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.ind:hover { color: inherit; }
.ind-media { position: relative; display: flex; align-items: center; justify-content: center; height: 9.5rem; color: rgba(255, 255, 255, .95); }
.ind-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 15%, rgba(255, 255, 255, .28), transparent 45%), radial-gradient(rgba(255, 255, 255, .2) 1px, transparent 1.6px) 0 0 / 16px 16px; }
.ind-media .icon { position: relative; width: 56px; height: 56px; stroke-width: 1.3; }
.im1 { background: linear-gradient(135deg, #0B172E, #004BFC); }
.im2 { background: linear-gradient(135deg, #1E3A5F, #3B82F6); }
.im3 { background: linear-gradient(135deg, #B45309, #F59E0B); }
.im4 { background: linear-gradient(135deg, #5B21B6, #8B5CF6); }
.ind-body { padding: 1rem 1.15rem 1.2rem; }
.ind-body h3 { font-size: 1.0625rem; margin-bottom: .3rem; }
.ind-body p { margin: 0; font-size: .9375rem; color: var(--text-600); line-height: 1.5; }

/* Workflow: Order Document & Execution */
.flow2 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 960px) {
  .flow2 { grid-template-columns: 1fr; }
}

.so-wrap {
  width: 100%;
}

.so-doc {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 
    0 25px 60px -15px rgba(11, 23, 46, 0.12),
    0 0 0 1px rgba(11, 23, 46, 0.04);
}

.so-doc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.so-doc-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: -0.015em;
  margin-bottom: .2rem;
}

.so-doc-subtitle {
  font-size: .75rem;
  color: #64748B;
}

.so-doc-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Stepper */
.so-stepper-wrap {
  margin-bottom: 1.25rem;
}

.so-stepper {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  padding: 0;
  margin: 0;
}

.so-stepper::before {
  content: "";
  position: absolute;
  top: .6rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #E2E8F0;
  z-index: 0;
}

.so-stepper li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .4rem;
}

.step-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all .2s;
}

.step-dot .icon {
  width: .7rem;
  height: .7rem;
}

.so-stepper li.done .step-dot {
  background: #004BFC;
  border-color: #004BFC;
}

.so-stepper li.now .step-dot {
  background: #FFFFFF;
  border-color: #004BFC;
  box-shadow: 0 0 0 3px #DBEAFE;
}

.step-text {
  font-size: .6875rem;
  font-weight: 700;
  color: #64748B;
  white-space: nowrap;
}

.so-stepper li.done .step-text {
  color: #004BFC;
}

/* Meta Strip */
.so-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: .85rem 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 1rem;
}

.so-meta-col {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.so-meta-lbl {
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #94A3B8;
}

.so-meta-val {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--brand-900);
}

.text-brand {
  color: #004BFC !important;
}

.text-right {
  text-align: right;
}

/* Line Items Table */
.so-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.so-doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .75rem;
}

.so-doc-table th {
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748B;
  padding: .5rem .6rem;
  border-bottom: 1px solid #E2E8F0;
  text-align: left;
}

.so-doc-table td {
  padding: .6rem .6rem;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  font-size: .75rem;
}

.so-doc-table .nowrap {
  white-space: nowrap;
}

.so-doc-table .batch-code {
  font-family: monospace;
  font-size: .6875rem;
  color: #004BFC;
  font-weight: 700;
}

.so-doc-table .num {
  text-align: right;
  font-family: monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.so-doc-table tfoot td {
  padding-top: .75rem;
  border-bottom: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-900);
}

/* Structured General Ledger Card */
.so-ledger-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: .85rem 1rem;
}

.so-ledger-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .6rem;
}

.so-ledger-title {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .6875rem;
  font-weight: 700;
  color: var(--brand-900);
}

.so-ledger-title .icon {
  width: .85rem;
  height: .85rem;
  color: #004BFC;
}

.so-ledger-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .625rem;
  font-weight: 700;
  color: #059669;
}

.so-ledger-badge .icon {
  width: .75rem;
  height: .75rem;
}

.so-ledger-entries {
  display: grid;
  gap: .35rem;
  font-size: .6875rem;
}

.so-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #475569;
}

.so-ledger-row .num {
  font-family: monospace;
  font-size: .6875rem;
  color: var(--brand-900);
  font-weight: 700;
}

.tag-dr {
  display: inline-block;
  padding: .05rem .3rem;
  border-radius: 3px;
  background: #DBEAFE;
  color: #1D4ED8;
  font-weight: 800;
  font-size: .5625rem;
  margin-right: .4rem;
}

.tag-cr {
  display: inline-block;
  padding: .05rem .3rem;
  border-radius: 3px;
  background: #FEF3C7;
  color: #92400E;
  font-weight: 800;
  font-size: .5625rem;
  margin-right: .4rem;
}

/* Tick List */
.tick-list {
  list-style: none;
  display: grid;
  gap: 1.15rem;
  margin: 1.75rem 0 2.25rem;
  padding: 0;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-weight: 600;
  color: var(--brand-900);
  font-size: 1.05rem;
  line-height: 1.45;
}

.tick-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #EFF6FF;
  color: #004BFC;
  flex-shrink: 0;
  margin-top: .1rem;
}

.tick-ico .icon {
  width: .9rem;
  height: .9rem;
}

/* Stats band */
.stats { background: var(--brand-900); color: #fff; padding-block: 2.25rem; }
.stats-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat { display: flex; align-items: center; gap: 1rem; }
.stat .ico { margin: 0; width: 52px; height: 52px; border-radius: 50%; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span.lbl { display: block; font-size: .9rem; color: #CBD5E1; line-height: 1.35; font-weight: 500; }

/* Why choose */
.whys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (max-width: 1000px) { .whys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .whys { grid-template-columns: 1fr; } }
.why { display: flex; gap: .9rem; align-items: flex-start; }
.why .ico { margin: 0; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid #BFDBFE; color: var(--brand-700); }
.why h3 { font-size: 1.0625rem; margin-bottom: .3rem; font-weight: 700; letter-spacing: -0.015em; }
.why p { margin: 0; font-size: .9375rem; color: var(--text-600); line-height: 1.5; }

/* CTA card */
.cta-card { position: relative; overflow: hidden; text-align: center; padding: clamp(2.5rem, 5vw, 3.75rem) 1.5rem; border: 1px solid #BFDBFE; border-radius: 22px; background: linear-gradient(120deg, #EFF6FF, #F8FAFC 55%, #EFF6FF); }
.cta-card::before, .cta-card::after { content: ""; position: absolute; width: 11rem; height: 11rem; border-radius: 2.2rem; background: linear-gradient(135deg, rgba(0, 75, 252, .18), rgba(253, 153, 33, .12)); transform: rotate(18deg); }
.cta-card::before { left: -3rem; bottom: -4.5rem; }
.cta-card::after { right: -3rem; top: -4.5rem; transform: rotate(-18deg); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { margin: 0 auto .9rem; max-width: 24ch; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
.cta-card p { max-width: 36rem; margin: 0 auto 1.75rem; color: var(--text-600); font-size: 1.0625rem; line-height: 1.6; }
.cta-card .row { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }

/* Footer */
.footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer-tag { margin-bottom: .6rem; color: #FD9921; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-about { grid-column: 1 / -1; } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { padding: .35rem 0; }

/* Enterprise Trust Bar */
.trust-strip { background: var(--surface-0); border-bottom: 1px solid var(--border-200); padding-block: 1.2rem; }
.trust-strip-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.5rem; font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--brand-900); }
.trust-item { display: inline-flex; align-items: center; gap: .55rem; }
.trust-item .icon { width: 1.25rem; height: 1.25rem; color: var(--brand-700); flex: none; }

/* Comparison Table */
.compare-box { background: #fff; border: 1px solid var(--border-200); border-radius: 14px; overflow-x: auto; box-shadow: 0 4px 20px rgba(11, 23, 46, 0.05); margin-top: 2rem; -webkit-overflow-scrolling: touch; }
.compare-box table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .95rem; }
.compare-box th, .compare-box td { padding: 1.15rem 1.4rem; text-align: left; border-bottom: 1px solid var(--border-200); vertical-align: middle; }
.compare-box thead th { background: var(--surface-50); font-family: var(--font-display); font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-600); }
.compare-box thead th.hi-col { background: #EFF6FF; color: var(--brand-700); border-bottom: 2px solid var(--brand-700); font-weight: 800; }
.compare-box td.hi-col { background: rgba(239, 246, 255, .5); font-weight: 600; color: var(--brand-900); }
.compare-box tbody tr:last-child td { border-bottom: 0; }
.compare-box tbody tr:hover td { background-color: #F8FAFC; }
.compare-box tbody tr:hover td.hi-col { background-color: #EFF6FF; }
.tag-pro { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand-700); font-weight: 700; }
.tag-con { display: inline-flex; align-items: center; gap: .4rem; color: var(--text-600); }

/* Enterprise Mockup Enhancements */
.entity-select { display: inline-flex; align-items: center; gap: .35rem; font-size: .625rem; font-weight: 700; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); padding: .2rem .55rem; border-radius: 6px; }
.audit-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .5625rem; font-weight: 700; padding: .15rem .45rem; border-radius: 4px; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
