/* Lunar Slate / Crimson Beam Theme */
:root {
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  
  --color-crimson-600: #e11d48;
  --color-crimson-700: #be123c;
  --color-crimson-800: #9f1239;
  
  --color-blue-600: #2563eb;
  --color-emerald-600: #059669;
  --color-amber-600: #d97706;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-slate-50);
  color: var(--color-slate-900);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: transparent; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Utility */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 16px;
  transition: all 0.2s ease;
}
.btn-crimson { background: var(--color-crimson-600); color: #fff; }
.btn-crimson:hover { background: var(--color-crimson-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border: 2px solid var(--color-slate-200); color: var(--color-slate-800); }
.btn-outline:hover { border-color: var(--color-slate-800); background: var(--color-slate-100); }
.btn-white { background: #fff; color: var(--color-slate-900); }
.btn-white:hover { background: var(--color-slate-50); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 32px; font-size: 18px; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: var(--color-slate-900); }
.nav-brand svg { width: 32px; height: 32px; color: var(--color-crimson-600); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--color-slate-800); transition: color 0.2s; padding: 6px 12px; border-radius: 6px; }
.nav-link:hover { color: var(--color-crimson-600); background: var(--color-slate-100); }
.nav-link.active, .nav-link.current { color: var(--color-crimson-600); background: #ffe4e6; }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; padding: 8px; }
.nav-mob { display: none; background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--color-slate-200); }
.nav-mob.show { display: block; }
.nav-mob .nav-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--color-slate-100); }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* Sections */
.sec { padding: 96px 0; }
.sec-dark { background: var(--color-slate-900); color: #fff; }
.sec-light { background: #fff; }
.sec-title { font-size: 36px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.sec-sub { font-size: 18px; color: var(--color-slate-600); max-width: 600px; margin: 0 auto 48px; }
.sec-dark .sec-sub { color: var(--color-slate-400); }

/* Hero */
.hero { padding: 120px 0 80px; text-align: center; background: linear-gradient(135deg, #fff 0%, var(--color-slate-100) 100%); }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: #ffe4e6; color: var(--color-crimson-700); border-radius: 99px; font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.hero-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-crimson-600); }
.hero-h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.03em; color: var(--color-slate-900); }
.hero-p { font-size: 20px; color: var(--color-slate-600); max-width: 700px; margin: 0 auto 40px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--color-slate-200); }
.hero-stat-num { font-size: 32px; font-weight: 800; color: var(--color-slate-900); }
.hero-stat-lbl { font-size: 14px; color: var(--color-slate-600); font-weight: 500; }

/* Features Grid */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.feat-card { background: #fff; padding: 32px; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-slate-200); transition: all 0.3s ease; }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-crimson-600); }
.feat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.fi-red { background: #ffe4e6; color: var(--color-crimson-600); }
.fi-blue { background: #dbeafe; color: var(--color-blue-600); }
.fi-green { background: #d1fae5; color: var(--color-emerald-600); }
.fi-amber { background: #fef3c7; color: var(--color-amber-600); }
.feat-icon svg { width: 24px; height: 24px; }
.feat-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feat-desc { color: var(--color-slate-600); font-size: 15px; }

/* Deep Features */
.deep-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.deep-row.rev { direction: rtl; }
.deep-row.rev > * { direction: ltr; }
.deep-info { max-width: 500px; }
.deep-h3 { font-size: 32px; font-weight: 800; margin-bottom: 24px; }
.deep-p { font-size: 18px; color: var(--color-slate-600); margin-bottom: 32px; }
.deep-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 16px; font-weight: 500; }
.deep-list svg { width: 20px; height: 20px; color: var(--color-crimson-600); }
.deep-vis { background: var(--color-slate-100); border-radius: 24px; padding: 48px; display: flex; justify-content: center; border: 1px solid var(--color-slate-200); }
.dv-mockup { background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); width: 100%; padding: 24px; border: 1px solid var(--color-slate-200); }
.dv-header { display: flex; gap: 8px; margin-bottom: 24px; }
.dv-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--color-slate-300); }
.dv-dot.r { background: #fca5a5; } .dv-dot.y { background: #fde047; } .dv-dot.g { background: #86efac; }
.dv-line { height: 12px; background: var(--color-slate-100); border-radius: 6px; margin-bottom: 16px; }
.dv-line.w-80 { width: 80%; } .dv-line.w-60 { width: 60%; } .dv-line.w-40 { width: 40%; }
.dv-line.primary { background: #ffe4e6; }

/* Platforms */
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.plat-card { background: var(--color-slate-100); padding: 32px; border-radius: 16px; text-align: center; border: 1px solid transparent; }
.plat-card.featured { background: #fff; border-color: var(--color-crimson-600); box-shadow: var(--shadow-md); position: relative; }
.plat-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-crimson-600); color: #fff; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.plat-icon { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--color-slate-800); }
.plat-name { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.plat-req { font-size: 14px; color: var(--color-slate-500); margin-bottom: 24px; }

/* Reviews */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.rev-card { background: #fff; padding: 32px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.rev-stars { color: #fbbf24; margin-bottom: 16px; display: flex; gap: 4px; }
.rev-stars svg { width: 16px; height: 16px; }
.rev-text { font-size: 16px; color: var(--color-slate-700); margin-bottom: 24px; font-style: italic; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-av { width: 48px; height: 48px; border-radius: 50%; background: var(--color-slate-200); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--color-slate-700); }
.rev-info { display: flex; flex-direction: column; }
.rev-name { font-weight: 700; font-size: 15px; }
.rev-role { font-size: 13px; color: var(--color-slate-500); }

/* Security & Compare */
.sec-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 64px; }
.sec-item { text-align: center; }
.sec-item-icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--color-emerald-600); }
.sec-item-title { font-weight: 700; margin-bottom: 8px; }
.cmp-table { width: 100%; border-collapse: collapse; background: var(--color-slate-800); border-radius: 16px; overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 16px 24px; text-align: center; border-bottom: 1px solid var(--color-slate-700); }
.cmp-table th { font-weight: 700; color: var(--color-slate-300); text-align: left; }
.cmp-table td:not(:first-child) { width: 20%; }
.cmp-hl { background: rgba(225, 29, 72, 0.1); color: #fff; font-weight: 700; }
.cmp-table svg { width: 20px; height: 20px; display: inline-block; }
.yes { color: var(--color-emerald-600); } .no { color: var(--color-slate-500); }

/* Versions */
.ver-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.ver-card { background: #fff; padding: 40px 32px; border-radius: 16px; border: 1px solid var(--color-slate-200); position: relative; }
.ver-card.featured { border-color: var(--color-crimson-600); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.ver-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-crimson-600); color: #fff; padding: 4px 16px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.ver-name { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.ver-price { font-size: 40px; font-weight: 800; margin-bottom: 24px; }
.ver-price span { font-size: 16px; color: var(--color-slate-500); font-weight: 500; }
.ver-list { margin-bottom: 32px; }
.ver-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.ver-list svg { width: 16px; height: 16px; color: var(--color-emerald-600); flex-shrink: 0; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-slate-200); }
.faq-q { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 18px; font-weight: 600; }
.faq-chevron { width: 24px; height: 24px; color: var(--color-slate-400); transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--color-crimson-600); }
.faq-a { height: 0; overflow: hidden; transition: height 0.3s ease; }
.faq-item.open .faq-a { height: auto; }
.faq-a-inner { padding-bottom: 24px; color: var(--color-slate-600); font-size: 16px; }

/* CTA Banner */
.cta-banner { padding: 80px 0; text-align: center; background: var(--color-crimson-700); color: #fff; }
.cta-title { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.cta-desc { font-size: 20px; opacity: 0.9; margin-bottom: 40px; }

/* Footer */
.footer { background: var(--color-slate-900); color: var(--color-slate-400); padding: 48px 0; text-align: center; border-top: 1px solid var(--color-slate-800); }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.footer-logo svg { width: 24px; height: 24px; color: var(--color-crimson-600); }
.footer-sec { margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--color-emerald-600); }

/* Download Page Specifics */
.dl-hero { padding: 80px 0 64px; background: var(--color-slate-900); color: #fff; text-align: center; }
.dl-main-card { background: #fff; border-radius: 24px; padding: 48px; max-width: 800px; margin: -48px auto 80px; box-shadow: var(--shadow-lg); color: var(--color-slate-900); text-align: left; }
.dl-main-header { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--color-slate-100); padding-bottom: 32px; }
.dl-main-icon { width: 80px; height: 80px; color: var(--color-crimson-600); }
.dl-main-title { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.dl-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.dl-spec-lbl { font-size: 13px; color: var(--color-slate-500); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.dl-spec-val { font-size: 18px; font-weight: 700; }
.dl-main-actions { display: flex; gap: 16px; align-items: center; }

/* Article Page Specifics */
.art-hero { padding: 80px 0; background: var(--color-slate-100); border-bottom: 1px solid var(--color-slate-200); }
.art-title { font-size: 48px; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.02em; }
.art-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; padding: 64px 0; }
.art-body h2 { font-size: 28px; font-weight: 800; margin: 48px 0 24px; padding-bottom: 12px; border-bottom: 1px solid var(--color-slate-200); }
.art-body p { font-size: 18px; color: var(--color-slate-700); margin-bottom: 24px; }
.art-body ul { margin-bottom: 24px; padding-left: 24px; list-style: disc; color: var(--color-slate-700); font-size: 18px; }
.art-body li { margin-bottom: 8px; }
.art-sidebar { position: sticky; top: 100px; }
.sidebar-box { background: var(--color-slate-50); border: 1px solid var(--color-slate-200); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.sb-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--color-slate-200); }
.sb-link { display: block; padding: 8px 0; color: var(--color-slate-600); font-size: 15px; }
.sb-link:hover { color: var(--color-crimson-600); }
.sb-dl-btn { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--color-slate-200); padding: 12px; border-radius: 8px; margin-bottom: 12px; font-weight: 600; transition: all 0.2s; }
.sb-dl-btn:hover { border-color: var(--color-crimson-600); color: var(--color-crimson-600); }
.sb-dl-btn svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .deep-row { grid-template-columns: 1fr; gap: 40px; }
  .art-layout { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 40px; }
  .dl-main-card { margin: 24px 24px 64px; }
  .dl-main-header { flex-direction: column; text-align: center; }
  .dl-specs { grid-template-columns: 1fr; text-align: center; }
  .dl-main-actions { flex-direction: column; }
}
