:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-soft: #090f21;
  --bg-elevated: rgba(8, 15, 31, 0.72);
  --surface: rgba(11, 18, 38, 0.8);
  --surface-strong: rgba(12, 20, 45, 0.92);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.24);
  --text: #e8eef9;
  --muted: #9aa8c2;
  --muted-strong: #c5d0e2;
  --accent: #74d5ff;
  --accent-2: #a78bfa;
  --accent-3: #30d5c8;
  --success: #4ade80;
  --warning: #fbbf24;
  --shadow: 0 20px 60px rgba(1, 6, 20, 0.55);
  --shadow-soft: 0 12px 40px rgba(1, 6, 20, 0.35);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(116, 213, 255, 0.18), transparent 24%),
    radial-gradient(circle at 84% 6%, rgba(167, 139, 250, 0.22), transparent 26%),
    radial-gradient(circle at 50% 85%, rgba(48, 213, 200, 0.1), transparent 24%),
    linear-gradient(180deg, #050816 0%, #070c1b 55%, #04070f 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

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

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 70;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.88), rgba(5, 8, 22, 0.6));
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.nav-wrap.is-scrolled {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 40px rgba(1, 6, 20, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  padding: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

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

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(116, 213, 255, 0.18), rgba(167, 139, 250, 0.18));
  text-decoration: none;
  font-weight: 650;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.mobile-nav-panel {
  display: none;
}

.hero {
  position: relative;
  padding: 80px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(116, 213, 255, 0.08), rgba(167, 139, 250, 0.08));
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  max-width: 12ch;
}

.hero-lead {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
  will-change: transform;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #031018;
  background: linear-gradient(135deg, #d6fbff 0%, #a5b4fc 45%, #7dd3fc 100%);
  box-shadow: 0 18px 40px rgba(116, 213, 255, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-strong);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-small {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.meta-pill strong {
  display: block;
  font-size: 0.95rem;
}

.meta-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-visual {
  position: relative;
}

.glass-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top left, rgba(116, 213, 255, 0.2), transparent 32%),
    radial-gradient(circle at bottom right, rgba(167, 139, 250, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(13, 19, 38, 0.92), rgba(8, 12, 26, 0.88));
  box-shadow: var(--shadow);
}

.glass-panel::before,
.glass-panel::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.glass-panel::before {
  width: 210px;
  height: 210px;
  top: -60px;
  right: -40px;
  background: rgba(116, 213, 255, 0.18);
}

.glass-panel::after {
  width: 240px;
  height: 240px;
  left: -100px;
  bottom: -70px;
  background: rgba(167, 139, 250, 0.16);
}

.hero-card {
  padding: 22px;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.45);
}

.hero-screenshot {
  margin-top: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(5, 8, 22, 0.8);
  overflow: hidden;
}

.mini-window {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.window-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mock-panel {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  padding: 14px;
}

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

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

.metric {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  font-size: 1.1rem;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.mock-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-row strong {
  font-size: 0.95rem;
}

.mock-row span {
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding: 84px 0;
  scroll-margin-top: 96px;
}

.section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.section-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.35rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 65ch;
}

.section-shell {
  padding: 26px;
  border-radius: calc(var(--radius-xl) + 8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(5, 8, 22, 0.76);
  box-shadow: var(--shadow-soft);
}

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

.card-grid.products {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

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

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

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

.info-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.info-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -30px auto;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.info-card:hover::after {
  opacity: 1;
}

.info-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.info-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.info-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 650;
}

.info-status[data-tone="emerald"] {
  color: #bbf7d0;
}

.info-status[data-tone="sky"] {
  color: #bae6fd;
}

.info-status[data-tone="violet"] {
  color: #ddd6fe;
}

.info-status[data-tone="amber"] {
  color: #fde68a;
}

.info-status[data-tone="slate"] {
  color: #cbd5e1;
}

.feature-list {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.card-footer {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.84rem;
}

.icon-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(116, 213, 255, 0.12), rgba(167, 139, 250, 0.12));
  color: #eff6ff;
  flex: none;
}

.icon-mark svg {
  width: 26px;
  height: 26px;
}

.solutions-grid .info-card {
  min-height: 320px;
}

.solution-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.solution-features .chip {
  background: rgba(255, 255, 255, 0.04);
}

.portfolio-card .mockup {
  margin: 0 0 18px;
}

.mockup-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 12px;
}

.mockup-shell .chrome {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mockup-shell .chrome span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mockup-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  min-height: 208px;
}

.mockup-sidebar,
.mockup-main {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.mockup-sidebar {
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.mockup-main {
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.mockup-metric {
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mockup-metric strong {
  display: block;
  font-size: 0.92rem;
}

.mockup-metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.stack-bars {
  display: grid;
  gap: 9px;
}

.stack-bar {
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.stack-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(116, 213, 255, 0.85), rgba(167, 139, 250, 0.9));
}

.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-pill {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.timeline-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.timeline-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #031018;
  font-weight: 800;
  background: linear-gradient(135deg, #d6fbff 0%, #a5b4fc 100%);
}

.timeline-step strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 1.05rem;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.reason-pill {
  padding: 16px 14px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-weight: 600;
}

.testimonial-card {
  min-height: 220px;
}

.testimonial-card .quote {
  margin-top: 10px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.testimonial-card .attribution {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  font-weight: 650;
  letter-spacing: -0.02em;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
}

.faq-item.is-open .faq-question .chev {
  transform: rotate(180deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
}

.contact-card {
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top left, rgba(116, 213, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(167, 139, 250, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-soft);
}

.contact-copy {
  display: grid;
  gap: 14px;
}

.contact-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  letter-spacing: -0.05em;
}

.contact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

.contact-point strong {
  display: block;
}

.contact-point span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

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

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

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

.field label {
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(116, 213, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(116, 213, 255, 0.1);
  background: rgba(0, 0, 0, 0.24);
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.solutions-showcase,
.portfolio-featured {
  display: grid;
  gap: 18px;
}

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

.portfolio-featured {
  grid-template-columns: 1fr;
}

.solution-card {
  display: grid;
  gap: 16px;
}

.solution-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  justify-content: space-between;
}

.solution-card .info-title {
  margin-bottom: 0;
}

.solution-preview {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at top left, rgba(116, 213, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  padding: 14px;
}

.solution-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  min-height: 460px;
}

.solution-sidebar,
.solution-main {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.solution-sidebar {
  display: grid;
  gap: 14px;
  padding: 14px;
  align-content: start;
}

.solution-sidebar-top strong,
.solution-main-top h3,
.project-summary-card h3 {
  display: block;
  margin-top: 8px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.solution-nav {
  display: grid;
  gap: 8px;
}

.solution-nav a {
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--muted-strong);
  text-decoration: none;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
}

.solution-nav a.is-active {
  border-color: rgba(116, 213, 255, 0.28);
  background: rgba(116, 213, 255, 0.08);
  color: var(--text);
}

.solution-metrics {
  display: grid;
  gap: 10px;
}

.solution-metric {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.solution-metric span,
.project-summary-card p {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.solution-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.solution-main {
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(10, 16, 33, 0.9), rgba(255, 255, 255, 0.02));
}

.solution-main-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.solution-view-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.solution-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.solution-chart-card,
.solution-table-card {
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

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

.mini-chart {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-height: 160px;
}

.mini-bar {
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 100%;
}

.mini-bar span {
  display: block;
  min-height: 24px;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(180deg, rgba(116, 213, 255, 0.9), rgba(167, 139, 250, 0.82));
}

.mini-bar strong {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.solution-table {
  display: grid;
  gap: 8px;
}

.solution-table-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-bottom {
  margin-top: 12px;
}

.activity-feed {
  display: grid;
  gap: 10px;
}

.activity-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.activity-item strong {
  display: block;
  font-size: 0.92rem;
}

.activity-item p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 5px;
  background: linear-gradient(180deg, #67e8f9, #a78bfa);
  box-shadow: 0 0 0 6px rgba(103, 232, 249, 0.08);
}

.project-preview {
  margin-bottom: 16px;
}

.project-preview-shell {
  padding: 14px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(167, 139, 250, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.project-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.project-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.project-preview-window .mockup-shell {
  min-height: 100%;
}

.project-preview-aside {
  display: grid;
  gap: 12px;
}

.project-summary-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.project-results,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.result-pill {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.86rem;
}

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

.reason-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(116, 213, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-soft);
}

.reason-index {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.reason-card strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.reason-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px 0 22px;
}

.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 36rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
}

.footer-grid a {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer {
  padding: 22px 0 34px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 60ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 120ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 300ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 360ms; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 420ms; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 480ms; }

.demo-shell {
  padding: 36px 0 84px;
}

.demo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
  padding: 44px 0 24px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 18px;
}

.demo-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.demo-summary {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.75;
}

.demo-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.demo-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  margin-top: 24px;
}

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

.demo-side .section-shell,
.demo-main .section-shell {
  padding: 22px;
}

.demo-feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.demo-feature-list li {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.demo-viewport {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top left, rgba(116, 213, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(167, 139, 250, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  padding: 18px;
  box-shadow: var(--shadow);
}

.demo-viewport .mockup-layout {
  min-height: 300px;
}

.demo-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .card-grid.products,
  .card-grid.solutions,
  .card-grid.portfolio,
  .reasons-grid,
  .solutions-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .contact-grid,
  .demo-hero,
  .demo-body {
    grid-template-columns: 1fr;
  }

  .solution-shell,
  .project-preview-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .nav {
    min-height: 76px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-nav-panel {
    display: grid;
    gap: 14px;
    padding: 0 0 20px;
  }

  .mobile-nav-panel[hidden] {
    display: none;
  }

  .mobile-nav-panel a {
    padding: 12px 0;
    color: var(--muted-strong);
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .card-grid.products,
  .card-grid.solutions,
  .card-grid.portfolio,
  .card-grid.triple,
  .card-grid.double,
  .solutions-showcase,
  .reasons-grid,
  .field-grid,
  .footer-grid,
  .project-preview-grid,
  .solution-dashboard,
  .mock-grid {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .timeline-step::before {
    width: 50px;
    height: 50px;
  }

  .demo-shell {
    padding-top: 16px;
  }

  .solution-shell {
    min-height: auto;
  }

  .solution-main-top,
  .project-preview-header,
  .solution-card-top {
    flex-direction: column;
  }

  .solution-table-row {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    padding-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.is-transitioning #dashboardApp {
  opacity: 0.72;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.quick-actions-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.quick-action-card {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  color: var(--text);
}

.quick-action-card strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.quick-action-card span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.timeline-card {
  padding: 20px;
}

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

.timeline-row {
  display: grid;
  grid-template-columns: 60px 10px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}

.timeline-time {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.timeline-bullet {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.03);
}

.timeline-bullet.success { background: var(--success); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.12); }
.timeline-bullet.danger { background: #fb7185; box-shadow: 0 0 0 6px rgba(251, 113, 133, 0.12); }
.timeline-bullet.blue { background: #67e8f9; box-shadow: 0 0 0 6px rgba(103, 232, 249, 0.12); }
.timeline-bullet.green { background: #4ade80; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.12); }

.timeline-copy strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.timeline-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.health-chip {
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.health-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.health-chip strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.priority-badge,
.sla-badge,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.priority-badge.p1,
.priority-badge.high {
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.08);
}

.priority-badge.p2,
.priority-badge.medium {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.08);
}

.priority-badge.p3,
.priority-badge.low {
  color: #bae6fd;
  background: rgba(103, 232, 249, 0.08);
}

.sla-badge.success { color: #bbf7d0; background: rgba(74, 222, 128, 0.08); }
.sla-badge.warn { color: #fde68a; background: rgba(251, 191, 36, 0.08); }
.sla-badge.danger { color: #fecdd3; background: rgba(251, 113, 133, 0.08); }

.badge.unread {
  min-width: 26px;
  background: linear-gradient(135deg, #67e8f9, #a78bfa);
  color: #031018;
}

.badge.muted {
  color: var(--muted);
}

.presence {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.03);
}

.presence.online {
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.12);
}

.presence.offline {
  background: #94a3b8;
  box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.09);
}

.inbox-meta,
.row-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.typing-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.typing-label {
  color: var(--muted);
  font-size: 0.86rem;
}

.typing-dots {
  display: inline-flex;
  gap: 5px;
}

.typing-dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #67e8f9;
  animation: pulseDot 1s infinite ease-in-out;
}

.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes pulseDot {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-3px); opacity: 1; }
}

.command-palette,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.palette-backdrop,
.modal-backdrop::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(2, 6, 23, 0.66);
  backdrop-filter: blur(18px);
}

.palette-panel {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  margin: 10vh auto 0;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(12, 20, 45, 0.98), rgba(5, 8, 22, 0.98));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.palette-search input {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 18px;
}

.palette-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.palette-results {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  max-height: 54vh;
  overflow: auto;
  padding-right: 2px;
}

.palette-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
}

.palette-result strong {
  display: block;
}

.palette-result span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.palette-result.is-active,
.palette-result:hover {
  background: rgba(103, 232, 249, 0.08);
  border-color: rgba(103, 232, 249, 0.22);
}

.palette-empty {
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 140;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 24px));
}

.toast {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 8, 22, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.toast strong {
  display: block;
}

.toast p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.toast-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 5px;
  background: #67e8f9;
  box-shadow: 0 0 0 6px rgba(103, 232, 249, 0.12);
}

.toast-success .toast-dot { background: #4ade80; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.12); }
.toast-info .toast-dot { background: #67e8f9; }
.toast-danger .toast-dot { background: #fb7185; }

.modal-backdrop {
  display: grid;
  place-items: center;
}

.modal-card {
  position: relative;
  width: min(720px, calc(100vw - 24px));
  padding: 24px;
}

.modal-copy {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

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

.modal-card-row {
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.modal-card-row strong {
  display: block;
  font-size: 0.98rem;
}

.modal-card-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.dash-skeleton {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.skeleton-line,
.skeleton-card {
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
}

.skeleton-line {
  height: 12px;
}

.skeleton-line.w-28 { width: 28%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.h-lg { height: 18px; }

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

.skeleton-card {
  height: 118px;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (max-width: 1180px) {
  .quick-actions-row,
  .health-grid,
  .modal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .palette-panel {
    margin-top: 8vh;
  }
}

@media (max-width: 760px) {
  .quick-actions-row,
  .health-grid,
  .modal-grid,
  .skeleton-grid {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    grid-template-columns: 54px 10px minmax(0, 1fr);
  }

  .toast-stack {
    right: 12px;
    left: 12px;
    width: auto;
  }

  .palette-panel {
    width: calc(100vw - 20px);
    margin-top: 6vh;
    padding: 14px;
  }

  .modal-card {
    width: calc(100vw - 20px);
    padding: 18px;
  }
}

/* Customer support platform demo */
.demo-dashboard {
  background:
    radial-gradient(circle at 18% 12%, rgba(103, 232, 249, 0.12), transparent 20%),
    radial-gradient(circle at 82% 8%, rgba(167, 139, 250, 0.14), transparent 18%),
    linear-gradient(180deg, #050816 0%, #040714 100%);
}

.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;
}

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

.dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px 20px;
  background: rgba(5, 8, 22, 0.7);
  backdrop-filter: blur(26px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 12px 12px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-brand strong {
  display: block;
  font-size: 0.98rem;
}

.dash-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.dash-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.dash-nav-item {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted-strong);
  text-align: left;
  padding: 13px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.dash-nav-item:hover,
.dash-nav-item.is-active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
  transform: translateX(2px);
}

.dash-sidebar-footer {
  display: grid;
  gap: 12px;
}

.dash-status-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dash-status-card strong {
  display: block;
}

.dash-status-card span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

.dash-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 4px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.12);
}

.dash-main-wrap {
  min-width: 0;
}

.dash-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 26px;
  backdrop-filter: blur(26px);
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.82), rgba(5, 8, 22, 0.56));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-menu-btn {
  display: none;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dash-title-block h1 {
  margin: 4px 0 4px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.dash-title-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dash-eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
}

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

.dash-search {
  position: relative;
  width: min(340px, 36vw);
}

.dash-search input {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.icon-button {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  background: linear-gradient(135deg, #fda4af, #fb7185);
  color: #18060a;
  font-size: 0.7rem;
  font-weight: 800;
}

.dash-profile-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

.dash-profile-chip span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.24), rgba(167, 139, 250, 0.22));
  font-weight: 800;
  font-size: 0.82rem;
}

.dash-profile-chip strong,
.dash-profile-chip small {
  display: block;
}

.dash-profile-chip small {
  color: var(--muted);
}

.dash-mobile-nav {
  display: none;
  padding: 0 18px 18px;
  gap: 8px;
}

.dash-content {
  padding: 26px;
}

.page-grid {
  display: grid;
  gap: 18px;
}

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

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

.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-panel,
.chart-card,
.side-stack,
.chat-window,
.agent-card,
.profile-card,
.kb-card,
.channel-card,
.glass-subcard {
  padding: 20px;
}

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

.panel-head.compact {
  margin-bottom: 14px;
}

.panel-kicker {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.panel-head h2,
.panel-head h3 {
  margin: 8px 0 8px;
  letter-spacing: -0.04em;
}

.panel-head p {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.7;
}

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

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

.stat-card {
  padding: 16px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.stat-card small {
  display: block;
  margin-top: 6px;
  color: var(--success);
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: chartDraw 1.2s ease forwards;
}

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}

.bar-chart {
  display: grid;
  gap: 14px;
}

.bar-row {
  display: grid;
  gap: 8px;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bar-meta strong {
  font-size: 0.94rem;
}

.bar-meta span {
  color: var(--muted);
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  animation: barGrow 800ms ease forwards;
}

@keyframes barGrow {
  from { width: 0; }
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill.green { color: #bbf7d0; }
.pill.blue { color: #bae6fd; }
.pill.warn { color: #fde68a; }
.pill.danger { color: #fecdd3; }
.pill.muted { color: #cbd5e1; }
.pill.success { color: #86efac; }

.insight-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.table-card,
.customer-table,
.conversation-list,
.notification-list,
.kb-grid,
.workflow,
.toggle-list,
.channel-grid {
  display: grid;
  gap: 12px;
}

.table-card {
  overflow-x: auto;
}

.ticket-table {
  width: 100%;
  border-collapse: collapse;
}

.ticket-table th,
.ticket-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.ticket-table th {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.ticket-table td {
  color: var(--text);
}

.ticket-table.compact-table th,
.ticket-table.compact-table td {
  white-space: nowrap;
}

.live-grid {
  grid-template-columns: 290px minmax(0, 1.1fr) 280px;
}

.inbox-row,
.conversation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
}

.inbox-row {
  text-align: left;
  cursor: pointer;
}

.inbox-row strong,
.conversation-row strong {
  display: block;
}

.inbox-row span,
.conversation-row span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.86rem;
}

.inbox-row.active,
.conversation-row.active {
  border-color: rgba(103, 232, 249, 0.28);
  background: rgba(103, 232, 249, 0.06);
}

.conversation-right {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.chat-thread {
  display: grid;
  gap: 12px;
  padding: 18px 0;
}

.message {
  max-width: 82%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.message.customer {
  justify-self: start;
  background: rgba(255, 255, 255, 0.04);
}

.message.bot {
  justify-self: start;
  background: rgba(103, 232, 249, 0.07);
  border-color: rgba(103, 232, 249, 0.15);
}

.message.agent {
  justify-self: end;
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.16);
}

.message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.message p {
  margin: 0;
  line-height: 1.7;
}

.composer {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-btn {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.composer-box {
  display: grid;
  gap: 10px;
}

.composer-box span {
  color: var(--muted-strong);
  font-size: 0.86rem;
}

.composer-box textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
}

.composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.metric-row,
.notification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.metric-row span,
.notification-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.metric-row strong {
  font-size: 0.98rem;
}

.glass-subcard {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.glass-subcard p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.customer-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) auto 1.2fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.customer-main strong,
.customer-meta strong {
  display: block;
}

.customer-main span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.customer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.customer-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.customer-meta strong {
  margin-top: 4px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.kb-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.kb-card strong {
  display: block;
  font-size: 1rem;
}

.kb-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.kb-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.gap-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.9;
}

.agent-card strong {
  display: block;
  font-size: 1.15rem;
  margin-top: 14px;
}

.agent-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 8px 0 0;
}

.agent-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.agent-index {
  color: var(--muted);
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

.agent-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.agent-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.agent-stats strong {
  margin-top: 4px;
}

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

.workflow-step {
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  line-height: 1.6;
}

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

.funnel-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.funnel-step span {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.funnel-step strong {
  display: block;
}

.funnel-step small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.donut {
  width: 100%;
  min-height: 320px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0 32%, transparent 33%),
    conic-gradient(var(--accent) calc(var(--value) * 1%), rgba(255, 255, 255, 0.07) 0);
}

.donut > div {
  width: 190px;
  height: 190px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(5, 8, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.donut strong {
  display: block;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
}

.donut span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  text-align: center;
}

.notification-row {
  justify-content: flex-start;
}

.notif-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.25), rgba(167, 139, 250, 0.2));
  flex: none;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.toggle-row span {
  color: var(--muted-strong);
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: #67e8f9;
}

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

.channel-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.channel-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.28), rgba(167, 139, 250, 0.22));
  font-size: 1.4rem;
  font-weight: 800;
}

.profile-field {
  padding: 16px;
}

.profile-field span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.profile-field strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.is-switching {
  opacity: 0.72;
}

.dash-nav-item:focus-visible,
.btn:focus-visible,
.icon-button:focus-visible,
.dash-menu-btn:focus-visible,
.chip-btn:focus-visible,
.inbox-row:focus-visible,
.dash-search input:focus-visible {
  outline: 2px solid rgba(103, 232, 249, 0.7);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, 88vw);
    transform: translateX(-100%);
    transition: transform 240ms ease;
    z-index: 80;
  }

  .dash-sidebar.is-open {
    transform: translateX(0);
  }

  .dash-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dash-topbar {
    padding-inline: 18px;
  }

  .dash-search {
    width: min(300px, 48vw);
  }

  .dash-mobile-nav {
    display: grid;
  }

  .stat-grid,
  .dual-grid,
  .triple-grid,
  .live-grid,
  .kb-grid,
  .channel-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .dash-topbar {
    flex-wrap: wrap;
  }

  .dash-topbar-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .dash-search {
    width: 100%;
  }

  .dash-profile-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .dash-content {
    padding: 18px;
  }

  .hero-panel,
  .chart-card,
  .side-stack,
  .chat-window,
  .agent-card,
  .profile-card,
  .kb-card,
  .channel-card,
  .glass-subcard {
    padding: 16px;
  }

  .stat-card strong {
    font-size: 1.6rem;
  }

  .message {
    max-width: 92%;
  }
}
