/* HAL Website Styles */
/* Design system matching dashboard */

:root {
  /* Hal colors - Halley's comet inspired */
  --hal-teal: #14b8a6;
  --hal-teal-dark: #0d9488;
  --hal-teal-light: #5eead4;

  /* Neutral palette */
  --background: #ffffff;
  --foreground: #0a0a0a;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Sizing */
  --container-max: 1200px;
  --radius: 0.5rem;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #fafafa;
    --muted: #262626;
    --muted-foreground: #a3a3a3;
    --border: #262626;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--hal-teal);
  color: white;
}

.btn-primary:hover {
  background-color: var(--hal-teal-dark);
}

.btn-secondary {
  background-color: var(--muted);
  color: var(--foreground);
}

.btn-secondary:hover {
  background-color: var(--border);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: var(--muted);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

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

.nav-link {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-trigger::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
  margin-top: var(--space-2);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-item {
  display: block;
  padding: var(--space-2) var(--space-3);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: background-color 0.15s, color 0.15s;
}

.nav-dropdown-item:hover {
  background: var(--muted);
  color: var(--foreground);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-2) 0;
}

.nav-dropdown-all {
  font-weight: 500;
  color: var(--hal-teal);
}

.nav-dropdown-all:hover {
  color: var(--hal-teal);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--foreground);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  padding: var(--space-3) 0;
  font-size: 1rem;
  color: var(--foreground);
}

.mobile-nav-divider {
  height: 1px;
  background-color: var(--border);
  margin: var(--space-2) 0;
}

.mobile-nav-section {
  display: flex;
  flex-direction: column;
}

.mobile-nav-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  padding: var(--space-2) 0;
}

.mobile-nav-sublink {
  padding-left: var(--space-3);
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.mobile-nav-sublink:hover {
  color: var(--foreground);
}

@media (max-width: 768px) {
  .nav, .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* Hero */
.hero {
  padding: var(--space-24) 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.hero-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Widget Preview */
.hero-visual {
  position: relative;
}

.widget-preview {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 360px;
  margin-left: auto;
}

.widget-preview-header {
  background-color: var(--hal-teal);
  color: white;
  padding: var(--space-4) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.widget-preview-close {
  opacity: 0.8;
  cursor: pointer;
}

.widget-preview-messages {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 200px;
  background: white;
}

.widget-preview-msg {
  padding: var(--space-3) var(--space-4);
  border-radius: 16px;
  font-size: 0.875rem;
  max-width: 85%;
}

.widget-preview-msg.agent {
  background-color: #f1f3f5;
  color: #333;
  align-self: flex-start;
}

.widget-preview-msg.visitor {
  background-color: var(--hal-teal);
  color: white;
  align-self: flex-end;
}

.widget-preview-input {
  padding: var(--space-4);
  border-top: 1px solid #e9ecef;
  color: #999;
  font-size: 0.875rem;
  background: white;
}

.widget-preview-launcher {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 56px;
  height: 56px;
  background-color: var(--hal-teal);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    margin: 0 auto var(--space-8);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: var(--space-12);
}

/* Features Preview */
.features-preview {
  padding: var(--space-24) 0;
  background-color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background-color: var(--background);
  padding: var(--space-6);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--hal-teal);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.features-cta {
  text-align: center;
  margin-top: var(--space-12);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Dashboard Preview Section */
.dashboard-preview {
  padding: var(--space-24) 0;
}

.dashboard-mockup {
  display: flex;
  max-width: 1000px;
  margin: 0 auto var(--space-12);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-height: 500px;
}

/* Mockup Sidebar */
.mockup-sidebar {
  width: 64px;
  background-color: var(--muted);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) 0;
}

.mockup-logo {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-6);
}

.mockup-logo svg {
  width: 100%;
  height: 100%;
}

.mockup-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.mockup-nav-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  cursor: default;
}

.mockup-nav-item.active {
  background-color: var(--background);
  color: var(--foreground);
}

.mockup-nav-item svg {
  width: 20px;
  height: 20px;
}

.mockup-user {
  margin-top: auto;
}

.mockup-avatar {
  width: 32px;
  height: 32px;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Mockup Conversation List */
.mockup-list {
  width: 280px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.mockup-list-header {
  padding: var(--space-4) var(--space-4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.mockup-badge {
  background-color: var(--hal-teal);
  color: white;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
}

.mockup-conversations {
  flex: 1;
  overflow: hidden;
}

.mockup-conversation {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  cursor: default;
  border-bottom: 1px solid var(--border);
}

.mockup-conversation.active {
  background-color: var(--muted);
}

.mockup-conv-avatar {
  width: 36px;
  height: 36px;
  background-color: var(--border);
  color: var(--muted-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

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

.mockup-conv-name {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.mockup-conv-preview {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-conv-time {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

/* Mockup Chat View */
.mockup-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mockup-chat-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.mockup-chat-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mockup-chat-name {
  font-weight: 500;
  font-size: 0.9375rem;
}

.mockup-chat-status {
  font-size: 0.75rem;
  color: #22c55e;
}

.mockup-chat-messages {
  flex: 1;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  overflow: hidden;
}

.mockup-msg {
  max-width: 70%;
}

.mockup-msg.visitor {
  align-self: flex-start;
}

.mockup-msg.agent {
  align-self: flex-end;
}

.mockup-msg-bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.mockup-msg.visitor .mockup-msg-bubble {
  background-color: var(--muted);
  color: var(--foreground);
  border-bottom-left-radius: 4px;
}

.mockup-msg.agent .mockup-msg-bubble {
  background-color: var(--hal-teal);
  color: white;
  border-bottom-right-radius: 4px;
}

.mockup-msg-time {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  margin-top: 4px;
}

.mockup-msg.agent .mockup-msg-time {
  text-align: right;
}

.mockup-chat-input {
  padding: var(--space-4);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--space-2);
}

.mockup-chat-input input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 0.875rem;
  background: var(--background);
  color: var(--muted-foreground);
}

.mockup-send-btn {
  width: 40px;
  height: 40px;
  background-color: var(--hal-teal);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.mockup-send-btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .dashboard-mockup {
    flex-direction: column;
    min-height: auto;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-list {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .mockup-conversations {
    display: flex;
    overflow-x: auto;
  }

  .mockup-conversation {
    flex-shrink: 0;
    width: 200px;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 600px) {
  .dashboard-mockup {
    display: none;
  }
}

.demo-embed-code {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.demo-embed-code p {
  margin-bottom: var(--space-4);
  color: var(--muted-foreground);
}

.code-block {
  position: relative;
  background-color: var(--muted);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  overflow-x: auto;
  text-align: left;
}

.code-block code {
  color: var(--foreground);
}

.code-block pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

.code-copy-btn {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-size: 0.75rem;
  background-color: var(--foreground);
  color: var(--background);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
}

.code-copy-btn:hover {
  opacity: 0.9;
}

/* How It Works */
.how-it-works {
  padding: var(--space-24) 0;
  background-color: var(--muted);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
}

.step {
  text-align: center;
  max-width: 250px;
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto var(--space-4);
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.step p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.step-arrow {
  padding-top: var(--space-3);
}

.step-arrow svg {
  width: 32px;
  height: 32px;
  color: var(--border);
}

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
  }
}

/* Use Cases Preview */
.use-cases-preview {
  padding: var(--space-24) 0;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.use-case-card {
  display: block;
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.use-case-card:hover {
  border-color: var(--hal-teal);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.use-case-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.use-case-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-4);
}

.use-case-link {
  font-size: 0.875rem;
  color: var(--hal-teal);
  font-weight: 500;
}

@media (max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

/* Final CTA */
.final-cta {
  padding: var(--space-24) 0;
  background-color: var(--muted);
  text-align: center;
}

.final-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.final-cta p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-8);
}

.cta-note {
  margin-top: var(--space-4);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand .logo {
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: var(--space-4);
}

.footer-links a {
  display: block;
  font-size: 0.9375rem;
  color: var(--foreground);
  margin-bottom: var(--space-2);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--hal-teal);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

/* Page Hero (for internal pages) */
.page-hero {
  padding: var(--space-16) 0;
  text-align: center;
  background-color: var(--muted);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

/* Features Full Page */
.features-full {
  padding: var(--space-16) 0;
}

.feature-section {
  margin-bottom: var(--space-16);
}

.feature-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.feature-section-subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-top: calc(-1 * var(--space-2));
  margin-bottom: var(--space-8);
}

.features-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.feature-card-full {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.feature-card-full.coming-soon {
  opacity: 0.7;
}

.feature-icon-lg {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--background);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-lg svg {
  width: 24px;
  height: 24px;
  color: var(--hal-teal);
}

.feature-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.feature-content p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-3);
}

.feature-list {
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.feature-list li {
  padding-left: var(--space-4);
  position: relative;
  margin-bottom: var(--space-1);
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--hal-teal);
}

.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 9999px;
}

@media (max-width: 768px) {
  .features-grid-full {
    grid-template-columns: 1fr;
  }
}

/* Pricing Compare Box */
.pricing-compare {
  padding: var(--space-8) 0 0;
}

.compare-box {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.1));
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--foreground);
}

.compare-box strong {
  color: var(--hal-teal);
}

/* Pricing */
.pricing {
  padding: var(--space-16) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
}

.pricing-tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hal-teal);
  margin-bottom: var(--space-1);
}

.pricing-card {
  position: relative;
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
}

.pricing-card.featured {
  border-color: var(--hal-teal);
  box-shadow: 0 4px 24px rgba(220, 38, 38, 0.15);
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: var(--space-1) var(--space-4);
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 9999px;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.pricing-price {
  margin-bottom: var(--space-2);
}

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

.pricing-price .period {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-8);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9375rem;
  margin-bottom: var(--space-3);
}

.pricing-features svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--hal-teal);
}

@media (max-width: 1100px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

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

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

  .pricing-card.featured {
    order: -1;
  }
}

/* FAQ */
.faq {
  padding: var(--space-16) 0;
  background-color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

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

/* Docs */
.docs {
  padding: var(--space-16) 0;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-12);
}

.docs-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
}

.docs-nav h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.docs-nav h4:first-child {
  margin-top: 0;
}

.docs-nav a {
  display: block;
  font-size: 0.9375rem;
  padding: var(--space-2) 0;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.docs-nav a:hover,
.docs-nav a.active {
  color: var(--foreground);
}

.docs-nav a.active {
  font-weight: 500;
}

.docs-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.docs-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.docs-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.docs-content h5 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  color: var(--muted-foreground);
}

.docs-content p {
  margin-bottom: var(--space-4);
}

.docs-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-8) 0;
}

.docs-steps {
  list-style: none;
  counter-reset: step;
}

.docs-steps li {
  counter-increment: step;
  padding-left: var(--space-12);
  position: relative;
  margin-bottom: var(--space-6);
}

.docs-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.docs-steps h4 {
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.docs-list {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.docs-list li {
  margin-bottom: var(--space-2);
}

.docs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.docs-card {
  display: block;
  padding: var(--space-6);
  background-color: var(--muted);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.docs-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.docs-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 var(--space-2) 0;
}

.docs-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.docs-callout {
  padding: var(--space-4);
  background-color: rgba(220, 38, 38, 0.1);
  border-left: 3px solid var(--hal-teal);
  border-radius: var(--radius);
  margin: var(--space-6) 0;
  font-size: 0.9375rem;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: 0.9375rem;
}

.docs-table th,
.docs-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.docs-table th {
  font-weight: 600;
  background-color: var(--muted);
}

.docs-table code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background-color: var(--muted);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

/* API Endpoints */
.api-endpoint {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}

.api-endpoint:last-child {
  border-bottom: none;
}

.api-method {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  margin-right: var(--space-3);
}

.api-method.get {
  background-color: #22c55e;
  color: white;
}

.api-method.post {
  background-color: #3b82f6;
  color: white;
}

.api-method.patch {
  background-color: #f59e0b;
  color: white;
}

.api-method.delete {
  background-color: #ef4444;
  color: white;
}

.api-endpoint > code {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
}

.api-endpoint > p {
  margin-top: var(--space-2);
  color: var(--muted-foreground);
}

@media (max-width: 768px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--border);
  }

  .docs-cards {
    grid-template-columns: 1fr;
  }
}

/* Use Case Pages */
.use-case-hero {
  padding: var(--space-24) 0;
  background-color: var(--muted);
}

.use-case-hero-content {
  max-width: 700px;
}

.use-case-label {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 9999px;
  margin-bottom: var(--space-6);
}

.use-case-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.use-case-hero p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-8);
}

.use-case-problems {
  padding: var(--space-16) 0;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.problem-card {
  padding: var(--space-6);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.problem-icon {
  width: 48px;
  height: 48px;
  background-color: var(--background);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.problem-icon svg {
  width: 24px;
  height: 24px;
  color: var(--muted-foreground);
}

.problem-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.problem-card > p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-4);
}

.problem-card .solution {
  font-size: 0.9375rem;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.problem-card .solution strong {
  color: var(--hal-teal);
}

.use-case-examples {
  padding: var(--space-16) 0;
  background-color: var(--muted);
}

.examples-list {
  max-width: 700px;
  margin: 0 auto;
}

.example-item {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.example-number {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hal-teal);
}

.example-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.example-content p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.use-case-features {
  padding: var(--space-16) 0;
}

@media (max-width: 768px) {
  .use-case-hero h1 {
    font-size: 2rem;
  }

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.lang-link {
  padding: var(--space-1) var(--space-2);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: calc(var(--radius) - 2px);
  transition: all 0.2s;
}

.lang-link:hover {
  color: var(--foreground);
}

.lang-link.active {
  background-color: var(--background);
  color: var(--foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mobile-lang-switcher {
  display: flex;
  justify-content: center;
  padding: var(--space-2) 0;
}

.mobile-lang-switcher .lang-switcher {
  display: inline-flex;
}

/* ===========================================
   MOBILE OPTIMIZATIONS
   =========================================== */

/* Mobile-first spacing adjustments */
@media (max-width: 480px) {
  :root {
    --space-24: 4rem;
    --space-16: 3rem;
    --space-12: 2rem;
  }

  .container {
    padding: 0 var(--space-4);
  }

  /* Buttons - larger touch targets */
  .btn {
    padding: var(--space-4) var(--space-6);
    font-size: 1rem;
    min-height: 48px;
  }

  .btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1.0625rem;
  }

  /* Hero adjustments */
  .hero {
    padding: var(--space-12) 0;
  }

  .hero-title {
    font-size: 1.875rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Section titles */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-8);
  }

  /* Page hero */
  .page-hero {
    padding: var(--space-8) 0;
  }

  .page-hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    padding: 0 var(--space-2);
  }

  .page-hero p {
    font-size: 1rem;
    padding: 0 var(--space-2);
  }

  /* Features preview */
  .features-preview {
    padding: var(--space-12) 0;
  }

  .feature-card {
    padding: var(--space-4);
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.875rem;
  }

  /* Pricing compare box */
  .compare-box {
    padding: var(--space-3) var(--space-4);
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  /* Pricing cards */
  .pricing {
    padding: var(--space-12) 0;
  }

  .pricing-card {
    padding: var(--space-6);
  }

  .pricing-header h3 {
    font-size: 1.125rem;
  }

  .pricing-price .price {
    font-size: 2rem;
  }

  .pricing-tagline {
    font-size: 0.75rem;
  }

  .pricing-desc {
    font-size: 0.8125rem;
  }

  .pricing-features li {
    font-size: 0.8125rem;
    gap: var(--space-2);
  }

  .pricing-features svg {
    width: 16px;
    height: 16px;
  }

  /* FAQ */
  .faq {
    padding: var(--space-12) 0;
  }

  .faq-item h3 {
    font-size: 0.9375rem;
  }

  .faq-item p {
    font-size: 0.875rem;
  }

  /* Features full page */
  .features-full {
    padding: var(--space-8) 0;
  }

  .feature-section {
    margin-bottom: var(--space-8);
  }

  .feature-section-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-3);
  }

  .feature-section-subtitle {
    font-size: 0.875rem;
    margin-bottom: var(--space-6);
  }

  .feature-card-full {
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-4);
  }

  .feature-icon-lg {
    width: 40px;
    height: 40px;
  }

  .feature-icon-lg svg {
    width: 20px;
    height: 20px;
  }

  .feature-content h3 {
    font-size: 1rem;
  }

  .feature-content p {
    font-size: 0.875rem;
  }

  .feature-list {
    font-size: 0.8125rem;
  }

  /* Final CTA */
  .final-cta {
    padding: var(--space-12) 0;
  }

  .final-cta h2 {
    font-size: 1.5rem;
  }

  .final-cta p {
    font-size: 1rem;
    padding: 0 var(--space-2);
  }

  /* Footer */
  .footer {
    padding: var(--space-8) 0 var(--space-6);
  }

  .footer-grid {
    gap: var(--space-6);
    margin-bottom: var(--space-8);
  }

  .footer-tagline {
    font-size: 0.875rem;
  }

  .footer-links h4 {
    font-size: 0.8125rem;
    margin-bottom: var(--space-3);
  }

  .footer-links a {
    font-size: 0.875rem;
    padding: var(--space-1) 0;
  }

  /* How it works */
  .how-it-works {
    padding: var(--space-12) 0;
  }

  .step {
    max-width: 100%;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .step h3 {
    font-size: 1rem;
  }

  .step p {
    font-size: 0.875rem;
  }

  .step-arrow {
    padding: var(--space-2) 0;
  }

  .step-arrow svg {
    width: 24px;
    height: 24px;
  }

  /* Use cases */
  .use-cases-preview {
    padding: var(--space-12) 0;
  }

  .use-case-card {
    padding: var(--space-4);
  }

  .use-case-card h3 {
    font-size: 1.125rem;
  }

  .use-case-card p {
    font-size: 0.875rem;
  }

  /* Use case pages */
  .use-case-hero {
    padding: var(--space-12) 0;
  }

  .use-case-hero h1 {
    font-size: 1.75rem;
  }

  .use-case-hero p {
    font-size: 1rem;
  }

  .use-case-label {
    font-size: 0.8125rem;
    padding: var(--space-1) var(--space-3);
  }

  .problem-card {
    padding: var(--space-4);
  }

  .problem-card h3 {
    font-size: 1rem;
  }

  .problem-card > p,
  .problem-card .solution {
    font-size: 0.875rem;
  }

  /* Docs */
  .docs {
    padding: var(--space-8) 0;
  }

  .docs-content h2 {
    font-size: 1.5rem;
  }

  .docs-content h3 {
    font-size: 1.125rem;
  }

  .docs-card {
    padding: var(--space-4);
  }

  .docs-card h4 {
    font-size: 0.9375rem;
  }

  .docs-table {
    font-size: 0.8125rem;
  }

  .docs-table th,
  .docs-table td {
    padding: var(--space-2) var(--space-3);
  }

  .code-block {
    padding: var(--space-3) var(--space-4);
    font-size: 0.75rem;
  }

  /* Dashboard mockup - show simplified version on mobile */
  .dashboard-preview {
    padding: var(--space-12) 0;
  }

  .demo-embed-code p {
    font-size: 0.875rem;
  }
}

/* Tablet adjustments (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .pricing-card {
    padding: var(--space-6);
  }

  .pricing-price .price {
    font-size: 2.25rem;
  }

  .feature-card-full {
    gap: var(--space-4);
  }
}

/* Touch-friendly improvements for all mobile */
@media (max-width: 768px) {
  /* Ensure minimum touch target size (48px) */
  .nav-link,
  .mobile-nav-link,
  .footer-links a,
  .docs-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Better tap spacing in mobile menu */
  .mobile-menu {
    padding: var(--space-4);
  }

  .mobile-nav-link {
    padding: var(--space-4) var(--space-2);
    font-size: 1.0625rem;
  }

  /* Prevent text from being too small */
  html {
    -webkit-text-size-adjust: 100%;
  }

  /* Improve code block scrolling on mobile */
  .code-block {
    -webkit-overflow-scrolling: touch;
  }

  /* Better list readability */
  .pricing-features {
    margin-bottom: var(--space-6);
  }

  .pricing-features li {
    margin-bottom: var(--space-2);
    line-height: 1.4;
  }

  /* Improve feature card readability */
  .feature-list li {
    margin-bottom: var(--space-2);
    line-height: 1.5;
  }

  /* Mobile pricing card spacing */
  .pricing-grid {
    gap: var(--space-4);
  }

  .pricing-grid-4 {
    gap: var(--space-4);
  }

  /* Ensure pricing badge doesn't overlap on mobile */
  .pricing-card.featured {
    margin-top: var(--space-4);
  }

  /* FAQ grid adjustments */
  .faq-grid {
    gap: var(--space-6);
  }

  /* Better scrolling for horizontal elements */
  .mockup-conversations {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .mockup-conversation {
    scroll-snap-align: start;
  }
}

/* ===========================================
   FEATURE PAGE STYLES
   =========================================== */

/* Feature Page Hero */
.feature-page-hero {
  padding: var(--space-24) 0;
  background-color: var(--muted);
}

.feature-hero-content {
  max-width: 700px;
}

.feature-label {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 9999px;
  margin-bottom: var(--space-6);
}

.feature-page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.feature-page-hero p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-8);
}

/* Feature Mockup Section */
.feature-mockup-section {
  padding: var(--space-16) 0;
}

.mockup-caption {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-top: var(--space-6);
}

/* Feature Details */
.feature-details {
  padding: var(--space-16) 0;
}

.feature-details.alt-bg {
  background-color: var(--muted);
}

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-detail-card {
  padding: var(--space-6);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-details.alt-bg .feature-detail-card {
  background-color: var(--background);
}

.feature-detail-icon {
  width: 48px;
  height: 48px;
  background-color: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.feature-detail-icon svg {
  width: 24px;
  height: 24px;
  color: var(--hal-teal);
}

.feature-detail-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.feature-detail-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-4);
}

.feature-checklist {
  list-style: none;
  font-size: 0.875rem;
}

.feature-checklist li {
  padding-left: var(--space-4);
  position: relative;
  margin-bottom: var(--space-1);
  color: var(--muted-foreground);
}

.feature-checklist li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--hal-teal);
}

/* Feature Showcase */
.feature-showcase {
  padding: var(--space-16) 0;
}

.feature-showcase.alt-bg {
  background-color: var(--muted);
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.showcase-content.reverse {
  direction: rtl;
}

.showcase-content.reverse > * {
  direction: ltr;
}

.showcase-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.showcase-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-6);
}

.showcase-list {
  list-style: none;
}

.showcase-list li {
  margin-bottom: var(--space-4);
}

.showcase-list li strong {
  display: block;
  font-size: 1rem;
  margin-bottom: var(--space-1);
}

.showcase-list li span {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* ===========================================
   KANBAN BOARD MOCKUP
   =========================================== */

.kanban-mockup {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.kanban-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
}

.kanban-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 1.125rem;
}

.kanban-title svg {
  width: 20px;
  height: 20px;
  color: var(--muted-foreground);
}

.kanban-badge {
  background-color: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  padding: var(--space-1) var(--space-3);
  border-radius: 9999px;
  font-weight: 500;
}

.kanban-board {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  overflow-x: auto;
}

.kanban-column {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  background-color: var(--muted);
  border-radius: var(--radius);
  padding: var(--space-3);
}

.kanban-column-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
}

.stage-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.stage-name {
  font-weight: 600;
  font-size: 0.9375rem;
  flex: 1;
}

.stage-count {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.kanban-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background-color: var(--background);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
}

.kanban-card.faded {
  opacity: 0.5;
}

.kanban-card.highlighted {
  border-color: var(--hal-teal);
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.15);
}

.card-avatar {
  width: 32px;
  height: 32px;
  background-color: var(--border);
  color: var(--muted-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-name {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-company, .card-email {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-chats {
  width: 24px;
  height: 24px;
  background-color: var(--muted);
  color: var(--muted-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ===========================================
   CONTACT DETAIL MOCKUP
   =========================================== */

.contact-detail-mockup {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-avatar-lg {
  width: 56px;
  height: 56px;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
}

.contact-name-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.contact-company-name {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.contact-stage-badge {
  padding: var(--space-1) var(--space-3);
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  border-radius: 9999px;
  margin-left: auto;
}

.contact-stats {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-4);
  background-color: var(--muted);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.contact-info-section {
  margin-bottom: var(--space-4);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.info-value {
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tag {
  padding: var(--space-1) var(--space-2);
  font-size: 0.75rem;
  background-color: var(--muted);
  color: var(--muted-foreground);
  border-radius: var(--radius);
}

.contact-notes {
  padding: var(--space-3);
  background-color: var(--muted);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

.notes-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: var(--space-2);
}

.notes-content {
  font-size: 0.875rem;
  line-height: 1.5;
}

.recent-conversations {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: var(--space-3);
}

.conversation-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.conv-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.conv-status.open {
  background-color: #22c55e;
}

.conv-status.closed {
  background-color: var(--muted-foreground);
}

.conv-preview {
  flex: 1;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv-time {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

/* ===========================================
   CONNECTION FLOW
   =========================================== */

.feature-connection {
  padding: var(--space-16) 0;
  background-color: var(--muted);
}

.connection-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.connection-step {
  text-align: center;
  max-width: 180px;
}

.connection-icon {
  width: 64px;
  height: 64px;
  background-color: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.connection-icon svg {
  width: 28px;
  height: 28px;
  color: var(--hal-teal);
}

.connection-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.connection-step p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.connection-arrow {
  padding-top: var(--space-6);
}

.connection-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--border);
}

/* ===========================================
   TEAM MOCKUP
   =========================================== */

.team-mockup {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.team-mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
}

.team-mockup-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.mockup-btn {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--muted);
  color: var(--foreground);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.mockup-btn.primary {
  background-color: var(--hal-teal);
  color: white;
}

.mockup-btn.small {
  padding: var(--space-1) var(--space-3);
  font-size: 0.8125rem;
}

.mockup-btn.danger {
  background-color: #ef4444;
  color: white;
}

.team-list {
  padding: var(--space-2) 0;
}

.team-member {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-6);
}

.team-member:hover {
  background-color: var(--muted);
}

.member-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.member-avatar.owner {
  background-color: #f59e0b;
  color: white;
}

.member-avatar.admin {
  background-color: #6366f1;
  color: white;
}

.member-avatar.member {
  background-color: var(--border);
  color: var(--muted-foreground);
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 0.9375rem;
  font-weight: 500;
}

.you-badge {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-left: var(--space-2);
}

.member-email {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.member-role {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
}

.member-role svg {
  width: 14px;
  height: 14px;
}

.member-role.owner {
  color: #f59e0b;
  background-color: rgba(245, 158, 11, 0.1);
}

.member-role.admin {
  color: #6366f1;
  background-color: rgba(99, 102, 241, 0.1);
}

.member-role.member {
  color: var(--muted-foreground);
  background-color: var(--muted);
}

.member-action {
  padding: var(--space-1) var(--space-3);
  font-size: 0.75rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  cursor: pointer;
}

.pending-invitations {
  padding: var(--space-4) var(--space-6);
  background-color: var(--muted);
  border-top: 1px solid var(--border);
}

.pending-invitations h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.invitation-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-2) 0;
}

.invitation-email {
  flex: 1;
  font-size: 0.875rem;
}

.invitation-role {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.invitation-expires {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.invitation-cancel {
  font-size: 0.75rem;
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===========================================
   ROLES GRID
   =========================================== */

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.role-card {
  padding: var(--space-6);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.role-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.role-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-icon svg {
  width: 20px;
  height: 20px;
}

.role-icon.owner {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.role-icon.admin {
  background-color: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.role-icon.member {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.role-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.role-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-4);
}

.role-permissions {
  list-style: none;
}

.role-permissions li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  margin-bottom: var(--space-2);
}

.role-permissions li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.role-permissions li.allowed svg {
  color: #22c55e;
}

.role-permissions li.denied svg {
  color: #ef4444;
}

.role-permissions li.denied {
  color: var(--muted-foreground);
}

/* ===========================================
   KNOWLEDGE BASE MOCKUP
   =========================================== */

.knowledge-mockup {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.kb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
}

.kb-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.kb-stats {
  display: flex;
  gap: var(--space-4);
}

.kb-stat {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.kb-sections {
  padding: var(--space-6);
}

.kb-section {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.kb-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.kb-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.kb-section-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kb-section-icon svg {
  width: 20px;
  height: 20px;
}

.kb-section-icon.website {
  background-color: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.kb-section-icon.files {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.kb-section-info {
  flex: 1;
}

.kb-section-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.kb-section-info p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.kb-section-status {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.8125rem;
  font-weight: 500;
}

.kb-section-status svg {
  width: 16px;
  height: 16px;
}

.kb-section-status.completed {
  color: #22c55e;
}

.kb-website-form {
  padding: var(--space-4);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.website-input-row {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.website-url {
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.url-prefix {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.url-value {
  font-size: 0.875rem;
  font-weight: 500;
}

.scan-results {
  display: flex;
  gap: var(--space-6);
}

.scan-result-item {
  display: flex;
  flex-direction: column;
}

.result-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.result-value {
  font-size: 0.9375rem;
  font-weight: 500;
}

.upload-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.upload-btn svg {
  width: 16px;
  height: 16px;
}

.kb-files-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.kb-file {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.file-icon {
  width: 32px;
  height: 32px;
  background-color: var(--background);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-icon svg {
  width: 16px;
  height: 16px;
  color: var(--muted-foreground);
}

.file-info {
  flex: 1;
}

.file-name {
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
}

.file-meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.file-remove {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-remove svg {
  width: 14px;
  height: 14px;
}

.kb-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  background-color: var(--muted);
}

.kb-usage {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.usage-bar {
  width: 120px;
  height: 6px;
  background-color: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}

.usage-fill {
  height: 100%;
  background-color: var(--hal-teal);
  border-radius: 9999px;
}

.usage-text {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ===========================================
   TRAINING METHODS
   =========================================== */

.training-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.training-method {
  padding: var(--space-6);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.method-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.method-icon {
  width: 48px;
  height: 48px;
  background-color: var(--background);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-icon svg {
  width: 24px;
  height: 24px;
  color: var(--hal-teal);
}

.method-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.method-badge {
  padding: var(--space-1) var(--space-2);
  font-size: 0.6875rem;
  font-weight: 600;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-left: auto;
}

.method-badge.secondary {
  background-color: var(--border);
  color: var(--foreground);
}

.method-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-4);
}

.method-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.method-feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
}

.method-feature svg {
  width: 16px;
  height: 16px;
  color: var(--hal-teal);
  flex-shrink: 0;
}

/* ===========================================
   LEARNING FLOW
   =========================================== */

.learning-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.learning-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.learning-step-number {
  width: 40px;
  height: 40px;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto var(--space-4);
}

.learning-step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.learning-step-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-4);
}

.learning-visual {
  padding: var(--space-4);
  background-color: var(--background);
  border-radius: var(--radius);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-sources {
  display: flex;
  gap: var(--space-3);
}

.source-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.source-item svg {
  width: 16px;
  height: 16px;
}

.processing-animation {
  display: flex;
  gap: var(--space-2);
}

.process-dot {
  width: 8px;
  height: 8px;
  background-color: var(--hal-teal);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.process-dot:nth-child(2) {
  animation-delay: 0.3s;
}

.process-dot:nth-child(3) {
  animation-delay: 0.6s;
}

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

.response-bubble {
  padding: var(--space-3) var(--space-4);
  background-color: var(--muted);
  border-radius: 16px;
  font-size: 0.8125rem;
  color: var(--foreground);
  font-style: italic;
}

.learning-arrow {
  padding-top: var(--space-6);
}

.learning-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--border);
}

/* ===========================================
   ARTICLE EDITOR MOCKUP
   =========================================== */

.article-editor-mockup {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.editor-layout {
  display: flex;
  min-height: 500px;
}

.editor-sidebar {
  width: 240px;
  border-right: 1px solid var(--border);
  background-color: var(--muted);
}

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

.sidebar-header h4 {
  font-size: 0.875rem;
  font-weight: 600;
}

.article-groups {
  padding: var(--space-2);
}

.article-group {
  margin-bottom: var(--space-2);
}

.group-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius);
}

.group-header:hover {
  background-color: var(--border);
}

.group-header svg {
  width: 14px;
  height: 14px;
  color: var(--muted-foreground);
}

.group-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.group-articles {
  padding-left: var(--space-6);
}

.article-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  font-size: 0.8125rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.article-item:hover {
  background-color: var(--border);
}

.article-item.active {
  background-color: var(--background);
}

.published-icon, .draft-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.published-icon svg {
  width: 12px;
  height: 12px;
  color: var(--hal-teal);
}

.draft-icon svg {
  width: 12px;
  height: 12px;
  color: var(--muted-foreground);
}

.article-group.collapsed .group-articles {
  display: none;
}

.editor-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
}

.language-tabs {
  display: flex;
  gap: var(--space-1);
}

.lang-tab {
  padding: var(--space-1) var(--space-3);
  font-size: 0.75rem;
  font-weight: 500;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--muted-foreground);
}

.lang-tab.active {
  background-color: var(--hal-teal);
  border-color: var(--hal-teal);
  color: white;
}

.lang-tab.has-content {
  color: var(--foreground);
}

.editor-actions {
  display: flex;
  gap: var(--space-2);
}

.editor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  min-height: 500px;
}

.editor-content {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.editor-preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--muted);
  border-radius: var(--radius);
  overflow-y: auto;
}

.preview-header {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-content {
  flex: 1;
  overflow-y: auto;
}

.preview-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.preview-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.preview-content p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-3);
  color: var(--foreground);
}

.preview-content pre {
  background: var(--background);
  padding: var(--space-3);
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: var(--space-3);
  border: 1px solid var(--border);
}

.preview-content code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.article-title-input {
  width: 100%;
  padding: var(--space-3);
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  background: none;
  margin-bottom: var(--space-4);
}

.markdown-toolbar {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-2);
  background-color: var(--muted);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

.md-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--muted-foreground);
}

.md-btn:hover {
  background-color: var(--background);
  color: var(--foreground);
}

.md-btn svg {
  width: 16px;
  height: 16px;
}

.markdown-editor {
  background-color: var(--muted);
  border-radius: var(--radius);
  padding: var(--space-4);
  min-height: 300px;
}

.editor-textarea {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
}

.editor-line {
  margin-bottom: 0;
}

.cursor {
  color: var(--hal-teal);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ===========================================
   HELP CENTER MOCKUP
   =========================================== */

.help-center-mockup {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 360px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  background-color: var(--hal-teal);
  color: white;
}

.hc-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.hc-lang-select {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.8125rem;
  cursor: pointer;
}

.hc-lang-select svg {
  width: 14px;
  height: 14px;
}

.hc-content {
  padding: var(--space-4) var(--space-6);
}

.hc-group {
  margin-bottom: var(--space-4);
}

.hc-group h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.hc-articles {
  list-style: none;
}

.hc-articles li {
  margin-bottom: var(--space-1);
}

.hc-articles a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hc-articles a:hover {
  color: var(--hal-teal);
}

.hc-footer {
  padding: var(--space-3) var(--space-6);
  text-align: center;
  background-color: var(--muted);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.hc-hal {
  color: var(--hal-teal);
  font-weight: 600;
}

/* ===========================================
   LANGUAGES GRID
   =========================================== */

.languages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  max-width: 800px;
  margin: 0 auto;
}

.language-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.lang-flag {
  width: 40px;
  height: 40px;
  background-color: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.lang-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.lang-status {
  font-size: 0.6875rem;
  color: var(--hal-teal);
  margin-top: var(--space-1);
}

/* ===========================================
   INBOX MOCKUP FULL
   =========================================== */

.inbox-mockup-full {
  display: flex;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-height: 550px;
}

.inbox-sidebar {
  width: 64px;
  background-color: var(--muted);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) 0;
}

.inbox-logo {
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-6);
}

.inbox-logo svg {
  width: 100%;
  height: 100%;
}

.inbox-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.inbox-nav-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  position: relative;
}

.inbox-nav-item.active {
  background-color: var(--background);
  color: var(--foreground);
}

.inbox-nav-item svg {
  width: 20px;
  height: 20px;
}

.inbox-nav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background-color: #ef4444;
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inbox-list {
  width: 300px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.inbox-list-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.inbox-list-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.filter-tabs {
  display: flex;
  gap: var(--space-1);
}

.filter-tab {
  padding: var(--space-1) var(--space-2);
  font-size: 0.75rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--muted-foreground);
}

.filter-tab.active {
  background-color: var(--foreground);
  border-color: var(--foreground);
  color: var(--background);
}

.filter-tab .count {
  margin-left: var(--space-1);
}

.inbox-conversations {
  flex: 1;
  overflow-y: auto;
}

.inbox-conv {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.inbox-conv:hover {
  background-color: var(--muted);
}

.inbox-conv.active {
  background-color: var(--muted);
}

.inbox-conv.snoozed {
  opacity: 0.6;
}

.inbox-conv-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--border);
  color: var(--muted-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  flex-shrink: 0;
}

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

.inbox-conv-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-1);
}

.inbox-conv-name {
  font-size: 0.9375rem;
  font-weight: 500;
}

.inbox-conv-time {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.inbox-conv-preview {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-conv-unread {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
}

.snooze-icon {
  color: var(--muted-foreground);
}

.snooze-icon svg {
  width: 16px;
  height: 16px;
}

.inbox-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.inbox-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.chat-user-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--border);
  color: var(--muted-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

.chat-user-name {
  font-size: 1rem;
  font-weight: 500;
}

.chat-user-status {
  font-size: 0.75rem;
  color: #22c55e;
}

.chat-actions {
  display: flex;
  gap: var(--space-2);
}

.chat-action-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--muted-foreground);
}

.chat-action-btn:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.chat-action-btn svg {
  width: 18px;
  height: 18px;
}

.inbox-chat-messages {
  flex: 1;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  overflow-y: auto;
}

.chat-message {
  max-width: 75%;
}

.chat-message.visitor {
  align-self: flex-start;
}

.chat-message.agent {
  align-self: flex-end;
}

.message-sender {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-1);
  text-align: right;
}

.message-bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.chat-message.visitor .message-bubble {
  background-color: var(--muted);
  color: var(--foreground);
  border-bottom-left-radius: 4px;
}

.chat-message.agent .message-bubble {
  background-color: var(--hal-teal);
  color: white;
  border-bottom-right-radius: 4px;
}

.message-time {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  margin-top: var(--space-1);
}

.chat-message.agent .message-time {
  text-align: right;
}

.ai-suggestion {
  padding: var(--space-4);
  background-color: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: var(--radius);
  align-self: flex-end;
  max-width: 85%;
}

.ai-suggestion-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hal-teal);
  margin-bottom: var(--space-2);
}

.ai-suggestion-header svg {
  width: 14px;
  height: 14px;
}

.ai-suggestion-text {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.ai-suggestion-actions {
  display: flex;
  gap: var(--space-2);
}

.ai-btn {
  padding: var(--space-1) var(--space-3);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
}

.ai-btn.accept {
  background-color: var(--hal-teal);
  color: white;
  border: none;
}

.ai-btn.edit {
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
}

.ai-btn.dismiss {
  background: none;
  border: none;
  color: var(--muted-foreground);
}

.inbox-chat-input {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border-top: 1px solid var(--border);
}

.attach-btn, .send-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

.attach-btn {
  background: none;
  border: none;
  color: var(--muted-foreground);
}

.send-btn {
  background-color: var(--hal-teal);
  border: none;
  color: white;
}

.attach-btn svg, .send-btn svg {
  width: 18px;
  height: 18px;
}

.inbox-chat-input input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 0.9375rem;
  background: var(--background);
}

/* ===========================================
   SNOOZE PICKER MOCKUP
   =========================================== */

.snooze-picker-mockup {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  max-width: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.snooze-header {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.snooze-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.snooze-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.875rem;
  text-align: left;
  color: var(--foreground);
}

.snooze-option:hover {
  background-color: var(--muted);
}

.snooze-option svg {
  width: 16px;
  height: 16px;
  color: var(--muted-foreground);
}

.snooze-option.custom {
  border-style: dashed;
  color: var(--muted-foreground);
}

/* ===========================================
   REALTIME FEATURES
   =========================================== */

.realtime-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

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

.realtime-icon {
  width: 56px;
  height: 56px;
  background-color: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.realtime-icon svg {
  width: 24px;
  height: 24px;
  color: var(--hal-teal);
}

.realtime-feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.realtime-feature p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===========================================
   USAGE DASHBOARD MOCKUP
   =========================================== */

.usage-dashboard-mockup {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.usage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
}

.usage-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.billing-period {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.billing-period strong {
  color: var(--foreground);
}

.usage-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  padding: var(--space-6);
}

.usage-stat-card {
  padding: var(--space-4);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.usage-stat-card.warning {
  background-color: rgba(245, 158, 11, 0.1);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.stat-title {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.stat-limit {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.usage-stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.stat-bar {
  height: 6px;
  background-color: var(--border);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.stat-bar-fill {
  height: 100%;
  background-color: var(--hal-teal);
  border-radius: 9999px;
}

.stat-bar-fill.warning {
  background-color: #f59e0b;
}

.stat-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-percent {
  font-size: 0.75rem;
  font-weight: 500;
}

.stat-percent.good {
  color: var(--hal-teal);
}

.stat-percent.warning {
  color: #f59e0b;
}

.stat-remaining {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.usage-breakdown {
  padding: 0 var(--space-6) var(--space-6);
}

.usage-breakdown h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.app-usage-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.app-usage-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.app-info {
  width: 180px;
}

.app-name {
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
}

.app-tokens {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.app-bar {
  flex: 1;
  height: 8px;
  background-color: var(--muted);
  border-radius: 9999px;
  overflow: hidden;
}

.app-bar-fill {
  height: 100%;
  background-color: var(--hal-teal);
  border-radius: 9999px;
}

.app-percent {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  width: 40px;
  text-align: right;
}

.usage-history {
  padding: 0 var(--space-6) var(--space-6);
}

.usage-history h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.usage-chart {
  background-color: var(--muted);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 120px;
  margin-bottom: var(--space-4);
}

.chart-bar {
  flex: 1;
  background-color: var(--hal-teal);
  border-radius: 2px 2px 0 0;
  opacity: 0.6;
}

.chart-bar.active {
  opacity: 1;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===========================================
   PLAN LIMITS
   =========================================== */

.plan-limits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}

.plan-limit-card {
  padding: var(--space-6);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}

.plan-limit-card.featured {
  border-color: var(--hal-teal);
  box-shadow: 0 4px 24px rgba(20, 184, 166, 0.15);
}

.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: var(--space-1) var(--space-3);
  font-size: 0.6875rem;
  font-weight: 600;
  background-color: var(--hal-teal);
  color: white;
  border-radius: 9999px;
}

.plan-limit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.plan-limit-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hal-teal);
  margin-bottom: var(--space-2);
}

.plan-limit-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-4);
}

.plan-limit-desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.plan-cta {
  text-align: center;
  margin-top: var(--space-8);
}

/* ===========================================
   METERING EXPLANATION
   =========================================== */

.metering-explanation {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.metering-step {
  text-align: center;
  max-width: 220px;
}

.metering-icon {
  width: 56px;
  height: 56px;
  background-color: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.metering-icon svg {
  width: 24px;
  height: 24px;
  color: var(--hal-teal);
}

.metering-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.metering-step p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.metering-arrow {
  padding-top: var(--space-6);
}

.metering-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--border);
}

/* ===========================================
   INVITATION FLOW MOCKUP
   =========================================== */

.invitation-flow-mockup {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.invite-step {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  opacity: 0.5;
}

.invite-step.active {
  opacity: 1;
}

.invite-step:last-child {
  margin-bottom: 0;
}

.invite-step .step-number {
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin: 0;
}

.invite-step .step-content {
  flex: 1;
}

.step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.invite-form-mockup {
  padding: var(--space-3);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.form-field {
  margin-bottom: var(--space-3);
}

.form-field:last-child {
  margin-bottom: 0;
}

.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: var(--space-1);
  color: var(--muted-foreground);
}

.form-field input, .form-field select {
  width: 100%;
  padding: var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  background: var(--background);
}

.form-field.small input {
  padding: var(--space-1) var(--space-2);
  font-size: 0.75rem;
}

.email-preview-mockup {
  padding: var(--space-3);
  background-color: var(--muted);
  border-radius: var(--radius);
}

.email-subject {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.email-body {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-3);
}

.email-button {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background-color: var(--hal-teal);
  color: white;
  font-size: 0.6875rem;
  border-radius: var(--radius);
}

.signup-preview {
  padding: var(--space-3);
  background-color: var(--muted);
  border-radius: var(--radius);
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS FOR FEATURE PAGES
   =========================================== */

@media (max-width: 1100px) {
  .plan-limits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .feature-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .training-methods {
    grid-template-columns: 1fr;
  }

  .realtime-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .usage-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .languages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .inbox-mockup-full {
    flex-direction: column;
    min-height: auto;
  }

  .inbox-sidebar {
    display: none;
  }

  .inbox-list {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    max-height: 300px;
  }

  .inbox-chat {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .feature-page-hero {
    padding: var(--space-12) 0;
  }

  .feature-page-hero h1 {
    font-size: 2rem;
  }

  .feature-page-hero p {
    font-size: 1rem;
  }

  .showcase-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .showcase-content.reverse {
    direction: ltr;
  }

  .kanban-board {
    overflow-x: auto;
    padding-bottom: var(--space-4);
  }

  .editor-split {
    grid-template-columns: 1fr;
  }

  .kanban-column {
    min-width: 200px;
  }

  .feature-grid-3 {
    grid-template-columns: 1fr;
  }

  .connection-flow {
    flex-direction: column;
    align-items: center;
  }

  .connection-arrow {
    transform: rotate(90deg);
    padding: var(--space-2) 0;
  }

  .learning-flow {
    flex-direction: column;
    align-items: center;
  }

  .learning-arrow {
    transform: rotate(90deg);
    padding: var(--space-2) 0;
  }

  .metering-explanation {
    flex-direction: column;
    align-items: center;
  }

  .metering-arrow {
    transform: rotate(90deg);
    padding: var(--space-2) 0;
  }

  .editor-layout {
    flex-direction: column;
  }

  .editor-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .realtime-features {
    grid-template-columns: 1fr;
  }

  .languages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .kanban-mockup {
    display: none;
  }

  .team-mockup {
    display: none;
  }

  .knowledge-mockup {
    display: none;
  }

  .article-editor-mockup {
    display: none;
  }

  .inbox-mockup-full {
    display: none;
  }

  .usage-dashboard-mockup {
    display: none;
  }

  .languages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .language-card {
    padding: var(--space-3);
  }

  .lang-flag {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .lang-name {
    font-size: 0.75rem;
  }
}
