/* ==========================================================================
   Power Editor - Premium Dark Tech Design System
   Style: Clean, Professional, High-Performance Developer Aesthetic
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-tertiary: #131b2e;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(26, 36, 56, 0.85);
  --bg-glass: rgba(13, 18, 29, 0.8);
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(6, 182, 212, 0.4);
  --border-accent-glow: rgba(59, 130, 246, 0.5);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #030712;

  /* Accent Gradients & Colors */
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-brand: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-glow: radial-gradient(circle at 50% 30%, rgba(6, 182, 212, 0.15) 0%, rgba(59, 130, 246, 0.08) 35%, transparent 70%);
  --gradient-card-top: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Menlo, Consolas, monospace;

  /* Layout */
  --container-max: 1200px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  --shadow-glow-blue: 0 0 35px rgba(59, 130, 246, 0.25);

  /* Transitions */
  --trans-fast: 0.18s ease;
  --trans-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

/* Ambient Background Lights */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 900px;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

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

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

code, pre {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(7, 9, 14, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--trans-normal);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.4));
}

.brand-text {
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--trans-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-github-star {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--trans-fast);
}

.btn-github-star:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
  transition: all var(--trans-fast);
}

.btn-nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--trans-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 72px;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}

.hero-pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseGlow 2s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px auto;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.35);
  transition: all var(--trans-fast);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(6, 182, 212, 0.5);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  font-size: 1.02rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all var(--trans-fast);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item svg {
  color: var(--accent-emerald);
}

/* Hero Showcase Frame */
.hero-showcase {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
}

.showcase-window {
  border-radius: var(--radius-lg);
  background: #0f141f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(6, 182, 212, 0.15);
  overflow: hidden;
  position: relative;
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(20, 27, 43, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.window-dots .dot-red { background-color: #ff5f56; }
.window-dots .dot-yellow { background-color: #ffbd2e; }
.window-dots .dot-green { background-color: #27c93f; }

.window-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-actions {
  width: 48px;
}

.window-content {
  position: relative;
}

.showcase-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Metrics Badges */
.floating-metric {
  position: absolute;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(13, 18, 29, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  transition: transform var(--trans-normal);
}

.floating-metric:hover {
  transform: translateY(-4px);
}

.floating-metric.top-left {
  top: -24px;
  left: 20px;
}

.floating-metric.bottom-right {
  bottom: -24px;
  right: 20px;
}

.metric-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.metric-icon-wrap.green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
}

.metric-data-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.2;
}

.metric-data-label {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section {
  padding: 96px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Benchmark & Comparison Section
   ========================================================================== */

.benchmark-container {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.benchmark-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.benchmark-label {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

.benchmark-size-selector {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.benchmark-size-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: all var(--trans-fast);
}

.benchmark-size-btn.active {
  background: var(--bg-tertiary);
  color: var(--accent-cyan);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.benchmark-table-wrapper {
  overflow-x: auto;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.benchmark-table th,
.benchmark-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.benchmark-table th {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.2);
}

.benchmark-table th.pe-col,
.benchmark-table td.pe-col {
  background: rgba(6, 182, 212, 0.05);
  border-left: 1px solid rgba(6, 182, 212, 0.25);
  border-right: 1px solid rgba(6, 182, 212, 0.25);
}

.benchmark-table th.pe-col {
  border-top: 2px solid var(--accent-cyan);
}

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

.editor-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.badge-winner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-family: var(--font-mono);
  font-weight: 600;
}

.metric-val {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color var(--trans-fast);
}

.metric-val.highlight-update {
  background-color: rgba(6, 182, 212, 0.3);
  border-radius: 4px;
}

.status-fail {
  color: var(--accent-rose);
  font-weight: 500;
}

.status-warn {
  color: var(--accent-amber);
}

.status-pass {
  color: var(--accent-emerald);
}

.benchmark-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: right;
  font-style: italic;
}

/* ==========================================================================
   Core Features Grid
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--trans-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-card-top);
  pointer-events: none;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 25px rgba(6, 182, 212, 0.12);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 22px;
}

.feature-icon-box.purple {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
  color: #a78bfa;
}

.feature-icon-box.emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
}

.feature-icon-box.amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   UltraEdit Wordfile Deep-Dive
   ========================================================================== */

.wordfile-box {
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.9) 0%, rgba(20, 29, 52, 0.8) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(6, 182, 212, 0.1);
}

.wordfile-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.wordfile-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
}

.wordfile-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wordfile-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text strong {
  color: #ffffff;
  font-weight: 600;
}

.step-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.code-snippet-card {
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.code-snippet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0d121e;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.code-snippet-body {
  padding: 18px;
  font-size: 0.82rem;
  color: #a5b4fc;
  line-height: 1.65;
  overflow-x: auto;
}

.code-keyword { color: #f472b6; }
.code-string { color: #34d399; }
.code-comment { color: #64748b; }
.code-attr { color: #38bdf8; }

/* ==========================================================================
   Download Center & Platform Selector
   ========================================================================== */

.download-section {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 18, 29, 0.5) 100%);
}

.platform-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.platform-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--trans-fast);
}

.platform-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--border-strong);
}

.platform-tab-btn.active {
  background: var(--bg-tertiary);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.platform-panel {
  display: none;
}

.platform-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  animation: fadeIn 0.3s ease;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-fast);
}

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

.download-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.download-format-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.download-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.download-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.btn-card-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--trans-fast);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25);
}

.btn-card-download:hover {
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
}

.btn-card-download.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.btn-card-download.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.download-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.archive-box {
  margin-top: 40px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.archive-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.archive-text strong {
  color: #ffffff;
}

.archive-link {
  color: var(--accent-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.archive-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--trans-fast);
}

.faq-item.is-open {
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(17, 24, 39, 0.85);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  transition: transform var(--trans-normal);
  flex-shrink: 0;
}

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

.faq-answer {
  display: none;
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.is-open .faq-answer {
  display: block;
  animation: fadeIn 0.2s ease;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px 0;
  margin-top: 48px;
}

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

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-link:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Animations & Responsive Breakpoints
   ========================================================================== */

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

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

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

@media (max-width: 992px) {
  .hero-showcase .floating-metric {
    position: static;
    margin: 12px auto;
    width: fit-content;
  }

  .wordfile-box {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #080c14;
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .navbar-nav.is-open {
    display: flex;
  }

  .nav-actions .btn-github-star {
    display: none;
  }

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

  .benchmark-container {
    padding: 20px 14px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
