/* ============================================
   WHISPER DICTATION - LIGHT THEME 2025
   Notion-inspired, paper-like style
   ============================================ */

/* CSS Variables */
:root {
  --bg-paper: #FAF9F7;
  --bg-warm: #F5F3F0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFA;
  --accent: #2D7D6F;
  --accent-light: #3A9D8C;
  --accent-soft: rgba(45, 125, 111, 0.1);
  --text-primary: #37352F;
  --text-secondary: #6B6B6B;
  --text-muted: #9B9A97;
  --border: rgba(55, 53, 47, 0.09);
  --border-hover: rgba(55, 53, 47, 0.16);
  --gradient-accent: linear-gradient(135deg, #2D7D6F 0%, #3A9D8C 100%);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --transition: all 0.2s ease;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 { font-size: 1.375rem; }

p { color: var(--text-secondary); }

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

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-primary);
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.nav-cta {
  background: var(--text-primary);
  color: white !important;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  nav a:not(.nav-cta) { display: none; }
  nav { gap: 0; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 120px 0 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-paper) 0%, var(--bg-warm) 100%);
}

.hero > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero-badge span {
  color: var(--accent);
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--text-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.hero-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-video {
  width: 100%;
  max-width: 900px;
  margin-top: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero-video {
    max-width: 100%;
    margin-top: 32px;
    border-radius: var(--radius-lg);
  }
}

/* ============================================
   DEMO SECTION - Before/After
   ============================================ */
.demo-section {
  padding: 80px 0;
  background: var(--bg-warm);
}

.demo-wrapper {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .demo-container { grid-template-columns: 1fr; }
}

.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.demo-card.before {
  opacity: 0.85;
}

.demo-card.after {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(45, 125, 111, 0.03) 0%, var(--bg-card) 100%);
}

.demo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.demo-card.after .demo-label { color: var(--accent); }

.demo-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
}

.demo-card.after p { color: var(--text-primary); }

.demo-arrow {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1.25rem;
  color: white;
  box-shadow: var(--shadow-md);
}

@media (min-width: 769px) {
  .demo-arrow { display: flex; }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 100px 0;
  background: var(--bg-paper);
}

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

.section-header p {
  font-size: 1.0625rem;
  margin-top: 14px;
}

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

@media (max-width: 968px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.375rem;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================
   SPEED COMPARISON
   ============================================ */
.speed-section {
  padding: 100px 0;
  background: var(--bg-warm);
}

.speed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 56px auto 0;
}

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

.speed-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.speed-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(45, 125, 111, 0.04) 0%, var(--bg-card) 100%);
}

.speed-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.speed-value {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.speed-card.highlight .speed-value {
  color: var(--accent);
}

.speed-unit {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ============================================
   PRIVACY SECTION
   ============================================ */
.privacy-section {
  padding: 100px 0;
  background: var(--bg-paper);
}

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

@media (max-width: 768px) {
  .privacy-grid { grid-template-columns: 1fr; }
}

.privacy-content h2 { margin-bottom: 20px; }

.privacy-content > p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.privacy-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.privacy-feature .check {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: white;
}

.privacy-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.privacy-icon-large {
  width: 88px;
  height: 88px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
}

.privacy-visual h3 {
  margin-bottom: 8px;
  color: var(--accent);
}

/* ============================================
   USE CASES SECTION
   ============================================ */
.usecases-section {
  padding: 100px 0;
  background: var(--bg-warm);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 968px) {
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.usecase-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.usecase-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.usecase-card h3 {
  font-size: 1.125rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.usecase-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.usecase-card li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 6px 0;
  line-height: 1.5;
}

.usecase-card li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  margin-right: 8px;
}

/* ============================================
   APPS SECTION
   ============================================ */
.apps-section {
  padding: 72px 0;
  background: var(--bg-warm);
}

.apps-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.apps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.app-icon {
  min-width: 52px;
  height: 44px;
  padding: 0 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.app-icon:hover {
  transform: scale(1.08);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

/* ============================================
   LANGUAGES SECTION
   ============================================ */
.languages-section {
  padding: 44px 0;
  text-align: center;
  background: var(--bg-paper);
}

.languages-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.languages-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 1.75rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 100px 0 80px;
  background: var(--bg-paper);
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 48px;
}

.testimonials-slider::before,
.testimonials-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-paper), transparent);
}

.testimonials-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-paper), transparent);
}

.testimonials-track {
  display: flex;
  gap: 20px;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.testimonial-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-info strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.testimonial-info span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 300px;
  }

  .testimonials-slider::before,
  .testimonials-slider::after {
    width: 40px;
  }
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg-warm);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}

@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

@media (max-width: 968px) {
  .pricing-card.featured {
    transform: none;
  }
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.pricing-card.featured .pricing-price {
  color: var(--accent);
}

.pricing-note {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 24px;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-primary);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features .check {
  color: var(--accent);
  font-size: 1rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-warm);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.how-it-works-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: 100px 0;
  background: var(--bg-paper);
}

.faq-grid {
  max-width: 720px;
  margin: 56px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.faq-item p {
  line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-paper) 100%);
}

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

.final-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 14px;
}

.final-cta p {
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-paper);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

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

.language-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.language-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.language-flags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.language-flags a {
  font-size: 1.25rem;
  opacity: 0.6;
  transition: var(--transition);
  text-decoration: none;
}

.language-flags a:hover,
.language-flags a.active {
  opacity: 1;
  transform: scale(1.15);
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ============================================
   BLOG STYLES
   ============================================ */
.blog-header {
  padding: 140px 0 72px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-paper) 0%, var(--bg-warm) 100%);
}

.blog-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 14px;
}

.blog-header p {
  font-size: 1.0625rem;
}

.blog-list {
  padding: 72px 0;
  background: var(--bg-paper);
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

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

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-card-meta time {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.blog-card-category {
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card h2 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}

.blog-card h2 a { color: var(--text-primary); }
.blog-card h2 a:hover { color: var(--accent); }

.blog-card > p { margin-bottom: 14px; }

.blog-card-link {
  color: var(--accent);
  font-weight: 500;
}

.blog-card-link:hover { text-decoration: underline; }

/* Blog Article */
.blog-article {
  padding: 140px 0 72px;
  background: var(--bg-paper);
}

.article-header {
  max-width: 720px;
  margin: 0 auto 44px;
  padding: 0 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.reading-time { color: var(--accent); }

.article-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 20px;
}

.article-intro {
  font-size: 1.1875rem;
  line-height: 1.75;
}

.toc {
  max-width: 720px;
  margin: 0 auto 44px;
  padding: 0 24px;
}

.toc-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.toc h2 {
  font-size: 0.9375rem;
  margin-bottom: 14px;
}

.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--text-secondary); }
.toc a:hover { color: var(--accent); }

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-content section { margin-bottom: 44px; }

.article-content h2 {
  font-size: 1.625rem;
  margin-bottom: 20px;
  padding-top: 20px;
}

.article-content h3 {
  font-size: 1.1875rem;
  margin: 28px 0 14px;
}

.article-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.article-content pre {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.article-content code {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.875rem;
}

.article-content .table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-content th, .article-content td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.article-content th {
  background: var(--bg-warm);
  font-weight: 600;
  color: var(--text-primary);
}

.article-content td { color: var(--text-secondary); }

.article-content .highlight-row {
  background: var(--accent-soft);
}

/* CTA Box */
.cta-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  margin: 44px 0;
}

.cta-box h4 {
  font-size: 1.375rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.cta-box p { margin-bottom: 20px; }

/* Top CTA */
.top-cta {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.top-cta-content h4 {
  color: white;
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.top-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}

.top-cta .btn {
  background: white;
  color: var(--accent);
}

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

@media (max-width: 600px) {
  .top-cta {
    flex-direction: column;
    text-align: center;
  }
  .top-cta .btn { width: 100%; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
