.home-page {
  color: var(--page-text);
}

.home-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.home-hero,
.home-section {
  position: relative;
}

.home-hero {
  overflow: hidden;
  padding: 48px 0 72px;
}

.home-hero::before,
.home-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero::before {
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 213, 246, 0.16), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(0, 128, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(0, 213, 246, 0.05), transparent 55%);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.home-eyebrow,
.home-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-hero__title,
.home-section__title {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-hero__title {
  max-width: 11ch;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
}

.home-hero__lead,
.home-section__lead {
  max-width: 880px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--page-text) 82%, transparent);
}

.home-section__lead--secondary {
  margin-top: 14px;
  font-size: 16px;
}

.home-hero__copy {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.home-hero__copy p,
.home-card p {
  margin: 0;
  line-height: 1.68;
  color: color-mix(in srgb, var(--page-text) 78%, transparent);
}

.home-hero__actions,
.home-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero__actions {
  margin-top: 28px;
}

.home-section__actions {
  margin-top: 28px;
}

.home-hero__btn,
.home-section__btn {
  width: auto;
  min-width: 180px;
}

.home-hero__visual {
  position: relative;
}

.home-flow {
  position: sticky;
  top: 112px;
  padding: 28px;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%),
    color-mix(in srgb, var(--surface-bg) 92%, transparent);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.home-flow__label {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--page-text) 78%, transparent);
}

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

.home-flow__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  color: color-mix(in srgb, var(--page-text) 82%, transparent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-flow__tab:hover,
.home-flow__tab:focus-visible,
.home-flow__tab.is-active {
  border-color: rgba(0, 213, 246, 0.45);
  background: rgba(0, 213, 246, 0.10);
  color: var(--accent);
  transform: translateY(-1px);
  outline: none;
}

.home-flow__tabicon,
.home-flow__panelicon,
.home-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-flow__tabicon {
  width: 18px;
  height: 18px;
}

.home-flow__tabicon svg,
.home-flow__panelicon svg,
.home-card__icon svg {
  width: 100%;
  height: 100%;
}

.home-flow__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0;
}

.home-flow__line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.home-flow__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 213, 246, 0.35);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-flow__dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.home-flow__panel {
  min-height: 250px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(0, 213, 246, 0.16);
  background:
    linear-gradient(180deg, rgba(0, 213, 246, 0.10), rgba(0, 128, 255, 0.06));
}

.home-flow__panelicon,
.home-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: var(--accent);
  background: rgba(0, 213, 246, 0.10);
  border: 1px solid rgba(0, 213, 246, 0.18);
}

.home-flow__panel h2,
.home-card h3 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-flow__panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: color-mix(in srgb, var(--page-text) 78%, transparent);
}

.home-section {
  padding: 28px 0 72px;
}

.home-section__header {
  max-width: 980px;
  margin-bottom: 30px;
}

.home-section__title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 850;
}

.home-cards {
  display: grid;
  gap: 22px;
}

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

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

.home-card {
  position: relative;
  overflow: hidden;
}

.home-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 213, 246, 0.55), transparent 70%);
}

.home-card__body {
  padding: 28px;
}

.home-card p + p {
  margin-top: 10px;
}

.home-section--products::before {
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 213, 246, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 65%);
}

:root[data-theme="light"] .home-flow,
:root[data-theme="light"] .home-flow__panel,
:root[data-theme="light"] .home-card {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

:root[data-theme="light"] .home-flow__tab,
:root[data-theme="light"] .home-flow__panel,
:root[data-theme="light"] .home-card {
  background-color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1080px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-flow {
    position: relative;
    top: 0;
  }
}

@media (max-width: 760px) {
  .home-shell {
    width: min(100% - 24px, 1200px);
  }

  .home-hero {
    padding-top: 28px;
    padding-bottom: 52px;
  }

  .home-section {
    padding-bottom: 52px;
  }

  .home-flow,
  .home-card__body {
    padding: 20px;
  }

  .home-flow__tabs,
  .home-cards--solutions,
  .home-cards--products {
    grid-template-columns: 1fr;
  }

  .home-flow__panel {
    min-height: auto;
    padding: 20px;
  }
}