:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #dfe6ef;
  --paper: #ffffff;
  --wash: #f4f7fb;
  --blue: #0d83f2;
  --blue-deep: #1458c8;
  --red: #f04438;
  --teal: #11a99a;
  --green: #13a66f;
  --gold: #d99816;
  --violet: #6d5dfc;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.10);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.top-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold), var(--red), var(--violet));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 230, 239, 0.84);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0) 45%),
    linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 8px 18px rgba(13, 131, 242, 0.24);
}

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

.brand span:last-child {
  font-size: 20px;
}

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

.nav-links a {
  padding: 9px 10px;
  border-radius: 7px;
  color: #344054;
  font-weight: 650;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue-deep);
  background: #eef6ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  cursor: pointer;
}

.menu-button svg,
.btn svg {
  width: 18px;
  height: 18px;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

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

.btn.primary {
  color: white;
  background: var(--red);
  box-shadow: 0 12px 24px rgba(240, 68, 56, 0.22);
}

.btn.secondary {
  color: var(--blue-deep);
  border-color: #bdd9ff;
  background: #f5faff;
}

.btn.dark {
  color: white;
  background: #1f2a44;
}

.btn.ghost {
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  min-height: calc(100vh - 74px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 21, 41, 0.84), rgba(8, 21, 41, 0.58) 44%, rgba(8, 21, 41, 0.16)),
    url("erponix-real-ui.png") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(180deg, rgba(8, 21, 41, 0), rgba(244, 247, 251, 1));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 22px 88px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 900;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 880;
}

h3 {
  font-size: 22px;
  font-weight: 830;
}

p {
  margin: 0;
}

.lead {
  margin-top: 18px;
  color: rgba(255,255,255,0.88);
  font-size: clamp(18px, 2.1vw, 24px);
  max-width: 710px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero .btn.secondary {
  color: white;
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 46px;
  max-width: 920px;
}

.hero-stat {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.11);
}

.hero-stat strong {
  display: block;
  color: white;
  font-size: 24px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 650;
}

.band {
  width: 100%;
  padding: 82px 22px;
}

.band.white {
  background: white;
}

.band.soft {
  background: var(--wash);
}

.band.ink {
  color: white;
  background: #111827;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.ink .section-head p {
  color: rgba(255,255,255,0.74);
}

.kicker {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

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

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

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

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.ink .card {
  border-color: rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.07);
  box-shadow: none;
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.muted {
  color: var(--muted);
}

.ink .card p,
.ink .muted {
  color: rgba(255,255,255,0.72);
}

.icon-tile {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-weight: 900;
}

.blue-bg { background: var(--blue); }
.red-bg { background: var(--red); }
.teal-bg { background: var(--teal); }
.green-bg { background: var(--green); }
.gold-bg { background: var(--gold); }
.violet-bg { background: var(--violet); }

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

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #344054;
  font-weight: 620;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--teal);
}

.ink .feature-list li {
  color: rgba(255,255,255,0.84);
}

.page-hero {
  padding: 82px 22px 64px;
  color: white;
  background:
    linear-gradient(120deg, rgba(14, 33, 62, 0.94), rgba(20, 88, 200, 0.82)),
    url("erponix-real-ui.png") center center / cover no-repeat;
}

.page-hero .container {
  display: grid;
  gap: 20px;
}

.page-hero h1 {
  font-size: clamp(38px, 5.6vw, 72px);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255,255,255,0.86);
  font-size: 20px;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.subnav a {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  color: white;
  background: rgba(255,255,255,0.10);
  font-size: 13px;
  font-weight: 800;
}

.pricing-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.pricing-toggle button {
  min-width: 118px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.pricing-toggle button.active {
  color: white;
  background: var(--blue);
}

.price-card {
  position: relative;
  display: grid;
  gap: 18px;
}

.price-card.highlight {
  border-color: rgba(240, 68, 56, 0.42);
  box-shadow: 0 20px 42px rgba(240, 68, 56, 0.12);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #eaf4ff;
  font-size: 12px;
  font-weight: 900;
}

.badge.red {
  color: #9f1f18;
  background: #ffe9e6;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price strong {
  font-size: 42px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 750;
}

.annual-note {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f6f9fd;
  color: #344054;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

td strong {
  display: block;
  margin-bottom: 4px;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 800;
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: white;
  outline: none;
}

textarea {
  min-height: 124px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 131, 242, 0.12);
}

.form-message {
  display: none;
  padding: 12px;
  border: 1px solid #b8ebd8;
  border-radius: 8px;
  color: #075e43;
  background: #ecfff7;
  font-weight: 750;
}

.form-message.show {
  display: block;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border: 0;
  background: white;
  color: var(--ink);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-question span:last-child {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  flex: 0 0 auto;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question span:last-child {
  background: var(--red);
}

.video-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.mock-player {
  min-height: 430px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.12)),
    url("erponix-real-ui.png") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.player-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  color: white;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.92));
}

.player-overlay h2 {
  font-size: clamp(24px, 3vw, 38px);
}

.player-controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

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

.timeline button {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-align: left;
  cursor: pointer;
}

.timeline button.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 131, 242, 0.10);
}

.timeline strong {
  display: block;
}

.timeline span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.slides {
  display: grid;
  gap: 18px;
}

.slide {
  min-height: 360px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 46px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, #10223f, #1458c8 54%, #11a99a);
}

.slide:nth-child(2n) {
  background: linear-gradient(135deg, #111827, #f04438 58%, #d99816);
}

.slide p {
  max-width: 760px;
  color: rgba(255,255,255,0.84);
  font-size: 20px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
}

.legal-nav a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #344054;
  font-weight: 750;
}

.legal-doc {
  display: grid;
  gap: 18px;
}

.legal-doc section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.legal-doc h2 {
  font-size: 28px;
}

.legal-doc h3 {
  margin-top: 16px;
  margin-bottom: 8px;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
}

.legal-doc ul,
.legal-doc ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.sources {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 46px 22px;
  color: white;
  background: #101828;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) repeat(4, minmax(120px, 0.5fr));
  gap: 26px;
}

.footer-grid h3,
.footer-grid strong {
  margin-bottom: 10px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255,255,255,0.72);
}

.footer-grid a {
  display: block;
  margin-top: 7px;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 980px;
  margin: 0 auto;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.cookie-banner.show {
  display: grid;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links.open {
    position: fixed;
    inset: 66px 14px auto;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }

  .hero-stats,
  .grid.four,
  .grid.three,
  .grid.two,
  .form-shell,
  .video-stage,
  .legal-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero-inner {
    padding-top: 70px;
  }

  .band {
    padding: 58px 18px;
  }

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

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

  .slide {
    padding: 28px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.nav-links .language-switcher {
  display: none;
}

.language-switcher select {
  width: auto;
  min-width: 122px;
  height: 40px;
  padding: 0 32px 0 10px;
  border-radius: 8px;
  background-color: white;
  font-size: 13px;
  font-weight: 780;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .hero {
  background:
    linear-gradient(270deg, rgba(8, 21, 41, 0.84), rgba(8, 21, 41, 0.58) 44%, rgba(8, 21, 41, 0.16)),
    url("erponix-real-ui.png") center center / cover no-repeat;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .nav-shell,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .feature-list li,
html[dir="rtl"] .price,
html[dir="rtl"] .cookie-actions,
html[dir="rtl"] .player-controls,
html[dir="rtl"] .subnav {
  flex-direction: row-reverse;
}

html[dir="rtl"] th,
html[dir="rtl"] td,
html[dir="rtl"] .timeline button,
html[dir="rtl"] .faq-question {
  text-align: right;
}

html[dir="rtl"] .language-switcher select {
  padding: 0 10px 0 32px;
}

@media (max-width: 980px) {
  .nav-links.open .language-switcher {
    display: grid;
    gap: 7px;
    padding: 9px 10px;
  }

  .nav-links.open .language-switcher select {
    width: 100%;
  }
}

/* Live ERP product proof refresh */
.hero {
  background:
    linear-gradient(90deg, rgba(5, 13, 31, 0.91), rgba(5, 13, 31, 0.68) 45%, rgba(5, 13, 31, 0.20)),
    url("erp-live-dashboard.png") center top / cover no-repeat;
}

.hero-copy {
  max-width: 780px;
}

.hero-stats {
  max-width: 1050px;
}

.hero-stat {
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.product-proof {
  padding-top: 72px;
  border-bottom: 1px solid var(--line);
}

.interface-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.interface-panel {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.interface-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  background: var(--wash);
}

.interface-panel.wide img {
  aspect-ratio: 16 / 10;
}

.interface-panel figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
}

.interface-panel figcaption strong {
  font-size: 18px;
}

.interface-panel figcaption span {
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 900px) {
  .interface-grid {
    grid-template-columns: 1fr;
  }

  .interface-panel img,
  .interface-panel.wide img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 13, 31, 0.94), rgba(5, 13, 31, 0.72) 58%, rgba(5, 13, 31, 0.30)),
      url("erp-live-dashboard.png") left top / cover no-repeat;
  }

  .interface-panel figcaption {
    padding: 14px;
  }
}
html[dir="rtl"] .hero {
  background:
    linear-gradient(270deg, rgba(5, 13, 31, 0.91), rgba(5, 13, 31, 0.68) 45%, rgba(5, 13, 31, 0.20)),
    url("erp-live-dashboard.png") center top / cover no-repeat;
}
/* Erponix brand assets and services experience */
.brand {
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 178px;
  object-fit: contain;
}

.site-footer .brand-logo {
  height: 36px;
  max-width: 154px;
}

.service-suite {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(13, 131, 242, 0.12), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(231, 73, 103, 0.10), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f6fafe 100%);
}

.service-suite::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 131, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 131, 242, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
  animation: gridDrift 18s linear infinite;
  pointer-events: none;
}

.service-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-aura span {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(13, 131, 242, 0.14);
  border-radius: 999px;
  opacity: 0.75;
  animation: serviceFloat 9s ease-in-out infinite;
}

.service-aura span:nth-child(1) { left: 8%; top: 18%; }
.service-aura span:nth-child(2) { right: 12%; top: 28%; animation-delay: -3s; border-color: rgba(231, 73, 103, 0.16); }
.service-aura span:nth-child(3) { left: 44%; bottom: 8%; animation-delay: -6s; border-color: rgba(5, 167, 128, 0.16); }

.service-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  --accent: var(--blue);
  --accent-2: var(--teal);
  position: relative;
  min-width: 0;
  min-height: 286px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(211, 221, 235, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.07);
  backdrop-filter: blur(14px);
  animation: serviceRise 700ms ease both;
  animation-delay: var(--delay);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.service-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -72px;
  bottom: -78px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent), transparent 68%);
  opacity: 0.9;
  transition: transform 220ms ease, opacity 220ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 42%, rgba(211, 221, 235, 0.9));
  box-shadow: 0 24px 58px rgba(16, 24, 40, 0.12);
}

.service-card:hover::after {
  transform: scale(1.2) translate(-10px, -8px);
  opacity: 1;
}

.service-card.finance { --accent: #0d83f2; --accent-2: #03a9f4; }
.service-card.sales { --accent: #e74967; --accent-2: #ff7a59; }
.service-card.web { --accent: #3478a7; --accent-2: #00b8d9; }
.service-card.ops { --accent: #7470a2; --accent-2: #8b5cf6; }
.service-card.people { --accent: #5b5f91; --accent-2: #3f8cff; }
.service-card.service { --accent: #e35f3e; --accent-2: #ffb020; }
.service-card.marketing { --accent: #ff6b35; --accent-2: #f04438; }
.service-card.ai { --accent: #754668; --accent-2: #12b76a; }

.service-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}

.service-glyph {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 45%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 22%, transparent);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
}

.service-count {
  display: inline-flex;
  width: max-content;
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
  font-size: 12px;
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  color: #182230;
  font-size: 19px;
  line-height: 1.18;
}

.service-pills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-pills li {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(211, 221, 235, 0.9);
  border-radius: 999px;
  color: #344054;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.15;
  overflow-wrap: anywhere;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-card:hover .service-pills li {
  border-color: color-mix(in srgb, var(--accent) 22%, rgba(211, 221, 235, 0.9));
  background: white;
}

.service-card:hover .service-pills li:nth-child(even) {
  transform: translateY(-2px);
}

.service-flow {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid rgba(211, 221, 235, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.06);
}

.service-flow span {
  position: relative;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #0b65b8;
  background: #eaf4ff;
  font-size: 13px;
  font-weight: 900;
}

.service-flow span::after {
  content: "";
  position: absolute;
  right: -8px;
  width: 8px;
  height: 2px;
  background: rgba(13, 131, 242, 0.42);
  animation: servicePulse 1300ms ease-in-out infinite;
}

.service-flow span:last-of-type::after {
  display: none;
}

.service-flow p {
  flex: 1 1 280px;
  margin: 0 0 0 8px;
  color: var(--muted);
  font-weight: 720;
}

@keyframes serviceRise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes serviceFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, -18px, 0) scale(1.08); }
}

@keyframes servicePulse {
  0%, 100% { opacity: 0.28; transform: scaleX(0.7); }
  50% { opacity: 0.9; transform: scaleX(1.12); }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 44px 44px, 44px 44px; }
}

@media (max-width: 1080px) {
  .service-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .brand-logo {
    height: 36px;
    max-width: 150px;
  }

  .service-map {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-flow {
    align-items: flex-start;
  }

  .service-flow p {
    flex-basis: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-suite::before,
  .service-aura span,
  .service-card,
  .service-flow span::after {
    animation: none;
  }
}