/* =========================================================
   AllDup.cn - Global Stylesheet
   Flat / Modern / Professional
   Primary color derived from logo: #0094DD
   ========================================================= */

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

:root {
  /* Brand palette */
  --primary: #0094DD;
  --primary-dark: #0077B6;
  --primary-darker: #004E73;
  --primary-light: #E0F4FB;
  --primary-lighter: #F0F9FC;
  --primary-50: #F5FBFD;

  /* Accent */
  --accent: #FF6B35;
  --accent-dark: #E5532A;

  /* Neutrals */
  --text: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-muted: #F1F5F9;

  /* Status */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 12px 32px rgba(0, 148, 221, 0.25);

  /* Layout */
  --container: 1200px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, "Source Code Pro",
    Menlo, Monaco, monospace;

  /* Transitions */
  --t-fast: 0.15s ease;
  --t: 0.25s ease;
  --t-slow: 0.4s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- 2. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--text);
}

p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #00B4F0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 56px 0;
}

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

.section-blue {
  background: linear-gradient(180deg, var(--primary-lighter) 0%, #FFFFFF 100%);
}

/* Section heading */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--t);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 148, 221, 0.35);
}

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

.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.25);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--t);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

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

.brand img {
  width: 36px;
  height: 36px;
}

.brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand .brand-text small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  display: inline-block;
  padding: 8px 16px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}

.nav-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--text);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(0, 180, 240, 0.18), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(0, 148, 221, 0.12), transparent 60%),
    linear-gradient(180deg, var(--primary-lighter) 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .tag {
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-visual .float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-visual .float-card.top {
  top: -20px;
  left: -20px;
}

.hero-visual .float-card.bottom {
  bottom: -20px;
  right: -10px;
}

.hero-visual .float-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .float-card .icon.success { background: #D1FAE5; color: var(--success); }
.hero-visual .float-card .icon svg { width: 20px; height: 20px; }

/* ---------- 7. Logos / trust bar ---------- */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: #fff;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- 8. Feature Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--t);
  height: 100%;
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #C8EAF7 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg { width: 26px; height: 26px; }

.card-icon.alt { background: linear-gradient(135deg, #FFE4D6 0%, #FFD0B9 100%); color: var(--accent); }
.card-icon.green { background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%); color: var(--success); }
.card-icon.purple { background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%); color: #7C3AED; }
.card-icon.yellow { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); color: #D97706; }

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

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

/* Feature list card */
.feature-list-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--t);
}

.feature-list-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-list-card h3 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list-card ul.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.check-list li svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 9. Usage Scenarios ---------- */
.scenario-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: all var(--t);
}

.scenario-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--t);
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.scenario-card:hover::before { opacity: 1; }

.scenario-card .scenario-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.scenario-card .scenario-icon svg { width: 28px; height: 28px; }

.scenario-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.scenario-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.scenario-card .scenario-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}

/* ---------- 10. Testimonials ---------- */
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--t);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial .stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: #FBBF24;
}

.testimonial .stars svg { width: 18px; height: 18px; }

.testimonial .quote {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.testimonial .user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #00B4F0 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial .user-info .name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.testimonial .user-info .meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 11. Download Cards ---------- */
.download-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--border-light);
  text-align: center;
  transition: all var(--t);
  position: relative;
}

.download-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.download-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-lighter) 0%, #fff 60%);
}

.download-card .badge-pop {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.download-card .dc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card .dc-icon svg { width: 32px; height: 32px; }

.download-card h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.download-card .dc-version {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.download-card .dc-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  text-align: left;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.download-card .dc-meta .row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

.download-card .dc-meta .row .label { color: var(--text-muted); }
.download-card .dc-meta .row .val { font-weight: 600; color: var(--text); }

/* ---------- 12. Steps (Tutorial) ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 0 0 40px 0;
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step:last-child::before { display: none; }

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 1;
  position: relative;
}

.step-content {
  padding-top: 8px;
}

.step-content h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

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

.step-content .code-block {
  background: #0F172A;
  color: #E2E8F0;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  overflow-x: auto;
  margin-top: 12px;
}

/* ---------- 13. FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--t);
}

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

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform var(--t);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border-light);
}

.faq-answer {
  padding: 18px 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- 14. CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-section::before {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
}

.cta-section::after {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -80px;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 32px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
  background: var(--primary-lighter);
  color: var(--primary-dark);
}

.cta-section .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-section .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* ---------- 15. Footer ---------- */
.site-footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  color: #94A3B8;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: color var(--t-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #64748B;
}

.footer-bottom a {
  color: #64748B;
}

.footer-bottom a:hover { color: #CBD5E1; }

/* ---------- 16. Breadcrumb ---------- */
.breadcrumb {
  padding: 20px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb li::after {
  content: '/';
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumb li:last-child::after { display: none; }
.breadcrumb li:last-child { color: var(--text); font-weight: 500; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- 17. Page Header ---------- */
.page-header {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(0, 180, 240, 0.15), transparent 60%),
    linear-gradient(180deg, var(--primary-lighter) 0%, #FFFFFF 100%);
  padding: 64px 0 56px;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ---------- 18. Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.data-table th,
table.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

table.data-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table.data-table tr:last-child td {
  border-bottom: none;
}

table.data-table tr:hover td {
  background: var(--primary-50);
}

/* ---------- 19. Badges / Tags ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-muted { background: var(--bg-muted); color: var(--text-muted); }

/* ---------- 20. Modal (Download Popup) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--t);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: all var(--t-fast);
  z-index: 1;
}

.modal-close:hover {
  background: var(--danger);
  color: #fff;
  transform: rotate(90deg);
}

.modal-header {
  padding: 32px 32px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.modal-header .modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #00B4F0 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-blue);
}

.modal-header .modal-icon svg { width: 32px; height: 32px; }

.modal-header h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.modal-body {
  padding: 28px 32px 32px;
}

.qr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.qr-item {
  text-align: center;
  padding: 20px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--t);
}

.qr-item:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
  transform: translateY(-2px);
}

.qr-item img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  margin: 0 auto 12px;
  border-radius: var(--radius);
}

.qr-item .qr-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}

.qr-item .qr-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.modal-note {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--primary-lighter);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-note svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* ---------- 21. Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* ---------- 22. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu a { padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-secondary { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero-stats { gap: 20px; }
  .hero-visual .float-card { display: none; }

  .qr-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .modal-header, .modal-body { padding-left: 20px; padding-right: 20px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step::before { display: none; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- 23. Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
