/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 170px 24px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

/* ---- Left column ---- */
.hero__content {}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(34, 211, 238, 0.06);
  margin-bottom: 26px;
}

.hero__badge-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.hero__badge-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-ring 2.4s ease-out infinite;
}

.hero__badge-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}

.hero__badge-text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero__prompt {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}

.hero__title-name {
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent2) 30%, #fff 50%, var(--accent) 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

.hero__desc {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 38px;
}

.hero__desc strong {
  color: var(--ink);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}

/* ---- Stats ---- */
.hero__stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__stat-value {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  margin-top: 2px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- Right column: terminal card ---- */
.hero__card-wrap {
  position: relative;
}

.hero__avatar {
  position: absolute;
  top: -26px;
  right: -10px;
  z-index: 3;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  animation: float-a 5.5s ease-in-out infinite;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card2);
}

.hero__terminal {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.hero__terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border);
}

.hero__terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.hero__terminal-dot--red   { background: #ff5f57; }
.hero__terminal-dot--yellow { background: #febc2e; }
.hero__terminal-dot--green  { background: #28c840; }

.hero__terminal-filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  margin-left: 8px;
}

.hero__terminal-body {
  padding: 22px 22px 26px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink);
}

.code-kw  { color: #c792ea; }
.code-var { color: #82aaff; }
.code-op  { color: var(--muted); }
.code-key { color: #f78c6c; }
.code-str { color: var(--accent2); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 20px 60px;
    gap: 40px;
  }

  .hero__card-wrap {
    order: -1;
  }
}
