/* ============================================
   Verby — Global Stylesheet
   ============================================ */

/* Self-hosted Inter font */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/Inter-Variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

/* Design Tokens */
:root {
  --bg: #050508;
  --text: #F1F5F9;
  --text-2: #94A3B8;
  --text-3: #475569;
  --accent: #6366F1;
  --accent-2: #14B8A6;
  --glow: rgba(99, 102, 241, 0.3);
}

/* Base */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Aurora Background */
.aurora {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.aurora div {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12;
  animation: drift 20s ease-in-out infinite;
}
.aurora div:nth-child(1) { width: 500px; height: 500px; background: #6366F1; top: -100px; left: -100px; }
.aurora div:nth-child(2) { width: 400px; height: 400px; background: #8B5CF6; top: 40%; right: -100px; animation-delay: -7s; animation-duration: 25s; }
.aurora div:nth-child(3) { width: 350px; height: 350px; background: #14B8A6; bottom: -80px; left: 40%; animation-delay: -12s; animation-duration: 22s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

/* Layout */
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* Navigation */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; text-decoration: none; color: var(--text); }
.logo-icon { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

/* Gradient Text */
.gradient {
  background: linear-gradient(135deg, #6366F1, #8B5CF6, #14B8A6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 14px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary {
  background: linear-gradient(135deg, #6366F1, #8B5CF6); color: #fff;
  box-shadow: 0 4px 20px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--glow); }
.btn-secondary {
  background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid rgba(255,255,255,0.08);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }

/* Footer */
footer {
  padding: 40px 0; text-align: center; font-size: 12px; color: var(--text-3);
  border-top: 1px solid rgba(255,255,255,0.04);
}
footer a { color: var(--text-3); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--text-2); }

/* ============================================
   Blog / Article Styles
   ============================================ */

/* Article Header */
.article-header {
  text-align: center;
  padding: 80px 0 40px;
  max-width: 680px;
  margin: 0 auto;
}
.article-header .breadcrumb {
  font-size: 13px; color: var(--text-3); margin-bottom: 24px;
}
.article-header .breadcrumb a {
  color: var(--text-2); text-decoration: none;
}
.article-header .breadcrumb a:hover {
  color: var(--text);
}
.article-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: rgba(99, 102, 241, 0.08); border: 1px solid rgba(99, 102, 241, 0.2);
  margin-bottom: 20px;
}
.article-header h1 {
  font-size: clamp(28px, 5vw, 42px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.article-meta {
  font-size: 13px; color: var(--text-3);
}

/* Article Body */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0 60px;
}
.article-body p {
  font-size: 16px; line-height: 1.7; color: var(--text-2);
  margin-bottom: 24px;
}
.article-body h2 {
  font-size: 24px; font-weight: 700; color: var(--text);
  margin-top: 48px; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.article-body h3 {
  font-size: 18px; font-weight: 600; color: var(--text);
  margin-top: 32px; margin-bottom: 12px;
}
.article-body strong {
  color: var(--text); font-weight: 600;
}
.article-body em {
  color: var(--text-2); font-style: italic;
}
.article-body ul, .article-body ol {
  font-size: 16px; line-height: 1.7; color: var(--text-2);
  margin-bottom: 24px; padding-left: 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body a {
  color: var(--accent); text-decoration: none; font-weight: 500;
}
.article-body a:hover {
  text-decoration: underline;
}

/* Callout Boxes */
.callout {
  padding: 24px 28px; border-radius: 16px; margin-bottom: 32px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
}
.callout-heading {
  font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.callout p, .callout li {
  font-size: 14px; line-height: 1.7; color: var(--text-2);
}

/* Comparison Table */
.comparison {
  width: 100%; border-collapse: collapse; margin-bottom: 32px;
}
.comparison th, .comparison td {
  text-align: left; padding: 12px 16px; font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparison th {
  font-weight: 600; color: var(--text); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.comparison td {
  color: var(--text-2);
}
.comparison tr:last-child td {
  border-bottom: none;
}
.comparison .highlight td {
  color: var(--accent); font-weight: 600;
}

/* Tool Comparison Cards */
.tool-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px;
}
.tool-card {
  padding: 20px; border-radius: 14px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
}
.tool-card.featured {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.04);
}
.tool-card h4 {
  font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.tool-card p {
  font-size: 13px; line-height: 1.6; color: var(--text-3); margin-bottom: 0;
}

/* Article CTA */
.article-cta {
  text-align: center; padding: 48px 32px; border-radius: 20px; margin-bottom: 40px;
  background: rgba(99, 102, 241, 0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.article-cta h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 12px; margin-top: 0;
}
.article-cta p {
  font-size: 15px; color: var(--text-2); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto;
}

/* Example Pair (Voice-to-Email, Voice-to-Prompt comparisons) */
.example-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px;
}
.example-box {
  padding: 20px; border-radius: 14px; font-size: 14px; line-height: 1.7;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.example-box.after {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.04);
}
.example-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-3); margin-bottom: 10px;
}
.example-box.after .example-label {
  color: var(--accent);
}
.example-box p {
  margin-bottom: 0; font-size: 14px; color: var(--text-2);
}

/* App Review Cards (Best Voice-to-Text article) */
.app-review {
  padding: 28px; border-radius: 16px; margin-bottom: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.app-review.featured {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.04);
}
.app-review-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.app-review h3 { margin-top: 0; margin-bottom: 0; }
.rating-badge {
  padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,0.06); color: var(--text-2);
}
.rating-badge.rating-5 { background: rgba(99, 102, 241, 0.15); color: var(--accent); }
.rating-badge.rating-4 { background: rgba(20, 184, 166, 0.15); color: var(--accent-2); }
.price-tag {
  display: inline-block; font-size: 13px; color: var(--text-3); margin-bottom: 16px;
}
.pros-cons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0;
}
.pros ul, .cons ul { list-style: none; padding: 0; }
.pros li, .cons li {
  font-size: 13px; color: var(--text-2); padding: 4px 0;
  padding-left: 20px; position: relative;
}
.pros li::before { content: '+'; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.cons li::before { content: '-'; position: absolute; left: 2px; color: #F43F5E; font-weight: 700; }
.best-for { font-size: 14px; color: var(--text-2); margin-bottom: 0; }

/* Related Articles */
.related-articles {
  max-width: 680px; margin: 0 auto 60px; padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.related-articles h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em;
}
.related-articles ul { list-style: none; padding: 0; }
.related-articles li { margin-bottom: 10px; }
.related-articles a { color: var(--accent); text-decoration: none; font-size: 15px; font-weight: 500; }
.related-articles a:hover { text-decoration: underline; }
.related-articles .nav-links-bottom { margin-top: 20px; font-size: 14px; }
.related-articles .nav-links-bottom a { margin-right: 20px; }
.related-articles .nav-links-bottom a.back { color: var(--text-2); }
.related-articles .nav-links-bottom a.cta { color: var(--accent); font-weight: 600; }

/* Table Wrapper (responsive) */
.table-wrap { overflow-x: auto; margin-bottom: 32px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 600px) {
  .tool-grid { grid-template-columns: 1fr; }
  .example-pair { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .callout { padding: 20px; }
  .article-header { padding: 50px 0 30px; }
}
