/* Run-specific overlays on top of fragilistic_shared/static/css/supercala-shared.css.
 *
 * Contains:
 *   - .brand-logo (references /static/img/logo/run-mark.svg, Run-owned)
 *   - Hero with chat bubble visual (Run marketing homepage)
 *   - Feature / demo / pricing / testimonial grids (Run marketing sections)
 *
 * Tokens and primitives (navbar, container, footer, buttons, sections) are
 * in the shared stylesheet — this file assumes it is loaded AFTER that one.
 */

/* ── BRAND LOGO ──────────────────────────────────────────────────────────── */

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-image: url("/static/img/logo/run-mark.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 16px rgba(0, 162, 232, 0.3);
}

/* ── HERO ────────────────────────────────────────────────────────────────── */

.hero { padding: 3.5rem 0 3.75rem; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.hero-title span {
  color: #00a2e8;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-note-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.9);
}

.hero-visual { position: relative; }

.hero-card {
  position: relative;
  border-radius: 26px;
  padding: 1.4rem 1.4rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 162, 232, 0.06);
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid rgba(226, 232, 240, 0.35);
  margin-bottom: 0.8rem;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.hero-chat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.hero-bubble {
  max-width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-bubble-user {
  align-self: flex-end;
  background: rgba(0, 162, 232, 0.15);
  border-radius: 14px 14px 4px 14px;
}

.hero-bubble-ai {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
}

.hero-glow-orb {
  position: absolute;
  inset: auto -80px -90px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

/* ── FEATURE GRID ────────────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.3);
  background: #f8fafc;
  box-shadow: 0 10px 30px rgba(248, 250, 252, 0.5);
  font-size: 0.88rem;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--accent-soft);
  margin-bottom: 0.75rem;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

.feature-body {
  color: var(--muted);
  margin-bottom: 0.6rem;
}

/* ── DEMO STEPS ──────────────────────────────────────────────────────────── */

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

.demo-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.3);
  background: rgba(248, 250, 252, 0.95);
  padding: 1.1rem 1rem;
  font-size: 0.85rem;
}

.demo-step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.demo-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.demo-body {
  color: var(--muted);
}

/* ── PRICING ─────────────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.pricing-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.35);
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.highlight {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.pricing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 162, 232, 0.18);
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.pricing-name {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.pricing-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.35rem 0;
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.pricing-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.pricing-list li {
  display: flex;
  gap: 0.45rem;
}

.pricing-check {
  color: #4ade80;
  font-size: 0.9rem;
  margin-top: 0.07rem;
}

.pricing-footer { margin-top: auto; }

.integrations-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2rem;
}

/* ── TESTIMONIALS ────────────────────────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  font-size: 0.86rem;
}

.testimonial-card {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.3);
  background: rgba(248, 250, 252, 0.96);
  color: var(--muted);
}

.testimonial-quote { margin-bottom: 0.7rem; }

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── RESPONSIVE OVERRIDES ────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2.6rem; }
  .hero-visual { order: -1; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .testimonials-grid,
  .demo-steps,
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .hero-inner { gap: 2.1rem; }
}
