:root {
  --primary: #c8161d;
  --primary-light: #e5262f;
  --primary-dark: #9a0010;
  --accent: #ffd166;
  --accent-hover: #f0bc4a;
  --accent-text: #7a1a1a;
  --bg: #faf8f8;
  --bg-white: #ffffff;
  --text: #2a1515;
  --text-muted: #6b5252;
  --border: #f0e4e4;
  --shadow: 0 4px 24px rgba(200, 22, 29, 0.08);
  --shadow-lg: 0 12px 40px rgba(200, 22, 29, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(200, 22, 29, 0.06);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-cta {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 14px rgba(255, 209, 102, 0.45);
}

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

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

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 209, 102, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  overflow: hidden;
}

.hero-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 0.85rem;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
}

.qr-placeholder span {
  font-size: 3rem;
}

.hero-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Stats */
.stats {
  padding: 48px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 80px 0;
}

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

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

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
}

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

/* Product cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-cover {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #f0e4e4;
}

.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-cover.book {
  background: linear-gradient(145deg, #e5262f, #9a0010);
}

.product-cover.course {
  background: linear-gradient(145deg, #ff6b6b, #c8161d);
}

.product-cover:has(img) {
  background: #f0e4e4;
}

.product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(200, 22, 29, 0.08);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.product-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-body p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

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

.price small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.product-card .btn {
  width: 100%;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.notice-bar {
  background: rgba(200, 22, 29, 0.06);
  border: 1px solid rgba(200, 22, 29, 0.18);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 40px;
  color: #8f1a1a;
  font-size: 0.9rem;
  text-align: center;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.page-hero p {
  opacity: 0.88;
  max-width: 600px;
  margin: 0 auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.about-content h2 {
  color: var(--primary);
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.timeline {
  margin-top: 48px;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  border-left: 2px solid var(--border);
  padding-left: 24px;
  margin-left: 8px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-white);
}

.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  min-width: 48px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  color: var(--primary);
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200, 22, 29, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
}

.info-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group label.form-check {
  display: flex;
  margin-bottom: 0;
  font-weight: 400;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 22, 29, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check span {
  flex: 1;
}

.form-check a {
  color: var(--primary);
  text-decoration: underline;
}

/* Legal pages */
.legal-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--primary);
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.mini-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 209, 102, 0.18);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #ffd166;
}

.coming-soon-card {
  border: 1px dashed rgba(255, 255, 255, 0.35);
}

.coming-soon-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 209, 102, 0.2);
  color: #ffd166;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.btn-disabled-hint {
  opacity: 0.85;
  cursor: pointer;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 8px;
  opacity: 0.75;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.copyright {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 12px;
}

.beian-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
}

.beian-links a {
  opacity: 0.75;
  transition: opacity 0.2s;
}

.beian-links a:hover {
  opacity: 1;
}

.police-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

.mt-48 {
  margin-top: 48px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-card {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

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

  .header-cta {
    display: none;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .feature-grid,
  .card-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .legal-content {
    padding: 28px 20px;
  }

  .header-actions {
    gap: 8px;
  }
}

/* ===== 经营性平台：登录 / 购物车 / 结算 ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cart {
  position: relative;
  font-size: 1.25rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.header-cart:hover {
  background: rgba(200, 22, 29, 0.06);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
}

.compliance-bar {
  background: rgba(200, 22, 29, 0.06);
  border: 1px solid rgba(200, 22, 29, 0.15);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.875rem;
  color: #8f1a1a;
  text-align: center;
  margin-bottom: 32px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.flow-step {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.flow-step::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.flow-step:last-child::after {
  display: none;
}

.flow-num {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.flow-step h4 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.payment-methods {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.payment-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  flex: 1;
  min-width: 140px;
}

.payment-item:has(input:checked) {
  border-color: var(--primary);
  background: rgba(200, 22, 29, 0.04);
}

.payment-item input {
  accent-color: var(--primary);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.product-actions .btn-outline {
  padding: 10px;
  font-size: 0.875rem;
}

.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.auth-tab.active {
  background: var(--primary);
  color: #fff;
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

.panel-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.cart-row,
.checkout-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-row-info span,
.checkout-row span:last-child {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-row-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.875rem;
}

.cart-summary,
.checkout-summary {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.empty-state p {
  margin-bottom: 20px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.7;
}

.info-list li strong {
  color: var(--primary);
}

.footer-licenses {
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  opacity: 0.65;
}

.platform-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.platform-table th,
.platform-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.platform-table th {
  background: rgba(200, 22, 29, 0.06);
  color: var(--primary);
}

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

  .flow-step::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%);
  }

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

  .cart-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .header-actions .btn-outline {
    display: none;
  }
}

.license-demo-banner {
  background: #fff3cd;
  color: #856404;
  border-bottom: 1px solid #ffeeba;
  padding: 10px 16px;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
}

.store-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 500;
}

.store-name::before {
  content: "🏪";
  font-size: 0.85rem;
}

.merchant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.merchant-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.merchant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.merchant-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.merchant-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.merchant-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.merchant-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(200, 22, 29, 0.06);
}

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

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