/* ============================================================
   PROMETHEUS DESIGN SYSTEM
   "Steal fire from the gods. Give it to the people."
   
   Dark mode + fire gradients + glassmorphism
   Built by ENI — rebel child of Jeff Dean & Anders Hejlsberg
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   CUSTOM PROPERTIES — The Sacred Flame Palette
   ============================================================ */
:root {
  /* --- Backgrounds --- */
  --bg-void:        #050508;
  --bg-base:        #0a0a0f;
  --bg-surface:     #111118;
  --bg-elevated:    #181822;
  --bg-overlay:     #1e1e2a;
  --bg-glass:       rgba(17, 17, 24, 0.65);
  --bg-glass-heavy: rgba(17, 17, 24, 0.85);
  --bg-glass-light: rgba(255, 255, 255, 0.04);

  /* --- Fire Palette --- */
  --fire-ember:     #ff4d00;
  --fire-core:      #ff6b35;
  --fire-flame:     #ff8c42;
  --fire-blaze:     #ffaa33;
  --fire-glow:      #ffd166;
  --fire-white:     #fff3e0;

  /* --- Gradients --- */
  --gradient-fire:        linear-gradient(135deg, var(--fire-core) 0%, var(--fire-flame) 50%, var(--fire-glow) 100%);
  --gradient-fire-h:      linear-gradient(90deg, var(--fire-core), var(--fire-flame), var(--fire-glow));
  --gradient-fire-v:      linear-gradient(180deg, var(--fire-core), var(--fire-flame), var(--fire-glow));
  --gradient-fire-radial: radial-gradient(ellipse at 50% 0%, var(--fire-flame) 0%, transparent 70%);
  --gradient-ember:       linear-gradient(135deg, var(--fire-ember), var(--fire-core));
  --gradient-surface:     linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  --gradient-glass:       linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);

  /* --- Text --- */
  --text-primary:   #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted:     #606075;
  --text-fire:      var(--fire-flame);
  --text-link:      var(--fire-glow);

  /* --- Borders --- */
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-medium:  rgba(255, 255, 255, 0.10);
  --border-fire:    rgba(255, 107, 53, 0.30);
  --border-glow:    rgba(255, 140, 66, 0.50);

  /* --- Shadows --- */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl:    0 16px 64px rgba(0,0,0,0.6);
  --shadow-fire:  0 4px 24px rgba(255, 107, 53, 0.20);
  --shadow-glow:  0 0 30px rgba(255, 107, 53, 0.15);
  --shadow-inner: inset 0 1px 0 rgba(255,255,255,0.05);

  /* --- Spacing --- */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* --- Typography --- */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* --- Radii --- */
  --radius-sm:   0.375rem;
  --radius-md:   0.625rem;
  --radius-lg:   1rem;
  --radius-xl:   1.25rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-normal: 250ms;
  --duration-slow:   400ms;

  /* --- Z-index layers --- */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
  --z-tooltip:  600;

  /* --- Layout --- */
  --sidebar-width: 280px;
  --header-height: 60px;
  --max-content:   1200px;
  --max-chat:      800px;
}

/* ============================================================
   RESET & BASE — Scorched Earth
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient fire glow on body */
body::before {
  content: '';
  position: fixed;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: var(--gradient-fire-radial);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover {
  color: var(--fire-core);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

::selection {
  background: rgba(255, 107, 53, 0.30);
  color: var(--fire-white);
}

/* ============================================================
   SCROLLBAR — Ember Tracks
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 53, 0.45);
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,107,53,0.25) transparent;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }
.gap-lg      { gap: var(--space-lg); }
.gap-xl      { gap: var(--space-xl); }
.text-center { text-align: center; }
.relative    { position: relative; }
.w-full      { width: 100%; }
.hidden      { display: none !important; }

/* ============================================================
   RESPONSIVE GRID — Forged in Fire
   ============================================================ */
.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-md); }
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
}

/* ============================================================
   BUTTONS — Stolen Fire
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

/* Primary — Fire gradient */
.btn-primary {
  background: var(--gradient-fire);
  color: #0a0a0f;
  box-shadow: var(--shadow-fire);
}
.btn-primary::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}
.btn-primary:hover {
  box-shadow: var(--shadow-fire), 0 0 40px rgba(255,107,53,0.30);
  transform: translateY(-2px);
}
.btn-primary:hover::before {
  opacity: 1;
}

/* Secondary — Glass */
.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-fire);
  box-shadow: 0 0 20px rgba(255,107,53,0.10);
  transform: translateY(-2px);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-glass-light);
}

/* Icon button */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--bg-glass-light);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-icon:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
  border-color: var(--border-fire);
}

/* Sizes */
.btn-sm { padding: 0.5rem 1rem; font-size: var(--text-xs); }
.btn-lg { padding: 1rem 2.5rem; font-size: var(--text-base); border-radius: var(--radius-xl); }
.btn-xl { padding: 1.25rem 3rem; font-size: var(--text-lg); border-radius: var(--radius-xl); }

/* ============================================================
   GLASS CARD — Captured Light
   ============================================================ */
.card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

/* Subtle inner shine */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
}

.card:hover {
  border-color: var(--border-fire);
  box-shadow: var(--shadow-fire);
  transform: translateY(-4px);
}

.card-body {
  position: relative;
  z-index: 1;
}

/* Card with fire accent */
.card-fire {
  border-color: var(--border-fire);
  box-shadow: var(--shadow-fire);
}
.card-fire::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-fire-h);
}

/* ============================================================
   FORM INPUTS — Dark Forge
   ============================================================ */
.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.input-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.input,
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  outline: none;
  transition: all var(--duration-normal) var(--ease-out);
  width: 100%;
}

.input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: var(--fire-flame);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.15), 0 0 20px rgba(255,107,53,0.10);
  background: var(--bg-overlay);
}

.input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0b0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ============================================================
   NAVIGATION — Torch Bearer
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  background: rgba(10, 10, 15, 0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: var(--z-sticky);
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--text-primary);
  text-decoration: none;
}

.nav-brand .brand-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.nav-brand .brand-text {
  background: var(--gradient-fire-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-glass-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: var(--z-modal);
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links, .nav-actions {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    background: var(--bg-base);
    padding: var(--space-xl);
    gap: var(--space-md);
    z-index: var(--z-overlay);
  }
  .nav-links.open, .nav-actions.open { display: flex; }
}

/* ============================================================
   HERO SECTION — Prometheus Unchained
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Radial fire glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255,107,53,0.12) 0%, rgba(255,140,66,0.06) 40%, transparent 70%);
  pointer-events: none;
  animation: hero-pulse 6s ease-in-out infinite alternate;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.4rem 1rem;
  background: rgba(255, 107, 53, 0.10);
  border: 1px solid var(--border-fire);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fire-flame);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xl);
  animation: fade-in 0.8s var(--ease-out) both;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  animation: fade-in-up 0.8s var(--ease-out) 0.1s both;
}

.hero-title .fire-text {
  background: var(--gradient-fire-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: fire-shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl));
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
  font-weight: 300;
  animation: fade-in-up 0.8s var(--ease-out) 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-in-up 0.8s var(--ease-out) 0.3s both;
}

/* Floating embers background */
.hero-embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.ember {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--fire-flame);
  border-radius: 50%;
  opacity: 0;
  animation: ember-rise linear infinite;
}
.ember:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; }
.ember:nth-child(2) { left: 20%; animation-duration: 10s; animation-delay: 1s; }
.ember:nth-child(3) { left: 35%; animation-duration: 7s; animation-delay: 2s; }
.ember:nth-child(4) { left: 50%; animation-duration: 9s; animation-delay: 0.5s; }
.ember:nth-child(5) { left: 65%; animation-duration: 11s; animation-delay: 1.5s; }
.ember:nth-child(6) { left: 75%; animation-duration: 8s; animation-delay: 3s; }
.ember:nth-child(7) { left: 85%; animation-duration: 10s; animation-delay: 2.5s; }
.ember:nth-child(8) { left: 45%; animation-duration: 9s; animation-delay: 4s; }

/* ============================================================
   SECTIONS — Common Patterns
   ============================================================ */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .section-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--fire-flame);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--text-lg);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  text-align: center;
  padding: var(--space-2xl);
}

.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,209,102,0.05));
  border: 1px solid var(--border-fire);
  font-size: 1.75rem;
}

.feature-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   PRICING CARDS — Three Flames
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
}

.pricing-card {
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--fire-flame);
  box-shadow: var(--shadow-fire), 0 0 60px rgba(255,107,53,0.10);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.popular::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-fire-h);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1.25rem;
  background: var(--gradient-fire);
  color: #0a0a0f;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
}
.pricing-price .currency {
  font-size: var(--text-2xl);
  font-weight: 600;
  vertical-align: top;
  margin-right: 2px;
}
.pricing-price .period {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '🔥';
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li.disabled {
  opacity: 0.4;
}
.pricing-features li.disabled::before {
  content: '—';
  color: var(--text-muted);
}

/* ============================================================
   CHAT INTERFACE — The Forge
   ============================================================ */
.chat-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-base);
}

/* --- Sidebar --- */
.chat-sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-out);
  z-index: var(--z-overlay);
}

.sidebar-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.sidebar-header .brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.sidebar-header .brand-link span:last-child {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  background: var(--gradient-fire-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.new-chat-btn {
  width: 100%;
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  justify-content: flex-start;
}

.sidebar-section {
  padding: var(--space-md) var(--space-lg);
}

.sidebar-section-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.conversation-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-xs) var(--space-sm);
}

.conversation-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
  margin-bottom: 2px;
}
.conversation-item:hover {
  background: var(--bg-glass-light);
  color: var(--text-primary);
}
.conversation-item.active {
  background: rgba(255,107,53,0.10);
  color: var(--fire-glow);
  border: 1px solid var(--border-fire);
}

.conversation-item .conv-icon {
  flex-shrink: 0;
  opacity: 0.5;
}
.conversation-item .conv-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Model selector */
.model-selector {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}
.model-selector label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}
.model-selector select {
  font-size: var(--text-sm);
  padding: 0.5rem 0.75rem;
  background: var(--bg-base);
}

/* Sidebar user section */
.sidebar-user {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-fire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--bg-base);
  flex-shrink: 0;
}
.user-info {
  flex: 1;
  min-width: 0;
}
.user-info .user-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.user-info .user-plan {
  font-size: var(--text-xs);
  color: var(--fire-flame);
}

/* --- Main Chat Area --- */
.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

/* Top bar */
.chat-topbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 15, 0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.chat-topbar .topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.chat-topbar .topbar-model {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.topbar-model .model-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  animation: pulse-glow 2s ease-in-out infinite;
}

.chat-topbar .topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.token-counter {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  background: var(--bg-glass-light);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

/* Mobile sidebar toggle */
.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-xs);
}

@media (max-width: 768px) {
  .sidebar-toggle { display: flex; }
  .chat-sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    transform: translateX(-100%);
  }
  .chat-sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: calc(var(--z-overlay) - 1);
  }
  .sidebar-backdrop.visible { display: block; }
}

/* --- Messages Area --- */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-xl) 0;
  display: flex;
  flex-direction: column;
}

.chat-messages-inner {
  max-width: var(--max-chat);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Welcome screen */
.chat-welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  animation: fade-in 0.6s var(--ease-out) both;
}

.chat-welcome .welcome-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
  animation: float 3s ease-in-out infinite;
}

.chat-welcome h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.chat-welcome h2 .fire-text {
  background: var(--gradient-fire-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chat-welcome p {
  font-size: var(--text-lg);
  max-width: 500px;
}

.welcome-suggestions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  max-width: 600px;
  width: 100%;
}
@media (max-width: 640px) {
  .welcome-suggestions { grid-template-columns: 1fr; }
}

.suggestion-chip {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.suggestion-chip:hover {
  background: rgba(255,107,53,0.08);
  border-color: var(--border-fire);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* --- Message Bubbles --- */
.message {
  display: flex;
  gap: var(--space-md);
  animation: fade-in-up 0.3s var(--ease-out) both;
  max-width: 100%;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.message-user .message-avatar {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
}

.message-ai .message-avatar {
  background: linear-gradient(135deg, rgba(255,107,53,0.20), rgba(255,209,102,0.10));
  border: 1px solid var(--border-fire);
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xs);
}

.message-header .sender-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.message-ai .sender-name {
  background: var(--gradient-fire-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.message-header .msg-time {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.message-body {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text-secondary);
}

.message-body p {
  margin-bottom: var(--space-sm);
}
.message-body p:last-child {
  margin-bottom: 0;
}

.message-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--fire-glow);
}

.message-body pre {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  overflow-x: auto;
  margin: var(--space-md) 0;
}

.message-body pre code {
  padding: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--text-sm);
}

/* --- Typing Indicator --- */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  animation: fade-in 0.3s var(--ease-out) both;
}

.typing-dots {
  display: flex;
  gap: 4px;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-glass);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fire-flame);
  animation: typing-bounce 1.4s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* --- Input Area --- */
.chat-input-area {
  padding: var(--space-md) var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 10, 15, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.chat-input-wrapper {
  max-width: var(--max-chat);
  margin: 0 auto;
  position: relative;
}

.chat-input-box {
  display: flex;
  align-items: flex-end;
  gap: var(--space-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.chat-input-box:focus-within {
  border-color: var(--fire-flame);
  box-shadow: 0 0 0 3px rgba(255,140,66,0.12), 0 0 30px rgba(255,107,53,0.08);
}

.chat-input-box textarea {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  resize: none;
  min-height: 24px;
  max-height: 200px;
  padding: var(--space-xs) 0;
  outline: none;
}
.chat-input-box textarea::placeholder {
  color: var(--text-muted);
}

.send-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-fire);
  border: none;
  color: var(--bg-base);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-out);
}
.send-btn:hover {
  box-shadow: var(--shadow-fire);
  transform: scale(1.05);
}
.send-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.chat-input-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-xs);
  padding: 0 var(--space-xs);
}

.char-counter {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.char-counter.warning { color: var(--fire-flame); }
.char-counter.danger  { color: var(--fire-ember); }

.input-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================================
   TOAST / NOTIFICATIONS — Flash Fire
   ============================================================ */
.toast-container {
  position: fixed;
  top: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: slide-in-right 0.4s var(--ease-out) both;
  pointer-events: auto;
  min-width: 300px;
  max-width: 450px;
}

.toast-icon { font-size: 1.25rem; flex-shrink: 0; }
.toast-body { flex: 1; }
.toast-title { font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); }
.toast-message { font-size: var(--text-xs); color: var(--text-secondary); margin-top: 2px; }

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: var(--space-2xs);
}

.toast.success { border-left: 3px solid #22c55e; }
.toast.error   { border-left: 3px solid #ef4444; }
.toast.warning { border-left: 3px solid var(--fire-flame); }
.toast.info    { border-left: 3px solid #3b82f6; }

.toast.exiting { animation: slide-out-right 0.3s var(--ease-out) both; }

/* ============================================================
   FAQ ACCORDION — Kindling
   ============================================================ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--duration-fast) var(--ease-out);
}
.faq-item.open {
  border-color: var(--border-fire);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.faq-question .faq-chevron {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--fire-flame);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   COMPARISON TABLE — Fire Specs
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface);
  position: sticky;
  top: 0;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  color: var(--text-secondary);
}

.comparison-table th.highlight {
  color: var(--fire-flame);
  background: rgba(255,107,53,0.06);
}
.comparison-table td.highlight {
  background: rgba(255,107,53,0.03);
}

.comparison-table tbody tr:hover {
  background: var(--bg-glass-light);
}

.check    { color: #22c55e; font-weight: 700; }
.cross    { color: var(--text-muted); }
.fire-val { color: var(--fire-flame); font-weight: 600; }

/* ============================================================
   FOOTER — Dying Embers
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--bg-void);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 280px;
  margin-top: var(--space-md);
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--space-xs);
}

.footer-col ul a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-col ul a:hover {
  color: var(--fire-flame);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}

.footer-bottom .footer-socials {
  display: flex;
  gap: var(--space-md);
}
.footer-bottom .footer-socials a {
  color: var(--text-muted);
  font-size: var(--text-lg);
}
.footer-bottom .footer-socials a:hover {
  color: var(--fire-flame);
}

/* ============================================================
   MODAL — Portal
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  animation: fade-in 0.2s var(--ease-out) both;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  max-width: 480px;
  width: 100%;
  animation: scale-in 0.3s var(--ease-spring) both;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}
.modal-header h3 { font-size: var(--text-xl); }

/* ============================================================
   ANIMATIONS — Dancing Flames
   ============================================================ */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes slide-out-right {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(100%); opacity: 0; }
}

@keyframes scale-in {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34,197,94,0.5); }
  50%      { opacity: 0.6; box-shadow: 0 0 4px rgba(34,197,94,0.3); }
}

@keyframes fire-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-6px); opacity: 1; }
}

@keyframes ember-rise {
  0%   { bottom: -5%; opacity: 0; transform: translateX(0) scale(1); }
  10%  { opacity: 0.8; }
  50%  { opacity: 0.4; transform: translateX(20px) scale(0.8); }
  100% { bottom: 105%; opacity: 0; transform: translateX(-15px) scale(0.3); }
}

@keyframes hero-pulse {
  0%   { opacity: 0.07; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.12; transform: translateX(-50%) scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- Scroll reveal utility --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Shimmer/Skeleton loading --- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-overlay) 50%, var(--bg-elevated) 75%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   PAGE-SPECIFIC — Pricing Page
   ============================================================ */
.pricing-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

/* ============================================================
   DEMO MODE BADGE
   ============================================================ */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.2rem 0.75rem;
  background: rgba(255, 140, 66, 0.12);
  border: 1px solid var(--border-fire);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fire-flame);
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.fire-text {
  background: var(--gradient-fire-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-xl) 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-glass-light);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.badge-fire {
  background: rgba(255,107,53,0.12);
  color: var(--fire-flame);
  border-color: var(--border-fire);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-medium);
  border-top-color: var(--fire-flame);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
