/* Demo 8 — ERP suite corporate UI */

:root {
  --ax-bg: #ffffff;
  --ax-ink: #1a1f36;
  --ax-muted: #5b6478;
  --ax-line: #e7ebf3;
  --ax-mint: #63d3a6;
  --ax-mint-dark: #47c191;
  --ax-navy: #1a1f36;
  --ax-lavender: #e8e9ff;
  --ax-soft: #f7f8fc;
  --ax-radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ax-bg);
  color: var(--ax-ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.ax-wrap { width: min(1140px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Header */
.ax-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,235,243,.65);
}
.ax-header__inner {
  display: flex; align-items: center; gap: 1.1rem;
  min-height: 78px;
}
.ax-logo img { height: 40px; width: auto; }
.ax-logo--text {
  font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em;
  font-style: italic; color: var(--ax-navy);
}
.ax-nav {
  display: flex; gap: 1.25rem; margin-left: auto; margin-right: .35rem;
  flex-wrap: wrap; align-items: center;
}
.ax-nav a {
  font-size: .9rem; font-weight: 500; color: #2c3348;
}
.ax-nav a:hover, .ax-nav a.is-active { color: var(--ax-mint-dark); }
.ax-ico {
  font-family: "Material Symbols Outlined", sans-serif;
  font-weight: normal; font-style: normal;
  font-size: 28px; line-height: 1;
  display: inline-block; color: var(--ax-mint);
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  user-select: none;
}
.ax-ico--sm { font-size: 22px; flex: 0 0 auto; }
.ax-ico--lg { font-size: 32px; margin: 0 auto .35rem; display: block; }
.ax-ico--xl { font-size: 72px; }
.ax-ico--core { font-size: 30px; color: var(--ax-mint); margin: 0 auto .1rem; display: block; }
.ax-header__actions { display: flex; gap: .55rem; align-items: center; }

/* Buttons */
.ax-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  border-radius: 999px; padding: .58rem 1.1rem;
  font-size: .86rem; font-weight: 700; border: 1.5px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.ax-btn--lg { padding: .82rem 1.45rem; font-size: .94rem; }
.ax-btn--mint { background: var(--ax-mint); color: #fff; }
.ax-btn--mint:hover { background: var(--ax-mint-dark); }
.ax-btn--outline {
  background: transparent; color: var(--ax-mint-dark);
  border-color: var(--ax-mint);
}
.ax-btn--outline:hover { background: rgba(99,211,166,.08); }
.ax-btn--ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.35);
}
.ax-btn--ghost-light:hover { background: rgba(255,255,255,.08); }

/* Hero */
.ax-hero {
  position: relative; overflow: hidden;
  padding: 2.4rem 0 3.2rem; text-align: center;
  background: #ffffff;
  min-height: min(96vh, 920px);
  display: flex; align-items: center;
}
.ax-glow {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.ax-glow--a {
  width: 560px; height: 560px; left: -4%; bottom: -10%;
  background: radial-gradient(circle, rgba(167,243,208,.45), transparent 70%);
}
.ax-glow--b {
  width: 620px; height: 620px; right: -8%; bottom: -18%;
  background: radial-gradient(circle, rgba(196,198,255,.55), transparent 70%);
}
.ax-glow--c {
  width: 420px; height: 420px; left: 50%; top: -60px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(196,198,255,.45), transparent 70%);
}
.ax-grid {
  position: absolute; inset: 8% 10% 28%;
  background-image:
    linear-gradient(rgba(148,163,184,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.14) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 18%, transparent 72%);
  transform: perspective(900px) rotateX(58deg);
  transform-origin: center top;
  opacity: .55; pointer-events: none;
}
.ax-hero__inner { position: relative; width: 100%; }
.ax-pill {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--ax-mint);
  color: var(--ax-mint-dark);
  border-radius: 999px; padding: .32rem .88rem;
  font-size: .8rem; font-weight: 700; margin-bottom: 1rem;
  background: rgba(255,255,255,.75);
}
.ax-hero h1 {
  margin: 0 auto; max-width: 14ch;
  font-size: clamp(2.5rem, 6.2vw, 4.15rem);
  line-height: 1.05; letter-spacing: -.04em; font-weight: 800;
  color: var(--ax-navy);
}
.ax-hero__ctas {
  display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap;
  margin-top: 1.35rem;
}

/* Hero isometric dashboard mock */
.ax-hero__stage {
  perspective: 1600px;
  margin: 1.6rem auto 0;
  max-width: 980px;
  padding: 0 .5rem 1rem;
}
.ax-dash {
  position: relative;
  transform: rotateX(14deg) rotateZ(-4deg) rotateY(6deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 30px 50px rgba(26,31,54,.14));
  animation: ax-dash-bob 7s ease-in-out infinite;
}
@keyframes ax-dash-bob {
  0%, 100% { transform: rotateX(14deg) rotateZ(-4deg) rotateY(6deg) translateY(0); }
  50% { transform: rotateX(14deg) rotateZ(-4deg) rotateY(6deg) translateY(-8px); }
}
.ax-dash__shell {
  display: grid; grid-template-columns: 148px 1fr;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  min-height: 420px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 24px 60px rgba(79,70,229,.08);
}
.ax-dash__side {
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border-right: 1px solid #e8edf5;
  padding: .7rem .55rem;
  font-size: .58rem; color: #64748b;
}
.ax-dash__brand {
  display: flex; gap: .25rem; margin: .15rem .2rem .55rem;
}
.ax-dash__brand span {
  width: 10px; height: 10px; border-radius: 3px; background: #63d3a6;
}
.ax-dash__brand span:last-child { background: #6366f1; width: 28px; }
.ax-dash__side ul { list-style: none; margin: 0; padding: 0; }
.ax-dash__side li {
  display: flex; align-items: center; gap: .35rem;
  padding: .22rem .3rem; border-radius: 6px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.ax-dash__side li:nth-child(2) { background: #e0e7ff; color: #3730a3; font-weight: 700; }
.ax-dash__side i {
  width: 8px; height: 8px; border-radius: 2px; flex: 0 0 auto;
  background: var(--c);
}
.ax-dash__main { display: flex; flex-direction: column; min-width: 0; }
.ax-dash__toolbar {
  display: flex; gap: .7rem; padding: .55rem .85rem;
  border-bottom: 1px solid #eef2f7; font-size: .62rem; color: #64748b; font-weight: 600;
}
.ax-dash__body {
  display: grid; grid-template-columns: 1.15fr .95fr; gap: .65rem;
  padding: .65rem; flex: 1;
}
.ax-dash__left, .ax-dash__right { display: grid; gap: .65rem; align-content: start; }
.ax-dash__panel {
  background: #fff; border: 1px solid #e8edf5; border-radius: 12px;
  padding: .55rem .6rem .65rem;
  box-shadow: 0 8px 20px rgba(15,23,42,.04);
}
.ax-dash__panel h4 {
  margin: 0 0 .45rem; font-size: .68rem; color: #334155; letter-spacing: -.01em;
}
.ax-dash__kanban {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem;
}
.ax-dash__col header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .55rem; font-weight: 700; color: #64748b; margin-bottom: .3rem;
}
.ax-dash__col header span {
  background: #eef2ff; color: #4f46e5; border-radius: 999px;
  padding: 0 .28rem; font-size: .5rem;
}
.ax-dash__col article {
  background: #f8fafc; border: 1px solid #eef2f7; border-radius: 8px;
  padding: .35rem .4rem; margin-bottom: .28rem;
}
.ax-dash__col article b {
  display: block; font-size: .52rem; color: #1e293b; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ax-dash__dots { display: flex; gap: 3px; margin-top: .25rem; }
.ax-dash__dots i {
  width: 5px; height: 5px; border-radius: 50%; background: #c7d2fe;
}
.ax-dash__dots i:first-child { background: #6366f1; }
.ax-dash__gantt { display: grid; gap: .35rem; }
.ax-dash__gantt-row {
  display: grid; grid-template-columns: 42px 1fr; gap: .35rem; align-items: center;
}
.ax-dash__gantt-row span { font-size: .52rem; color: #64748b; }
.ax-dash__gantt-row b {
  position: relative; height: 10px; border-radius: 999px; background: #eef2ff;
  display: block;
}
.ax-dash__gantt-row b::after {
  content: ""; position: absolute; left: var(--x); width: var(--w); top: 0; bottom: 0;
  border-radius: 999px; background: linear-gradient(90deg, #818cf8, #6366f1);
}
.ax-dash__gantt-row b.is-alt::after {
  background: linear-gradient(90deg, #67e8f9, #0ea5e9);
}
.ax-dash__legend {
  display: flex; gap: .55rem; margin-bottom: .3rem; font-size: .5rem; color: #64748b;
}
.ax-dash__legend i {
  display: inline-block; width: 10px; height: 2px; margin-right: .2rem; vertical-align: middle;
}
.ax-dash__legend .s { background: #6366f1; }
.ax-dash__legend .p { background: #2dd4bf; }
.ax-dash__legend .m { background: #a78bfa; }
.ax-dash__line { width: 100%; height: 88px; display: block; }
.ax-dash__months {
  display: flex; justify-content: space-between; font-size: .48rem; color: #94a3b8; margin-top: .15rem;
}
.ax-dash__bars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; height: 92px; align-items: end;
}
.ax-dash__bars > div {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; align-items: end; height: 100%;
  position: relative; padding-bottom: 14px;
}
.ax-dash__bars i {
  display: block; height: var(--h); border-radius: 3px 3px 1px 1px; background: #67e8f9;
}
.ax-dash__bars i:nth-child(2) { background: #60a5fa; }
.ax-dash__bars i:nth-child(3) { background: #818cf8; }
.ax-dash__bars label {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  font-size: .46rem; color: #64748b; white-space: nowrap;
}

/* Floating KPI cards */
.ax-dash__float {
  position: absolute; background: rgba(255,255,255,.94);
  border: 1px solid rgba(226,232,240,.95); border-radius: 14px;
  padding: .55rem .7rem .65rem;
  box-shadow: 0 18px 40px rgba(26,31,54,.14);
  backdrop-filter: blur(8px); text-align: left;
  animation: ax-kpi 5.5s ease-in-out infinite;
}
.ax-dash__float small {
  display: block; font-size: .62rem; color: #64748b; margin-top: .2rem;
}
.ax-dash__float strong {
  display: block; font-size: 1.15rem; letter-spacing: -.03em; color: #1e1b4b; margin-top: .1rem;
}
.ax-dash__float em { font-style: normal; font-size: .7rem; color: #64748b; font-weight: 600; }
.ax-dash__tag {
  display: inline-block; font-size: .52rem; font-weight: 700;
  border-radius: 999px; padding: .12rem .4rem;
}
.ax-dash__tag--violet { background: #ede9fe; color: #6d28d9; }
.ax-dash__tag--pink { background: #fce7f3; color: #db2777; }
.ax-dash__tag--teal { background: #ccfbf1; color: #0f766e; }
.ax-dash__float--tasks { left: 18%; top: -18px; z-index: 4; animation-delay: 0s; }
.ax-dash__float--cost { right: 22%; top: 8px; z-index: 5; animation-delay: .4s; }
.ax-dash__float--duration { left: 8%; top: 42%; z-index: 5; animation-delay: .8s; }
.ax-dash__float--total {
  right: 6%; bottom: 18%; z-index: 5; animation-delay: 1.1s;
  padding: .7rem .85rem;
}
.ax-dash__float--total strong { font-size: 1.45rem; }
@keyframes ax-kpi {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Sections */
.ax-section { padding: 4.4rem 0; }
.ax-section--soft { background: var(--ax-soft); }
.ax-section--navy {
  background: linear-gradient(160deg, #12172a 0%, #1a2340 55%, #151d33 100%);
  color: #e8ecf7;
}
.ax-head { max-width: 720px; margin-bottom: 1.9rem; }
.ax-head--center { text-align: center; margin-inline: auto; }
.ax-head h2, .ax-split h2, .ax-cta h2 {
  margin: .2rem 0 0; font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  line-height: 1.15; letter-spacing: -.025em; font-weight: 800;
}
.ax-head p, .ax-muted { color: var(--ax-muted); }
.ax-muted-light { color: #b7c0d4; }
.ax-kicker {
  margin: 0 0 .55rem; font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ax-mint-dark);
}
.ax-kicker--mint { color: var(--ax-mint); }
.ax-split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
}

/* Sectors */
.ax-sectors {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
}
.ax-sector {
  display: block; background: #fff; border: 1px solid var(--ax-line);
  border-radius: 20px; padding: 1.3rem 1.15rem 1.4rem;
  box-shadow: 0 10px 30px rgba(26,31,54,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ax-sector:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26,31,54,.08); }
.ax-sector__ico {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: color-mix(in srgb, var(--sector) 16%, #fff);
  margin-bottom: .9rem;
}
.ax-sector__ico .ax-ico { font-size: 28px; color: var(--sector); }
.ax-sector h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.ax-sector p { margin: 0; color: var(--ax-muted); font-size: .92rem; }
.ax-sector .ax-link { display: inline-block; margin-top: .85rem; }
.ax-sectors--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ax-sector--lg { padding: 1.6rem 1.4rem; }

/* Agent */
.ax-agent-tabs {
  display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0 1.25rem;
}
.ax-agent-tabs button {
  border: 1px solid var(--ax-line); background: #fff; color: #475569;
  border-radius: 999px; padding: .45rem .85rem; font-size: .82rem; font-weight: 650;
  cursor: pointer;
}
.ax-agent-tabs button.is-active,
.ax-agent-tabs button:hover {
  border-color: var(--ax-mint); color: var(--ax-mint-dark); background: #f2fcf7;
}
.ax-agent {
  background: #fff; border: 1px solid var(--ax-line); border-radius: 20px;
  padding: 1.2rem; box-shadow: 0 18px 40px rgba(26,31,54,.08);
}
.ax-agent__top {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; color: #64748b; margin-bottom: .8rem;
}
.ax-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ax-mint);
  box-shadow: 0 0 0 4px rgba(99,211,166,.2);
}
.ax-agent__prompt {
  background: #f4f7ff; border-radius: 14px; padding: .95rem 1rem;
  font-size: .95rem; color: #334155;
}
.ax-agent__out {
  margin-top: .75rem; padding: .75rem 1rem; border-radius: 14px;
  background: #ecfdf5; color: #047857; font-weight: 600; font-size: .9rem;
}

/* Apps constellation (orbital) */
.ax-section--apps {
  background-image:
    linear-gradient(rgba(148,163,184,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.1) 1px, transparent 1px);
  background-size: 48px 48px;
}
.ax-constellation {
  --r: min(38vw, 260px);
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 1;
  margin: 1.5rem auto 0;
}
.ax-constellation__rings {
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(148,163,184,.28);
  background:
    radial-gradient(circle, transparent 42%, rgba(148,163,184,.16) 42.5%, transparent 43%),
    radial-gradient(circle, transparent 62%, rgba(148,163,184,.14) 62.5%, transparent 63%);
  pointer-events: none;
}
.ax-constellation__lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.ax-constellation__lines line {
  stroke: rgba(99,211,166,.45); stroke-width: 1.5;
}
.ax-constellation__core {
  position: absolute; left: 50%; top: 50%;
  width: 148px; height: 148px; margin: -74px 0 0 -74px;
  border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: .15rem;
  background: radial-gradient(circle at 35% 30%, #3b4578, #151a36 68%);
  box-shadow: 0 0 0 10px rgba(99,211,166,.1), 0 18px 50px rgba(21,26,54,.28);
  color: #fff; z-index: 2;
}
.ax-constellation__core img {
  width: 34px; height: 34px; margin: 0 auto .1rem;
}
.ax-constellation__core strong { font-size: .95rem; letter-spacing: -.02em; }
.ax-constellation__core em {
  font-style: normal; font-size: .68rem; letter-spacing: .12em;
  color: #a8b3d4; text-transform: uppercase;
}
.ax-node {
  position: absolute; left: 50%; top: 50%;
  width: 88px; margin-left: -44px; margin-top: -52px;
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
  text-align: center; z-index: 3;
}
.ax-node__tile {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto .4rem;
  background: #fff; border-radius: 16px;
  border: 1px solid #e8edf5;
  box-shadow: 0 10px 28px rgba(26,31,54,.1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ax-node:hover .ax-node__tile {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26,31,54,.14);
}
.ax-node__tile .ax-ico { font-size: 30px; }
.ax-node__label {
  display: block; font-size: .78rem; font-weight: 700; color: var(--ax-navy);
}
.ax-apps__note {
  text-align: center; color: var(--ax-muted); margin: 1.2rem 0 0; font-size: .92rem;
}
.ax-apps__cta { text-align: center; margin: .7rem 0 0; }

/* Sovereignty / pillars / engines */
.ax-hl { color: var(--ax-mint); }
.ax-split--sovereignty { align-items: stretch; margin-bottom: 2rem; }
.ax-pillars { display: grid; gap: .75rem; }
.ax-pillar {
  display: flex; gap: .85rem; align-items: flex-start;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 1rem 1.05rem;
}
.ax-pillar h4 { margin: 0 0 .3rem; font-size: .98rem; color: #fff; }
.ax-pillar p { margin: 0; color: #b7c0d4; font-size: .88rem; }
.ax-engines__label {
  margin: 0 0 .85rem; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: #9aa6c0; text-align: center;
}
.ax-engines {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .65rem;
}
.ax-engine {
  position: relative;
  border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.18);
  color: #dbe3f3; border-radius: 16px; padding: 1rem .7rem .9rem;
  text-align: center; cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.ax-engine strong { display: block; font-size: .92rem; color: #fff; }
.ax-engine span:last-child { font-size: .72rem; color: #9aa6c0; }
.ax-engine__logo {
  display: block; width: 34px; height: 34px; margin: 0 auto .45rem;
  object-fit: contain;
}
.ax-engine__check {
  position: absolute; top: .45rem; right: .45rem;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: .65rem;
  background: var(--ax-mint); color: #fff; opacity: 0;
}
.ax-engine.is-active {
  border-color: var(--ax-mint); background: rgba(99,211,166,.1);
}
.ax-engine.is-active .ax-engine__check { opacity: 1; }

/* No-code */
.ax-nocode-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.ax-nocode {
  display: block; background: #fff; border: 1px solid var(--ax-line);
  border-radius: 18px; padding: 1.4rem 1.25rem;
  box-shadow: 0 12px 28px rgba(26,31,54,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ax-nocode .ax-ico { margin-bottom: .75rem; }
.ax-nocode:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(26,31,54,.08); }
.ax-nocode h3 { margin: 0 0 .5rem; }
.ax-nocode p { margin: 0 0 1rem; color: var(--ax-muted); }
.ax-link { color: var(--ax-mint-dark); font-weight: 700; font-size: .9rem; }

/* Portal */
.ax-checks { margin: 1rem 0 1.3rem; padding: 0; list-style: none; }
.ax-checks li {
  position: relative; padding: .35rem 0 .35rem 1.5rem; color: #334155;
}
.ax-checks li::before {
  content: "✓"; position: absolute; left: 0; color: var(--ax-mint-dark); font-weight: 800;
}
.ax-portal-card { display: grid; gap: .8rem; }
.ax-portal-card__item {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--ax-line); border-radius: 16px;
  padding: 1.1rem 1.2rem; box-shadow: 0 14px 30px rgba(26,31,54,.06);
}
.ax-portal-card__item b { display: block; margin-bottom: .2rem; }
.ax-portal-card__item span { color: var(--ax-muted); font-size: .9rem; }

/* Cases / news */
.ax-cases, .ax-news-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.ax-case, .ax-news {
  display: block; background: #fff; border: 1px solid var(--ax-line); border-radius: 18px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ax-case:hover, .ax-news:hover {
  transform: translateY(-3px); box-shadow: 0 16px 34px rgba(26,31,54,.07);
}
.ax-case__media { height: 160px; overflow: hidden; background: #eef2ff; }
.ax-case__media img { width: 100%; height: 100%; object-fit: cover; }
.ax-case__body, .ax-news { padding: 1.1rem 1.15rem 1.25rem; }
.ax-case__body span, .ax-news__tag {
  display: inline-block; font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ax-mint-dark);
  margin-bottom: .45rem;
}
.ax-case h3, .ax-news h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.ax-case p, .ax-news p { margin: 0; color: var(--ax-muted); font-size: .92rem; }

/* Page chrome */
.ax-page-hero {
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, #f8f9ff, #fff);
}
.ax-page-hero h1 {
  margin: .2rem 0 .7rem; font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.03em; line-height: 1.12;
}
.ax-page-hero__art {
  display: grid; place-items: center; min-height: 220px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--sector, #63d3a6) 35%, #fff), transparent 55%),
    linear-gradient(145deg, #eef2ff, #ecfdf5);
  border: 1px solid var(--ax-line);
}
.ax-page-hero__art--app { --sector: #63d3a6; }
.ax-prose { max-width: 760px; }
.ax-prose h2 { margin: 0 0 .8rem; letter-spacing: -.02em; }
.ax-prose p { color: var(--ax-muted); }
.ax-prices {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.ax-price {
  background: #fff; border: 1px solid var(--ax-line); border-radius: 20px;
  padding: 1.5rem 1.35rem; box-shadow: 0 12px 28px rgba(26,31,54,.04);
}
.ax-price h3 { margin: 0 0 .25rem; }
.ax-price__tag { margin: 0; font-weight: 700; color: var(--ax-mint-dark); }
.ax-price .ax-btn { width: 100%; margin-top: .5rem; }
.ax-form--page {
  max-width: 560px; grid-template-columns: 1fr 1fr;
}
.ax-form--page textarea,
.ax-form--page button { grid-column: 1 / -1; }
.ax-form textarea {
  border: 1px solid var(--ax-line); border-radius: 12px;
  padding: .8rem .95rem; background: #fff; resize: vertical;
}

/* FAQ */
.ax-faq-wrap { max-width: 820px; }
.ax-faq {
  background: #fff; border: 1px solid var(--ax-line); border-radius: 14px;
  padding: .2rem 1rem; margin-bottom: .65rem;
}
.ax-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; padding: .95rem 0; font-weight: 700;
}
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq__plus {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ax-line);
  display: grid; place-items: center; color: var(--ax-mint-dark); flex: 0 0 auto;
}
.ax-faq[open] .ax-faq__plus { background: var(--ax-mint); color: #fff; border-color: var(--ax-mint); }
.ax-faq p { margin: 0 0 1rem; color: var(--ax-muted); }

/* CTA */
.ax-cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 4rem 0; background: linear-gradient(180deg, #f7f8ff, #fff);
}
.ax-cta h2 { margin: 0 auto .55rem; max-width: 18ch; }
.ax-cta p { margin: 0 auto 1.4rem; color: var(--ax-muted); max-width: 48ch; }
.ax-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: .65rem;
  max-width: 640px; margin-inline: auto;
}
.ax-form input {
  border: 1px solid var(--ax-line); border-radius: 12px;
  padding: .8rem .95rem; background: #fff;
}
.ax-form button { grid-column: 1 / -1; }

/* Inner pages */
.ax-page { padding: 3.5rem 0 4rem; max-width: 760px; }
.ax-page h1 { margin: 0 0 1rem; font-size: 2.2rem; letter-spacing: -.03em; }
.ax-page p { color: var(--ax-muted); }

/* Footer */
.ax-footer {
  background: #0f172a; color: #c7cfdb; padding: 3.2rem 0 1.4rem;
}
.ax-footer__about { max-width: 720px; margin-bottom: 2rem; }
.ax-footer__brand {
  font-size: 1.35rem; font-weight: 800; color: #fff;
  font-style: italic; letter-spacing: -.02em; margin-bottom: .55rem;
}
.ax-footer__about p { margin: 0; color: #9aa4b5; font-size: .92rem; }
.ax-footer__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem;
}
.ax-footer h4 { margin: 0 0 .7rem; color: #fff; font-size: .85rem; letter-spacing: .04em; }
.ax-footer a { display: block; padding: .22rem 0; color: #9aa4b5; font-size: .9rem; }
.ax-footer a:hover { color: #fff; }
.ax-footer__legal {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #1f2937;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: #7b8698;
}

@media (max-width: 980px) {
  .ax-nav { display: none; }
  .ax-split, .ax-sectors, .ax-nocode-grid, .ax-cases, .ax-news-grid, .ax-prices { grid-template-columns: 1fr 1fr; }
  .ax-engines { grid-template-columns: repeat(3, 1fr); }
  .ax-hero { min-height: auto; padding-top: 2rem; }
  .ax-dash { transform: rotateX(10deg) rotateZ(-2deg); animation: none; }
  .ax-dash__shell { min-height: 360px; }
  .ax-dash__float--duration { display: none; }
  .ax-constellation { --r: min(34vw, 200px); }
  .ax-node { width: 72px; margin-left: -36px; }
  .ax-node__tile { width: 52px; height: 52px; border-radius: 14px; }
  .ax-constellation__core { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
}
@media (max-width: 680px) {
  .ax-wrap { width: calc(100% - 1.4rem); }
  .ax-header__actions .ax-btn--outline { display: none; }
  .ax-split, .ax-sectors, .ax-nocode-grid, .ax-cases, .ax-news-grid,
  .ax-form, .ax-form--page, .ax-footer__grid, .ax-engines, .ax-prices { grid-template-columns: 1fr; }
  .ax-dash {
    transform: none; filter: none; animation: none;
  }
  .ax-dash__shell { grid-template-columns: 1fr; min-height: 0; }
  .ax-dash__side { display: none; }
  .ax-dash__body { grid-template-columns: 1fr; }
  .ax-dash__panel--gantt, .ax-dash__float--cost, .ax-dash__float--duration { display: none; }
  .ax-dash__float--tasks { left: 4%; top: -12px; }
  .ax-dash__float--total { right: 4%; bottom: auto; top: -12px; }
  .ax-grid { display: none; }
  .ax-constellation {
    aspect-ratio: auto; height: auto; display: grid;
    grid-template-columns: repeat(3, 1fr); gap: .75rem; padding-top: 0;
  }
  .ax-constellation__rings, .ax-constellation__lines { display: none; }
  .ax-constellation__core {
    position: relative; left: auto; top: auto; margin: 0 auto 1rem;
    grid-column: 1 / -1;
  }
  .ax-node {
    position: relative; left: auto; top: auto; margin: 0; width: auto;
    transform: none;
  }
}
