/* SuperCalaSite-specific overlays on top of
 * fragilistic_shared/static/css/supercala-shared.css.
 *
 * Contains only the studio-landing components that Run doesn't use:
 *   - Product grid (with badge + status chips)
 *   - Group headings between product groups
 *   - Philosophy section
 *   - Contact section
 *
 * Everything else — tokens, navbar, footer, buttons, typography,
 * container, sections, responsive breakpoints — comes from the shared
 * stylesheet loaded before this one.
 */

/* ── HERO (studio variant: single-column, no chat-bubble visual) ────────── */

.hero {
  padding: 4rem 0 3.25rem;
  border-bottom: 1px solid var(--border);
}

/* Landing hero: full-viewport "destination" — logo + tagline + scroll cue.
 * Sized so the next section (Products) starts cleanly below the fold on a
 * typical desktop viewport, instead of crashing in above. */
.hero--landing {
  min-height: calc(100svh - 80px);
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-landing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  position: relative;
}

.hero-logo {
  width: clamp(180px, 36vw, 360px);
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.hero--landing .hero-title {
  margin: 0;
  max-width: 720px;
}

.hero--landing .hero-sub {
  margin: 0;
  max-width: 560px;
}

.hero-scroll-cue {
  margin-top: 2.5rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  animation: hero-scroll-bob 2.4s ease-in-out infinite;
  transition: border-color 0.14s ease, color 0.14s ease;
}

.hero-scroll-cue:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

@keyframes hero-scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue { animation: none; }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.15rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(0, 162, 232, 0.35);
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 900px;
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 1.75rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(to right, var(--accent-strong), var(--accent));
  color: #ffffff;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 162, 232, 0.3);
  text-decoration: none;
}

.cta-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  box-shadow: none;
}

.cta-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

/* ── PRODUCTS SECTION ────────────────────────────────────────────────────── */

.products {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-sub {
  color: var(--muted);
  margin: 0 0 2.25rem;
  font-size: 0.95rem;
  max-width: 720px;
}

.group-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.25rem 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.group-title:first-of-type { margin-top: 0.75rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: border-color 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 162, 232, 0.08);
  text-decoration: none;
}

.product-card--more {
  background: transparent;
  border-style: dashed;
  opacity: 0.78;
  cursor: default;
}

.product-card--more:hover {
  border-color: var(--border);
  transform: none;
  box-shadow: none;
}

.product-card--static {
  cursor: default;
}

.product-card--static:hover {
  border-color: var(--border);
  transform: none;
  box-shadow: none;
}

.product-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.product-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.product-icon--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.product-card-top {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-badge,
.product-status {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
}

.product-badge {
  background: rgba(0, 162, 232, 0.1);
  color: var(--accent-strong);
  border: 1px solid rgba(0, 162, 232, 0.3);
}

.product-badge--editorial         { background: rgba(225, 180, 90, 0.14); color: #a17a2e; border-color: rgba(225, 180, 90, 0.4); }
.product-badge--browser-extension { background: rgba(16, 163, 74, 0.12);  color: #15803d; border-color: rgba(16, 163, 74, 0.35); }
.product-badge--plugin            { background: rgba(168, 85, 247, 0.12); color: #7c3aed; border-color: rgba(168, 85, 247, 0.35); }
.product-badge--game              { background: rgba(244, 114, 114, 0.12); color: #b91c1c; border-color: rgba(244, 114, 114, 0.4); }
.product-badge--lab               { background: rgba(148, 163, 184, 0.12); color: var(--muted); border-color: var(--border); }

.product-status {
  background: transparent;
  color: var(--muted);
}

.product-status--live             { color: #15803d; }
.product-status--beta             { color: #a17a2e; }
.product-status--dev              { color: var(--muted); }
.product-status--in-development   { color: var(--muted); }

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.product-tag {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.85rem;
}

.product-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 1rem;
  flex: 1;
  line-height: 1.6;
}

.product-link {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── PHILOSOPHY ──────────────────────────────────────────────────────────── */

/* ── SERVICES ────────────────────────────────────────────────────────────── */

.services {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}

.services-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  max-width: 1000px;
}

@media (max-width: 720px) {
  .services-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.services-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.9rem;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.services-list li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border);
}

.services-list li:last-child { border-bottom: none; }

.services-list strong {
  color: var(--text);
  font-weight: 600;
}

.services p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
  margin: 0 0 1.3rem;
}

.services-cta { margin-top: 1.75rem; }

/* ── PHILOSOPHY ──────────────────────────────────────────────────────────── */

.philosophy {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.philosophy-inner {
  max-width: 720px;
}

.philosophy p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.philosophy-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.8rem 0 0.55rem;
}

.philosophy-heading:first-of-type { margin-top: 1rem; }

/* ── CONTACT ─────────────────────────────────────────────────────────────── */

.contact {
  padding: 4.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem 2rem;
  margin-top: 1.5rem;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact a,
.contact span {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact a { color: var(--accent); }

.contact a:hover { text-decoration: underline; }
