.titan-hero {
  position: relative;
  overflow: hidden;

  padding:
    clamp(34px, 6vw, 72px);

  border-radius: 32px;

  background:
    radial-gradient(
      circle at top right,
      rgba(214, 151, 60, 0.3),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      var(--titan-primary-dark),
      var(--titan-primary)
    );

  color: #ffffff;

  box-shadow:
    var(--titan-shadow-large);
}

.titan-hero::after {
  content: "";

  position: absolute;
  right: -120px;
  bottom: -180px;

  width: 420px;
  height: 420px;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 50%;
}

.titan-hero-content {
  position: relative;
  z-index: 1;

  width: 100%;

  display: grid;

  grid-template-columns:
  minmax(0, 1.35fr)
  minmax(280px, 0.65fr);

  column-gap:
    clamp(48px, 7vw, 104px);

  row-gap: 24px;

  align-items: center;
}

.titan-hero-left {
  min-width: 0;
  max-width: 620px;
}

.titan-hero-right {
  min-width: 0;

  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.titan-hero h1 {
  margin:
    var(--titan-space-2)
    0
    var(--titan-space-3);

  font-size:
    clamp(42px, 7vw, 76px);

  line-height: 0.98;
  letter-spacing: -0.045em;
}

.titan-hero-subtitle {
  margin: 0;

  max-width: 660px;

  color:
    rgba(255, 255, 255, 0.78);

  font-size:
    clamp(15px, 2vw, 18px);
}

.titan-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap:
    var(--titan-space-4);
}

.titan-demo-badge,
.titan-live-badge {
  display: inline-flex;
  align-items: center;

  padding:
    6px
    10px;

  border-radius:
    var(--titan-radius-pill);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.titan-demo-badge {
  background:
    rgba(214, 151, 60, 0.18);

  color:
    var(--titan-gold-light);

  border:
    1px solid
    rgba(214, 151, 60, 0.35);
}

.titan-live-badge {
  background:
    rgba(60, 190, 120, 0.14);

  color: #8ce2ad;

  border:
    1px solid
    rgba(60, 190, 120, 0.3);
}

.titan-hero-meta {
  width: 100%;
  max-width: none;

  display: grid;
  grid-template-columns: 1fr;

  gap: 12px;

  padding: 22px;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 22px;

  background:
    rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(18px);
}

.titan-hero-chip {
  display: flex;
  align-items: center;

  width: 100%;
  min-height: 40px;

  padding:
    9px
    14px;

  border:
    1px solid
    rgba(255, 255, 255, 0.16);

  border-radius:
    var(--titan-radius-pill);

  background:
    rgba(255, 255, 255, 0.09);

  color:
    rgba(255, 255, 255, 0.9);

  font-size: 13px;

  gap: 4px;
}

.titan-actions {
  grid-column: 1;

  display: flex;
  flex-wrap: wrap;

  gap:
    var(--titan-space-3);

  margin-top: 8px;
}

@media (max-width: 900px) {
  .titan-hero-content {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .titan-hero-left {
    max-width: none;
  }

  .titan-hero-right {
    width: 100%;
  }

  .titan-hero-meta {
    max-width: none;

    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    padding: 18px;
  }

  .titan-hero-chip {
    justify-content: center;
    text-align: center;
  }

  .titan-actions {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .titan-hero {
    padding:
      26px
      20px;

    border-radius: 24px;
  }

  .titan-hero-content {
    row-gap: 22px;
  }

  .titan-hero-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .titan-hero h1 {
    font-size:
      clamp(38px, 12vw, 52px);

    line-height: 1;
  }

  .titan-hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
  }

  .titan-hero-meta {
    grid-template-columns: 1fr;
    gap: 8px;

    padding: 14px;

    border-radius: 18px;
  }

  .titan-hero-chip {
    min-height: 38px;

    padding:
      8px
      12px;

    justify-content: flex-start;

    font-size: 12px;
  }

  .titan-actions {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;

    width: 100%;
    margin-top: 2px;
  }

  .titan-actions .titan-button {
    width: 100%;
    min-height: 44px;

    padding:
      10px
      12px;

    justify-content: center;

    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .titan-hero {
    padding:
      24px
      16px;
  }

  .titan-hero h1 {
    font-size: 36px;
  }

  .titan-actions {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   TITAN V9 — Hero Readability Pass 2
========================================== */
@media (min-width: 861px) {
  .titan-hero-chip {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .titan-hero h1 {
    font-size: clamp(2rem, 9vw, 2.4rem);
    line-height: 1.02;
  }

  .titan-hero-subtitle {
    font-size: 14px;
  }

  .titan-hero-chip {
    font-size: 13px;
  }
}
