:root {
  --primary: #1890ff;
  --primary-light: #e6f7ff;
  --primary-dark: #096dd9;
  --secondary: #0958d9;
  --success: #52c41a;
  --success-light: #f6ffed;
  --warning: #faad14;
  --warning-light: #fffbe6;
  --danger: #f5222d;
  --danger-light: #fff2f0;
  --purple: #722ed1;
  --purple-light: #f9f0ff;
  --text-primary: #1f1f1f;
  --text-secondary: #595959;
  --text-placeholder: #bfbfbf;
  --bg-page: #f4f7fa;
  --bg-card: #ffffff;
  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-page);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.brand-text {
  color: var(--primary);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
}

.lang-switch {
  position: fixed;
  top: 2rem;
  right: 1.5rem;
  z-index: 101;
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.35rem;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.feedback-link-top {
  position: fixed;
  top: 5.5rem;
  right: 1.5rem;
  z-index: 101;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-card);
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.feedback-link-top:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.feedback-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.feedback-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal-content--support {
  padding: 1rem 1rem 0.85rem;
  max-width: min(92vw, 300px);
}

.modal-content--support .support-card-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 auto;
}

.nav-support-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-support-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: #999;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #e8e8e8;
  color: #666;
}

.modal-title {
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-subtitle {
  margin: 0 0 1.5rem 0;
  font-size: 0.9rem;
  color: var(--success);
  font-weight: 500;
}

.qrcode-container {
  margin-bottom: 1rem;
}

.qrcode-image {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.modal-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.lang-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.lang-btn.is-active {
  background: var(--primary);
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
}

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

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

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-nav {
  background: var(--purple);
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
}

.hero {
  min-height: auto;
  padding: 6rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fa8c16;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* 首页 Hero — 右侧功能亮点卡片 */
.hero-highlights-card {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 1.5rem 1.35rem 1.4rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  border: 1px solid rgba(46, 134, 222, 0.18);
  border-radius: 18px;
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.06),
    0 12px 32px rgba(46, 134, 222, 0.08);
}

.hero-highlights-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-highlights-brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-highlights-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.hero-highlights-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-highlight-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8edf3;
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s;
}

.hero-highlight-tile:hover {
  border-color: rgba(46, 134, 222, 0.35);
  box-shadow: none;
  transform: none;
  background: #f8fbff;
}

.hero-highlight-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
}

.hero-highlight-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.hero-highlight-tile--1 .hero-highlight-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.hero-highlight-tile--2 .hero-highlight-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.hero-highlight-tile--3 .hero-highlight-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.hero-highlight-tile--4 .hero-highlight-icon {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.hero-highlight-tile--5 .hero-highlight-icon {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.hero-highlight-tile--6 .hero-highlight-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.hero-highlight-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    padding-top: 5rem;
    gap: 1.75rem;
  }

  .hero-content {
    text-align: left;
  }

  .hero-desc {
    margin-left: 0;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: flex-start;
    margin-bottom: 2rem;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .hero-visual {
    justify-content: flex-end;
    align-self: center;
  }

  .hero-highlights-card {
    margin: 0;
    width: 100%;
    max-width: 520px;
  }

  .hero-highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .hero-highlight-text {
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .benefits-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.mockup-container {
  perspective: 1000px;
}

.mockup-screen {
  background: #1e293b;
  border-radius: 24px;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-5deg);
}

.screen-header {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.screen-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #374151;
}

.screen-content {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1rem;
}

.pos-header {
  text-align: center;
  margin-bottom: 1rem;
}

.pos-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.pos-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pos-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  background: white;
  border-radius: 8px;
}

.item-name {
  font-weight: 500;
  color: var(--text-primary);
}

.item-price {
  font-weight: 600;
  color: var(--accent);
}

.pos-total {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--primary);
  border-radius: 8px;
  color: white;
  margin-bottom: 1rem;
}

.total-label {
  font-weight: 500;
}

.total-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.pos-payment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.pay-btn {
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  background: #07c160;
  color: white;
}

.pay-btn:last-child {
  background: #1677ff;
}

.features {
  padding: 5rem 1.5rem;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.75rem;
}

.icon-1 { background: var(--primary-light); }
.icon-2 { background: var(--warning-light); }
.icon-3 { background: var(--success-light); }
.icon-4 { background: var(--purple-light); }
.icon-5 { background: var(--primary-light); }
.icon-6 { background: var(--warning-light); }

.feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.benefits {
  padding: 5rem 1.5rem;
  background: var(--bg-light);
}

.benefits-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.benefits-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.benefit-check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.benefits-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 200px;
  height: 200px;
}

.cta {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #1677ff 0%, var(--primary-dark) 50%, #003a8c 100%);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.cta-desc {
  font-size: 1.15rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

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

.cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.cta .btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.cta .btn-outline:hover {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
}

.feedback-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.feedback-link:hover {
  color: white;
}

.footer {
  padding: 4rem 1.5rem 2rem;
  background: #1e293b;
  color: white;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.about-hero {
  padding: 8rem 1.5rem 3rem;
  text-align: center;
  background: var(--bg-light);
}

.about-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.about-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.about-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.about-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.about-icon-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 134, 222, 0.1), rgba(46, 134, 222, 0.2));
  border-radius: var(--radius-md);
}

.about-icon-saas {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.2));
}

.about-icon-check {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.2));
}

.about-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.about-icon-saas .about-icon {
  color: #8b5cf6;
}

.about-icon-check .about-icon {
  color: #10b981;
}

.about-card-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.about-card-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

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

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .lang-switch {
    top: 1.5rem;
    right: 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .about-card {
    flex-direction: column;
  }
}

/* Demo Page Styles */
.demo-page {
  min-height: 100vh;
  background: var(--bg-light);
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.demo-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.demo-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.demo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.time-display {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: monospace;
}

.btn-logout {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.demo-main {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .demo-main {
    grid-template-columns: 280px 1fr;
  }
}

.product-panel {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.product-item:hover {
  background: rgba(46, 134, 222, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.product-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.product-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.product-price {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.pos-panel {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.receipt-area {
  flex: 1;
  min-height: 200px;
  background: #fafafa;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  overflow-y: auto;
}

.receipt-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.receipt-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
}

.item-info {
  display: flex;
  flex-direction: column;
}

.item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.item-price {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.item-total {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.item-remove {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #ef4444;
  transition: all 0.2s;
}

.item-remove:hover {
  background: rgba(239, 68, 68, 0.2);
}

.pos-summary {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.summary-label {
  color: var(--text-secondary);
}

.summary-value {
  font-weight: 600;
  color: var(--text-primary);
}

.summary-total {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
}

.pos-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.btn-pos {
  padding: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-clear {
  background: var(--bg-light);
  color: var(--text-secondary);
}

.btn-clear:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.btn-discount {
  background: linear-gradient(135deg, var(--warning), #fbbf24);
  color: #fff;
}

.btn-discount:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-pay {
  background: linear-gradient(135deg, var(--accent), #fb923c);
  color: #fff;
}

.btn-pay:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.pay-modal, .success-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.pay-modal.show, .success-modal.show {
  display: flex;
}

.pay-container, .success-container {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 400px;
  padding: 1.5rem;
}

.pay-title, .success-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

.pay-amount {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pay-amount-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.pay-amount-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pay-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
}

.pay-method:hover, .pay-method.selected {
  border-color: var(--primary);
  background: rgba(46, 134, 222, 0.05);
}

.pay-method svg {
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
}

.pay-method span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.btn-pay-confirm, .btn-success {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--success), #34d399);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-pay-confirm:hover, .btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.success-container {
  max-width: 360px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--success), #34d399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.success-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.demo-footer {
  padding: 0.75rem 1.5rem;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.reset-warning {
  color: var(--accent);
  font-weight: 600;
}

/* New Features Demo Styles */
.new-features-header {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.new-features-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.new-features-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
}

.new-features-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-section {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.feature-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(135deg, var(--accent), var(--warning));
}

.auth-section {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(167, 139, 250, 0.03) 100%);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.auth-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.auth-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.auth-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}

.auth-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.auth-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.auth-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.status-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.auth-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-auth {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-auth-primary {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: #fff;
}

.btn-auth-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

.btn-auth-secondary {
  background: var(--bg-light);
  color: var(--text-secondary);
}

.btn-auth-secondary:hover {
  background: rgba(46, 134, 222, 0.08);
  color: var(--text-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.chart-container {
  background: #fafafa;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
}

.chart-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(46, 134, 222, 0.4) 100%);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 0.5s ease;
}

.chart-bar:hover {
  background: linear-gradient(180deg, var(--accent) 0%, rgba(249, 115, 22, 0.4) 100%);
}

.chart-bar::after {
  content: attr(data-value);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.permission-section {
  margin-top: 1rem;
}

.permission-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.permission-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.permission-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-sm);
}

.permission-item.denied {
  background: rgba(239, 68, 68, 0.08);
}

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

.permission-item.allowed svg {
  color: var(--success);
}

.permission-item.denied svg {
  color: #ef4444;
}

.permission-item span {
  font-size: 0.8rem;
  color: var(--text-primary);
}

.permission-item.denied span {
  color: var(--text-secondary);
  text-decoration: line-through;
}

.toolbox-section {
  background: linear-gradient(135deg, rgba(46, 134, 222, 0.03) 0%, rgba(0, 210, 211, 0.03) 100%);
  border: 1px solid rgba(46, 134, 222, 0.1);
}

.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.toolbox-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.toolbox-item:hover {
  border-color: var(--primary);
  background: rgba(46, 134, 222, 0.03);
}

.toolbox-item.selected {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.08);
}

.toolbox-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.toolbox-item.selected .toolbox-icon {
  background: rgba(16, 185, 129, 0.15);
}

.toolbox-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-section {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.03) 0%, rgba(245, 158, 11, 0.03) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}

.mobile-mockup {
  background: #1e293b;
  border-radius: 30px;
  padding: 1rem;
  max-width: 280px;
  margin: 0 auto;
}

.mobile-header {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  color: #fff;
}

.mobile-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.mobile-balance {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.mobile-nav {
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 0;
  margin-top: 0.75rem;
}

.mobile-nav-item {
  text-align: center;
  color: #94a3b8;
  font-size: 0.7rem;
}

.mobile-nav-item.active {
  color: var(--accent);
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
  margin-bottom: 0.25rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.feature-item:hover {
  border-color: var(--primary);
}

.feature-item.selected {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.05);
}

.feature-check {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.feature-item.selected .feature-check {
  background: var(--success);
  border-color: var(--success);
}

.feature-check svg {
  width: 14px;
  height: 14px;
  color: #fff;
  display: none;
}

.feature-item.selected .feature-check svg {
  display: block;
}

.feature-info {
  flex: 1;
}

.feature-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.onboarding-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(46, 134, 222, 0.03) 100%);
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.onboarding-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-step {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
}

.step-number {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.timeline-step.active .step-number {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step-content {
  flex: 1;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.step-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.step-status {
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

.step-status.done {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.step-status.current {
  background: rgba(46, 134, 222, 0.1);
  color: var(--primary);
}

.step-status.warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.step-status.pending {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.warning-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
  border-left: 4px solid var(--warning);
  padding: 0.75rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 0.75rem;
}

.warning-box svg {
  width: 20px;
  height: 20px;
  color: var(--warning);
  flex-shrink: 0;
}

.warning-box p {
  margin: 0;
  color: var(--warning);
  font-weight: 600;
  font-size: 0.85rem;
}

.email-mock {
  background: #fafafa;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.email-header {
  background: var(--bg-light);
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.email-sender {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.email-subject {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.email-body {
  padding: 1rem;
}

.email-body p {
  margin: 0 0 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.email-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), #1e6bb8);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.config-mock {
  background: #fafafa;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border);
}

.config-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  margin-bottom: 0.3rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.config-step.active {
  background: rgba(46, 134, 222, 0.1);
  color: var(--primary);
}

.download-mock, .stripe-mock, .device-mock {
  background: #fafafa;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border);
  text-align: center;
}

.download-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.download-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--success), #34d399);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.download-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.stripe-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #635bff;
  margin-bottom: 0.75rem;
}

.stripe-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #635bff, #7c3aed);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.stripe-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.device-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.device-icon {
  font-size: 1.5rem;
}

.device-btn, .test-btn {
  width: 100%;
  padding: 0.65rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

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

.test-btn {
  background: linear-gradient(135deg, var(--warning), #fbbf24);
  color: #fff;
}

.timeline-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0.5rem 0 0.5rem 1.5rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .permission-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .toolbox-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}