:root {
  --color-anthracite: #2D3436;
  --color-emerald: #00B894;
  --color-emerald-hover: #00A383;
  --color-emerald-light: rgba(0, 184, 148, 0.06);
  --color-offwhite: #F8F9FA;
  --color-white: #FFFFFF;
  --color-deep-dark: #1A1A2E;
  --color-text-light: rgba(255, 255, 255, 0.85);
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-body: #4A5568;
  --color-text-secondary: #718096;
  --color-border: rgba(0, 0, 0, 0.06);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
  --shadow-button: 0 2px 8px rgba(0, 184, 148, 0.3);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: 18px; line-height: 1.65; color: var(--color-anthracite); background: var(--color-white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 24px; background: rgba(26, 26, 46, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 2px 16px rgba(0,0,0,0.15); transition: padding var(--transition); }
.navbar.scrolled { padding: 8px 24px; }
.navbar-wrap { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 22px; color: var(--color-white); letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--color-text-light); transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--color-emerald); transition: width var(--transition); }
.nav-links a:hover { color: var(--color-white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--color-emerald); }
.nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--color-emerald); color: var(--color-white) !important; padding: 10px 24px; border-radius: var(--radius-full); font-weight: 600 !important; font-size: 14px !important; transition: background var(--transition), transform 150ms ease, box-shadow var(--transition) !important; }
.nav-cta:hover { background: var(--color-emerald-hover) !important; transform: translateY(-1px); box-shadow: var(--shadow-button); }
.nav-cta::after { display: none !important; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 10001; position: relative; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--color-white); margin: 6px 0; border-radius: 2px; transition: var(--transition); }

/* Mobile nav slide-in */
.mobile-nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 360px); background: var(--color-white); z-index: 9999; flex-direction: column; gap: 20px; padding: 80px 28px 32px; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: -8px 0 32px rgba(0,0,0,0.12); overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--color-anthracite); text-decoration: none; padding: 6px 0; }
.mobile-nav a.active { color: var(--color-emerald); }
.mobile-nav a.nav-cta { background: var(--color-emerald); color: var(--color-white); padding: 14px 28px; border-radius: var(--radius-full); font-size: 16px; text-align: center; margin-top: 12px; }
.mobile-nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 9998; opacity: 0; transition: opacity 0.3s; }
.mobile-nav-backdrop.open { display: block; opacity: 1; }
.mobile-close { position: absolute; top: 20px; right: 20px; background: none; border: none; cursor: pointer; padding: 8px; }

.article-header { padding: 120px 24px 0; max-width: 720px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-text-secondary); margin-bottom: 20px; }
.breadcrumb a { color: var(--color-text-secondary); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-emerald); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.4; }
.category-tag { display: inline-block; padding: 6px 16px; background: var(--color-emerald-light); color: var(--color-emerald); font-size: 13px; font-weight: 600; border-radius: var(--radius-full); letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 20px; }
.article-header h1 { font-size: 42px; line-height: 1.15; color: var(--color-anthracite); margin-bottom: 16px; }
.article-meta { font-size: 15px; color: var(--color-text-secondary); margin-bottom: 32px; }
.hero-image { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); position: relative; overflow: hidden; margin-bottom: 48px; background: var(--color-offwhite); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.article-body { max-width: 720px; margin: 0 auto; padding: 0 24px 64px; }
.article-body p { font-size: 19px; line-height: 1.8; color: var(--color-text-body); margin-bottom: 24px; }
.article-body p.lead { font-size: 22px; line-height: 1.7; color: var(--color-anthracite); font-weight: 500; }
.article-body h2 { font-size: 28px; color: var(--color-anthracite); margin-top: 48px; margin-bottom: 16px; }
.article-body h3 { font-size: 22px; color: var(--color-anthracite); margin-top: 32px; margin-bottom: 12px; }
.article-body a { color: var(--color-emerald); font-weight: 600; transition: color var(--transition); }
.article-body a:hover { color: var(--color-emerald-hover); }
.article-body strong { color: var(--color-anthracite); }
.article-body figure { margin: 32px 0; }
.article-body figure img { width: 100%; border-radius: var(--radius-md); }
.article-body figcaption { font-size: 14px; color: var(--color-text-secondary); margin-top: 8px; text-align: center; font-style: italic; }

.article-body blockquote { border-left: 4px solid var(--color-emerald); padding-left: 24px; margin: 32px 0; font-style: italic; color: var(--color-text-secondary); font-size: 20px; line-height: 1.7; }

.info-box { background: rgba(0, 184, 148, 0.06); border-left: 4px solid var(--color-emerald); padding: 24px; border-radius: var(--radius-sm); margin: 32px 0; }
.info-box-title { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--color-anthracite); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.info-box p { font-size: 17px !important; margin-bottom: 0 !important; color: var(--color-text-body); }

.article-body ul { list-style: none; margin: 0 0 24px 0; padding: 0; }
.article-body ul li { position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 19px; line-height: 1.7; color: var(--color-text-body); }
.article-body ul li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 18px; height: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B894' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }

.inline-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--color-emerald); color: var(--color-white) !important; padding: 14px 32px; border-radius: var(--radius-full); font-weight: 600; font-size: 17px; transition: background var(--transition), transform 150ms ease, box-shadow var(--transition); margin-top: 8px; }
.inline-cta:hover { background: var(--color-emerald-hover); transform: translateY(-2px); box-shadow: var(--shadow-button); }

.article-footer { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-divider { height: 1px; background: var(--color-border); margin-bottom: 32px; }
.author-box { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--color-deep-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author-name { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--color-anthracite); }
.author-role { font-size: 14px; color: var(--color-text-secondary); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 64px; }
.tag { padding: 6px 14px; background: var(--color-offwhite); color: var(--color-text-secondary); border-radius: var(--radius-full); font-size: 13px; font-weight: 500; transition: background var(--transition), color var(--transition); }
.tag:hover { background: var(--color-emerald-light); color: var(--color-emerald); }

.related-section { background: var(--color-offwhite); padding: 80px 24px; }
.related-section .section-wrap { max-width: var(--max-width); margin: 0 auto; }
.related-section h2 { font-size: 32px; color: var(--color-anthracite); margin-bottom: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: var(--color-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; display: block; color: inherit; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.related-card-image { width: 100%; aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--color-offwhite); }
.related-card-image img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 24px; }
.related-card-cat { display: inline-block; padding: 4px 12px; background: var(--color-emerald-light); color: var(--color-emerald); font-size: 12px; font-weight: 600; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 12px; }
.related-card h3 { font-size: 18px; color: var(--color-anthracite); margin-bottom: 8px; line-height: 1.35; }
.related-card p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 12px; }
.related-card-meta { font-size: 13px; color: var(--color-text-secondary); opacity: 0.7; }

.cta-section { background: var(--color-deep-dark); padding: 96px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; }
.cta-section .section-wrap { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.cta-section h2 { font-size: 36px; color: var(--color-white); margin-bottom: 16px; }
.cta-section p { font-size: 19px; color: var(--color-text-light); margin-bottom: 36px; line-height: 1.7; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--color-emerald); color: var(--color-white); padding: 16px 40px; border-radius: var(--radius-full); font-family: var(--font-heading); font-weight: 700; font-size: 17px; transition: background var(--transition), transform 150ms ease, box-shadow var(--transition); }
.cta-btn:hover { background: var(--color-emerald-hover); transform: translateY(-2px); box-shadow: var(--shadow-button); }

.site-footer { background: var(--color-deep-dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 32px 24px; text-align: center; }
.site-footer p { font-size: 14px; color: var(--color-text-muted); }

@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-header h1 { font-size: 32px; }
  .cta-section h2 { font-size: 28px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(26, 26, 46, 0.98); padding: 24px; gap: 20px; backdrop-filter: blur(12px); }
  .mobile-menu-btn { display: block; }
  .mobile-nav { display: flex; }
  .article-header { padding-top: 100px; }
  .article-header h1 { font-size: 28px; }
  .article-body p, .article-body ul li { font-size: 17px; }
  .article-body h2 { font-size: 24px; }
  .hero-image { border-radius: var(--radius-md); }
  .cta-section { padding: 64px 24px; }
  .related-section { padding: 56px 24px; }
}
