/* ===================================================
   DEMO PAGE — Smoke & Signal brand showcase
   Aesthetic: gritty late-night food meets clean data
   =================================================== */

:root {
  /* Brand palette — overrides where needed */
  --brand-red: #c0392b;
  --brand-orange: #e8531a;
  --brand-amber: #f0a500;
  --brand-cream: #f5f0e8;
  --brand-dark: #0e0c0b;
  --brand-dark-2: #1a1614;
  --brand-dark-3: #252220;
  --brand-smoke: #3a3532;
  --brand-fg: #f0ebe3;
  --brand-fg-muted: #9e9690;
  --brand-fg-dim: #6b6560;
  --brand-border: #3a3532;
  --brand-glow-red: rgba(200, 50, 30, 0.12);
  --brand-glow-amber: rgba(240, 165, 0, 0.1);
}

/* ===== RESET FOR DEMO BODY ===== */
.demo-body {
  background: var(--brand-dark);
  color: var(--brand-fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== MISE ATTRIBUTION BAR ===== */
.mise-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 12, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}

.mise-bar-back {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--brand-fg-dim);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.mise-bar-back:hover { color: var(--brand-fg); }

.mise-bar-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-fg-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mise-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-orange);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.mise-bar-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-orange);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.mise-bar-cta:hover { color: var(--brand-amber); }

/* ===== BRAND HERO ===== */
.brand-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}

.brand-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--brand-dark);
}

/* Grain texture overlay */
.brand-hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* CSS food art — stylized chicken sandwich */
.brand-hero-art {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.18;
}

.art-flame {
  position: absolute;
  font-size: 80px;
  filter: blur(1px);
  animation: float-flame 3s ease-in-out infinite;
}

.art-flame-1 { top: 10%; left: 20%; animation-delay: 0s; }
.art-flame-2 { top: 30%; right: 10%; animation-delay: 0.8s; font-size: 50px; }
.art-flame-3 { bottom: 20%; left: 30%; animation-delay: 1.6s; font-size: 60px; }

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

.art-chicken {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  filter: drop-shadow(0 8px 40px rgba(200, 50, 30, 0.4));
}

.chicken-bun {
  width: 140px;
  height: 50px;
  background: linear-gradient(180deg, #d4a857 0%, #b8893a 100%);
  border-radius: 70px 70px 12px 12px;
}

.chicken-bun-bot {
  border-radius: 12px 12px 70px 70px;
}

.chicken-patty {
  width: 130px;
  height: 60px;
  background: linear-gradient(180deg, #8b3a2a 0%, #6b2a1a 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.chicken-sauce {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200,50,30,0.5), transparent);
  animation: sauce-shimmer 2s ease-in-out infinite;
}

@keyframes sauce-shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.chicken-slaw {
  width: 138px;
  height: 16px;
  background: linear-gradient(180deg, #e8e8d8 0%, #d4d4c0 100%);
  border-radius: 4px;
  margin: -4px 0;
}

/* Radial glow behind hero */
.brand-hero::before {
  content: '';
  position: absolute;
  top: 30%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,50,30,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.brand-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--brand-dark));
  pointer-events: none;
}

.brand-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left;
}

.brand-generated-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  border: 1px solid rgba(232, 83, 26, 0.4);
  border-radius: 4px;
  padding: 6px 14px;
  margin-bottom: 32px;
  background: rgba(232, 83, 26, 0.06);
}

.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--brand-cream);
  margin-bottom: 20px;
  text-shadow: 0 4px 40px rgba(200, 50, 30, 0.2);
}

.brand-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 500;
  color: var(--brand-orange);
  letter-spacing: 0.02em;
  margin-bottom: 52px;
}

.brand-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--brand-dark-2);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 20px 0;
  max-width: 680px;
}

.brand-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 28px;
  flex: 1;
  min-width: 160px;
}

.brand-meta-divider {
  width: 1px;
  height: 40px;
  background: var(--brand-border);
  flex-shrink: 0;
}

.brand-meta-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-fg-dim);
}

.brand-meta-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-fg);
}

/* ===== SECTION SHARED ===== */
.brand-section {
  padding: 100px 24px;
  border-top: 1px solid var(--brand-border);
}

.brand-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brand-fg);
  margin-bottom: 48px;
}

/* ===== POSITIONING SECTION ===== */
.positioning-text {
  font-size: 18px;
  line-height: 1.75;
  color: var(--brand-fg-muted);
  max-width: 720px;
  margin-bottom: 36px;
}

.demand-gap-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(200, 50, 30, 0.06);
  border: 1px solid rgba(200, 50, 30, 0.25);
  border-radius: 12px;
  padding: 24px 28px;
  max-width: 680px;
}

.demand-gap-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.demand-gap-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 6px;
}

.demand-gap-text {
  font-size: 15px;
  color: var(--brand-fg-muted);
  line-height: 1.6;
}

/* ===== MENU SECTION ===== */
.heat-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.heat-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-fg-dim);
  margin-right: 4px;
}

.heat-chip {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--brand-dark-3);
  border: 1px solid var(--brand-border);
  color: var(--brand-fg-muted);
  transition: all 0.2s ease;
}

.heat-chip:last-child {
  background: rgba(200, 50, 30, 0.1);
  border-color: rgba(200, 50, 30, 0.3);
  color: var(--brand-red);
}

/* Menu hero item */
.menu-hero-item {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--brand-dark-2);
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.menu-hero-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,50,30,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.menu-hero-visual {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CSS sandwich for hero menu item */
.menu-hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  filter: drop-shadow(0 6px 20px rgba(200, 50, 30, 0.3));
}

.hero-art-bun {
  width: 110px;
  height: 38px;
  background: linear-gradient(180deg, #c99540 0%, #a67a30 100%);
}

.hero-art-bun.top {
  border-radius: 55px 55px 8px 8px;
}

.hero-art-bun.bottom {
  border-radius: 8px 8px 55px 55px;
}

.hero-art-chicken {
  width: 100px;
  height: 48px;
  background: linear-gradient(180deg, #7a2f20 0%, #5a1f12 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.hero-art-sauce {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200,50,30,0.6), rgba(230,80,20,0.4), transparent);
  animation: sauce-shimmer 2.5s ease-in-out infinite;
}

.hero-art-slaw {
  width: 108px;
  height: 12px;
  background: linear-gradient(180deg, #e0ddd0 0%, #ccc9b8 100%);
  border-radius: 3px;
  margin: 1px 0;
}

.menu-hero-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-amber);
  margin-bottom: 10px;
}

.menu-hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--brand-cream);
  margin-bottom: 12px;
}

.menu-hero-desc {
  font-size: 15px;
  color: var(--brand-fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 380px;
}

.menu-hero-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-fg);
  letter-spacing: -0.02em;
}

/* Menu grid */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--brand-border);
  border-radius: 12px;
  overflow: hidden;
}

.menu-item {
  background: var(--brand-dark-2);
  padding: 22px 28px;
  transition: background 0.15s ease;
}

.menu-item:hover {
  background: var(--brand-dark-3);
}

.menu-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.menu-item-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-fg);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-item-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange);
  background: rgba(232,83,26,0.1);
  border: 1px solid rgba(232,83,26,0.25);
  border-radius: 4px;
  padding: 2px 8px;
}

.menu-item-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-fg-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item-desc {
  font-size: 14px;
  color: var(--brand-fg-dim);
  line-height: 1.5;
}

/* ===== GO-TO-MARKET ===== */
.gtm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gtm-block-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-fg-dim);
  margin-bottom: 20px;
}

.platform-row {
  padding: 16px 20px;
  background: var(--brand-dark-2);
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: border-color 0.15s ease;
}

.platform-row:hover {
  border-color: var(--brand-smoke);
}

.platform-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-fg);
  margin-bottom: 4px;
}

.platform-note {
  font-size: 13px;
  color: var(--brand-fg-dim);
}

/* Social post mockup */
.social-post {
  background: var(--brand-dark-2);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 24px;
}

.social-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
}

.social-handle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-fg-muted);
}

.social-caption {
  font-size: 15px;
  line-height: 1.65;
  color: var(--brand-fg);
  margin-bottom: 20px;
}

.social-engagement {
  display: flex;
  gap: 20px;
}

.social-engagement span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--brand-fg-dim);
}

/* ===== HOW MISE BUILT THIS ===== */
.brand-how {
  background: var(--brand-dark-2);
}

.how-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}

.how-column {
  padding: 0 4px;
}

.how-col-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-fg-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.how-col-icon {
  color: var(--brand-orange);
}

.how-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 16px;
  border-radius: 8px;
}

.how-item-input {
  background: var(--brand-dark-3);
  border: 1px solid var(--brand-border);
  color: var(--brand-fg-muted);
}

.how-item-output {
  background: rgba(200, 50, 30, 0.05);
  border: 1px solid rgba(200, 50, 30, 0.15);
  color: var(--brand-fg-muted);
}

.how-item-output .how-item-bullet {
  color: var(--brand-orange);
  font-weight: 700;
}

.how-item-input .how-item-bullet {
  color: var(--brand-fg-dim);
}

.how-item-bullet {
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-top: 1px;
}

/* Center arrow column */
.how-arrow-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  padding-top: 44px;
}

.how-arrow-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, var(--brand-border), var(--brand-orange), var(--brand-border));
  min-height: 40px;
}

.how-arrow-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 12px 0;
  transform: rotate(180deg);
}

/* ===== CTA ===== */
.brand-cta {
  background: radial-gradient(ellipse at 50% 0%, rgba(200,50,30,0.08) 0%, transparent 65%),
              var(--brand-dark);
  text-align: center;
  border-top: 1px solid var(--brand-border);
}

.brand-cta-inner {
  max-width: 640px;
}

.cta-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.cta-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brand-fg);
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 17px;
  color: var(--brand-fg-muted);
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-amber) 100%);
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(232, 83, 26, 0.3);
  margin-bottom: 20px;
}

.cta-button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(232, 83, 26, 0.4);
}

.cta-disclaimer {
  font-size: 13px;
  color: var(--brand-fg-dim);
}

/* ===== FOOTER ===== */
.demo-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--brand-border);
  background: var(--brand-dark);
}

.demo-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.demo-footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-fg-muted);
}

.demo-footer-note {
  font-size: 13px;
  color: var(--brand-fg-dim);
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.demo-footer-back {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--brand-orange);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.demo-footer-back:hover {
  color: var(--brand-amber);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .mise-bar {
    padding: 10px 16px;
  }

  .mise-bar-label {
    display: none;
  }

  .brand-hero {
    padding: 120px 20px 80px;
  }

  .brand-hero-art {
    display: none;
  }

  .brand-name {
    font-size: clamp(60px, 18vw, 100px);
  }

  .brand-meta-row {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }

  .brand-meta-divider {
    display: none;
  }

  .brand-meta-item {
    padding: 0;
  }

  .brand-section {
    padding: 64px 20px;
  }

  .menu-hero-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 24px;
  }

  .menu-hero-visual {
    width: 120px;
    height: 120px;
  }

  .menu-hero-name {
    font-size: 40px;
  }

  .gtm-grid {
    grid-template-columns: 1fr;
  }

  .how-flow {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-arrow-col {
    display: none;
  }

  .demo-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .demo-footer-note {
    text-align: center;
  }
}
