:root {
  --violet: #660099;
  --violet-dark: #351052;
  --magenta: #e0007a;
  --cyan: #00a6d6;
  --green: #2fb344;
  --gold: #f5b700;
  --ink: #1f1f29;
  --muted: #676173;
  --line: #e9e4ef;
  --soft: #f7f4fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(38, 13, 61, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--violet);
  border-radius: 50%;
  font-weight: 800;
  font-size: 18px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: #40384d;
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--violet);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.6fr);
  align-items: end;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 64px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(35, 3, 56, 0.96) 0%, rgba(74, 9, 106, 0.82) 42%, rgba(30, 10, 46, 0.18) 100%),
    url("assets/showroom-hero.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 166, 214, 0.28), transparent 22%),
    radial-gradient(circle at 63% 76%, rgba(224, 0, 122, 0.24), transparent 24%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--green), var(--gold));
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--magenta);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff91cf;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
}

.primary-action {
  color: var(--violet-dark);
  background: var(--white);
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.hero-panel {
  display: grid;
  gap: 14px;
  max-width: 380px;
  justify-self: end;
}

.hero-panel div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: 32px;
}

.hero-panel span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
}

.showcase,
.solutions-section {
  padding: clamp(44px, 6vw, 86px) clamp(20px, 5vw, 72px);
}

.showcase {
  background:
    linear-gradient(180deg, var(--soft), #ffffff 74%);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 0.96;
  letter-spacing: 0;
}

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

.showcase-card {
  appearance: none;
  border: 0;
  text-align: left;
  font: inherit;
  min-height: 260px;
  padding: 24px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(102, 0, 153, 0.96), rgba(50, 12, 78, 0.96)),
    var(--violet);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.showcase-card:nth-child(2n) {
  background:
    linear-gradient(145deg, rgba(0, 126, 164, 0.96), rgba(35, 16, 82, 0.96)),
    var(--cyan);
}

.showcase-card:nth-child(3n) {
  background:
    linear-gradient(145deg, rgba(224, 0, 122, 0.96), rgba(75, 11, 81, 0.96)),
    var(--magenta);
}

.showcase-card span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--violet-dark);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-weight: 900;
}

.showcase-card h3 {
  margin: 28px 0 12px;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: 0;
}

.showcase-card p,
.showcase-card small,
.showcase-card strong {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.showcase-card p {
  margin: 0 0 14px;
}

.showcase-card small {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
}

.showcase-card strong {
  font-size: 14px;
}

.showcase-card:hover,
.showcase-card:focus-visible {
  filter: saturate(1.08);
  outline: none;
  transform: translateY(-4px);
  box-shadow: 0 30px 76px rgba(38, 13, 61, 0.22);
}

.search {
  display: grid;
  width: min(100%, 430px);
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  text-transform: none;
}

.search input:focus {
  border-color: var(--violet);
  outline: 3px solid rgba(102, 0, 153, 0.14);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  color: #40384d;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover {
  color: var(--white);
  background: var(--violet);
  border-color: var(--violet);
}

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

.solution-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 318px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(37, 20, 51, 0.06);
}

.solution-card.featured {
  border-color: rgba(102, 0, 153, 0.32);
  box-shadow: var(--shadow);
}

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

.solution-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  border-radius: 8px;
  font-weight: 900;
}

.tag {
  padding: 7px 10px;
  color: var(--violet);
  background: #f0e4f7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.solution-card h3 {
  margin: 22px 0 10px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.card-meta li {
  padding: 7px 9px;
  color: #4e465c;
  background: var(--soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.card-link {
  color: var(--white);
  background: var(--violet);
}

.card-link.disabled {
  color: #6d6278;
  background: #eee8f3;
  cursor: default;
}

.card-link:hover:not(.disabled),
.primary-action:hover {
  transform: translateY(-1px);
}

.empty-state {
  display: none;
  padding: 26px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
  text-align: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #6f697a;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .showcase-grid,
  .solution-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    justify-self: start;
    width: min(100%, 520px);
    margin-top: 40px;
  }

  .showcase-grid,
  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero h1 {
    font-size: 42px;
  }

  .showcase-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
