/* DaVinci Resolve Download Portal - davinci-resolve.org */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif; font-size: 16px; line-height: 1.6; color: #1a1a1a; background: #fff; }
a { color: #e8a87c; text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
.site-nav { background: #0d0d0d; padding: 0 20px; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #222; }
.site-nav .nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.site-nav .logo { color: #fff; font-size: 1.15rem; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.site-nav .logo img { height: 32px; }
.site-nav ul { list-style: none; display: flex; gap: 6px; align-items: center; }
.site-nav ul li a { color: #ccc; padding: 6px 12px; border-radius: 4px; font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.site-nav ul li a:hover { color: #fff; }
.site-nav ul li.highlight a { background: #e8a87c; color: #000; font-weight: 600; border-radius: 6px; }
.site-nav ul li.highlight a:hover { background: #f0b98c; text-decoration: none; }

/* HERO */
.hero { background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 50%, #16213e 100%); color: #fff; padding: 70px 20px 60px; text-align: center; }
.hero h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.hero p { font-size: 1.15rem; color: #aaa; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-primary { background: #e8a87c; color: #000; padding: 15px 34px; border-radius: 8px; font-weight: 700; font-size: 1.05rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: background 0.2s; }
.btn-primary:hover { background: #f0b98c; text-decoration: none; color: #000; }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #444; padding: 15px 34px; border-radius: 8px; font-weight: 600; font-size: 1.05rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: border-color 0.2s; }
.btn-secondary:hover { border-color: #e8a87c; color: #e8a87c; text-decoration: none; }
.hero-meta { color: #666; font-size: 0.85rem; }

/* TL;DR */
.tldr { background: #fff8f0; border-left: 4px solid #e8a87c; padding: 12px 20px; max-width: 1200px; margin: 0 auto; }
.tldr p { margin: 0; font-size: 0.95rem; }
.tldr strong { color: #c4773a; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 20px; }
.section-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 28px; color: #1a1a1a; }
.section-title.center { text-align: center; }

/* VERSION TABLE */
.version-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.version-table th { background: #1a1a2e; color: #fff; padding: 12px 16px; text-align: left; font-size: 0.9rem; }
.version-table td { padding: 12px 16px; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.version-table tr:hover td { background: #fafafa; }

/* DOWNLOAD CARDS */
.dl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.dl-card { border: 1px solid #eee; border-radius: 10px; padding: 20px; display: flex; align-items: center; gap: 14px; text-decoration: none; color: #1a1a1a; transition: all 0.2s; }
.dl-card:hover { border-color: #e8a87c; box-shadow: 0 4px 16px rgba(232,168,124,0.15); text-decoration: none; color: #1a1a1a; }
.dl-card .icon { width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.dl-card .icon.win { background: #0078d4; }
.dl-card .icon.mac { background: #1c1c1e; }
.dl-card .icon.linux { background: #e95420; }
.dl-card .label { font-size: 0.8rem; color: #888; }
.dl-card .name { font-weight: 600; font-size: 0.95rem; }

/* FEATURE GRID */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.feature-card { padding: 24px; border: 1px solid #eee; border-radius: 10px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.feature-card p { color: #555; font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* COMPARE TABLE */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { background: #1a1a2e; color: #fff; padding: 14px 18px; text-align: left; }
.compare-table th:first-child { width: 40%; }
.compare-table td { padding: 12px 18px; border-bottom: 1px solid #eee; }
.compare-table td.check { color: #22c55e; font-weight: 700; }
.compare-table td.cross { color: #ef4444; }

/* BLOG CARDS */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { border: 1px solid #eee; border-radius: 10px; overflow: hidden; text-decoration: none; color: #1a1a1a; display: block; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); text-decoration: none; }
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card .card-body { padding: 18px; }
.blog-card .tag { font-size: 0.8rem; background: #fff8f0; color: #c4773a; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 8px; }
.blog-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.blog-card p { color: #666; font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* FAQ */
.faq-item { border-bottom: 1px solid #eee; padding: 16px 0; }
.faq-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: #1a1a2e; }
.faq-item p { color: #555; margin: 0; line-height: 1.7; }

/* ARTICLE */
.article-wrap { max-width: 860px; margin: 0 auto; padding: 40px 20px; }
.article-wrap h1 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.article-wrap h2 { font-size: 1.4rem; font-weight: 700; margin: 32px 0 12px; color: #1a1a2e; }
.article-wrap h3 { font-size: 1.1rem; font-weight: 600; margin: 20px 0 8px; color: #333; }
.article-wrap p { color: #444; line-height: 1.8; margin-bottom: 16px; }
.article-wrap ul, .article-wrap ol { padding-left: 22px; margin-bottom: 16px; color: #444; line-height: 2; }
.article-wrap img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.article-wrap code { background: #f4f4f4; padding: 2px 6px; border-radius: 3px; font-size: 0.9em; }
.article-wrap .article-meta { color: #888; font-size: 0.85rem; margin-bottom: 24px; }

/* BREADCRUMB */
.breadcrumb { font-size: 0.85rem; color: #888; margin-bottom: 20px; }
.breadcrumb a { color: #e8a87c; }

/* CTA BOX */
.cta-box { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; border-radius: 12px; padding: 40px; text-align: center; margin: 40px 0; }
.cta-box h2 { color: #fff; margin-bottom: 10px; }
.cta-box p { color: #aaa; margin-bottom: 24px; }

/* LANG SWITCHER */
.lang-bar { background: #f9f9f9; border-bottom: 1px solid #eee; padding: 6px 20px; font-size: 0.82rem; }
.lang-bar .container { display: flex; gap: 12px; flex-wrap: wrap; }
.lang-bar a { color: #666; }
.lang-bar a:hover, .lang-bar a.active { color: #e8a87c; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .site-nav ul { gap: 2px; }
  .site-nav ul li a { padding: 5px 8px; font-size: 0.82rem; }
}

/* Screenshot images */
.screenshot { width: 100%; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); margin: 20px 0; }
