/*
Theme Name: Creatus Music Video
Theme URI: https://music.creatus.ai/
Author: Creatus.AI
Author URI: https://creatus.ai/
Description: SEO-optimized landing page theme for Creatus AI Music Video Generator. Generates AI songs from text and turns audio into music videos.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creatus-music
*/

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-glow-strong: rgba(59, 130, 246, 0.3);
  --text-primary: #f0f0f5;
  --text-secondary: #9a9ab0;
  --text-muted: #6b6b80;
  --border: #222233;
  --gradient-1: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-2: linear-gradient(135deg, #8b5cf6, #ec4899);
  --gradient-text: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 2rem;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.2s;
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 900px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

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

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: all 0.25s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

/* ========== VIDEO SHOWCASE ========== */
.video-showcase {
  margin-top: 4rem;
  width: 100%;
  max-width: 1100px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.video-showcase-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.video-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  justify-items: center;
}

.video-slot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-slot:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.video-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* 9:16 portrait */
.video-slot-portrait {
  width: 180px;
  height: 320px;
}

/* 1:1 square */
.video-slot-square {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
}

/* 16:9 landscape */
.video-slot-landscape {
  width: 280px;
  height: 158px;
}

.video-slot video,
.video-slot iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.video-slot-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.video-play-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
  transition: transform 0.3s;
}

.video-slot:hover .video-play-icon {
  transform: scale(1.1);
}

.video-play-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  margin-left: 2px;
}

.video-slot-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.video-slot-tag-overlay {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.6);
  color: var(--text-secondary);
  backdrop-filter: blur(4px);
}

.video-slot-square .video-play-icon {
  width: 64px;
  height: 64px;
}

.video-slot-square .video-play-icon svg {
  width: 24px;
  height: 24px;
}

.video-slot-square .video-slot-tag {
  font-size: 0.75rem;
}

/* ========== TRUST BAR ========== */
.trust-bar {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.trust-bar p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.trust-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.trust-stat .number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ========== SECTIONS ========== */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  font-weight: 300;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent-light);
  background: var(--accent-glow);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.feature-card.wide { grid-column: span 2; }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ========== USE CASES ========== */
.use-cases-bg {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.use-case {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-primary);
  transition: border-color 0.3s;
}

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

.use-case-icon { font-size: 1.5rem; margin-bottom: 1rem; }

.use-case h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.use-case p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== COMPARISON ========== */
.comparison-table {
  margin-top: 3rem;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison-table thead th {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--border);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.comparison-table thead th:first-child { color: var(--text-secondary); }
.comparison-table thead th.highlight { color: var(--accent-light); }

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

.comparison-table tbody td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table tbody tr:hover { background: var(--bg-card); }

.check { color: #22c55e; font-weight: 600; }
.cross { color: var(--text-muted); }
.partial { color: #eab308; }

/* ========== FAQ ========== */
.faq-list { margin-top: 3rem; max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

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

.faq-question .icon {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
  color: var(--accent-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========== CTA ========== */
.cta-section {
  text-align: center;
  padding: 6rem 2rem 8rem;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section > * { position: relative; z-index: 1; }

.cta-section .section-title {
  max-width: 700px;
  margin: 0 auto 1rem;
}

.cta-section .section-desc {
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ========== FOOTER ========== */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

/* ========== BLOG PAGE ========== */
.blog-page {
  padding-top: 80px;
}

.blog-hero {
  padding: 4rem 2rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.blog-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.blog-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

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

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--bg-secondary);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

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

.blog-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a1a2e 100%);
}

.blog-card-image-placeholder span {
  font-size: 2.5rem;
  opacity: 0.15;
}

.blog-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  background: var(--accent-glow);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.blog-card-read {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  transition: color 0.2s;
}

.blog-card:hover .blog-card-read {
  color: var(--accent);
}

/* Blog Empty State */
.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.blog-empty-icon {
  font-size: 3rem;
  opacity: 0.15;
  margin-bottom: 1.5rem;
}

.blog-empty h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Blog Pagination */
.blog-pagination {
  padding: 2rem 0;
  text-align: center;
}

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

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.blog-pagination .page-numbers:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.blog-pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ========== SINGLE POST ========== */
.single-post {
  padding-top: 80px;
}

.post-header {
  padding: 4rem 2rem 2.5rem;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.post-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.post-meta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.post-meta-sep {
  opacity: 0.3;
}

.post-category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  background: var(--accent-glow);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.post-category:hover {
  background: var(--accent-glow-strong);
}

.post-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.post-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

/* Featured Image */
.post-featured-image {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  transform: translateY(-1.5rem);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}

/* Post Content */
.post-content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.post-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
}

.post-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.post-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.5rem;
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 0 10px 10px 0;
  color: var(--text-primary);
  font-style: italic;
}

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

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.post-content code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: var(--bg-card);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.post-content th,
.post-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

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

.post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* Post Tags */
.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.post-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.post-tag:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

/* Post CTA Banner */
.post-cta-banner {
  margin: 0 auto;
  max-width: 900px;
  padding: 0 2rem;
}

.post-cta-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}

.post-cta-inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.post-cta-inner p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .steps-grid,
  .use-cases-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: span 1; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 0.7rem 0.6rem; }

  .nav-links { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .video-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
  }

  .video-slot-portrait {
    width: 140px;
    height: 249px;
  }

  .video-slot-square {
    grid-column: span 2;
    max-width: 300px;
    justify-self: center;
    order: -1;
  }

  .video-slot-landscape {
    width: 200px;
    height: 113px;
  }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 7rem 1.25rem 3rem; }
  .section { padding: 4rem 1.25rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .trust-stats { gap: 2rem; }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .video-slot-portrait {
    width: 160px;
    height: 284px;
    justify-self: center;
  }

  .video-slot-square {
    grid-column: span 1;
    max-width: 280px;
    justify-self: center;
  }

  .video-slot-landscape {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 16/9;
    justify-self: center;
  }

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

  .post-title { font-size: 1.5rem; }
  .post-content-wrap { padding: 1.5rem 1.25rem 2rem; }
  .post-cta-banner { padding: 0 1.25rem; }
  .post-cta-inner { padding: 2rem 1.25rem; }
}
