/* WES Hub — Landing Enterprise */

:root {
  --blue: #005dff;
  --blue-hover: #0048cc;
  --navy: #081b3a;
  --navy-soft: #0f2a52;
  --white: #ffffff;
  --bg: #f7f9fc;
  --bg-muted: #eef2f8;
  --surface: #ffffff;
  --text: #081b3a;
  --text-soft: #4a5a73;
  --border: rgba(8, 27, 58, 0.08);
  --shadow: 0 1px 2px rgba(8, 27, 58, 0.04), 0 12px 40px rgba(8, 27, 58, 0.06);
  --shadow-lg: 0 24px 64px rgba(8, 27, 58, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Geist", "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.02em; }

p { margin: 0; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand .logo,
.footer-brand .logo {
  height: 28px;
  width: auto;
  display: block;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.nav + .header-actions {
  margin-left: 0;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 8px;
}

.mobile-nav a:hover {
  color: var(--blue);
  background: var(--bg-muted);
}

.mobile-nav .btn {
  margin-top: 0.75rem;
  text-align: center;
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .header-actions { margin-left: 0; }
  .header-actions .btn-sm { display: inline-flex; }
}

@media (max-width: 959px) {
  .header-actions .btn-sm { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  border-radius: 10px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 8px 24px rgba(0, 93, 255, 0.28);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
  color: var(--blue);
}

.btn-on-blue {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.btn-on-blue:hover {
  background: #f0f4ff;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 93, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(8, 27, 58, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-muted) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
  }
}

.hero-brand {
  margin-bottom: 1.75rem;
}

.hero-logo {
  width: min(340px, 82vw);
  height: auto;
  display: block;
}

.hero-copy h1 {
  color: var(--text);
  max-width: 16ch;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  color: var(--text-soft);
  max-width: 38ch;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Illustration */
.hero-visual {
  position: relative;
  min-height: 420px;
}

.illu-stage {
  position: relative;
  height: 100%;
  min-height: 440px;
  perspective: 1200px;
}

.illu-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle at center, rgba(0, 93, 255, 0.18), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}

.panel {
  position: absolute;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 1;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--bg-muted) 60%, transparent);
}

.panel-bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d0d7e4;
}

.panel-bar .dot:nth-child(1) { background: #ff5f57; }
.panel-bar .dot:nth-child(2) { background: #febc2e; }
.panel-bar .dot:nth-child(3) { background: #28c840; }

.panel-bar strong {
  margin-left: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

.panel-main {
  width: min(360px, 88%);
  left: 8%;
  top: 8%;
  z-index: 3;
  transform: rotateY(-6deg) rotateX(4deg);
}

.panel-body {
  padding: 1rem;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.kpi {
  background: var(--bg-muted);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
}

.kpi span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi b {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.chart {
  width: 100%;
  height: 72px;
  display: block;
}

.module-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.module-chips span {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 10%, var(--bg-muted));
  color: var(--blue);
}

.panel-book {
  width: 180px;
  right: 2%;
  top: 4%;
  z-index: 4;
  transform: rotate(3deg);
}

.book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.65rem;
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
}

.book-col div {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 0.3rem;
  align-items: center;
  margin-bottom: 0.3rem;
}

.book-col i {
  display: block;
  height: 6px;
  border-radius: 2px;
}

.bid i { background: color-mix(in srgb, #16a34a 70%, transparent); width: 100%; }
.ask i { background: color-mix(in srgb, #dc2626 70%, transparent); width: 100%; }
.bid span { color: #16a34a; }
.ask span { color: #dc2626; }
.book em { color: var(--text-soft); font-style: normal; }

.panel-ticket {
  width: 190px;
  left: 0;
  bottom: 6%;
  z-index: 5;
  transform: rotate(-4deg);
}

.ticket {
  padding: 0.75rem;
  font-size: 0.75rem;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}

.ticket-row span { color: var(--text-soft); }
.ticket-row .buy { color: #16a34a; }
.ticket-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.pill.ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border);
}

.panel-pos {
  width: 160px;
  right: 8%;
  bottom: 10%;
  z-index: 2;
  transform: rotate(2deg);
}

.pos-list {
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
}

.pos-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.pos-list li:last-child { border-bottom: none; }
.pos-list b:first-of-type,
.pos-list li b { font-weight: 700; color: #16a34a; }
.pos-list li:last-child b { color: #dc2626; }

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.float-a { animation: floatY 7s ease-in-out infinite; }
.float-b { animation: floatY 6s ease-in-out infinite 0.4s; }
.float-c { animation: floatY 8s ease-in-out infinite 0.8s; }
.float-d { animation: floatY 6.5s ease-in-out infinite 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b, .float-c, .float-d { animation: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.75rem;
}

.section-head.center,
.section-head:has(+ .audience),
.section-head:has(+ .cards-benefits) {
  /* keep left aligned for enterprise feel */
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-lead {
  margin-top: 0.85rem;
  color: var(--text-soft);
  font-size: 1.0625rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-8 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-8 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .cards-8 { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--blue) 25%, var(--border));
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 15%, transparent);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.card-lg {
  padding: 1.75rem 1.5rem;
  min-height: 160px;
}

.cards-benefits {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .cards-benefits { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
}

@media (min-width: 980px) {
  .cards-benefits { grid-template-columns: repeat(3, 1fr); }
}

.cards-security {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .cards-security { grid-template-columns: repeat(4, 1fr); }
}

/* Platform */
.platform-layout {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 1100px) {
  .platform-layout {
    grid-template-columns: 160px 1fr 180px;
    gap: 1.5rem;
  }
}

.module-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

@media (min-width: 1100px) {
  .module-rail {
    flex-direction: column;
    align-items: stretch;
  }
  .module-rail-right { align-items: stretch; }
}

.module-chip {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  transition: all 0.2s var(--ease);
}

.module-chip:hover,
.module-chip.is-active {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 40%, var(--border));
  background: color-mix(in srgb, var(--blue) 8%, var(--surface));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent);
}

.platform-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-muted);
}

.mock-dots {
  display: flex;
  gap: 0.35rem;
}

.mock-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d7e4;
}

.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }

.mock-url {
  flex: 1;
  font-size: 0.7rem;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s var(--ease);
}

.mock-screens {
  position: relative;
  min-height: 340px;
}

.mock-screen {
  display: none;
  animation: mockFade 0.35s var(--ease);
}

.mock-screen.is-active {
  display: block;
}

.mock-screen.is-active[hidden] {
  display: block;
}

@keyframes mockFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mock-screen { animation: none; }
}

.mock-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 340px;
}

.mock-sidebar {
  padding: 1rem 0.65rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: color-mix(in srgb, var(--bg-muted) 50%, var(--surface));
}

.mock-nav {
  height: 28px;
  border-radius: 8px;
  background: var(--bg-muted);
}

.mock-nav.active {
  background: color-mix(in srgb, var(--blue) 20%, var(--bg-muted));
}

.mock-main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mock-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mock-screen-head strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.mock-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: var(--bg-muted);
  color: var(--text-soft);
}

.mock-badge.live {
  color: #16a34a;
  background: color-mix(in srgb, #16a34a 12%, transparent);
}

.mock-badge.up {
  color: #16a34a;
  background: color-mix(in srgb, #16a34a 12%, transparent);
  text-transform: none;
  letter-spacing: 0;
}

.mock-badge.warn {
  color: #b45309;
  background: color-mix(in srgb, #f59e0b 16%, transparent);
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.mock-kpi {
  background: var(--bg-muted);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
}

.mock-kpi em {
  display: block;
  font-style: normal;
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.mock-kpi b {
  font-size: 0.95rem;
  color: var(--text);
}

.mock-order-table {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.mock-order-row {
  display: grid;
  grid-template-columns: 1.2fr 0.5fr 0.9fr 0.9fr;
  gap: 0.4rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: var(--bg-muted);
  font-size: 0.72rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.mock-order-row.head {
  background: transparent;
  color: var(--text-soft);
  font-weight: 600;
  padding-top: 0;
  padding-bottom: 0.15rem;
}

.mock-order-row .buy { color: #16a34a; font-weight: 700; }
.mock-order-row .sell { color: #dc2626; font-weight: 700; }
.mock-order-row .st { font-weight: 600; }
.mock-order-row .st.ok { color: #16a34a; }
.mock-order-row .st.wait { color: var(--blue); }
.mock-order-row .st.partial { color: #b45309; }

.mock-ticket-layout { gap: 1rem; }

.mock-ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mock-ticket-grid label span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-soft);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-field {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.mock-field.accent {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 30%, var(--border));
  background: color-mix(in srgb, var(--blue) 8%, var(--bg-muted));
}

.mock-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-muted);
  color: var(--text);
  border: 1px solid var(--border);
}

.mock-btn.primary {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
}

.mock-btn.ghost {
  background: transparent;
}

.mock-pos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  flex: 1;
}

.mock-pos-grid article {
  background: var(--bg-muted);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mock-pos-grid h4 {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-pos-grid b {
  font-size: 1rem;
  color: var(--text);
}

.mock-pos-grid em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-pos-grid em.up { color: #16a34a; }
.mock-pos-grid em.down { color: #dc2626; }

.mock-bar {
  margin-top: 0.45rem;
  height: 6px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--border) 80%, transparent);
  overflow: hidden;
}

.mock-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: var(--blue);
}

.mock-mid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.6rem;
  flex: 1;
}

.mock-chart {
  border-radius: 12px;
  background: var(--bg-muted);
  padding: 0.75rem;
  display: flex;
  align-items: end;
}

.mock-chart svg {
  width: 100%;
  height: 100%;
  min-height: 100px;
}

.mock-table {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mock-table div {
  flex: 1;
  border-radius: 8px;
  background: var(--bg-muted);
}

.mock-report-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mock-report-list div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: var(--bg-muted);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.mock-report-list em {
  font-style: normal;
  font-size: 0.65rem;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.mock-compliance {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.mock-check {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: var(--bg-muted);
  font-size: 0.8rem;
}

.mock-check span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #16a34a;
}

.mock-check.warn span { background: #f59e0b; }
.mock-check b { font-weight: 600; color: var(--text); }
.mock-check em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  color: #16a34a;
}
.mock-check.warn em { color: #b45309; }

.mock-integrations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  flex: 1;
}

.mock-int {
  background: var(--bg-muted);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mock-int b {
  font-size: 0.8rem;
  color: var(--text);
}

.mock-int em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
}

.mock-int em.ok { color: #16a34a; }
.mock-int em.wait { color: var(--blue); }

.mock-api-line {
  margin-top: auto;
}

.mock-api-line code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--blue) 8%, var(--bg-muted));
  color: var(--text-soft);
}

.mock-user-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.mock-user-list div {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  background: var(--bg-muted);
  font-size: 0.8rem;
}

.mock-user-list i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 35%, var(--bg-muted)), var(--bg-muted));
}

.mock-user-list em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
}

.mock-matrix {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.mock-matrix .row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 0.4rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: var(--bg-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-matrix .row.head {
  background: transparent;
  color: var(--text-soft);
  padding-bottom: 0.15rem;
}

.mock-matrix .on,
.mock-matrix .off {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  justify-self: center;
}

.mock-matrix .on {
  background: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 15%, transparent);
}

.mock-matrix .off {
  background: color-mix(in srgb, var(--border) 90%, transparent);
  border: 1px solid var(--border);
}

.mock-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
}

.mock-flow .step {
  flex: 1;
  min-width: 72px;
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  position: relative;
}

.mock-flow .step b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.7rem;
}

.mock-flow .step span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-soft);
}

.mock-flow .step.done {
  border-color: color-mix(in srgb, #16a34a 35%, var(--border));
  background: color-mix(in srgb, #16a34a 8%, var(--bg-muted));
}

.mock-flow .step.done b {
  background: #16a34a;
  color: #fff;
}

.mock-flow .step.current {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
  background: color-mix(in srgb, var(--blue) 10%, var(--bg-muted));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent);
}

.mock-flow .step.current b {
  background: var(--blue);
  color: #fff;
}

.mock-flow .step.current span,
.mock-flow .step.done span {
  color: var(--text);
}

.mock-flow-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
}

.mock-logs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.mock-logs div {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: var(--bg-muted);
  color: var(--text-soft);
}

.mock-logs em {
  font-style: normal;
  color: var(--blue);
  margin-right: 0.55rem;
}

@media (max-width: 640px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-mid { grid-template-columns: 1fr; }
  .mock-ticket-grid,
  .mock-pos-grid,
  .mock-integrations { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpis .mock-kpi:last-child { grid-column: 1 / -1; }
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.feature {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .feature-reverse .feature-copy { order: 2; }
  .feature-reverse .feature-illu { order: 1; }
}

.feature-copy h3 {
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
}

.feature-copy p {
  color: var(--text-soft);
  max-width: 40ch;
  font-size: 1.05rem;
}

.feature-illu {
  min-height: 180px;
  display: grid;
  place-items: center;
}

.fi-card {
  width: min(100%, 340px);
  min-height: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  position: relative;
}

.fi-row {
  height: 12px;
  border-radius: 6px;
  background: var(--bg-muted);
  margin-bottom: 0.65rem;
}

.fi-row.accent {
  width: 55%;
  background: color-mix(in srgb, var(--blue) 35%, var(--bg-muted));
}

.fi-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #16a34a;
  background: color-mix(in srgb, #16a34a 12%, transparent);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}

.ticket-illu span {
  display: block;
  height: 10px;
  width: 70%;
  background: var(--bg-muted);
  border-radius: 5px;
  margin-bottom: 0.75rem;
}

.ticket-illu span:nth-child(2) { width: 45%; }
.ticket-illu span:nth-child(3) { width: 60%; }

.fi-cta {
  height: 36px;
  width: 40%;
  margin-top: 1rem;
  border-radius: 8px;
  background: var(--blue);
}

.bars {
  display: flex;
  align-items: end;
  gap: 0.65rem;
  height: 140px;
  padding-bottom: 0.5rem;
}

.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--blue), color-mix(in srgb, var(--blue) 40%, var(--bg-muted)));
}

.nodes {
  position: relative;
  height: 140px;
}

.node {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.node.core {
  width: 48px;
  height: 48px;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  background: color-mix(in srgb, var(--blue) 20%, var(--surface));
  border-color: color-mix(in srgb, var(--blue) 40%, var(--border));
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--blue) 8%, transparent);
}

.n1 { left: 12%; top: 18%; }
.n2 { right: 14%; top: 22%; }
.n3 { left: 28%; bottom: 12%; }

.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
}

.code code {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: var(--bg-muted);
  color: var(--text-soft);
}

.code code:last-child {
  color: #16a34a;
  width: fit-content;
}

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  min-height: 120px;
}

.flow span {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  position: relative;
}

.flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.85rem;
  top: 50%;
  width: 0.65rem;
  height: 2px;
  background: var(--blue);
  translate: 0 -50%;
}

.roles {
  display: grid;
  gap: 0.65rem;
  align-content: center;
  height: 100%;
  min-height: 120px;
}

.roles div {
  height: 28px;
  border-radius: 8px;
  background: var(--bg-muted);
}

.roles div:nth-child(1) { width: 90%; background: color-mix(in srgb, var(--blue) 18%, var(--bg-muted)); }
.roles div:nth-child(2) { width: 70%; }
.roles div:nth-child(3) { width: 55%; }

.sign {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.75rem;
  min-height: 120px;
}

.sign-line {
  height: 2px;
  background: var(--border);
}

.sign-mark {
  width: 80px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(120deg, transparent 20%, var(--blue) 20% 28%, transparent 28% 40%, var(--blue) 40% 48%, transparent 48%);
  opacity: 0.7;
}

.logs {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
  color: var(--text-soft);
}

.logs em {
  color: var(--blue);
  font-style: normal;
  margin-right: 0.5rem;
}

.uptime {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 120px;
  gap: 0.35rem;
}

.uptime strong {
  font-size: 2.5rem;
  font-family: var(--font-display);
  color: var(--blue);
  letter-spacing: -0.04em;
}

.uptime span {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Integrations */
.integrations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .integrations { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 980px) {
  .integrations { grid-template-columns: repeat(5, 1fr); }
}

.integrations li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.integrations li:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--blue) 30%, var(--border));
}

.int-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 12%, transparent);
}

/* Audience */
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .audience { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.audience li {
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* CTA */
.cta {
  background: var(--blue);
  padding: clamp(4rem, 10vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(8, 27, 58, 0.25), transparent 55%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 640px;
}

.cta h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.cta p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.footer-brand .logo {
  width: 150px;
  height: auto;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: var(--text-soft);
  font-size: 0.9rem;
  max-width: 28ch;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-soft);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
