/* TinyAI Studio — Brand CSS
   Shared across all pulse.tinyai.studio pages.
   Source of truth for colors, typography, and components.
   Date: 2026-02-14 | Author: The Voice */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Primary */
  --brand-teal:       #0D7377;
  --brand-teal-light: #14A3A8;
  --brand-coral:      #E8625B;

  /* Dark Theme Backgrounds */
  --bg-primary:    #0f172a;
  --bg-secondary:  #1e293b;
  --bg-tertiary:   #334155;

  /* Text */
  --text-primary:   #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Functional Colors */
  --success:  #10b981;
  --warning:  #f59e0b;
  --danger:   #ef4444;
  --info:     #3b82f6;

  /* Borders & Surfaces */
  --border:       #334155;
  --border-hover: #14A3A8;
  --card-bg:      #1e293b;
  --card-hover:   #253044;
}

/* ── Base ─────────────────────────────── */

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ── Scrollbar ────────────────────────── */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 3px; }

/* ── Header ───────────────────────────── */

.brand-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

/* ── Cards ────────────────────────────── */

.brand-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.15s;
}

.brand-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ── Badges ───────────────────────────── */

.brand-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.brand-badge-live {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.brand-badge-teal {
  background: rgba(13, 115, 119, 0.1);
  color: var(--brand-teal-light);
  border: 1px solid rgba(13, 115, 119, 0.2);
}

.brand-badge-internal {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ── Buttons ──────────────────────────── */

.brand-btn {
  padding: 0.75rem 1.5rem;
  background: var(--brand-teal);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.brand-btn:hover {
  background: var(--brand-teal-light);
}

/* ── Footer ───────────────────────────── */

.brand-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 2rem;
  border-top: 1px solid var(--bg-secondary);
}

.brand-footer .brand-name {
  color: var(--brand-teal-light);
  font-weight: 700;
}

/* ── Links / Interactions ─────────────── */

.brand-link {
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: border-color 0.2s, color 0.2s;
}

.brand-link:hover {
  border-color: var(--border-hover);
  color: var(--brand-teal-light);
}
