.home-page {
  overflow: hidden;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-accent));
  z-index: 80;
  transition: width 0.08s linear;
}

.home-hero {
  padding: 64px 0 34px;
  position: relative;
}

.home-hero::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -70px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.14), transparent 70%);
  pointer-events: none;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
  gap: 42px;
  align-items: center;
}

.home-hero-copy h1 {
  margin-top: 18px;
  max-width: 700px;
  font-size: clamp(2.35rem, 3.55vw, 3.75rem);
  line-height: 1.02;
}

.home-hero-copy .lead {
  margin-top: 24px;
  max-width: 650px;
  font-size: 1.02rem;
  line-height: 1.74;
}

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

.hero-note-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-note-row span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.12);
  color: var(--brand-600);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-highlights-band {
  padding: 18px 0 8px;
}

.hero-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-highlight-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  min-height: 138px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.hero-highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.05);
  border-color: rgba(59, 130, 246, 0.18);
}

.hero-highlight-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.24;
  color: var(--surface-fg);
}

.hero-highlight-item p {
  font-size: 0.95rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.vision-band {
  padding: 88px 0 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0));
}

.vision-band-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.vision-band-copy h2 {
  margin-top: 18px;
  max-width: 640px;
  line-height: 1.06;
}

.vision-band-copy p {
  margin-top: 18px;
  max-width: 600px;
  line-height: 1.72;
}

.vision-band-points {
  display: grid;
  gap: 16px;
}

.vision-point {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.vision-point:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.05);
  border-color: rgba(59, 130, 246, 0.18);
}

.vision-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.24;
  color: var(--surface-fg);
}

.vision-point span {
  display: block;
  line-height: 1.58;
  color: var(--text-muted);
}

.architecture-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.architecture-card {
  position: relative;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(214, 222, 234, 0.9);
  border-radius: 26px;
  padding: 0 24px 26px;
  min-height: 420px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
  overflow: hidden;
}

.architecture-card:hover {
  transform: translateY(-5px);
  background: var(--surface-card);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.05);
  border-color: rgba(59, 130, 246, 0.18);
}

.architecture-card-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.68), rgba(248,251,255,0.9));
}

.architecture-card-topline {
  width: calc(100% + 48px);
  height: 4px;
  margin-left: -24px;
  background: linear-gradient(90deg, var(--brand-600), rgba(59, 130, 246, 0.22));
}

.architecture-card-topline-accent {
  background: linear-gradient(90deg, #d97706, rgba(245, 158, 11, 0.22));
}

.architecture-card-topline-muted {
  background: linear-gradient(90deg, #475569, rgba(148, 163, 184, 0.22));
}

.architecture-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  margin-bottom: 18px;
}

.architecture-step {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.14);
  color: var(--brand-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.architecture-step-accent {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

.architecture-step-muted {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

.architecture-card-head .icon-badge {
  margin-bottom: 0;
}

.architecture-card-body h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.2;
}

.architecture-card-body p {
  margin-top: 12px;
  min-height: 72px;
  font-size: 0.96rem;
  line-height: 1.62;
}

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

.architecture-list li {
  position: relative;
  padding-left: 18px;
  color: var(--surface-fg);
  font-size: 0.96rem;
  line-height: 1.5;
}

.architecture-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.54);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-card);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.05);
  border-color: rgba(59, 130, 246, 0.18);
}

.module-card h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.22;
}

.module-card p {
  font-size: 0.97rem;
  line-height: 1.62;
}

.module-card-featured {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1), 0 3px 8px rgba(15, 23, 42, 0.06);
}

.module-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand-600);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.module-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-600);
  font-weight: 700;
}

.control-split {
  display: grid;
  grid-template-columns: minmax(380px, 0.96fr) minmax(0, 1.04fr);
  gap: 34px;
  align-items: center;
}

.control-copy h2 {
  margin-top: 18px;
  max-width: 640px;
  line-height: 1.06;
}

.control-copy > p {
  margin-top: 18px;
  max-width: 620px;
  line-height: 1.72;
}

.control-checklist {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.control-check {
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-border);
}

.control-check:last-child {
  border-bottom: none;
}

.control-check strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
  line-height: 1.24;
  color: var(--surface-fg);
}

.control-check span {
  display: block;
  line-height: 1.6;
  color: var(--text-muted);
}

.showcase-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1.22fr);
  gap: 34px;
  align-items: center;
}

.showcase-copy h2 {
  margin-top: 18px;
  max-width: 520px;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.05;
}

.showcase-copy p {
  margin-top: 18px;
  max-width: 560px;
  line-height: 1.7;
}

.showcase-copy .btn {
  margin-top: 24px;
}

/* ICONS */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-badge svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-standard {
  width: 42px;
  height: 42px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--brand-600);
  border: 1px solid rgba(59, 130, 246, 0.12);
}

.icon-standard svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.icon-accent {
  width: 40px;
  height: 40px;
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.icon-accent svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.icon-muted {
  width: 38px;
  height: 38px;
  background: rgba(15, 23, 42, 0.05);
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.icon-muted svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.icon-prominent {
  width: 44px;
  height: 44px;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-stagger.reveal-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.reveal-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.reveal-visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.reveal-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.reveal-visible > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.reveal-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.reveal-visible > *:nth-child(6) { transition-delay: 0.34s; }

.floating-mockup {
  animation: mockupFloat 8s ease-in-out infinite;
}

.floating-mockup-slow {
  animation: mockupFloatSlow 10s ease-in-out infinite;
}

@keyframes mockupFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes mockupFloatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.01);
}

.btn:active {
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .home-hero-grid,
  .vision-band-shell,
  .control-split,
  .showcase-shell {
    grid-template-columns: 1fr;
  }

  .hero-highlights-grid,
  .module-grid,
  .architecture-map {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .home-hero {
    padding: 48px 0 24px;
  }

  .hero-highlights-grid,
  .module-grid,
  .architecture-map {
    grid-template-columns: 1fr;
  }

  .vision-point {
    grid-template-columns: 1fr;
  }

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

  .architecture-card-body p {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .home-hero-copy h1 {
    font-size: clamp(2.05rem, 8.5vw, 3rem);
  }

  .hero-highlight-item,
  .vision-point,
  .architecture-card,
  .module-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .architecture-card-topline {
    width: calc(100% + 40px);
    margin-left: -20px;
  }
}