/* ============================================
   Bear Up — Showcase Website Styles
   Dark theme, modern, responsive
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #100c08;
  --bg-secondary: #1a1410;
  --bg-card: #241c14;
  --bg-card-hover: #2e2418;
  --bg-nav: rgba(16, 12, 8, 0.92);
  --accent-blue: #d4a574;
  --accent-purple: #c47d52;
  --accent-pink: #e8c49a;
  --accent-orange: #e0854a;
  --accent-red: #d45c4f;
  --accent-green: #8fbc6a;
  --gradient-main: linear-gradient(135deg, #d4a574 0%, #c47d52 50%, #e8c49a 100%);
  --gradient-blue: linear-gradient(135deg, #d4a574, #c47d52);
  --gradient-warm: linear-gradient(135deg, #e0854a, #d45c4f);
  --text-primary: #ede4d8;
  --text-secondary: #a89888;
  --text-muted: #706050;
  --border-color: rgba(180, 140, 100, 0.12);
  --border-glow: rgba(212, 165, 116, 0.25);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(212, 165, 116, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-med: 0.35s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-purple);
}

img {
  max-width: 100%;
  display: block;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.text-center {
  text-align: center;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  margin-top: 1rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow var(--transition-med);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-logo span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.lang-switch {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

.lang-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--gradient-main);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at 30% 20%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(196, 125, 82, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(232, 196, 154, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-icon {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  animation: float 4s ease-in-out infinite;
}

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

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.badge-icon {
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-med);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 165, 116, 0.45);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.55rem 1.3rem;
  font-size: 0.88rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-med);
}

.store-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--text-primary);
}

.store-btn-text {
  text-align: left;
  line-height: 1.2;
}

.store-btn-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.store-btn-name {
  font-size: 1.05rem;
  font-weight: 600;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-med);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.feature-icon.blue { background: rgba(212, 165, 116, 0.12); }
.feature-icon.purple { background: rgba(196, 125, 82, 0.12); }
.feature-icon.pink { background: rgba(232, 196, 154, 0.12); }
.feature-icon.orange { background: rgba(224, 133, 74, 0.12); }
.feature-icon.red { background: rgba(212, 92, 79, 0.12); }
.feature-icon.green { background: rgba(143, 188, 106, 0.12); }

.feature-card h3 {
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Personas --- */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.persona-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition-med);
  overflow: hidden;
}

.persona-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.persona-card.friend::before {
  background: var(--gradient-blue);
}

.persona-card.clinical::before {
  background: var(--gradient-main);
}

.persona-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.persona-emoji {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.persona-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.persona-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.persona-badge.free {
  background: rgba(143, 188, 106, 0.12);
  color: var(--accent-green);
}

.persona-badge.premium {
  background: rgba(196, 125, 82, 0.12);
  color: var(--accent-purple);
}

.persona-card p {
  font-size: 0.95rem;
}

.persona-traits {
  list-style: none;
  margin-top: 1.25rem;
  text-align: left;
}

.persona-traits li {
  padding: 0.35rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.persona-traits li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  margin-right: 0.6rem;
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--gradient-main);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.step-item h3 {
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.92rem;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 740px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition-med);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-purple);
  box-shadow: 0 0 40px rgba(196, 125, 82, 0.15);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-period {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

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

/* --- Safety Banner --- */
.safety-section {
  background: linear-gradient(135deg, rgba(212, 92, 79, 0.06), rgba(224, 133, 74, 0.04));
  border-top: 1px solid rgba(212, 92, 79, 0.15);
  border-bottom: 1px solid rgba(212, 92, 79, 0.15);
}

.safety-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.safety-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.safety-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.safety-content p {
  font-size: 0.95rem;
}

.safety-numbers {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.safety-number {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(212, 92, 79, 0.1);
  border: 1px solid rgba(212, 92, 79, 0.2);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-red);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 140%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 165, 116, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-stores {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- FAQ / Accordion --- */
.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-item.active {
  border-color: var(--accent-blue);
}

.faq-question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 1.15rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-med);
  stroke: var(--text-secondary);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-med);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer-inner p + p {
  margin-top: 0.75rem;
}

.faq-answer-inner ul {
  margin: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-answer-inner ul li {
  margin-bottom: 0.3rem;
}

/* --- Legal Pages --- */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-secondary);
}

.legal-content ul li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Support Header --- */
.support-hero {
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 2rem;
}

.support-hero h1 {
  margin-bottom: 0.75rem;
}

.support-hero p {
  max-width: 500px;
  margin: 0 auto;
}

.support-contact {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.support-contact h3 {
  margin-bottom: 0.5rem;
}

.support-contact a {
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Chat Demo --- */
.chat-demo {
  max-width: 380px;
  margin: 3rem auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.chat-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.chat-demo-title {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-demo-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-demo-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--accent-blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.assistant {
  align-self: flex-start;
  background: #2e2418;
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-bubble:nth-child(1) { animation-delay: 0.3s; }
.chat-bubble:nth-child(2) { animation-delay: 0.9s; }
.chat-bubble:nth-child(3) { animation-delay: 1.5s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-demo-buttons {
  padding: 0.75rem 1.25rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.chat-demo-btn {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-family: var(--font-sans);
  cursor: default;
  text-align: center;
}

.chat-demo-btn.red { border-color: rgba(212, 92, 79, 0.3); color: var(--accent-red); }
.chat-demo-btn.orange { border-color: rgba(224, 133, 74, 0.3); color: var(--accent-orange); }
.chat-demo-btn.blue { border-color: rgba(212, 165, 116, 0.3); color: var(--accent-blue); }
.chat-demo-btn.purple { border-color: rgba(196, 125, 82, 0.3); color: var(--accent-purple); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition-med);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 7rem 1.5rem 3rem;
  }

  .section {
    padding: 4rem 0;
  }

  .safety-content {
    flex-direction: column;
    text-align: center;
  }

  .safety-numbers {
    justify-content: center;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

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

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .cta-stores {
    flex-direction: column;
    align-items: center;
  }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
