@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --primary-color: #FF8C61;
  --secondary-color: #2C3E50;
  --accent-color: #FFA07A;
  --background-light: #FFF5F2;
  --background-white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-medium: #5D6D7E;
  --text-light: #95A5A6;
  --success-color: #27AE60;
  --border-color: #E8EBED;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: var(--spacing-sm);
}

p {
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
  color: var(--text-medium);
}

.blog-article {
  background: var(--background-white);
}

.blog-hero {
  position: relative;
  padding: 5rem 0 6rem;
  padding-top: calc(80px + 2rem);
  overflow: hidden;
}

.blog-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.blog-hero-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 200px 64px at 18% 90%, rgba(255, 255, 255, .24), transparent 64%),
    radial-gradient(ellipse 240px 80px at 82% 88%, rgba(255, 255, 255, .16), transparent 60%),
    radial-gradient(900px 520px at 18% 8%, rgba(255, 255, 255, .45), transparent 62%),
    radial-gradient(700px 420px at 82% 18%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(120deg, #FFC2A8, #FF8A62);
  clip-path: url(#blog-wave-clip);
}

.blog-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 1;
}

.blog-hero-wave path {
  fill: #ffffff;
}

.blog-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.blog-hero-content {
  max-width: 560px;
}

.blog-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.blog-category {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
}

.blog-reading-time {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #1E293B;
}

.blog-reading-time svg {
  width: 16px;
  height: 16px;
}

.blog-hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #1E293B;
  font-weight: 900;
}

.blog-hero-content h1 .highlight-orange {
  background: linear-gradient(135deg, #FF6A3D 0%, #FF5A2A 50%, #E84A1F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  opacity: 0.6;
}

.blog-excerpt {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #1E293B;
  margin-bottom: 1.5rem;
}

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

.author-avatar {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1E293B;
}

.author-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #1E293B;
}

.author-date svg {
  width: 14px;
  height: 14px;
}

.blog-hero-image-wrapper {
  position: relative;
  transform: perspective(1000px);
  aspect-ratio: 760 / 500;
  width: 100%;
  min-height: 330px;
}

.blog-hero-decoration {
  display: none;
}

.blog-hero-image {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.15),
    0 10px 25px -10px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  aspect-ratio: 4/3;
  transform: translateZ(50px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.blog-hero-image:hover {
  transform: translateZ(60px) translateY(-5px);
  box-shadow:
    0 25px 50px -15px rgba(0, 0, 0, 0.2),
    0 15px 35px -10px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.4);
}

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

.blog-content-section {
  padding: 4rem 0;
  background: white;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-main {
  min-width: 0;
}

.blog-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-medium);
}

.blog-content h2 {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.blog-content h2:first-of-type {
  margin-top: 0;
}

.blog-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2rem 0 0.75rem;
  line-height: 1.35;
}

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

.blog-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

.lead-paragraph {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E5E7EB;
}

.blog-content ul {
  margin: 0.75rem 0 1.25rem 1.25rem;
  padding: 0;
}

.blog-content ul li {
  position: relative;
  padding-left: 0.5rem;
  margin-bottom: 0.375rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.blog-content ul li::marker {
  color: var(--primary-color);
}

.blog-author-card {
  display: flex;
  gap: 1.5rem;
  margin: 3rem 0 0;
  padding: 2rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F7 100%);
  border-radius: 16px;
  border: 1px solid #E5E7EB;
}

.blog-author-card-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #FF8C5A 100%);
  color: white;
  font-weight: 800;
  font-size: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.blog-author-card-content {
  flex: 1;
}

.blog-author-card-content h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.blog-author-card-role {
  display: block;
  font-size: 0.8125rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.blog-author-card-content p {
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.blog-author-card-links {
  display: flex;
  gap: 0.75rem;
}

.blog-author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-author-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.blog-author-link svg {
  width: 14px;
  height: 14px;
}

.comparison-table {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #E5E7EB;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #FF8C5A 100%);
}

.comparison-header .comparison-cell {
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 1rem 1.5rem;
  text-align: center;
}

.comparison-cell {
  padding: 1.125rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-medium);
  border-right: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}

.comparison-cell:last-child {
  border-right: none;
}

.comparison-highlight {
  background: linear-gradient(135deg, #FEF3F0 0%, #FFF8F5 100%);
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
}

.comparison-highlight::before {
  content: '✓';
  margin-right: 0.5rem;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.125rem;
}

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

  .comparison-cell {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
    padding: 1rem 1.25rem;
  }

  .comparison-cell:last-child {
    border-bottom: none;
  }

  .comparison-row:not(.comparison-header) .comparison-cell:first-child {
    background: #F8FAFC;
    font-weight: 600;
    color: var(--text-dark);
  }

  .comparison-header .comparison-cell:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}

.blog-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-toc,
.sidebar-related {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #E5E7EB;
}

.sidebar-toc h4,
.sidebar-related h4,
.sidebar-share h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-medium);
  margin-bottom: 0.875rem;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toc-link {
  font-size: 0.8125rem;
  color: var(--text-medium);
  text-decoration: none;
  padding: 0.5rem 0.625rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.toc-link:hover {
  color: var(--primary-color);
  background: white;
  border-left-color: var(--primary-color);
}

.interne-link {
  color: #FF8A5C;
  text-decoration: none;
  font-weight: 500;
}

.interne-link:hover,
.interne-link:focus {
  color: #FF6F3D;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sidebar-related-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sidebar-related-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.625rem 0.75rem;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.sidebar-related-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateX(2px);
}

.sidebar-related-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.sidebar-related-link:hover svg {
  opacity: 1;
}

.sidebar-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.sidebar-related-item {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.75rem;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sidebar-related-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 106, 61, 0.15);
}

.sidebar-related-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-related-content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.sidebar-related-category {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
}

.sidebar-related-content h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
}

.sidebar-share {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #E5E7EB;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.share-btn.copy:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.share-btn.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: white;
}

.share-btn.twitter:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
  color: white;
}

.share-btn.linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: white;
}

.share-btn.email:hover {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: white;
}

.blog-footer {
  padding: 1.5rem 0;
  background: #1E293B;
  color: white;
  text-align: center;
}

.blog-footer p {
  font-size: 0.8125rem;
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .blog-hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .blog-meta-top {
    justify-content: center;
  }

  .blog-author-meta {
    justify-content: center;
  }

  .blog-hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .blog-hero-decoration {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -15px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-sidebar {
    order: -1;
  }

  .sidebar-sticky {
    position: relative;
    top: 0;
    flex-direction: row;
    gap: 1rem;
  }

  .sidebar-toc,
  .sidebar-related,
  .sidebar-share {
    flex: 1;
  }

  .sidebar-related-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-related-link {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }

  .toc-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.375rem;
  }

  .toc-link {
    border-left: none;
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
  }

  .share-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.375rem;
  }

  .share-btn {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
  }

  .share-btn span {
    display: none;
  }

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

@media (max-width: 768px) {
  .blog-hero {
    padding: 3rem 0 4rem;
    padding-top: calc(70px + 1.5rem);
  }

  .blog-hero-wave {
    height: 100px;
  }

  .blog-hero-layout {
    gap: 1.5rem;
  }

  .blog-hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .blog-hero-image-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }

  .blog-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .blog-meta-top {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .blog-category {
    font-size: 0.6875rem;
    padding: 0.3125rem 0.75rem;
  }

  .blog-reading-time {
    font-size: 0.8125rem;
  }

  .author-avatar {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .author-name {
    font-size: 0.875rem;
  }

  .author-date {
    font-size: 0.8125rem;
  }

  .blog-hero-image {
    border-radius: 12px;
    box-shadow:
      0 15px 35px -15px rgba(0, 0, 0, 0.12),
      0 10px 20px -10px rgba(0, 0, 0, 0.08),
      0 0 0 1px rgba(255, 255, 255, 0.3);
  }

  .blog-hero-image:hover {
    transform: translateZ(50px) translateY(-3px);
    box-shadow:
      0 20px 45px -15px rgba(0, 0, 0, 0.15),
      0 12px 30px -10px rgba(0, 0, 0, 0.12),
      0 0 0 1px rgba(255, 255, 255, 0.4);
  }

  .blog-content-section {
    padding: 2rem 0;
  }

  .blog-content h2 {
    font-size: 1.375rem;
    margin: 2rem 0 0.875rem;
  }

  .blog-content h3 {
    font-size: 1.125rem;
    margin: 1.5rem 0 0.625rem;
  }

  .blog-content {
    font-size: 1rem;
  }

  .lead-paragraph {
    font-size: 1.0625rem;
  }

  .blog-author-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .blog-author-card-avatar {
    margin: 0 auto;
  }

  .blog-author-card-links {
    justify-content: center;
  }

  .sidebar-sticky {
    flex-direction: column;
  }

  .sidebar-related-link span {
    font-size: 0.75rem;
  }

  .related-header h2 {
    font-size: 1.375rem;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 2.5rem 0 3.5rem;
    padding-top: calc(70px + 1rem);
  }

  .blog-hero-wave {
    height: 80px;
  }

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

  .blog-hero-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
    min-height: 220px;
  }

  .blog-excerpt {
    font-size: 0.875rem;
  }

  .blog-meta-top {
    flex-wrap: wrap;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.9375rem;
  }

  .blog-hero-image {
    border-radius: 10px;
  }

  .sidebar-related-link {
    flex: 1 1 100%;
    font-size: 0.75rem;
    padding: 0.5rem 0.625rem;
  }

  .sidebar-related-link svg {
    width: 14px;
    height: 14px;
  }
}

/* Internal text links styling */
.blog-content p a,
.blog-content .inline-link-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.blog-content p a:hover,
.blog-content .inline-link-note a:hover {
  color: #E67A50;
  border-bottom-color: var(--primary-color);
}

.blog-content p a:focus,
.blog-content .inline-link-note a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}
