.homepage-shell {
  width: min(1680px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 110px 20px 96px;
}

.homepage-hero {
  min-height: calc(100vh - 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 32px;
  align-items: center;
  padding-bottom: 48px;
}

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

.homepage-hero-copy h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  margin: 18px 0 16px;
  letter-spacing: -0.04em;
}

.homepage-subheadline {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #94949e;
  max-width: 58ch;
}

.homepage-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.homepage-primary-cta,
.homepage-secondary-cta,
.homepage-waitlist-btn {
  min-height: 56px;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.homepage-primary-cta {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  color: #fff;
  box-shadow: 0 18px 38px rgba(59, 130, 246, 0.26);
}

.homepage-secondary-cta {
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
}

.homepage-primary-cta:hover,
.homepage-secondary-cta:hover,
.homepage-waitlist-btn:hover {
  transform: scale(1.03);
}

.hero-visual-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.hero-dashboard {
  border-radius: 18px;
  background: #111319;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-dashboard-kicker {
  color: var(--text-secondary);
  font-size: 13px;
}

.hero-dashboard-pill {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.hero-dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.hero-dashboard-table th,
.hero-dashboard-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-dashboard-table th {
  color: var(--text-tertiary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-dashboard-table td {
  color: var(--text-secondary);
}

.hero-dashboard-table .winner-row td {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.08);
}

.metric-positive {
  color: #60a5fa;
  font-weight: 700;
}

.metric-risk {
  color: #f59e0b;
  font-weight: 700;
}

.metric-strong {
  color: #34d399;
  font-weight: 700;
}

.home-section {
  margin-top: 56px;
}

.home-section-header {
  margin-bottom: 24px;
}

.home-section-header h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

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

.proof-card {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
}

.proof-number {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  color: #60a5fa;
  line-height: 1;
}

.proof-title {
  font-size: 16px;
  margin-top: 10px;
  font-weight: 600;
}

.proof-subtext {
  color: var(--text-tertiary);
  margin-top: 6px;
  font-size: 14px;
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 24px;
}

.product-showcase-card {
  position: relative;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-showcase-card:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.product-showcase-card--featured {
  background:
    linear-gradient(#161616, #161616) padding-box,
    linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(139, 92, 246, 0.85)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 20px 46px rgba(59, 130, 246, 0.14);
}

.product-showcase-card--coming {
  opacity: 0.8;
}

.product-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.product-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-badge--live {
  background: #10B981;
  color: #07140f;
}

.product-badge--coming {
  background: #6B7280;
  color: #fff;
}

.product-card-cta {
  width: 100%;
  margin-top: 18px;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.product-card-cta--primary {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  color: #fff;
}

.product-card-cta--secondary {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

.homepage-waitlist-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.step-icon {
  font-size: 54px;
  margin-bottom: 16px;
}

.workflow-visual {
  margin-top: 28px;
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.workflow-node {
  border-radius: 16px;
  padding: 18px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-arrow {
  text-align: center;
  color: #8B5CF6;
  font-size: 22px;
  font-weight: 700;
}

.pricing-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.teaser-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
}

.teaser-kicker {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

.homepage-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.homepage-faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text-primary);
  border: none;
  padding: 20px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.homepage-faq-answer {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  display: none;
}

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

.homepage-footer {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.homepage-footer h3 {
  margin-bottom: 10px;
}

.homepage-footer a,
.homepage-footer button {
  display: block;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0;
  margin-bottom: 8px;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.homepage-footer a:hover,
.homepage-footer button:hover {
  color: var(--text-primary);
}

.fade-in-section {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.waitlist-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1100;
}

.waitlist-modal.is-open {
  display: flex;
}

.waitlist-card {
  width: min(520px, 100%);
  border-radius: 20px;
  padding: 28px;
  background: #131313;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.waitlist-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.waitlist-form input {
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  padding: 0 14px;
}

.waitlist-form button {
  min-height: 48px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .homepage-hero,
  .product-showcase-grid,
  .proof-grid,
  .pricing-teaser-grid,
  .homepage-footer-grid {
    grid-template-columns: 1fr;
  }

  .homepage-hero {
    min-height: auto;
  }

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

  .product-showcase-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .homepage-shell {
    width: min(100vw - 24px, 960px);
    padding-top: 100px;
  }

  .homepage-cta-row,
  .workflow-strip,
  .steps-grid,
  .product-showcase-grid {
    grid-template-columns: 1fr;
  }

  .workflow-strip {
    display: grid;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .homepage-primary-cta,
  .homepage-secondary-cta {
    width: 100%;
  }

  .product-showcase-card--featured {
    grid-column: auto;
  }
}
