/* ─── Warp-inspired hero ─── */
.hero--warp {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 64px;
  background: transparent;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-copy {
  text-align: left;
  max-width: 520px;
}

.hero--warp .hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--color-text);
  text-shadow: none;
  min-height: 3.5em; /* Reserve space for rotating text */
  display: flex;
  align-items: flex-start;
}

.dynamic-text {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent-warm) 0%, #f0c27f 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero--warp .hero-title .text-gradient {
  -webkit-text-fill-color: var(--color-text);
  background: none;
  color: var(--color-text);
}

.hero-agentic-line {
  margin: 0 0 18px;
  max-width: 480px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #f0c27f;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-bottom: 0;
}

.btn-warp-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a0a0b;
  background: #fafafa;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.08);
}

.btn-warp-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.12);
}

.hero-copy-cmd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-copy-cmd code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.2s;
}

.hero-copy-btn:hover { background: rgba(255, 255, 255, 0.14); }

/* Right: painting + product */
.hero-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  min-height: min(700px, 75vh);
}

.hero-showcase-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.95;
}

.hero-showcase-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: min(700px, 75vh);
  padding: 32px 32px 24px;
  background: linear-gradient(180deg, rgba(9,9,11,0.2) 0%, rgba(9,9,11,0.45) 100%);
}

.hero-showcase .product-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.hero-showcase .product-img {
  flex: 1;
  object-fit: contain;
  object-position: top center;
  min-height: 360px;
  background: #000;
}

.hero-showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  justify-content: flex-start;
}

.hero-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-tab:hover {
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-tab.is-active {
  color: #0a0a0b;
  background: #fafafa;
  border-color: #fafafa;
}

.hero-trust-bar {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-dim);
  margin-top: 40px;
  padding: 0 24px;
  line-height: 1.5;
}

.hero-trust-bar span {
  color: var(--color-text-muted);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
    text-align: center;
    max-width: 640px;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-showcase {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-showcase-tabs {
    justify-content: center;
  }
}
