/* ========= Base & Variables ========= */
*, *::before, *::after { box-sizing: border-box; }
:root{
  --bg:#0b0d12; --card:#111520; --muted:#9aa3b2; --text:#0b1220;
  --brand:#6ee7b7; --brand-2:#60a5fa; --accent:#f59e0b; --edge:#1f2433;
  --deep:#022947; --white:#ffffff; --green:#2f8f4e;
}
body{
  margin:0; min-width:320px; min-height:100vh; font-family:Tahoma, Arial, sans-serif;
  background: linear-gradient(120deg, #006cbf, #022947, #141e78);
  background-size:600% 600%;
  animation: gradientShift 30s ease infinite;
}
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.container{ max-width:1120px; padding:0 16px; margin:0 auto; }

/* ========= Header / Nav ========= */
header{
  position:sticky; top:0; z-index:50; backdrop-filter:saturate(150%) blur(8px);
  background:rgba(11,13,18,.6); border-bottom:1px solid #161b2a;
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:.9rem 0; }
.nav__brand{ display:flex; gap:.75rem; align-items:center; color:#fff; }
.logo{ width:34px; height:34px; border-radius:10px; background:conic-gradient(from 210deg, var(--brand-2), var(--brand), var(--accent)); box-shadow:0 0 0 2px #0a0f1a, 0 8px 24px rgba(96,165,250,.25); }
.nav>nav{ display:flex; align-items:center; }
.nav a{ color:#fafafa; margin:0 .75rem; text-decoration:none; }
.nav a:hover{ text-decoration:underline; }



/* Header CTA */
.headcta{
  display:inline-flex; align-items:center; gap:.4rem; padding:4px 14px; border-radius:999px;
  background:#fff; border:1px solid #222943; color:#000!important;
  box-shadow:0 0 8px rgba(255,255,255,.6);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.headcta:hover{ background:#2693ff; color:#fff!important; text-decoration:none!important; box-shadow:0 0 14px rgba(255,255,255,.9); transform:translateY(-1px); }

/* Hamburger */
.nav__toggle{ display:none; width:34px; height:34px; border-radius:999px; border:1px solid #222943; background:#fff; align-items:center; justify-content:center; cursor:pointer; padding:0; margin-right:20px; }
.nav__toggle span{ display:block; width:18px; height:2px; background:#0a0a0a; border-radius:999px; transition:transform .25s ease, opacity .25s ease; }
.nav__toggle span+span{ margin-top:3px; }
.nav.nav--open .nav__toggle span:nth-child(1){ transform:translateY(5px) rotate(45deg); }
.nav.nav--open .nav__toggle span:nth-child(2){ opacity:0; }
.nav.nav--open .nav__toggle span:nth-child(3){ transform:translateY(-5px) rotate(-45deg); }
@media (max-width:768px){
  .nav{ position:relative; }
  .nav__toggle{ display:inline-flex; }
  .nav>nav{
    position:absolute; top:56px; right:16px; background:rgba(11,13,18,.98); border-radius:14px; border:1px solid #222943;
    padding:.75rem 1rem; display:none; flex-direction:column; align-items:flex-start; box-shadow:0 18px 40px rgba(0,0,0,.55);
  }
  .nav>nav a{ margin:.25rem 0; }
  .nav.nav--open>nav{ display:flex; }
}

/* ========= Sticky Download Bar ========= */
.sticky-dl{
  position:fixed; top:0; left:0; right:0;
  background:#fff; border-bottom:1px solid #e5e7eb;
  transform:translateY(-100%); transition:transform .28s ease, box-shadow .28s ease;
  z-index:100;
}
.sticky-dl.show{ transform:translateY(0); box-shadow:0 8px 24px rgba(0,0,0,.12); }
.sticky-wrap{
  max-width:1120px; margin:0 auto; padding:.9rem 16px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.sticky-left{ display:flex; align-items:center; gap:12px; min-width:0; }
.sticky-left svg{ width:22px; height:22px; color:#0b3a78; flex:0 0 22px; }
.sticky-title{ font-weight:800; color:#0b1220; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sticky-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 16px; border-radius:10px; background:var(--green); color:#fff; text-decoration:none; font-weight:700; border:0;
  box-shadow:0 10px 20px rgba(47,143,78,.25); transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.sticky-btn:hover{ transform:translateY(-1px); filter:brightness(1.05); box-shadow:0 12px 24px rgba(47,143,78,.35); }
@media (max-width:420px){
  .sticky-title{ font-size:14px; }
  .sticky-btn{ padding:9px 12px; font-size:14px; }
}

/* ========= Main wrappers ========= */
#mainblock{ width:100%; }
#maincontent{ max-width:1100px; margin:0 auto; padding:15px 16px; }

/* ========= TOP CTA (two columns) ========= */
#topcta{ width:100%; padding:32px 0 24px; }
.topcta-wrap{
  display:grid; grid-template-columns: 1.2fr 1fr; gap:36px; align-items:stretch;
  background:linear-gradient(180deg, rgba(2,41,71,.35), rgba(2,41,71,.2));
  border:1px solid rgba(255,255,255,.06); border-radius:18px; padding:28px;
  overflow:hidden;
}
@media (max-width:960px){ .topcta-wrap{ grid-template-columns:1fr; gap:22px; } }
@media (max-width:560px){
  .topcta-wrap{ padding:16px; }
  .prod-left{ grid-template-columns:72px auto; gap:14px; }
  .prod-icon{ width:72px; height:72px; }
  .prod-title{ font-size:20px; }
}

/* Left column of top cta */
.prod-left{ display:grid; grid-template-columns:88px auto; gap:18px; align-items:center; }
.prod-icon{ width:88px; height:88px; border-radius:12px; background:#dfeaf6; display:grid; place-items:center; box-shadow: inset 0 0 0 2px rgba(0,0,0,.05); }
.prod-icon svg{ width:48px; height:48px; opacity:.9; }
.prod-title{ color:#fff; font-size:26px; font-weight:700; line-height:1.25; }
.prod-meta{ grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:18px; margin-top:12px; color:#c7d2fe; font-size:14px; }
.meta-item{ display:flex; align-items:center; gap:8px; }
.meta-item .star{ width:16px; height:16px; display:inline-block; }
.muted{ color:#a9b6cf; }

/* Right card of top cta */
.dl-card{ background:#fff; color:#0b1220; border-radius:18px; padding:22px;
  box-shadow:0 20px 40px rgba(0,0,0,.35); display:flex; flex-direction:column; justify-content:center; text-align:center; }
.dl-title{ font-weight:700; font-size:18px; line-height:1.35; margin:4px 0 16px; padding:0 8px; }
.dl-btn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; padding:12px 16px; margin:0 auto 12px;
  background:var(--green); color:#fff; border:none; border-radius:8px; text-decoration:none; font-weight:600;
  box-shadow:0 8px 16px rgba(47,143,78,.35);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
  will-change:transform;
}
.dl-btn svg{ width:18px; height:18px; }
.dl-btn:hover{ filter:brightness(1.05); transform:translateY(-1px); box-shadow:0 10px 20px rgba(47,143,78,.45); }
.dl-sub{ font-size:12px; color:#374151; margin-top:6px; }
.dl-sub a{ color:#0b3a78; text-decoration:underline; text-underline-offset:2px; padding:2px 6px; border-radius:6px; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.dl-sub a:hover{ color:#072d5c; background:rgba(13,71,161,.12); transform:translateY(-1px); }

/* ========= MAIN CONTENT (article + sidebar) ========= */
#content-block{ padding:18px 0 60px; }
.content-grid{ display:grid; grid-template-columns: 2fr 1fr; gap:24px; align-items:start; }
@media (max-width:1024px){ .content-grid{ grid-template-columns: 1.5fr 1fr; } }
@media (max-width:860px){ .content-grid{ grid-template-columns: 1fr; } }

.article{
  background:#fff; color:var(--text); border-radius:10px;
  box-shadow:0 16px 36px rgba(0,0,0,.25);
  padding:22px;
  font-size:14px;
}
.article h1,.article h2,.article h3{ margin:.3em 0 .4em; color:#0b1220; }
.article h1{ font-size:22px; }

/* author + updated */
.post-meta{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-top:.25rem; margin-bottom:1rem;
}
.author{ display:flex; align-items:center; gap:8px; font-weight:600; color:#374151; }
.author svg{ width:18px; height:18px; }
.updated{ color:#6b7280; font-size:13px; white-space:nowrap; }
@media (max-width:520px){
  .post-meta{ flex-direction:column; align-items:flex-start; }
  .updated{ white-space:normal; }
}

/* ===== Fancy System Requirements ===== */
.sysreq-card{
  background: linear-gradient(180deg,#f9fafb,#f3f4f6);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.sysreq-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom: 12px;
}
.sysreq-title{
  display:flex; align-items:center; gap:10px; font-weight:800; color:#0b1220;
}
.sysreq-title svg{ width:20px; height:20px; }
.os-badges{ display:flex; flex-wrap:wrap; gap:6px; }
.badge{ font-size:12px; line-height:1; padding:6px 8px; border-radius:999px; background:#eef2ff; color:#1e3a8a; border:1px solid #dbe2ff; }
.req-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px; }
@media (max-width:640px){ .req-grid{ grid-template-columns: 1fr; } }
.req-item{ display:flex; gap:12px; align-items:flex-start; background:#ffffff; border:1px solid #e6e8ef; border-radius:12px; padding:12px; box-shadow:0 6px 14px rgba(31,41,55,.06); }
.req-icon{ flex:0 0 40px; height:40px; width:40px; border-radius:10px; display:grid; place-items:center; background:linear-gradient(135deg,#e0f2fe,#dbeafe); border:1px solid #d1e2fb; }
.req-icon svg{ width:20px; height:20px; color:#0b3a78; }
.req-body{ display:flex; flex-direction:column; gap:4px; }
.req-label{ font-size:12px; letter-spacing:.02em; text-transform:uppercase; color:#6b7280; }
.req-value{ font-weight:700; color:#0b1220; }
.req-note{ font-size:12px; color:#6b7280; }

/* ===== Article lists styling ===== */
.article ul, .article ol{
  margin:.6em 0;
  padding-left:0;
  list-style:none;
}
.article ul li, .article ol li{
  position:relative;
  padding-left:28px;
  margin:.35em 0;
  line-height:1.6;
}
.article ul li::before{
  content:"";
  position:absolute; left:8px; top:.55em;
  width:10px; height:10px; border-radius:3px;
  background: linear-gradient(135deg, #60a5fa, #6ee7b7);
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}
.article ol{ counter-reset:item; }
.article ol li::before{
  counter-increment:item;
  content: counter(item) ".";
  position:absolute; left:8px; top:0;
  color:#0b3a78; font-weight:700;
}

/* ===== Pull quote ===== */
.pull-quote{
  margin:10px 0 18px; padding:14px 16px 14px 48px;
  background:#006cbf; border:1px solid #e6e9ef; border-radius:10px;
  position:relative; color:#ffffff;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
  font-style:italic;
}
.pull-quote::before{
  content:"“"; position:absolute; left:14px; top:6px;
  font-size:34px; line-height:1; color:#ffffff; font-weight:800;
}
.pull-quote cite{ display:block; margin-top:6px; font-style:normal; color:#ffffff; font-size:12px; }

/* ===== Slider ===== */
.slider{
  margin:18px 0;
  background:#0b0d12;
  border-radius:12px; overflow:hidden;
  box-shadow:0 16px 32px rgba(0,0,0,.25);
  position:relative;
}
.slider-track{
  display:flex; transition: transform .5s ease;
  width:100%;
}
.slide{ flex: 0 0 100%; }
.slide img{ display:block; width:100%; height:auto; }

.slider-nav{
  position:absolute; inset:auto 0 10px 0;
  display:flex; justify-content:center; gap:8px;
}
.dot{
  width:10px; height:10px; border-radius:999px; background:#e5e7eb; opacity:.8; cursor:pointer; border:none;
}
.dot[aria-current="true"]{ background:#60a5fa; opacity:1; }

.slider-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:36px; border-radius:999px; border:none; cursor:pointer;
  background:rgba(255,255,255,.9);
  display:grid; place-items:center;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.slider-arrow svg{ width:18px; height:18px; }
.slider-arrow.prev{ left:10px; }
.slider-arrow.next{ right:10px; }
@media (max-width:560px){
  .slider-arrow{ display:none; }
}

/* ===== Download block ===== */
.download-block{
  margin:22px 0 8px;
  background:linear-gradient(135deg,#e0f2fe,#dbeafe);
  border:1px solid #c7ddff;
  border-radius:14px; padding:18px;
  box-shadow:0 14px 28px rgba(0,0,0,.15);
}
.download-title{ font-weight:800; font-size:18px; margin:0 0 12px; color:#0b1220; }
.download-now{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; padding:14px 18px; border-radius:10px; border:none; cursor:pointer;
  background:#0b3a78; color:#fff; font-weight:800; text-decoration:none;
  box-shadow:0 10px 20px rgba(11,58,120,.35);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.download-now:hover{ transform:translateY(-1px); filter:brightness(1.03); box-shadow:0 12px 24px rgba(11,58,120,.45); }
.download-links{ margin-top:10px; font-size:14px; }
.download-links a{ color:#0b3a78; text-decoration:underline; text-underline-offset:3px; margin-right:14px; }
.download-links a:hover{ color:#072d5c; background:rgba(13,71,161,.1); border-radius:6px; }

.article p{ line-height:1.7; margin:.6em 0; }
.article img{ max-width:100%; border-radius:12px; }

/* ===== Redesigned Sidebar ===== */
.sidebar{ display:flex; flex-direction:column; gap:16px; }
.side-card{
  background:#fff; color:var(--text); border-radius:12px; padding:16px;
  box-shadow:0 14px 28px rgba(0,0,0,.22); border:1px solid #eef1f6;
}
.side-card h4{ margin:.1em 0 .6em; color:#0b1220; display:flex; align-items:center; gap:8px; }
.side-card h4 svg{ width:18px; height:18px; }
.kv{ display:grid; grid-template-columns: 140px 1fr; gap:8px; font-size:14px; }
.badge-row{ display:flex; flex-wrap:wrap; gap:6px; }
.chip{ font-size:12px; padding:6px 8px; border-radius:999px; background:#f1f5f9; border:1px solid #e2e8f0; color:#0f172a; }
.highlight{ background:#0b3a78; color:#fff; border-color:#0b3a78; }
.side-list ul{ margin:0; padding-left:18px; }
.side-list li{ margin:.35em 0; }
.side-list a{ color:#0b3a78; text-decoration:underline; text-underline-offset:2px; }
.side-list a:hover{ color:#072d5c; background:rgba(13,71,161,.12); border-radius:6px; }
.mini{ font-size:12px; color:#64748b; margin-top:8px; }
.sep{ height:1px; background:#eef1f6; margin:12px 0; }
.side-card img{width:90%;}

/* Rate This App */
.rate-card{
  margin-top:18px;
  background:#f2f3f5; border:1px solid #e5e7eb; border-radius:10px;
  padding:14px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.rate-left{ display:flex; align-items:center; gap:16px; }
.score{ font-size:34px; font-weight:700; color:#1f2937; }
.stars{ display:flex; align-items:center; gap:3px; }
.stars svg{ width:18px; height:18px; }
.reviews{ font-size:13px; color:#6b7280; margin-top:2px; }
.rate-btn{
  background:#3b3b3f; color:#fff; padding:10px 16px; border-radius:10px;
  text-decoration:none; font-weight:600; border:1px solid #0000001a;
  box-shadow: inset 0 0 0 1px #00000022;
  transition: transform .2s ease, filter .2s ease;
}
.rate-btn:hover{ filter:brightness(1.05); transform:translateY(-1px); }
@media (max-width:640px){
  .rate-card{ flex-direction:column; align-items:flex-start; }
  .rate-btn{ width:100%; text-align:center; }
}

/* ===== FAQ Section ===== */
.faq-section{
  background:#fff; border-radius:12px;
  box-shadow:0 16px 36px rgba(0,0,0,.22);
  padding:22px; margin:0 16px 20px 16px;
}
.faq-section h2{ margin:.2em 0 .6em; color:#0b1220; }
.faq-list{ border-top:1px solid #e5e7eb; }
.faq-item{ border-bottom:1px solid #e5e7eb; }
.faq-q{
  width:100%; text-align:left; background:transparent; border:0; padding:14px 6px;
  font-weight:700; color:#0b1220; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:10px;
  font-size:16px;
}
.faq-q svg{ width:18px; height:18px; transition:transform .2s ease; }
.faq-q[aria-expanded="true"] svg{ transform:rotate(180deg); }
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .25s ease; color:#374151;
  padding:0 6px 0 6px;
  font-size:12px;
}
.faq-a.open{ padding:0 6px 14px 6px; }

/* ===== Comments Section ===== */
.comments{
  background:#fff; border-radius:12px;
  box-shadow:0 16px 36px rgba(0,0,0,.22);
  padding:22px; margin:0 16px 40px 16px;
}
.comments h2{ margin:.2em 0 12px; color:#0b1220; }
/* one column now */
.comment-list{ display:grid; grid-template-columns: 1fr; gap:14px; }
.comment{
  display:flex; gap:12px; background:#f9fafb; border:1px solid #eef1f6; border-radius:12px; padding:12px;
}
.avatar{
  width:38px; height:38px; border-radius:50%; flex:0 0 38px; display:grid; place-items:center; color:#fff; font-weight:800;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
}
.avatar.c1{ background:linear-gradient(135deg,#60a5fa,#1d4ed8); }
.avatar.c2{ background:linear-gradient(135deg,#34d399,#065f46); }
.avatar.c3{ background:linear-gradient(135deg,#f59e0b,#b45309); }
.avatar.c4{ background:linear-gradient(135deg,#ef4444,#991b1b); }
.avatar.c5{ background:linear-gradient(135deg,#a78bfa,#6d28d9); }
.avatar.c6{ background:linear-gradient(135deg,#22d3ee,#0e7490); }
.c-head{ display:flex; align-items:center; gap:8px; }
.c-name{ font-weight:700; color:#0b1220; }
.c-date{ font-size:12px; color:#6b7280; }
.c-text{ color:#0f172a; margin-top:6px; line-height:1.55; }

/* comment form */
.comment-form{ margin-top:16px; border-top:1px solid #eef1f6; padding-top:16px; }
.form-grid{ display:grid; grid-template-columns: 1fr; gap:10px; }
.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-row label{ font-size:12px; color:#475569; font-weight:700; }
.form-input, .form-textarea{
  width:100%; border:1px solid #dbe1ea; border-radius:10px; padding:10px 12px; font-family:inherit; font-size:14px;
  background:#fff;
}
.form-textarea{ min-height:96px; resize:vertical; }
.btn-primary{
  background:#0b3a78; color:#fff; border:none; padding:12px 14px; border-radius:10px; font-weight:800; cursor:pointer;
  box-shadow:0 10px 20px rgba(11,58,120,.25);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-primary:hover{ transform:translateY(-1px); filter:brightness(1.03); box-shadow:0 12px 24px rgba(11,58,120,.35); }
.form-hint{ font-size:12px; color:#64748b; }
.error{ color:#b91c1c; font-size:12px; margin-top:4px; }

/* ===== Footer ===== */
footer{
  background:#ffffff;
  border-top:1px solid #e5e7eb;
  margin-top:24px;
}
.footer-wrap{
  max-width:1120px; margin:0 auto; padding:16px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.footer-brand{ color:#0b1220; font-weight:700; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:14px; }
.footer-nav a{
  color:#0b3a78; text-decoration:none; font-weight:600;
  padding:6px 8px; border-radius:8px; transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.footer-nav a:hover{ background:rgba(13,71,161,.08); color:#072d5c; transform:translateY(-1px); }
@media (max-width:560px){
  .footer-wrap{ flex-direction:column; align-items:flex-start; }
}
