/* ============================================
   ToolForge Design System
   Hybrid: Vercel-clean + Linear-dark
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  /* Colors - Light mode (default) */
  --bg: #ffffff;
  --bg-elevated: #fafafa;
  --bg-card: #ffffff;
  --text-primary: #171717;
  --text-secondary: #4d4d4d;
  --text-tertiary: #666666;
  --text-quaternary: #808080;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --accent: #0070f3;
  --accent-hover: #0058c5;
  --ship: #ff5b4f;
  --preview: #de1d8d;
  --develop: #0a72ef;

  /* Category colors */
  --cat-writing: #7928ca;
  --cat-image: #eb367f;
  --cat-coding: #0a72ef;
  --cat-audio: #ff5b4f;
  --cat-video: #06b6d4;
  --cat-business: #10b981;
  --cat-productivity: #f59e0b;

  /* Shadows */
  --shadow-border: 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
  --shadow-subtle: rgba(0, 0, 0, 0.04) 0px 2px 2px;
  --shadow-card: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px,
                 rgba(0, 0, 0, 0.04) 0px 2px 2px,
                 rgba(0, 0, 0, 0.04) 0px 8px 8px -8px,
                 #fafafa 0px 0px 0px 1px;
  --shadow-hover: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px,
                  rgba(0, 0, 0, 0.08) 0px 4px 8px,
                  #fafafa 0px 0px 0px 1px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 64px;
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --text-primary: #ededed;
  --text-secondary: #a1a1a1;
  --text-tertiary: #8b8b8b;
  --text-quaternary: #6b6b6b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow-card: rgba(255, 255, 255, 0.04) 0px 0px 0px 1px,
                 rgba(0, 0, 0, 0.4) 0px 2px 4px,
                 rgba(0, 0, 0, 0.4) 0px 8px 8px -8px;
  --shadow-hover: rgba(255, 255, 255, 0.08) 0px 0px 0px 1px,
                  rgba(0, 0, 0, 0.4) 0px 4px 8px;
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg);
  font-feature-settings: "liga" 1, "calt" 1;
  transition: background 0.2s ease, color 0.2s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section {
  padding: var(--space-9) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-8) 0;
  }
  .container {
    padding: 0 var(--space-4);
  }
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .nav {
  background: rgba(10, 10, 10, 0.8);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--cat-coding), var(--cat-image));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.15s ease;
}

.theme-toggle:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

[data-theme="dark"] .btn-primary:hover {
  background: #fff;
  color: #000;
}

.btn-secondary {
  background: var(--bg);
  color: var(--text-primary);
  box-shadow: var(--shadow-border);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-subtle), var(--shadow-border);
}

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

.btn-ghost:hover {
  background: var(--bg-elevated);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

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

.hero {
  padding: var(--space-9) 0 var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(122, 40, 202, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: rgba(0, 112, 243, 0.08);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: var(--space-5);
  color: var(--text-primary);
}

.hero-title-gradient {
  background: linear-gradient(135deg, var(--cat-coding) 0%, var(--cat-image) 50%, var(--cat-writing) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: var(--space-7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-7);
  margin-top: var(--space-8);
  padding-top: var(--space-7);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

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

.hero-stat-value {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-7);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   Tool Cards Grid
   ============================================ */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
}

.tool-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.tool-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.tool-card-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.tool-card-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tool-card-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.tool-card-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  flex: 1;
}

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

.tool-card-price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.tool-card-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   Categories
   ============================================ */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-3);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-border);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--category-color, var(--accent));
  opacity: 0.7;
  transition: opacity 0.2s;
}

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

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--category-color, var(--accent)) 12%, transparent);
  color: var(--category-color, var(--accent));
  margin-bottom: var(--space-3);
}

.category-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.category-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
}

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

.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-5);
  margin-top: var(--space-9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: var(--space-3);
  line-height: 1.5;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ============================================
   Tool Detail Page
   ============================================ */

.tool-hero {
  padding: var(--space-8) 0 var(--space-6);
  border-bottom: 1px solid var(--border);
}

.tool-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-5);
  align-items: center;
}

@media (max-width: 768px) {
  .tool-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.tool-hero-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.tool-hero-info h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.tool-hero-tagline {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.tool-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  flex-wrap: wrap;
}

.tool-hero-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tool-hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-end;
}

@media (max-width: 768px) {
  .tool-hero-cta {
    align-items: center;
  }
}

.tool-price {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-tertiary);
}

.tool-price strong {
  color: var(--text-primary);
  font-size: 18px;
}

.tool-section {
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--border);
}

.tool-section h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.tool-section p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.tool-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.tool-feature {
  padding: var(--space-4);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
}

.tool-feature-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.tool-feature-title-icon {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.tool-feature p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

@media (max-width: 600px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros, .cons {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
}

.pros {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.cons {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.pros h3, .cons h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pros h3 { color: #059669; }
.cons h3 { color: #dc2626; }

.pros li, .cons li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}

.pros li::before, .cons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.pros li::before { background: #10b981; }
.cons li::before { background: #ef4444; }

/* ============================================
   Browse Page
   ============================================ */

.browse-header {
  padding: var(--space-7) 0 var(--space-5);
  border-bottom: 1px solid var(--border);
}

.browse-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.filter-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.filter-btn:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-border);
}

.filter-btn.active {
  background: var(--text-primary);
  color: var(--bg);
}

/* ============================================
   CTA Banner
   ============================================ */

.cta-banner {
  padding: var(--space-8) var(--space-5);
  background: linear-gradient(135deg, var(--cat-coding) 0%, var(--cat-image) 100%);
  border-radius: var(--radius-2xl);
  text-align: center;
  color: white;
  margin: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -1.2px;
  margin-bottom: var(--space-3);
}

.cta-banner p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: var(--space-5);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* ============================================
   Newsletter
   ============================================ */

.newsletter {
  padding: var(--space-8) 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-form {
  display: flex;
  gap: var(--space-2);
  max-width: 480px;
  margin: var(--space-4) auto 0;
  padding: 6px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-border);
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--text-tertiary);
}

.newsletter-submit {
  padding: 10px 18px;
  background: var(--text-primary);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.newsletter-submit:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ============================================
   How it Works / Features
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.feature-card {
  padding: var(--space-5);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-border);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--cat-coding), var(--cat-image));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  font-size: 20px;
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.feature-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.trust-bar-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-7);
  flex-wrap: wrap;
  opacity: 0.6;
}

.trust-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: -0.3px;
}

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

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

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* ============================================
   Utility
   ============================================ */

.text-center { text-align: center; }
.text-mono { font-family: var(--font-mono); }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }

.affiliate-disclosure {
  font-size: 12px;
  color: var(--text-tertiary);
  font-style: italic;
  text-align: center;
  padding: var(--space-4);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
}

.affiliate-disclosure a {
  text-decoration: underline;
}

/* ============================================
   Professional Components (v2)
   ============================================ */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}
.breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:not(:last-child) { color: var(--text-quaternary); }
.breadcrumb > *:last-child { color: var(--text-primary); font-weight: 500; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 90;
  box-shadow: var(--shadow-card);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 540px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: none;
  align-items: flex-start;
  gap: var(--space-3);
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show { display: flex; }
.cookie-banner-icon {
  width: 32px;
  height: 32px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.cookie-banner-content { flex: 1; }
.cookie-banner-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cookie-banner-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.cookie-banner-text a { text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner button {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s;
}
.cookie-banner button.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.cookie-banner button:hover { opacity: 0.9; }
@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions button { flex: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Author byline */
.author-byline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-4) 0;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cat-coding), var(--cat-image));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.author-info { line-height: 1.4; }
.author-info strong { color: var(--text-primary); font-weight: 600; }
.author-meta {
  display: flex;
  gap: var(--space-3);
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 200;
  transition: width 0.1s ease;
  width: 0;
}

/* Mega menu */
.nav-mega-trigger { position: relative; }
.nav-mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 640px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 110;
}
.nav-mega-trigger:hover .nav-mega,
.nav-mega-trigger:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-mega-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s;
}
.nav-mega-item:hover { background: var(--bg-elevated); }
.nav-mega-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.nav-mega-item-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.nav-mega-item-text span {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--accent); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
}
.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 var(--space-4) var(--space-4);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
}
.testimonial-quote {
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--space-2);
  font-family: serif;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cat-writing), var(--cat-image));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Share buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--space-5) 0;
}
.share-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-right: 4px;
}
.share-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.15s;
}
.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 640px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* Product mockup / dashboard */
.product-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-3);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.15);
  overflow: hidden;
}
.mockup-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-3);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #28c840; }
.mockup-url {
  flex: 1;
  margin-left: var(--space-3);
  padding: 4px 12px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-primary);
}
.mobile-menu-btn:hover { background: var(--bg-elevated); }
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-mega { min-width: 90vw; }
}
.mobile-menu {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--bg);
  padding: var(--space-4);
  z-index: 99;
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu a:hover { background: var(--bg-elevated); }

/* Toast */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-primary);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
