@import "tailwindcss";

@theme {
  --breakpoint-2xl: 1440px;
}

/* ===================================================================
   ZIP to PDF — Premium Dark Luxury Design System
   =================================================================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f18;
  --bg-elevated: #141420;
  --bg-card: rgba(20, 20, 35, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --text-primary: #f0eef5;
  --text-secondary: rgba(240, 238, 245, 0.78);
  --text-tertiary: rgba(240, 238, 245, 0.6);
  --accent-violet: #a78bfa;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #ec4899;
  --gradient-primary: linear-gradient(135deg, #a78bfa, #06b6d4);
  --gradient-secondary: linear-gradient(135deg, #06b6d4, #10b981);
  --gradient-warm: linear-gradient(135deg, #f59e0b, #ec4899);
  --gradient-full: linear-gradient(135deg, #a78bfa, #06b6d4, #10b981, #f59e0b);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(167, 139, 250, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow-violet: 0 0 40px rgba(167, 139, 250, 0.15);
  --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.12);
  --section-padding: clamp(3rem, 6vw, 6rem);
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===================================================================
   Reset & Base
   =================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Skip-to-content link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* ===================================================================
   Ambient Background Layer
   =================================================================== */

.ambient-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.ambient-orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; will-change: transform; }

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25), transparent 70%);
  top: -10%; left: -5%;
  animation: orbFloat1 18s ease-in-out infinite;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
  top: 40%; right: -8%;
  animation: orbFloat2 22s ease-in-out infinite;
}

.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
  bottom: -5%; left: 30%;
  animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-30px, 80px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, -60px) scale(1.05); }
  66% { transform: translate(40px, 30px) scale(0.9); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, -50px) scale(1.08); }
}

.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; }

/* Hide particle canvas on mobile for performance */
@media (max-width: 767px) {
  .particle-canvas { display: none; }
  .ambient-orb { animation: none; }
}

/* ===================================================================
   Navigation Bar
   =================================================================== */

.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 1rem 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border-subtle), var(--shadow-sm);
}

.navbar-inner {
  max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 0.6rem; z-index: 10; }

.brand-icon {
  width: 36px; height: 36px; color: var(--accent-violet);
  transition: transform 0.3s var(--ease-spring);
}

.brand:hover .brand-icon { transform: rotate(-8deg) scale(1.1); }
.brand-icon svg { width: 100%; height: 100%; }

.brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }

.brand-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 500; margin: 0 0.15rem;
}

.nav-links { display: flex; align-items: center; gap: 0.3rem; }

.nav-link {
  padding: 0.5rem 0.9rem; border-radius: var(--radius-full);
  font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.06); }

.nav-cta {
  background: var(--gradient-primary); color: #fff !important;
  font-weight: 600; padding: 0.5rem 1.2rem; margin-left: 0.4rem;
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.25);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(167, 139, 250, 0.35);
  background: var(--gradient-primary);
}

.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 10; }

.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

main { position: relative; z-index: 1; }

/* ===================================================================
   Shared Section Styles
   =================================================================== */

.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-badge {
  display: inline-flex; align-items: center;
  padding: 0.4rem 1rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-accent); background: rgba(167, 139, 250, 0.06);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-violet); margin-bottom: 1.2rem;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em;
}

.section-subtitle {
  max-width: 560px; margin: 0.8rem auto 0;
  color: var(--text-secondary); font-size: 1.05rem;
}

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

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

/* ===================================================================
   HERO Section
   =================================================================== */

.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 3rem;
  max-width: var(--container-width); margin: 0 auto; padding: 8rem 1.5rem 4rem;
}

.hero-top {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 0.5rem;
}

.hero-content { animation: fadeUp 0.8s var(--ease-out) both; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1rem; border-radius: var(--radius-full);
  border: 1px solid rgba(167, 139, 250, 0.25); background: rgba(167, 139, 250, 0.08);
  font-size: 0.78rem; font-weight: 600; color: var(--accent-violet);
  letter-spacing: 0.04em; margin-bottom: 1.6rem;
}

.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-emerald); box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.4rem;
  text-align: center;
}

.hero-subtitle {
  max-width: 520px; color: var(--text-secondary);
  font-size: 1.1rem; line-height: 1.7; margin-bottom: 2rem;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 1.5rem; margin-bottom: 0.5rem; flex-wrap: wrap;
}

.btn-primary {
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.8rem; border-radius: var(--radius-full);
  background: var(--gradient-primary); color: #fff;
  font-weight: 700; font-size: 0.95rem; overflow: hidden;
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.3);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(167, 139, 250, 0.4);
}

.btn-shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%); animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0%, 60%, 100% { transform: translateX(-100%); }
  30% { transform: translateX(100%); }
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-medium); color: var(--text-secondary);
  font-weight: 600; font-size: 0.95rem;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-secondary:hover {
  color: var(--text-primary); border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.2rem 1.6rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle); background: var(--bg-glass);
  backdrop-filter: blur(12px); max-width: fit-content;
}

.stat-item { display: flex; flex-direction: column; align-items: center; }

.stat-number {
  font-size: 1.6rem; font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.stat-label {
  font-size: 0.75rem; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}

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

.hero-visual {
  display: flex; justify-content: center; align-items: center;
  animation: fadeUp 1s 0.2s var(--ease-out) both;
}

.hero-mockup {
  display: flex; align-items: center; gap: 2rem; padding: 2.5rem;
  border-radius: var(--radius-2xl); border: 1px solid var(--border-subtle);
  background: rgba(20, 20, 35, 0.5); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg); position: relative;
}

.hero-mockup::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), transparent, rgba(6, 182, 212, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

.zip-icon-wrap, .pdf-icon-wrap {
  width: 110px; height: 140px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-spring);
}

.zip-icon-wrap:hover, .pdf-icon-wrap:hover { transform: translateY(-6px) scale(1.05); }

.zip-svg, .pdf-svg {
  width: 100%; height: 100%; filter: drop-shadow(0 8px 24px rgba(167, 139, 250, 0.2));
}

.pdf-svg { filter: drop-shadow(0 8px 24px rgba(6, 182, 212, 0.2)); }

.file-label {
  text-align: center; margin-top: 0.6rem; font-size: 0.8rem;
  font-weight: 600; color: var(--text-tertiary); letter-spacing: 0.02em;
}

.mockup-arrow { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }

.arrow-line {
  width: 80px; height: 3px; border-radius: var(--radius-full);
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.3), rgba(6, 182, 212, 0.5), rgba(16, 185, 129, 0.3));
  position: relative; overflow: hidden;
}

.arrow-particle {
  position: absolute; top: -2px; width: 12px; height: 7px; border-radius: var(--radius-full);
  background: linear-gradient(90deg, #a78bfa, #06b6d4);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
  animation: arrowTravel 1.8s ease-in-out infinite;
}

@keyframes arrowTravel {
  0% { left: -12px; opacity: 0; } 20% { opacity: 1; }
  80% { opacity: 1; } 100% { left: calc(100% + 12px); opacity: 0; }
}

.arrow-glow {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.5); animation: pulse-dot 2s ease-in-out infinite;
}

/* ===================================================================
   Steps / How It Works Section
   =================================================================== */

.steps-section { max-width: var(--container-width); margin: 0 auto; padding: var(--section-padding) 1.5rem; }

.steps-grid { display: flex; align-items: stretch; gap: 0; justify-content: center; }

.step-card {
  flex: 1; max-width: 320px; padding: 2rem 1.5rem;
  border-radius: var(--radius-xl); border: 1px solid var(--border-subtle);
  background: var(--bg-card); backdrop-filter: blur(12px);
  text-align: center; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-primary); opacity: 0; transition: opacity 0.3s ease;
}

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

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

.step-number-ring { width: 64px; height: 64px; margin: 0 auto 1.2rem; position: relative; }
.step-number-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.step-progress { transition: stroke-dashoffset 0.6s var(--ease-out); }

.step-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 800; color: var(--text-primary);
}

.step-icon-area { margin-bottom: 1rem; color: var(--accent-violet); }
.step-card:nth-child(3) .step-icon-area { color: var(--accent-cyan); }
.step-card:nth-child(5) .step-icon-area { color: var(--accent-emerald); }

.step-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }

.step-desc { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1rem; }

.step-tags { display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }

.tag {
  padding: 0.3rem 0.7rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.03);
  font-size: 0.73rem; font-weight: 600; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.04em;
}

.step-connector { display: flex; align-items: center; padding: 0 0.5rem; position: relative; }

.connector-line {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--border-subtle), var(--border-medium), var(--border-subtle));
}

.connector-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-violet); box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

/* ===================================================================
   Interactive Pipeline Diagram
   =================================================================== */

.pipeline-section { max-width: var(--container-width); margin: 0 auto; padding: var(--section-padding) 1.5rem; }

.pipeline-container { display: grid; grid-template-columns: 1fr; gap: 2rem; }

.pipeline-diagram {
  border-radius: var(--radius-2xl); border: 1px solid var(--border-subtle);
  background: rgba(15, 15, 24, 0.8); backdrop-filter: blur(16px);
  padding: 1.5rem; overflow: hidden; position: relative;
}

.pipeline-diagram::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), transparent 30%, transparent 70%, rgba(6, 182, 212, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

.pipeline-svg { width: 100%; height: auto; display: block; }
.pipeline-node { transition: opacity 0.3s ease; }
.pipeline-node:hover .node-bg { filter: brightness(1.4); }
.pipeline-node.is-active .node-bg { filter: brightness(1.6); }
.pipeline-node.is-active .node-pulse { animation: nodePulseSvg 2s ease-in-out infinite; }

@keyframes nodePulseSvg { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.5; } }

.conn-line { animation: dashFlow 2s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -24; } }
.travel-dot { opacity: 0.8; }

.pipeline-detail {
  border-radius: var(--radius-xl); border: 1px solid var(--border-subtle);
  background: var(--bg-card); backdrop-filter: blur(12px); padding: 2rem;
}

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

.detail-step-badge {
  padding: 0.35rem 0.8rem; border-radius: var(--radius-full);
  background: rgba(167, 139, 250, 0.12); border: 1px solid rgba(167, 139, 250, 0.3);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-violet);
}

.detail-title { font-size: 1.4rem; font-weight: 700; }
.detail-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.2rem; }
.detail-features { display: grid; gap: 0.6rem; margin-bottom: 1.5rem; }

.detail-features li {
  display: flex; align-items: start; gap: 0.7rem;
  font-size: 0.9rem; color: var(--text-secondary);
}

.feature-check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.12); color: var(--accent-emerald);
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; margin-top: 0.1rem;
}

.detail-visual {
  margin-bottom: 1.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle); background: rgba(10, 10, 20, 0.5);
  padding: 2rem; display: flex; justify-content: center; align-items: center;
  min-height: 160px; overflow: hidden;
}

.visual-animation { display: flex; align-items: center; justify-content: center; width: 100%; }
.anim-zip-file { position: relative; }

.anim-zip-body {
  width: 80px; height: 100px; border-radius: var(--radius-md);
  border: 2px solid rgba(167, 139, 250, 0.4);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(167, 139, 250, 0.02));
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 800;
  color: var(--accent-violet); animation: floatUpDown 3s ease-in-out infinite;
}

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

.detail-visual[data-stage="0"] .anim-zip-body { border-color: rgba(167, 139, 250, 0.4); color: var(--accent-violet); }
.detail-visual[data-stage="1"] .anim-zip-body {
  border-color: rgba(6, 182, 212, 0.4);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.02));
  color: var(--accent-cyan); animation: extractPulse 2s ease-in-out infinite;
}

@keyframes extractPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px 4px rgba(6, 182, 212, 0.15); }
}

.detail-visual[data-stage="2"] .anim-zip-body {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.02));
  color: var(--accent-emerald); animation: renderSpin 3s ease-in-out infinite;
}

@keyframes renderSpin {
  0%, 100% { transform: perspective(200px) rotateY(0deg); }
  50% { transform: perspective(200px) rotateY(12deg); }
}

.detail-visual[data-stage="3"] .anim-zip-body {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.02));
  color: var(--accent-amber); animation: exportBounce 1.5s ease-in-out infinite;
}

@keyframes exportBounce {
  0%, 100% { transform: translateY(0); } 30% { transform: translateY(-12px); }
  50% { transform: translateY(-4px); } 70% { transform: translateY(-8px); }
}

.detail-nav { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.detail-nav-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-medium); background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.2s var(--ease-spring);
}

.detail-nav-btn:hover {
  color: var(--text-primary); border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08); transform: translateY(-1px);
}

.detail-nav-btn:active { transform: translateY(0); }

.auto-play-btn[aria-pressed="true"] {
  background: rgba(167, 139, 250, 0.15); border-color: rgba(167, 139, 250, 0.4);
  color: var(--accent-violet);
}

/* ===================================================================
   Features Section
   =================================================================== */

.features-section { max-width: var(--container-width); margin: 0 auto; padding: var(--section-padding) 1.5rem; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.feature-card {
  padding: 1.8rem; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--bg-card);
  backdrop-filter: blur(12px); position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent, #a78bfa), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::after { opacity: 0.5; }

.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent); margin-bottom: 1.2rem;
  transition: transform 0.3s var(--ease-spring);
}

.feature-card:hover .feature-icon-wrap { transform: scale(1.08) rotate(-3deg); }

.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ===================================================================
   Converter Section
   =================================================================== */

.converter-section { max-width: var(--container-width); margin: 0 auto; padding: var(--section-padding) 1.5rem; }

.converter-card {
  max-width: 800px; margin: 0 auto; border-radius: var(--radius-2xl);
  border: 1px solid var(--border-subtle); background: rgba(15, 15, 24, 0.7);
  backdrop-filter: blur(20px); padding: 2rem; box-shadow: var(--shadow-lg); position: relative;
}

.converter-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), transparent 40%, transparent 60%, rgba(6, 182, 212, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

.upload-zone { position: relative; }
.upload-controls { position: relative; z-index: 4; }
.upload-zone.dragging { border-color: var(--accent-violet); }

.upload-zone.dragging::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(167, 139, 250, 0.05); border: 2px dashed rgba(167, 139, 250, 0.4);
  border-radius: var(--radius-lg); pointer-events: none; z-index: 1;
}

.upload-row { display: grid; grid-template-columns: 1fr auto; border-radius: var(--radius-lg); overflow: hidden; }

.upload-main-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  gap: 0.8rem; height: 72px; background: var(--gradient-primary);
  color: #fff; font-size: 1rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; overflow: hidden; transition: filter 0.2s ease;
}

.upload-main-btn:hover { filter: brightness(1.1); }
.upload-main-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.upload-label { font-size: clamp(0.85rem, 2.5vw, 1.1rem); }

.upload-menu-btn {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.8), rgba(6, 182, 212, 0.8));
  color: #fff; display: grid; place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transition: filter 0.2s ease, background 0.2s ease;
}

.upload-menu-btn:hover { filter: brightness(1.1); }
.upload-menu-btn.is-open svg { transform: rotate(180deg); }
.upload-menu-btn svg { transition: transform 0.3s var(--ease-out); }

.upload-dropdown {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  width: min(440px, 100%); border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium); background: rgba(20, 20, 35, 0.95);
  backdrop-filter: blur(20px); box-shadow: var(--shadow-lg);
  overflow: hidden; opacity: 0; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out); z-index: 10;
}

.upload-dropdown[hidden] { display: block; }
.upload-dropdown.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.upload-option {
  width: 100%; display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1rem; font-size: 0.95rem; font-weight: 600;
  color: var(--text-secondary); border-top: 1px solid var(--border-subtle);
  transition: background 0.2s ease, color 0.2s ease;
}

.upload-option:first-child { border-top: 0; }
.upload-option:hover { background: rgba(167, 139, 250, 0.08); color: var(--text-primary); }

.option-icon { width: 22px; height: 22px; display: grid; place-items: center; }
.option-icon svg { width: 100%; height: 100%; }

.upload-hint-area { margin-top: 1rem; text-align: center; }

.drag-hint {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--text-tertiary); font-size: 0.9rem;
}

.upload-source-hint { margin-top: 0.5rem; color: var(--accent-violet); font-size: 0.82rem; font-weight: 500; }

.file-list { margin-top: 1rem; display: grid; gap: 0.4rem; }

.file-list li {
  padding: 0.65rem 0.85rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.03);
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem; font-size: 0.88rem;
}

.file-list .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-primary); }
.file-list .size { color: var(--text-tertiary); font-weight: 700; white-space: nowrap; font-size: 0.82rem; }

.conversion-state { display: none; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border-subtle); }
.conversion-state.is-visible { display: block; }

.state-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.8rem; margin-bottom: 0.5rem; font-size: 0.88rem;
}

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

.state-percent {
  font-weight: 800; background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.progress-track {
  width: 100%; height: 8px; border-radius: var(--radius-full);
  overflow: hidden; background: rgba(255, 255, 255, 0.06);
}

.progress-fill {
  width: 0%; height: 100%; border-radius: inherit;
  background: var(--gradient-primary); transition: width 0.3s ease; position: relative;
}

.progress-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShine 2s linear infinite;
}

@keyframes progressShine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.conversion-state.is-error .progress-fill { background: linear-gradient(90deg, #ef4444, #f87171); }
.conversion-state.is-error .state-percent { background: none; -webkit-text-fill-color: #ef4444; color: #ef4444; }

.download-panel {
  margin-top: 1.2rem; padding: 1rem; border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.05);
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
}

.download-panel[hidden] { display: none; }

.download-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.3rem; border-radius: var(--radius-full);
  background: var(--gradient-secondary); color: #fff;
  font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25); white-space: nowrap;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.download-meta { flex: 1 1 280px; color: var(--text-tertiary); font-size: 0.78rem; line-height: 1.5; }

/* ===================================================================
   Trust Section
   =================================================================== */

.trust-section { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem var(--section-padding); }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.trust-card {
  padding: 1.6rem; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--bg-card);
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

.trust-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.08); }

.trust-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent); margin-bottom: 1rem;
}

.trust-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.5rem; }
.trust-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ===================================================================
   Footer — Multi-Column Grid
   =================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(10, 10, 20, 0.85), rgba(8, 8, 16, 0.95));
  backdrop-filter: blur(16px);
  position: relative;
}

.footer-inner {
  max-width: var(--container-width); margin: 0 auto;
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

/* Column titles */
.footer-col-title {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-cyan);
  margin-bottom: 1.2rem;
}

/* Brand column */
.footer-brand-col {}

.footer-brand-link {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.footer-brand-icon {
  width: 32px; height: 32px; color: var(--accent-violet);
  transition: transform 0.3s var(--ease-spring);
}

.footer-brand-link:hover .footer-brand-icon { transform: rotate(-8deg) scale(1.1); }
.footer-brand-icon svg { width: 100%; height: 100%; }

.footer-brand-name {
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em;
}

.footer-desc {
  color: var(--text-tertiary); font-size: 0.88rem; line-height: 1.6;
  margin-bottom: 1.2rem; max-width: 280px;
}

.footer-social {
  display: flex; gap: 0.6rem;
}

.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.03);
  display: grid; place-items: center; color: var(--text-secondary);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-spring);
}

.footer-social a:hover {
  color: var(--accent-violet); border-color: var(--border-accent);
  background: rgba(167, 139, 250, 0.08); transform: translateY(-2px);
}

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

/* Links column */
.footer-nav {
  display: flex; flex-direction: column; gap: 0.6rem;
}

.footer-nav a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text-primary); padding-left: 0.3rem;
}

/* Contact column */
.footer-contact-list { display: flex; flex-direction: column; gap: 0.8rem; }

.footer-contact-item {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--text-secondary); font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-contact-item:hover { color: var(--text-primary); }

.footer-contact-item svg {
  flex-shrink: 0; color: var(--accent-cyan);
}

/* Language grid column */
.footer-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.footer-lang-badge {
  display: flex; align-items: center; justify-content: center;
  padding: 0.45rem 0.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--text-tertiary);
  transition: all 0.2s ease;
}

.footer-lang-badge:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-1px);
}

.footer-lang-badge.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
}

/* Footer bottom bar */
.footer-bottom {
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

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

/* Scroll to top button */
.scroll-top-btn {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20, 20, 35, 0.8);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  display: grid; place-items: center;
  cursor: pointer; z-index: 100;
  opacity: 0; transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out),
    color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  color: var(--accent-cyan); border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-2px);
}

/* ===================================================================
   Hero Pipeline Visual
   =================================================================== */

.hero-pipeline-visual {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 2.5rem; border-radius: var(--radius-2xl);
  border: 1px solid var(--border-subtle);
  background: rgba(20, 20, 35, 0.5); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg); position: relative;
}

.hero-pipeline-visual::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), transparent, rgba(6, 182, 212, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

.pipeline-file { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }

.pipeline-file-icon {
  width: 90px; height: 115px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-spring);
}

.pipeline-file-icon:hover { transform: translateY(-6px) scale(1.05); }

.pipeline-file-label {
  font-size: 0.78rem; font-weight: 600; color: var(--text-tertiary); letter-spacing: 0.02em;
}

/* Extraction zone */
.pipeline-extract-zone {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  position: relative; min-width: 50px;
}

.extract-arrow { display: flex; align-items: center; gap: 0; position: relative; }

.extract-arrow-line {
  width: 40px; height: 3px; border-radius: var(--radius-full);
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.3), rgba(6, 182, 212, 0.5));
  position: relative; overflow: hidden;
}

.extract-arrow-line::after {
  content: ""; position: absolute; top: -2px; width: 12px; height: 7px; border-radius: var(--radius-full);
  background: linear-gradient(90deg, #a78bfa, #06b6d4);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
  animation: arrowTravel 1.8s ease-in-out infinite;
}

.extract-arrow-head {
  width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 8px solid rgba(6, 182, 212, 0.5);
}

.extract-particle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent-violet); opacity: 0;
  animation: particleFly 3s ease-in-out infinite;
}

.extract-particle.p1 { top: -10px; left: 30%; animation-delay: 0s; background: #a78bfa; }
.extract-particle.p2 { top: -20px; left: 50%; animation-delay: 0.5s; background: #06b6d4; }
.extract-particle.p3 { bottom: -10px; left: 40%; animation-delay: 1s; background: #10b981; }
.extract-particle.p4 { bottom: -20px; left: 60%; animation-delay: 1.5s; background: #f59e0b; }

@keyframes particleFly {
  0% { opacity: 0; transform: translateX(0) translateY(0); }
  20% { opacity: 0.8; }
  80% { opacity: 0.6; }
  100% { opacity: 0; transform: translateX(30px) translateY(-5px); }
}

/* Extracted file chips */
.pipeline-extracted-files {
  display: flex; flex-direction: column; gap: 0.35rem;
}

.extracted-chip {
  padding: 0.3rem 0.65rem; border-radius: var(--radius-full);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  border: 1px solid color-mix(in srgb, var(--chip-color) 30%, transparent);
  background: color-mix(in srgb, var(--chip-color) 8%, transparent);
  color: var(--chip-color);
  animation: chipAppear 0.5s var(--ease-out) both;
  animation-delay: var(--chip-delay);
}

@keyframes chipAppear {
  from { opacity: 0; transform: translateX(-10px) scale(0.8); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.merge-arrow .extract-arrow-line {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.3), rgba(16, 185, 129, 0.5));
}

.merge-arrow .extract-arrow-line::after {
  background: linear-gradient(90deg, #06b6d4, #10b981);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
}

.merge-arrow .extract-arrow-head {
  border-left-color: rgba(16, 185, 129, 0.5);
}

/* ===================================================================
   Content Sections (shared)
   =================================================================== */

.content-section {
  max-width: var(--container-width); margin: 0 auto;
  padding: var(--section-padding) 1.5rem;
}

.content-section.alt-bg {
  position: relative;
}

.content-section.alt-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 15, 24, 0.3), transparent 15%, transparent 85%, rgba(15, 15, 24, 0.3));
}

.content-section h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.content-section p {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 1rem;
}

.content-section p strong {
  color: var(--text-primary); font-weight: 700;
}

/* ===================================================================
   Merge & Output Section
   =================================================================== */

.merge-demo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  align-items: start;
}

.merge-toggle-card {
  border-radius: var(--radius-2xl); border: 1px solid var(--border-subtle);
  background: var(--bg-card); backdrop-filter: blur(12px);
  overflow: hidden;
}

.merge-toggle-header {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
}

.merge-toggle-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem; font-size: 0.9rem; font-weight: 600;
  color: var(--text-secondary); position: relative;
  transition: color 0.3s ease, background 0.3s ease;
}

.merge-toggle-btn:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.03); }

.merge-toggle-btn.active {
  color: var(--accent-violet);
}

.merge-toggle-btn.active::after {
  content: ""; position: absolute; bottom: 0; left: 10%; right: 10%; height: 2px;
  background: var(--gradient-primary); border-radius: var(--radius-full);
}

.merge-visual { padding: 2rem; min-height: 220px; }

.merge-mode-visual {
  display: none; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
}

.merge-mode-visual.active { display: flex; animation: fadeUp 0.4s var(--ease-out); }

.merge-source-files { display: flex; flex-direction: column; gap: 0.4rem; }

.merge-mini-file {
  padding: 0.45rem 0.8rem; border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--f-color) 25%, transparent);
  background: color-mix(in srgb, var(--f-color) 6%, transparent);
  font-size: 0.8rem; font-weight: 600; color: var(--f-color);
  transition: transform 0.2s var(--ease-spring);
}

.merge-mini-file:hover { transform: translateX(4px); }

.merge-flow-arrow { color: var(--text-tertiary); flex-shrink: 0; }

.merge-result-file {
  padding: 0.6rem 1rem; border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.06);
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 600; color: var(--accent-emerald);
}

.merge-result-file.single-result {
  padding: 1rem 1.3rem;
}

.merge-result-icon { color: var(--accent-emerald); flex-shrink: 0; }

.merge-page-count {
  font-size: 0.72rem; font-weight: 700;
  padding: 0.2rem 0.5rem; border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald);
}

.merge-result-stack { display: flex; flex-direction: column; gap: 0.4rem; }

.sep-file {
  animation: sepFileSlide 0.4s var(--ease-out) both;
  animation-delay: var(--sep-delay);
}

@keyframes sepFileSlide {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.merge-content-card {
  padding: 0.5rem 0;
}

.merge-features-list { display: grid; gap: 0.5rem; margin-top: 0.5rem; }

.merge-feature-item {
  display: flex; align-items: start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--text-secondary);
}

/* ===================================================================
   Compression Section
   =================================================================== */

.compression-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  align-items: start;
}

.compression-chart-card {
  padding: 2rem; border-radius: var(--radius-2xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card); backdrop-filter: blur(12px);
}

.chart-title {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 1.5rem;
}

.size-bar-group { display: grid; gap: 1.2rem; }

.size-bar-row { display: grid; gap: 0.4rem; }

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

.bar-track {
  height: 36px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04); overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.bar-fill {
  height: 100%; border-radius: var(--radius-md);
  background: linear-gradient(90deg, color-mix(in srgb, var(--bar-color) 60%, transparent), var(--bar-color));
  display: flex; align-items: center; justify-content: flex-end; padding: 0 0.8rem;
  transition: width 1.2s var(--ease-out);
  position: relative;
}

.bar-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: progressShine 3s linear infinite;
}

.bar-value {
  font-size: 0.78rem; font-weight: 800; color: #fff;
  white-space: nowrap; position: relative; z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.chart-savings { margin-top: 1.5rem; }

.savings-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.85rem; font-weight: 700; color: var(--accent-emerald);
}

.compression-content-card { padding: 0.5rem 0; }

.compression-stats-row {
  display: flex; gap: 1.5rem; margin-top: 1rem; flex-wrap: wrap;
}

.comp-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem 1.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle); background: var(--bg-glass);
  flex: 1; min-width: 100px;
}

.comp-stat-number {
  font-size: 1.8rem; font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.comp-stat-label {
  font-size: 0.75rem; font-weight: 600; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.04em; text-align: center;
}

/* ===================================================================
   Security Section
   =================================================================== */

.security-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  align-items: start;
}

.encryption-pathway-card {
  padding: 2rem; border-radius: var(--radius-2xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card); backdrop-filter: blur(12px);
}

.pathway-stages {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}

.pathway-stage {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  position: relative; flex: 1; min-width: 70px;
}

.stage-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--stage-color) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--stage-color) 20%, transparent);
  color: var(--stage-color); position: relative;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, background 0.3s ease;
}

.pathway-stage.stage-active .stage-icon {
  transform: scale(1.1);
  border-color: color-mix(in srgb, var(--stage-color) 50%, transparent);
  background: color-mix(in srgb, var(--stage-color) 15%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--stage-color) 25%, transparent);
}

.stage-label {
  font-size: 0.72rem; font-weight: 600; color: var(--text-tertiary);
  text-align: center; transition: color 0.3s ease;
}

.pathway-stage.stage-active .stage-label { color: var(--text-primary); }

.stage-connector {
  position: absolute; top: 26px; left: calc(100%); right: 0;
  width: calc(100% - 52px); height: 2px;
  background: linear-gradient(90deg, var(--border-subtle), var(--border-medium));
}

.stage-connector.last { display: none; }

.lock-pulse {
  position: absolute; inset: -4px; border-radius: inherit;
  border: 2px solid var(--accent-emerald);
  animation: lockPulseAnim 2s ease-in-out infinite;
  opacity: 0;
}

.active-lock .lock-pulse { opacity: 1; }

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

.pathway-security-badges {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
}

.sec-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem; font-weight: 600; color: var(--text-tertiary);
}

.security-content-card { padding: 0.5rem 0; }

.security-features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 1rem;
}

.sec-feature {
  display: flex; gap: 0.8rem; align-items: start;
  padding: 1rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle); background: var(--bg-glass);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-spring);
}

.sec-feature:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.sec-feature-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm); flex-shrink: 0;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--sf-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--sf-color) 20%, transparent);
  color: var(--sf-color);
}

.sec-feature strong {
  display: block; font-size: 0.88rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.25rem;
}

.sec-feature p {
  font-size: 0.82rem; color: var(--text-tertiary); line-height: 1.5; margin: 0;
}

/* ===================================================================
   Device Compatibility Section
   =================================================================== */

.device-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}

.device-card {
  padding: 1.8rem; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--bg-card);
  backdrop-filter: blur(12px); position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.device-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--d-color, #a78bfa), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}

.device-card:hover {
  transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.device-card:hover::after { opacity: 0.6; }

.device-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--d-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--d-color) 20%, transparent);
  color: var(--d-color); margin-bottom: 1rem;
  transition: transform 0.3s var(--ease-spring);
}

.device-card:hover .device-icon-wrap { transform: scale(1.08) rotate(-3deg); }

.device-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-primary); }
.device-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; margin-bottom: 0.8rem; }

.device-tag {
  display: inline-flex; padding: 0.3rem 0.7rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem; font-weight: 600; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* ===================================================================
   Use Cases Section
   =================================================================== */

.usecase-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

.usecase-card {
  padding: 2rem; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--bg-card);
  backdrop-filter: blur(12px); position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.usecase-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--uc-color, #a78bfa), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}

.usecase-card:hover {
  transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.usecase-card:hover::before { opacity: 0.6; }

.usecase-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--uc-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--uc-color) 20%, transparent);
  color: var(--uc-color); margin-bottom: 1.2rem;
  transition: transform 0.3s var(--ease-spring);
}

.usecase-card:hover .usecase-icon { transform: scale(1.08) rotate(-3deg); }

.usecase-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-primary); }
.usecase-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.usecase-card p strong { color: var(--text-primary); }

.usecase-scenario {
  padding: 0.8rem 1rem; border-radius: var(--radius-md);
  border: 1px solid rgba(167, 139, 250, 0.15);
  background: rgba(167, 139, 250, 0.04);
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6;
}

.scenario-label {
  font-weight: 700; color: var(--accent-violet); margin-right: 0.3rem;
}

/* ===================================================================
   Animations
   =================================================================== */

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

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ===================================================================
   Animated Stats Counter Section
   =================================================================== */

.stats-section { max-width: var(--container-width); margin: 0 auto; padding: var(--section-padding) 1.5rem; }

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

.stat-card {
  padding: 2rem 1.5rem; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--bg-card);
  backdrop-filter: blur(12px); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent, #a78bfa) 8%, transparent), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

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

.stat-icon-ring {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent); position: relative; z-index: 1;
}

.counter-number {
  font-size: 2.4rem; font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1; position: relative; z-index: 1;
}

.counter-label {
  font-size: 0.82rem; color: var(--text-tertiary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; position: relative; z-index: 1;
}

/* ===================================================================
   FAQ Section
   =================================================================== */

.faq-section { max-width: var(--container-width); margin: 0 auto; padding: var(--section-padding) 1.5rem; }

.faq-list, .faq-container { max-width: 780px; margin: 1.5rem auto 2.5rem; display: grid; gap: 0.65rem; }
.article-body .faq-container { max-width: 100%; margin-left: 0; margin-right: 0; }

.faq-item {
  border-radius: var(--radius-lg); border: 1px solid var(--border-subtle);
  background: var(--bg-card); backdrop-filter: blur(12px); overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover { border-color: rgba(255, 255, 255, 0.08); }
.faq-item.is-open { border-color: var(--border-accent); box-shadow: var(--shadow-glow-violet); }

.faq-question {
  width: 100%; display: flex !important; align-items: center !important;
  justify-content: space-between !important; gap: 1rem !important;
  padding: 1.15rem 1.3rem; font-size: 0.98rem; font-weight: 600;
  color: var(--text-primary); text-align: left !important;
  transition: color 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  box-sizing: border-box;
}

.faq-question span {
  flex: 1 1 auto;
  text-align: left !important;
}

.faq-question:hover { color: var(--accent-violet); }

.faq-question:not(:has(.faq-chevron))::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-tertiary);
  border-bottom: 2px solid var(--text-tertiary);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-out), border-color 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.is-open .faq-question:not(:has(.faq-chevron))::after {
  transform: rotate(-135deg);
  border-color: var(--accent-violet);
}

.faq-chevron {
  flex-shrink: 0; color: var(--text-tertiary);
  transition: transform 0.35s var(--ease-out), color 0.2s ease;
  margin-left: 1rem;
}

.faq-item.is-open .faq-chevron { transform: rotate(180deg); color: var(--accent-violet); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  padding: 0 1.3rem;
}

.faq-item.is-open .faq-answer { max-height: 800px; padding: 0 1.3rem 1.2rem; }

.faq-answer p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin: 0; }
.faq-answer strong { color: var(--text-primary); font-weight: 700; }

/* ===================================================================
   Content Pages (About, Terms, Privacy, Contact, Blog, 404)
   =================================================================== */

.content-page {
  max-width: 800px; margin: 0 auto;
  padding: 8rem 1.5rem var(--section-padding);
}

.content-page h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 700;
  line-height: 1.15; margin-bottom: 1.5rem;
}

.content-page h2 {
  font-size: 1.4rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem;
  color: var(--text-primary);
}

.content-page p {
  color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem;
}

.content-page ul {
  margin-bottom: 1.2rem; padding-left: 0;
}

.content-page ul li {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7;
  padding: 0.3rem 0; padding-left: 1.2rem; position: relative;
}

.content-page ul li::before {
  content: ""; position: absolute; left: 0; top: 0.65rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-violet);
}

.content-page .last-updated {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-full);
  background: rgba(167, 139, 250, 0.06); border: 1px solid rgba(167, 139, 250, 0.2);
  font-size: 0.78rem; font-weight: 600; color: var(--accent-violet);
  margin-bottom: 2rem;
}

.content-page .lead-text {
  font-size: 1.15rem; line-height: 1.8; color: var(--text-primary);
  margin-bottom: 1.8rem;
}

.content-page .highlight-callout {
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: rgba(167, 139, 250, 0.05);
  border: 1px solid rgba(167, 139, 250, 0.25);
  margin: 1.8rem 0;
}

.content-page .highlight-callout h3 {
  color: var(--accent-violet); margin-bottom: 0.6rem; font-size: 1.1rem;
}

.content-page .highlight-callout p {
  margin-bottom: 0; color: var(--text-secondary);
}

.about-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin: 2rem 0;
}

.about-stat-box {
  padding: 1.5rem 1rem; text-align: center; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-subtle);
}

.about-stat-box .stat-num {
  display: block; font-size: 1.8rem; font-weight: 800;
  color: var(--accent-cyan); margin-bottom: 0.3rem;
}

.about-stat-box .stat-lbl {
  font-size: 0.82rem; color: var(--text-tertiary);
}

.contact-info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem; margin: 2rem 0;
}

.contact-card {
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; gap: 0.5rem;
}

.contact-card .contact-icon { font-size: 1.6rem; }
.contact-card h3 { font-size: 1.05rem; color: var(--text-primary); margin: 0; }
.contact-card p { margin: 0; font-size: 0.95rem; color: var(--text-secondary); }
.contact-card .contact-subtext { font-size: 0.78rem; color: var(--text-tertiary); }

/* Contact Form */
.contact-form {
  margin-top: 2rem; display: grid; gap: 1.2rem;
}

.form-group {
  display: flex; flex-direction: column; gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem; font-weight: 600; color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem; border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem; border-radius: var(--radius-full);
  background: var(--gradient-primary); color: #fff; font-weight: 700;
  font-size: 0.95rem; border: none; cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.3);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(167, 139, 250, 0.4);
}

.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-status {
  padding: 0.8rem 1rem; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 600; display: none;
}

.form-status.success {
  display: block; background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3); color: var(--accent-emerald);
}

.form-status.error {
  display: block; background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444;
}

.form-fallback {
  margin-top: 1rem; color: var(--text-tertiary); font-size: 0.88rem;
}

.form-fallback a {
  color: var(--accent-violet); font-weight: 600; transition: color 0.2s ease;
}

.form-fallback a:hover { color: var(--accent-cyan); }

/* Blog listing */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem; margin-bottom: 2rem;
}

.blog-card {
  border-radius: var(--radius-xl); border: 1px solid var(--border-subtle);
  background: var(--bg-card); backdrop-filter: blur(12px); overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  width: 100%; height: 200px; object-fit: cover;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-card-body { padding: 1.5rem; }
.blog-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.blog-card-body p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }

.blog-card-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--accent-violet); font-size: 0.88rem; font-weight: 600;
  transition: gap 0.2s ease;
}

.blog-card-cta:hover { gap: 0.7rem; }

.blog-meta-text {
  color: var(--text-tertiary); font-size: 0.85rem; margin-bottom: 1.5rem;
}

.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; flex-wrap: wrap;
}

.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.8rem;
  border-radius: var(--radius-full); border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03); font-size: 0.88rem; font-weight: 600;
  color: var(--text-secondary); transition: all 0.2s ease;
}

.pagination a:hover {
  border-color: var(--border-accent); color: var(--text-primary);
  background: rgba(167, 139, 250, 0.08);
}

.pagination .active {
  background: var(--gradient-primary); color: #fff;
  border-color: transparent;
}

.pagination .disabled {
  opacity: 0.4; pointer-events: none;
}

/* Blog single post */
.blog-hero {
  padding: 8rem 1.5rem 2rem;
  max-width: 800px; margin: 0 auto;
}

.blog-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 700;
  line-height: 1.15; margin-bottom: 1rem;
}

.blog-hero p {
  color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-hero-image {
  width: 100%; max-height: 400px; object-fit: cover;
  border-radius: var(--radius-xl); border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.blog-content {
  max-width: 800px; margin: 0 auto; padding: 0 1.5rem var(--section-padding);
}

.blog-content h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.blog-content h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.8rem; }
.blog-content p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem; }
.blog-content ul, .blog-content ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.blog-content li { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.4rem; }

.blog-content pre {
  background: rgba(15, 15, 24, 0.8); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 1.2rem; overflow-x: auto;
  margin-bottom: 1.2rem;
}

.blog-content code {
  font-family: "JetBrains Mono", monospace; font-size: 0.88rem;
}

.blog-content a {
  color: var(--accent-violet); font-weight: 600;
  transition: color 0.2s ease;
}

.blog-content a:hover { color: var(--accent-cyan); }

.blog-content blockquote {
  border-left: 3px solid var(--accent-violet);
  padding: 1rem 1.5rem; margin-bottom: 1.2rem;
  background: rgba(167, 139, 250, 0.05); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blog-content blockquote p { margin-bottom: 0; }

/* Sitemap page */
.sitemap-section {
  margin-bottom: 2rem;
}

.sitemap-section h2 {
  font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem;
  color: var(--accent-violet);
}

.sitemap-section ul {
  display: grid; gap: 0.3rem;
}

.sitemap-section li a {
  color: var(--text-secondary); font-size: 0.95rem;
  transition: color 0.2s ease;
}

.sitemap-section li a:hover { color: var(--accent-violet); }

/* 404 page */
.not-found-page {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 4rem 1.5rem;
}

.not-found-page .error-code {
  font-size: clamp(6rem, 15vw, 12rem); font-weight: 900; line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 1rem;
}

.not-found-page h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700;
  margin-bottom: 1rem;
}

.not-found-page p {
  color: var(--text-secondary); font-size: 1.1rem;
  max-width: 480px; margin-bottom: 2rem;
}

/* ===================================================================
   Responsive Design
   =================================================================== */

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 2rem; min-height: auto; padding-top: 7rem; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-pipeline-visual { justify-content: center; flex-wrap: wrap; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); padding: 0.5rem 0; }
  .step-card { max-width: 420px; width: 100%; }
  .merge-demo-grid { grid-template-columns: 1fr; }
  .compression-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-cards { grid-template-columns: repeat(2, 1fr); }
  .security-features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 1rem; z-index: 5;
  }
  .nav-links.is-open { display: flex; }
  .nav-link { font-size: 1.2rem; padding: 0.8rem 1.5rem; }
  .mobile-toggle { display: flex; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-mockup { flex-direction: row; gap: 1.2rem; padding: 1.5rem; }
  .zip-icon-wrap, .pdf-icon-wrap { width: 80px; height: 100px; }
  .arrow-line { width: 50px; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .pipeline-svg { min-height: 280px; }
  .upload-row { grid-template-columns: 1fr 60px; }
  .upload-main-btn { height: 62px; }
  .upload-menu-btn { width: 60px; height: 62px; }
  .upload-dropdown { width: 100%; }
  .hero-stats { gap: 1.2rem; padding: 1rem; }
  .stat-number { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-desc { max-width: 100%; }
  .footer-lang-grid { grid-template-columns: repeat(6, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-number { font-size: 1.8rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: 1fr; }
  .usecase-cards { grid-template-columns: 1fr; }
  .hero-pipeline-visual { flex-direction: column; gap: 1rem; padding: 1.5rem; }
  .pipeline-extract-zone { transform: rotate(90deg); }
  .pipeline-extracted-files { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .pathway-stages { flex-direction: column; align-items: center; }
  .stage-connector { display: none; }
  .compression-stats-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-mockup { gap: 0.8rem; padding: 1rem; }
  .zip-icon-wrap, .pdf-icon-wrap { width: 65px; height: 85px; }
  .arrow-line { width: 35px; }
  .converter-card { padding: 1.2rem; }
  .detail-nav { flex-direction: column; }
  .detail-nav-btn { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .stat-card { padding: 1.2rem 1rem; }
  .faq-question span { font-size: 0.9rem; }
}

/* ===================================================================
   SEO Landing Pages
   =================================================================== */

.landing-hero {
  max-width: var(--container-width); margin: 0 auto;
  padding: 8rem 1.5rem 3rem; text-align: center;
}

.landing-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.2rem;
}

.landing-hero .hero-description {
  max-width: 680px; margin: 0 auto 2rem;
  color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7;
}

.landing-hero .hero-badges {
  display: flex; align-items: center; justify-content: center;
  gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem;
}

.landing-hero .hero-badge-item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle); background: var(--bg-glass);
  font-size: 0.82rem; font-weight: 600; color: var(--text-secondary);
}

.landing-hero .hero-badge-item svg {
  width: 16px; height: 16px; flex-shrink: 0;
}

.landing-hero .hero-badge-item.accent-violet {
  border-color: rgba(167, 139, 250, 0.25); color: var(--accent-violet);
  background: rgba(167, 139, 250, 0.06);
}

.landing-hero .hero-badge-item.accent-cyan {
  border-color: rgba(6, 182, 212, 0.25); color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.06);
}

.landing-hero .hero-badge-item.accent-emerald {
  border-color: rgba(16, 185, 129, 0.25); color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.06);
}

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

/* Step Guide Section */
.step-guide-section {
  max-width: var(--container-width); margin: 0 auto;
  padding: var(--section-padding) 1.5rem;
}

.step-guide-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; counter-reset: step-counter;
}

.step-guide-card {
  padding: 2rem 1.5rem; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--bg-card);
  backdrop-filter: blur(12px); text-align: center; position: relative;
  overflow: hidden; counter-increment: step-counter;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-guide-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-primary); opacity: 0; transition: opacity 0.3s ease;
}

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

.step-guide-card:hover::before { opacity: 1; }

.step-guide-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(167, 139, 250, 0.1); border: 2px solid rgba(167, 139, 250, 0.3);
  font-size: 1.2rem; font-weight: 800; color: var(--accent-violet);
  margin: 0 auto 1rem;
}

.step-guide-card:nth-child(2) .step-guide-number {
  background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
}

.step-guide-card:nth-child(3) .step-guide-number {
  background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.step-guide-card:nth-child(4) .step-guide-number {
  background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
}

.step-guide-icon {
  width: 40px; height: 40px; margin: 0 auto 0.8rem;
  color: var(--accent-violet);
}

.step-guide-card:nth-child(2) .step-guide-icon { color: var(--accent-cyan); }
.step-guide-card:nth-child(3) .step-guide-icon { color: var(--accent-emerald); }
.step-guide-card:nth-child(4) .step-guide-icon { color: var(--accent-amber); }

.step-guide-card h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-guide-card p {
  color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6;
}

/* Landing Content Section */
.landing-content {
  max-width: var(--container-width); margin: 0 auto;
  padding: var(--section-padding) 1.5rem;
}

.landing-content-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center;
}

.landing-content-grid.reverse { direction: rtl; }
.landing-content-grid.reverse > * { direction: ltr; }

.landing-content-text h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700;
  line-height: 1.2; margin-bottom: 1rem;
}

.landing-content-text p {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 1rem;
}

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

/* Feature Highlight Grid */
.feature-highlight-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.feature-highlight-card {
  padding: 1.8rem; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--bg-card);
  backdrop-filter: blur(12px); position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-highlight-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--fh-accent, #a78bfa), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}

.feature-highlight-card:hover {
  transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.feature-highlight-card:hover::after { opacity: 0.5; }

.feature-highlight-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: grid; place-items: center; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--fh-accent, #a78bfa) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--fh-accent, #a78bfa) 20%, transparent);
  color: var(--fh-accent, #a78bfa);
  transition: transform 0.3s var(--ease-spring);
}

.feature-highlight-card:hover .feature-highlight-icon {
  transform: scale(1.08) rotate(-3deg);
}

.feature-highlight-card h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-highlight-card p {
  color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6;
}

/* CTA Banner */
.cta-banner-section {
  max-width: var(--container-width); margin: 0 auto;
  padding: var(--section-padding) 1.5rem;
}

.cta-banner {
  padding: 3rem 2rem; border-radius: var(--radius-2xl);
  border: 1px solid var(--border-accent);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08), rgba(6, 182, 212, 0.05));
  backdrop-filter: blur(16px); text-align: center;
  position: relative; overflow: hidden;
}

.cta-banner::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.3), transparent 40%, transparent 60%, rgba(6, 182, 212, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

.cta-banner h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700;
  margin-bottom: 0.8rem;
}

.cta-banner p {
  color: var(--text-secondary); font-size: 1rem; max-width: 520px;
  margin: 0 auto 1.5rem; line-height: 1.6;
}

/* Landing FAQ */
.landing-faq-section {
  max-width: var(--container-width); margin: 0 auto;
  padding: var(--section-padding) 1.5rem;
}

.landing-faq-list {
  max-width: 800px; margin: 0 auto;
  display: grid; gap: 0.8rem;
}

/* Keyword Visual Card (for display in landing pages) */
.keyword-visual-card {
  padding: 2rem; border-radius: var(--radius-2xl);
  border: 1px solid var(--border-subtle); background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.keyword-visual-title {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 1.2rem;
}

.keyword-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}

.keyword-tag {
  padding: 0.4rem 0.9rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
  transition: all 0.2s ease;
}

.keyword-tag:hover {
  border-color: var(--border-accent); color: var(--accent-violet);
  background: rgba(167, 139, 250, 0.06);
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto; margin: 1.5rem 0;
  border-radius: var(--radius-xl); border: 1px solid var(--border-subtle);
}

.comparison-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  padding: 1rem 1.2rem; text-align: left; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent-violet); background: rgba(167, 139, 250, 0.06);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table td {
  padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

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

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table .check-icon { color: var(--accent-emerald); font-weight: 700; }
.comparison-table .cross-icon { color: var(--text-tertiary); }

/* Platform Cards (for app page) */
.platform-card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.platform-card {
  padding: 2rem; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--bg-card);
  backdrop-filter: blur(12px); text-align: center;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.platform-card-icon {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  display: grid; place-items: center; margin: 0 auto 1.2rem;
  background: color-mix(in srgb, var(--pc-accent, #a78bfa) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc-accent, #a78bfa) 20%, transparent);
  color: var(--pc-accent, #a78bfa);
}

.platform-card h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.platform-card p {
  color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6;
  margin-bottom: 1rem;
}

.platform-card .platform-tag {
  display: inline-block; padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--pc-accent, #a78bfa) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc-accent, #a78bfa) 20%, transparent);
  font-size: 0.75rem; font-weight: 700; color: var(--pc-accent, #a78bfa);
}

/* Responsive adjustments for landing pages */
@media (max-width: 1024px) {
  .landing-content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .landing-content-grid.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .landing-hero { padding: 7rem 1.5rem 2rem; }
  .landing-hero h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .step-guide-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .feature-highlight-grid { grid-template-columns: 1fr; }
  .platform-card-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Scrollbar & Selection
   =================================================================== */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(167, 139, 250, 0.2); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: rgba(167, 139, 250, 0.35); }
::selection { background: rgba(167, 139, 250, 0.3); color: #fff; }

/* ===================================================================
   Reduced Motion — Accessibility
   =================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ambient-orb { animation: none !important; }
  .particle-canvas { display: none !important; }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  html { scroll-behavior: auto; }
}

/* ===================================================================
   Blog Listing Page
   =================================================================== */

.blog-hero {
  text-align: center;
  padding: 8rem 2rem 3rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.blog-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-grid-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
  height: 100%;
}

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

.blog-card-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.blog-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .blog-card-thumbnail img {
  transform: scale(1.05);
}

.blog-card-inner {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.blog-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.cat-violet { background: rgba(167, 139, 250, 0.15); color: var(--accent-violet); }
.cat-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.cat-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.cat-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.cat-rose { background: rgba(236, 72, 153, 0.15); color: var(--accent-rose); }

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.blog-card-read-time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.blog-card-arrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-violet);
  transition: transform 0.3s var(--ease-out);
}

.blog-card:hover .blog-card-arrow {
  transform: translateX(4px);
}

/* ===================================================================
   Blog Article Page
   =================================================================== */

.blog-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
}

.article-header {
  margin-bottom: 3rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent-violet);
}

.breadcrumb svg {
  opacity: 0.4;
  flex-shrink: 0;
}

.article-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-tertiary);
}

.meta-item svg {
  opacity: 0.6;
}

/* Article Body Content */
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.article-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.article-body li::marker {
  color: var(--accent-violet);
}

.article-body a {
  color: var(--accent-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.article-body a:hover {
  color: var(--accent-cyan);
}

.article-body code {
  background: rgba(167, 139, 250, 0.1);
  color: var(--accent-violet);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Fira Code', monospace;
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-secondary);
  border-left: 3px solid var(--accent-violet);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Table of Contents */
.table-of-contents {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}

.toc-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  border: none !important;
  padding: 0 !important;
}

.table-of-contents ul {
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  columns: 2;
  column-gap: 2rem;
}

.table-of-contents li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}

.table-of-contents a {
  font-size: 0.92rem;
  text-decoration: none !important;
  color: var(--text-secondary) !important;
  transition: color 0.2s;
}

.table-of-contents a:hover {
  color: var(--accent-violet) !important;
}

/* Info Box */
.info-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: var(--radius-md);
  margin: 1.5rem 0 2rem;
}

.info-box-warning {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
}

.info-box-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.6;
}

.info-box-content {
  font-size: 0.95rem;
  line-height: 1.7;
}

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

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08), rgba(6, 182, 212, 0.08));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0 2rem;
}

.highlight-box p {
  margin-bottom: 0.75rem;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Comparison Tables */
.comparison-table {
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

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

.comparison-table thead {
  background: rgba(167, 139, 250, 0.08);
}

.comparison-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
}

.comparison-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

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

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Use Case Grid */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.use-case-card:hover {
  border-color: var(--border-accent);
}

.use-case-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.use-case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0 !important;
  margin-bottom: 0.5rem;
}

.use-case-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0 !important;
  margin-bottom: 0.5rem;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cta-box .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.cta-box .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-violet);
}

/* Inline CTA link */
.inline-cta {
  font-weight: 600;
  color: var(--accent-violet) !important;
}

/* Blog responsive */
@media (max-width: 768px) {
  .blog-hero { padding: 7rem 1.5rem 2rem; }
  .blog-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

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

  .blog-article {
    padding: 5rem 1.25rem 3rem;
  }

  .article-header h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .table-of-contents ul {
    columns: 1;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 1.75rem 1.25rem;
  }

  .comparison-table {
    font-size: 0.82rem;
  }

  .comparison-table th, .comparison-table td {
    padding: 0.6rem 0.7rem;
  }
}

/* ===================================================================
   Gutenberg Block Architecture & Compatibility
   Ensures 100% fidelity when content is edited via WordPress Blocks
   =================================================================== */

.wp-block-group.content-section,
.wp-block-group.step-guide-section,
.wp-block-group.converter-section,
.wp-block-group.faq-section {
  width: 100%;
}

.hero > .wp-block-group__inner-container,
.hero-top > .wp-block-group__inner-container,
.hero-content > .wp-block-group__inner-container,
.hero-actions > .wp-block-group__inner-container,
.hero-stats > .wp-block-group__inner-container,
.section-header > .wp-block-group__inner-container,
.merge-demo-grid > .wp-block-group__inner-container,
.compression-grid > .wp-block-group__inner-container,
.security-grid > .wp-block-group__inner-container,
.step-guide-grid > .wp-block-group__inner-container,
.device-grid > .wp-block-group__inner-container,
.usecase-cards > .wp-block-group__inner-container,
.compression-stats-row > .wp-block-group__inner-container,
.security-features-grid > .wp-block-group__inner-container {
  display: contents;
}

p.section-badge {
  display: inline-flex;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

p.hero-badge {
  display: inline-flex;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

ul.merge-features-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

li.merge-feature-item {
  list-style: none;
}


