.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(109, 94, 246, 0.15), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(255, 113, 132, 0.12), transparent 28%),
    var(--color-surface);
}

.home-hero__inner,
.home-section,
.trust-section,
.home-cta,
.independent-note {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: var(--space-12);
  align-items: center;
  min-height: 720px;
  padding: var(--space-16) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding: 0.42rem 0.72rem;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 800;
}

.hero-badge span {
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  border-radius: 50%;
}

.home-hero h1 {
  margin-bottom: var(--space-6);
  font-size: var(--text-display);
  letter-spacing: -0.06em;
}

.home-hero h1 em {
  color: var(--color-primary);
  font-style: normal;
}

.home-hero__copy > p {
  max-width: 610px;
  margin-bottom: var(--space-8);
  color: var(--color-text-soft);
  font-size: var(--text-lg);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.trust-row {
  margin-top: var(--space-6);
  color: var(--color-text-soft);
  font-size: var(--text-xs);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-window {
  position: absolute;
  inset: 40px 0 20px 30px;
  overflow: hidden;
  background: #f7f7fb;
  border: 1px solid rgba(109, 94, 246, 0.16);
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(45, 35, 111, 0.18);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.hero-window__bar {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 6px;
  padding: 0 var(--space-4);
  color: var(--color-text-faint);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.65rem;
}

.hero-window__bar i {
  width: 8px;
  height: 8px;
  background: var(--color-border-strong);
  border-radius: 50%;
}

.hero-window__bar span {
  margin-left: auto;
}

.hero-window__body {
  display: grid;
  grid-template-columns: 66px 1fr;
  height: calc(100% - 44px);
}

.hero-mini-sidebar {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  background: #191a28;
}

.hero-mini-sidebar span {
  width: 28px;
  height: 5px;
  background: #363847;
  border-radius: var(--radius-pill);
}

.hero-mini-sidebar span.is-active {
  background: var(--color-accent);
}

.hero-workspace {
  padding: var(--space-6);
}

.hero-workspace__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.hero-workspace__header span {
  width: 120px;
  height: 15px;
  background: #dfe0e9;
  border-radius: var(--radius-pill);
}

.hero-workspace__header button {
  padding: 0.55rem 0.8rem;
  color: #fff;
  background: var(--color-primary);
  border: 0;
  border-radius: 8px;
  font-size: 0.6rem;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.hero-cards article {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  font-size: 0.7rem;
}

.hero-cards small {
  color: var(--color-primary);
  font-weight: 700;
}

.hero-product-image {
  aspect-ratio: 1.2;
  border-radius: 10px;
}

.product-one {
  background: linear-gradient(145deg, #ffb8c3, #fdf0d8 55%, #8d7bf7);
}

.product-two {
  background: radial-gradient(circle at 50% 35%, #fff7c5 0 8%, #ffc85a 9% 16%, #5a497b 17% 22%, #d7d0f5 23%);
}

.hero-progress {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero-progress span {
  width: 100%;
  height: 9px;
  background: #e6e7ee;
  border-radius: var(--radius-pill);
}

.hero-progress span:nth-child(2) {
  width: 72%;
}

.hero-progress span:nth-child(3) {
  width: 88%;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  box-shadow: var(--shadow-elevated);
  backdrop-filter: blur(14px);
}

.floating-card b {
  color: var(--color-primary);
}

.floating-card span {
  font-size: var(--text-xs);
  font-weight: 700;
}

.floating-card--top {
  top: 10px;
  right: -20px;
}

.floating-card--bottom {
  bottom: 0;
  left: 0;
}

.home-section,
.trust-section {
  padding: 110px 0;
}

.home-section__heading {
  max-width: 700px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.home-section__heading h2,
.feature-showcase h2,
.trust-section h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.05em;
}

.home-section__heading > p:last-child {
  color: var(--color-text-soft);
}

.workflow-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.workflow-grid article,
.trust-grid article {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-card);
}

.workflow-grid article > span {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  color: var(--color-border-strong);
  font-weight: 800;
}

.workflow-icon,
.trust-grid article > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: var(--space-6);
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 14px;
  font-size: var(--text-xl);
  font-weight: 800;
}

.workflow-grid p,
.trust-grid p,
.feature-list p {
  margin-bottom: 0;
  color: var(--color-text-soft);
  font-size: var(--text-sm);
}

.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 100px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.feature-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-card);
}

.feature-list article:hover {
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.feature-list b {
  color: var(--color-primary);
}

.feature-list h3 {
  margin-bottom: var(--space-2);
}

.bio-mockup {
  display: grid;
  min-height: 600px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 113, 132, 0.28), transparent 24%),
    var(--color-primary-soft);
  border-radius: 40px;
}

.bio-mockup__phone {
  width: 280px;
  padding: var(--space-8) var(--space-4);
  text-align: center;
  background: #fbfaff;
  border: 9px solid #181923;
  border-radius: 34px;
  box-shadow: var(--shadow-elevated);
}

.mock-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto var(--space-3);
  place-items: center;
  color: #fff;
  background: var(--color-primary);
  border-radius: 50%;
  font-weight: 800;
}

.bio-mockup__phone > small {
  display: block;
  margin: var(--space-2) 0 var(--space-5);
  color: var(--color-text-soft);
}

.mock-product {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-3);
  padding: var(--space-3);
  text-align: left;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(30, 28, 60, 0.08);
}

.mock-product i {
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

.mock-product span,
.mock-product small {
  display: block;
}

.mock-product b {
  font-size: var(--text-xs);
}

.mock-product small {
  color: var(--color-primary);
  font-size: 0.65rem;
}

.mock-product em {
  color: var(--color-primary);
  font-style: normal;
}

.trust-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  color: #fff;
  background: #181923;
}

.trust-section > div:first-child {
  max-width: 720px;
  margin-bottom: var(--space-10);
}

.trust-grid article {
  background: #222331;
  border-color: #313343;
  box-shadow: none;
}

.trust-grid p {
  color: #aeb1c2;
}

.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  margin-block: 110px;
  padding: clamp(var(--space-8), 6vw, var(--space-16));
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 113, 132, 0.5), transparent 25%),
    var(--color-primary);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(80, 62, 204, 0.28);
}

.home-cta h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.home-cta .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.home-cta .button {
  flex: 0 0 auto;
  color: var(--color-primary);
  background: #fff;
}

.independent-note {
  margin-bottom: var(--space-12);
  padding: var(--space-5);
  color: var(--color-text-soft);
  background: var(--color-surface-soft);
  border-radius: var(--radius-card);
  font-size: var(--text-xs);
  text-align: center;
}

@media (max-width: 980px) {
  .home-hero__inner,
  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .home-hero__inner {
    padding-top: var(--space-12);
  }

  .hero-visual {
    min-height: 500px;
  }

  .feature-showcase {
    gap: var(--space-12);
  }
}

@media (max-width: 720px) {
  .home-hero__inner {
    min-height: auto;
  }

  .home-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-window {
    inset: 30px 0 20px;
  }

  .floating-card--top {
    right: 0;
  }

  .workflow-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .home-section,
  .trust-section {
    padding-block: 72px;
  }

  .bio-mockup {
    min-height: 520px;
  }

  .home-cta {
    align-items: stretch;
    flex-direction: column;
    margin-block: 72px;
  }

  .home-cta .button {
    width: 100%;
  }
}
