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

:root {
  --color-dark: #1a1a1a;
  --color-mid: #4a4a4a;
  --color-muted: #8a8a8a;
  --color-border: #e5e5e5;
  --color-surface: #fafafa;
  --color-white: #ffffff;
  --color-primary: #1a1a1a;
  --color-accent: #2563eb;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --content-width: 800px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.nav-icon {
  color: var(--color-dark);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--color-mid);
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-dark);
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-menu.active {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-border);
  }
  .mobile-link, .mobile-cta {
    padding: 0.75rem 0;
    font-size: 0.875rem;
  }
  .mobile-cta {
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    border-radius: 9999px;
    margin-top: 0.5rem;
  }
}

/* Hero */
.hero {
  padding: 6rem 1.5rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--color-surface), var(--color-white));
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title-main {
  display: block;
}

.hero-title-sub {
  display: block;
  color: var(--color-muted);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-mid);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-dark);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Sections */
section {
  padding: 4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

section h2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--color-mid);
}

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

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

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.category-card {
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all 0.2s;
}

.category-card:hover {
  border-color: var(--color-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.category-icon {
  width: 3rem;
  height: 3rem;
  background: var(--color-surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

.category-card p {
  font-size: 0.875rem;
  color: var(--color-mid);
}

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

/* Why Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 1.5rem;
}

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

.why-card p {
  font-size: 0.875rem;
  color: var(--color-mid);
  line-height: 1.7;
}

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

/* Latest Posts */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0;
  text-align: left;
}

.section-link {
  font-size: 0.875rem;
  color: var(--color-mid);
}

.section-link:hover {
  color: var(--color-dark);
}

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

.post-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.post-card:hover {
  border-color: var(--color-dark);
}

.post-card a {
  display: block;
  padding: 1.5rem;
}

.post-category {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.post-card p {
  font-size: 0.875rem;
  color: var(--color-mid);
  margin-bottom: 1rem;
}

.post-read-more {
  font-size: 0.875rem;
  font-weight: 500;
}

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

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 6rem 1.5rem;
  background: var(--color-surface);
  border-radius: 16px;
  margin: 4rem auto;
}

.final-cta h2 {
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: var(--color-mid);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 4rem 1.5rem 2rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-mid);
}

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

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  font-size: 0.875rem;
  color: var(--color-mid);
  padding: 0.25rem 0;
}

.footer-column a:hover {
  color: var(--color-dark);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Blog Landing Page - Redesigned */

/* Blog Hero */
.blog-hero {
  padding: 6rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.blog-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.blog-hero .text-muted {
  color: var(--color-muted);
}

.blog-hero p {
  font-size: 1.125rem;
  color: var(--color-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Blog Featured Article */
.blog-featured {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-dark);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.blog-featured-image {
  position: relative;
  min-height: 320px;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.blog-featured-placeholder svg {
  width: 80%;
  height: auto;
  opacity: 0.5;
}

.blog-featured-content {
  padding: 3rem;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  width: fit-content;
}

.blog-featured-category {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.blog-featured-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  text-align: left;
}

.blog-featured-content p {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-featured-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  opacity: 0.6;
}

/* Blog Articles Grid */
.blog-articles {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.blog-articles-header {
  margin-bottom: 2rem;
}

.blog-articles-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: left;
  margin: 0;
}

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

.blog-article-card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
}

.blog-article-card:hover {
  border-color: var(--color-dark);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.blog-article-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.blog-article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
}

.blog-article-placeholder svg {
  width: 60%;
  height: auto;
}

.blog-article-content {
  padding: 1.5rem;
}

.blog-article-category {
  font-size: 0.6875rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-article-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0.5rem 0;
}

.blog-article-card p {
  font-size: 0.875rem;
  color: var(--color-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.blog-no-articles {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--color-muted);
}

/* Blog Newsletter */
.blog-newsletter {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.blog-newsletter-content {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}

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

.blog-newsletter p {
  color: var(--color-mid);
  margin-bottom: 1.5rem;
}

.blog-newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.blog-newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-family: inherit;
}

.blog-newsletter-form input:focus {
  outline: none;
  border-color: var(--color-dark);
}

.blog-newsletter-form button {
  background: var(--color-dark);
  color: var(--color-white);
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.blog-newsletter-form button:hover {
  opacity: 0.85;
}

/* Blog Responsive */
@media (max-width: 900px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-featured-image {
    min-height: 200px;
  }

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

@media (max-width: 640px) {
  .blog-hero {
    padding: 4rem 1.5rem 3rem;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }

  .blog-featured {
    padding: 0 1.5rem 3rem;
  }

  .blog-featured-content {
    padding: 2rem;
  }

  .blog-featured-content h2 {
    font-size: 1.375rem;
  }

  .blog-articles {
    padding: 0 1.5rem 3rem;
  }

  .blog-articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-newsletter {
    padding: 3rem 1.5rem;
  }

  .blog-newsletter-content {
    padding: 2rem;
  }

  .blog-newsletter-form {
    flex-direction: column;
  }
}

/* Old Blog Styles - keeping for backwards compatibility */
.blog-listing {
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.blog-card-description {
  font-size: 0.875rem;
  color: var(--color-mid);
  margin-bottom: 1rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-link {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.875rem;
}

.pagination-link:hover {
  border-color: var(--color-dark);
}

.pagination-info {
  font-size: 0.875rem;
  color: var(--color-muted);
}

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

/* Article */
.article {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.article-category {
  color: var(--color-accent);
  font-weight: 500;
}

.article-date {
  color: var(--color-muted);
}

.article-updated {
  color: var(--color-muted);
}

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

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-description {
  font-size: 1.25rem;
  color: var(--color-mid);
}

/* TL;DR Box */
.tldr-box {
  background: linear-gradient(135deg, #f0fdf4, #ecfeff);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.tldr-box h2 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 0.5rem;
  text-align: left;
}

.tldr-box p {
  font-size: 1rem;
  line-height: 1.7;
  color: #15803d;
}

/* Article Content */
.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  text-align: left;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

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

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

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

.article-content blockquote {
  border-left: 3px solid var(--color-dark);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-mid);
}

.article-content code {
  background: var(--color-surface);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.article-content pre {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

.article-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.article-content img {
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* CTA Box */
.cta-box {
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}

.cta-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cta-box p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.cta-button:hover {
  opacity: 0.9;
}

/* FAQ Section */
.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.faq-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

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

.faq-question {
  padding: 1rem 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: '+';
  margin-right: 0.75rem;
  font-weight: 400;
}

details[open] .faq-question::before {
  content: '-';
}

.faq-answer {
  padding: 0 0 1rem 1.5rem;
  color: var(--color-mid);
}

/* Article Banner */
.article-banner {
  margin: -2rem -1.5rem 2rem;
  border-radius: 0;
}

.article-banner img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 0 0 16px 16px;
}

@media (min-width: 900px) {
  .article-banner {
    margin: 0 0 2rem;
    border-radius: 16px;
    overflow: hidden;
  }
  .article-banner img {
    border-radius: 16px;
  }
}

/* WorkSim CTA */
.worksim-cta {
  margin: 3rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 16px;
  padding: 2.5rem;
}

.worksim-cta-content {
  text-align: center;
  color: var(--color-white);
}

.worksim-cta h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.worksim-cta p {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.worksim-cta-button {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-dark);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, opacity 0.2s;
}

.worksim-cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Article Footer */
.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-mid);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface);
}

.author-name {
  display: block;
  font-weight: 600;
}

.author-bio {
  display: block;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Related Posts */
.related-posts {
  margin-top: 4rem;
}

.related-posts h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all 0.2s;
}

.related-card:hover {
  border-color: var(--color-dark);
}

.related-category {
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.related-card h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.related-card p {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.75rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-footer {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
}

/* Featured Posts (Homepage) */
.featured-posts {
  padding: 4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.featured-posts h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: left;
}

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

.featured-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all 0.2s;
}

.featured-card:hover {
  border-color: var(--color-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.featured-card a {
  display: block;
  padding: 1.5rem;
}

.featured-category {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.featured-card p {
  font-size: 0.875rem;
  color: var(--color-mid);
  line-height: 1.6;
}

.featured-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 1rem;
}

.view-all {
  text-align: center;
  margin-top: 2rem;
}

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--color-muted);
}

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

/* Topics Grid (Homepage) */
.topic-categories {
  padding: 4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: 16px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.topic-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.2s;
}

.topic-card:hover {
  border-color: var(--color-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

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

.topic-card p {
  font-size: 0.875rem;
  color: var(--color-mid);
  line-height: 1.6;
}

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

/* Newsletter */
.newsletter {
  padding: 4rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

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

.newsletter p {
  color: var(--color-mid);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-dark);
}

.newsletter-form button {
  white-space: nowrap;
}

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

/* ========================================
   NEW HOMEPAGE STYLES
   ======================================== */

/* Featured Hero Article */
.featured-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.featured-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.featured-hero-card {
  display: block;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 16px;
  padding: 3rem;
  color: var(--color-white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.featured-hero-category {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.featured-hero-content h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.featured-hero-content p {
  font-size: 1.125rem;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 600px;
}

.featured-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.featured-hero-read {
  font-weight: 600;
  font-size: 1rem;
}

.featured-hero-time {
  font-size: 0.875rem;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .featured-hero-card {
    padding: 2rem;
  }
  .featured-hero-content h2 {
    font-size: 1.5rem;
  }
}

/* Popular Section */
.popular-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.popular-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.popular-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s;
}

.popular-card:hover {
  background: var(--color-surface);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.popular-card:last-child {
  border-bottom: none;
}

.popular-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-border);
  min-width: 2.5rem;
}

.popular-content {
  flex: 1;
}

.popular-category {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.popular-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.25rem 0;
  line-height: 1.4;
}

.popular-meta {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* Topics Section New */
.topics-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.topics-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

.topics-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.topic-card-new {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s;
  text-align: center;
}

.topic-card-new:hover {
  border-color: var(--color-dark);
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.topic-icon {
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-dark);
}

.topic-card-new:hover .topic-icon {
  background: var(--color-dark);
  color: var(--color-white);
}

.topic-card-new h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.topic-card-new p {
  font-size: 0.8125rem;
  color: var(--color-mid);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.topic-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-dark);
}

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

@media (max-width: 480px) {
  .topics-grid-new {
    grid-template-columns: 1fr;
  }
}

/* All Articles Section */
.all-articles {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: var(--color-surface);
  border-radius: 16px;
}

.articles-list {
  display: flex;
  flex-direction: column;
}

.article-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1rem;
  margin: 0 -1rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.article-row:hover {
  background: var(--color-white);
}

.article-row-main {
  flex: 1;
}

.article-row-category {
  font-size: 0.6875rem;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-row h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.article-row-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.article-row-arrow {
  font-size: 1.25rem;
  color: var(--color-mid);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.article-row:hover .article-row-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.no-articles {
  text-align: center;
  padding: 2rem;
  color: var(--color-muted);
}

@media (max-width: 640px) {
  .article-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .article-row-meta {
    gap: 1rem;
  }
  .article-row-arrow {
    display: none;
  }
}

/* Newsletter CTA */
.newsletter-cta {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.newsletter-cta-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--color-white);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}

.newsletter-cta h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.newsletter-cta p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.newsletter-form-inline {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form-inline input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-family: inherit;
}

.newsletter-form-inline input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

.newsletter-form-inline button {
  background: var(--color-white);
  color: var(--color-dark);
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.newsletter-form-inline button:hover {
  opacity: 0.9;
}

.newsletter-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  opacity: 0.6;
}

@media (max-width: 480px) {
  .newsletter-cta-content {
    padding: 2rem;
  }
  .newsletter-form-inline {
    flex-direction: column;
  }
}

/* ========================================
   CMUL8 LANDING PAGE STYLES
   ======================================== */

:root {
  --bg: #fafafb;
  --text-gray: #888;
  --text-light: #ededed;
  --card-shadow: 0 2px 40px rgba(0, 0, 0, 0.06);
}

/* Hero with Pendulum */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background: transparent;
  text-align: left;
  overflow: hidden;
}

#fractal-canvas {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
  opacity: 0.85;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 0%, transparent 70%);
}

.hero-text {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-text span {
  display: inline;
}

.text-dark {
  color: var(--color-dark);
}

.text-gray {
  color: var(--text-gray);
}

.inline-logo {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.25rem;
  opacity: 0.7;
}

/* Showcase */
.showcase {
  padding: 0 1rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.showcase-card {
  overflow: hidden;
  border-radius: 1rem;
}

.card-preview {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  border-radius: 1rem;
  transition: opacity 0.3s ease;
  position: relative;
}

.card-preview:hover {
  opacity: 0.9;
}

.card-preview.light {
  background: var(--color-white);
}

.card-preview.dark {
  background: #141414;
  color: var(--color-white);
}

.card-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.abstract-viz {
  width: 60%;
  max-width: 280px;
  height: auto;
  opacity: 0.9;
}

.dark-visual .abstract-viz {
  opacity: 0.7;
}

.card-label {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
  opacity: 0.7;
}

.card-label.light-label {
  color: var(--color-white);
  opacity: 0.6;
}

.card-label svg {
  opacity: 0.7;
}

/* Features */
.features {
  padding: 8rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.features-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4rem;
  text-align: center;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--text-light);
  align-items: start;
}

.feature:last-child {
  border-bottom: 1px solid var(--text-light);
}

.feature-left {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.feature-icon {
  flex-shrink: 0;
  opacity: 0.4;
  margin-top: 0.25rem;
}

.feature-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-number {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-gray);
}

.feature h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.feature p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
}

/* Trust Section */
.trust-section {
  padding: 6rem 3rem;
  background: var(--color-white);
}

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

.trust-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.trust-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.trust-pillar {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 0.75rem;
}

.trust-pillar h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.trust-pillar p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Products Section */
.products-section {
  padding: 6rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.products-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.product-card-new {
  display: block;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all 0.2s;
}

.product-card-new:hover {
  border-color: var(--color-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-card-new h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-tagline {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.product-card-new p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.product-cta-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--color-dark);
}

/* Blog Preview Section */
.blog-preview-section {
  padding: 4rem 3rem;
  background: var(--bg);
}

.blog-preview-content {
  max-width: 1000px;
  margin: 0 auto;
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header-inline h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  text-align: left;
}

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

.blog-preview-card {
  display: block;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.2s;
}

.blog-preview-card:hover {
  border-color: var(--color-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.blog-preview-category {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-preview-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.blog-preview-card p {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 8rem 3rem;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.cta-button {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  background: var(--color-dark);
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive for Landing Page */
@media (max-width: 1024px) {
  #fractal-canvas {
    width: 600px;
    height: 600px;
    right: -150px;
    opacity: 0.6;
  }

  .hero-text {
    max-width: 550px;
  }
}

@media (max-width: 900px) {
  #fractal-canvas {
    width: 450px;
    height: 450px;
    right: -100px;
    top: 50%;
    opacity: 0.5;
  }

  .hero {
    padding: 6rem 2rem 4rem;
  }

  .hero-text {
    max-width: 480px;
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  }

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

  .card-preview {
    aspect-ratio: 16/9;
    border-radius: 0.75rem;
  }

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

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

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

@media (max-width: 768px) {
  #fractal-canvas {
    position: absolute;
    width: 100%;
    max-width: 100vw;
    height: 320px;
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    transform: none;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  }

  .hero {
    min-height: auto;
    padding: 5rem 1.5rem 22rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .hero-text {
    font-size: 1.75rem;
    line-height: 1.35;
    max-width: 100%;
  }

  .features {
    padding: 4rem 1.5rem;
  }

  .features-title {
    margin-bottom: 2.5rem;
  }

  .cta-section,
  .trust-section,
  .products-section,
  .blog-preview-section {
    padding: 4rem 1.5rem;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .feature-left {
    flex-direction: column;
    gap: 0.75rem;
  }

  .feature h3 {
    font-size: 1.125rem;
  }

  .feature p {
    font-size: 0.9375rem;
  }

  .trust-content h2,
  .products-content h2,
  .cta-content h2 {
    font-size: 1.5rem;
  }

  .section-header-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  #fractal-canvas {
    height: 280px;
    opacity: 0.35;
  }

  .hero {
    padding: 4rem 1.25rem 20rem;
  }

  .hero-text {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .hero-text .text-gray {
    font-size: 0.9em;
  }

  .features,
  .cta-section,
  .trust-section,
  .products-section {
    padding: 3rem 1.25rem;
  }

  .feature {
    padding: 1.25rem 0;
  }

  .feature h3 {
    font-size: 1rem;
  }

  .trust-pillar {
    padding: 1rem;
  }

  .product-card-new {
    padding: 1.5rem;
  }

  .product-card-new h3 {
    font-size: 1.25rem;
  }

  .card-preview {
    padding: 1.5rem;
    aspect-ratio: 16/9;
    border-radius: 0.5rem;
  }

  .abstract-viz {
    width: 35%;
    max-width: 120px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 0.875rem 2rem;
  }

  .cta-content h2 {
    font-size: 1.375rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}
