/* === Reset & Base === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;background:#0a0a0f;color:#e8e8f0;line-height:1.7}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

/* === Variables === */
:root{
  --red:#ff2b2b;
  --red-dark:#cc1a1a;
  --red-glow:rgba(255,43,43,.35);
  --bg:#0a0a0f;
  --bg2:#111118;
  --bg3:#18181f;
  --border:rgba(255,255,255,.08);
  --text:#e8e8f0;
  --muted:#8888a0;
  --radius:12px;
  --shadow:0 4px 32px rgba(0,0,0,.5);
}

/* === Layout === */
.container{max-width:1120px;margin:0 auto;padding:0 24px}
.section{padding:80px 0}
.section-sm{padding:56px 0}

/* === Typography === */
.section-title{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:700;text-align:center;margin-bottom:16px}
.section-sub{font-size:1.05rem;color:var(--muted);text-align:center;max-width:600px;margin:0 auto 56px}
.highlight{color:var(--red)}

/* === Buttons === */
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;border:none;transition:all .2s}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-dark);transform:translateY(-2px);box-shadow:0 8px 24px var(--red-glow)}
.btn-outline{background:transparent;color:#fff;border:1.5px solid var(--border)}
.btn-outline:hover{border-color:var(--red);color:var(--red)}
.btn-lg{padding:18px 48px;font-size:1.1rem;border-radius:10px}

/* === Nav === */
nav{position:sticky;top:0;z-index:100;background:rgba(10,10,15,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:700}
.logo-icon{width:36px;height:36px;background:var(--red);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.2rem}
.nav-links{display:flex;align-items:center;gap:32px;font-size:.93rem}
.nav-links a{color:var(--muted);transition:color .2s}
.nav-links a:hover{color:#fff}
.nav-cta{margin-left:16px}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:4px}
.menu-toggle span{display:block;width:22px;height:2px;background:#fff;margin:5px 0;transition:.3s}

/* === Hero === */
.hero{padding:100px 0 80px;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(255,43,43,.12),transparent 70%);pointer-events:none}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,43,43,.12);color:var(--red);border:1px solid rgba(255,43,43,.25);border-radius:100px;padding:6px 16px;font-size:.85rem;font-weight:600;margin-bottom:24px}
.hero-title{font-size:clamp(2.2rem,6vw,4rem);font-weight:800;line-height:1.2;margin-bottom:20px}
.hero-title .line2{color:var(--red)}
.hero-desc{font-size:1.1rem;color:var(--muted);max-width:560px;margin:0 auto 40px}
.hero-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.hero-stats{display:flex;justify-content:center;gap:48px;margin-top:64px;padding-top:48px;border-top:1px solid var(--border);flex-wrap:wrap}
.stat-item{text-align:center}
.stat-num{font-size:2rem;font-weight:800;color:#fff}
.stat-num span{color:var(--red)}
.stat-label{font-size:.85rem;color:var(--muted);margin-top:4px}

/* === Platform badges === */
.platform-row{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:48px}
.platform-badge{display:flex;align-items:center;gap:6px;background:var(--bg3);border:1px solid var(--border);border-radius:100px;padding:8px 18px;font-size:.88rem;color:var(--muted)}
.platform-badge svg{width:16px;height:16px;fill:currentColor}

/* === Features === */
.features{background:var(--bg2)}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.feature-card{background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:32px;transition:all .2s}
.feature-card:hover{border-color:rgba(255,43,43,.3);transform:translateY(-4px)}
.feature-icon{width:52px;height:52px;background:rgba(255,43,43,.1);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.6rem;margin-bottom:20px}
.feature-title{font-size:1.1rem;font-weight:700;margin-bottom:10px}
.feature-desc{font-size:.93rem;color:var(--muted);line-height:1.7}

/* === Steps === */
.steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:32px;counter-reset:step}
.step-item{text-align:center;counter-increment:step;position:relative}
.step-item:not(:last-child)::after{content:'';position:absolute;top:32px;right:-16px;width:32px;height:2px;background:var(--border)}
.step-num{width:64px;height:64px;border-radius:50%;background:rgba(255,43,43,.1);border:2px solid rgba(255,43,43,.3);display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:800;color:var(--red);margin:0 auto 20px}
.step-num::before{content:counter(step)}
.step-title{font-size:1.05rem;font-weight:700;margin-bottom:8px}
.step-desc{font-size:.9rem;color:var(--muted)}

/* === Platforms === */
.platforms{background:var(--bg2)}
.platform-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}
.platform-card{background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:28px 20px;text-align:center;transition:all .2s}
.platform-card:hover{border-color:rgba(255,43,43,.3)}
.platform-icon{font-size:2.4rem;margin-bottom:12px}
.platform-name{font-size:1rem;font-weight:600;margin-bottom:6px}
.platform-ver{font-size:.82rem;color:var(--muted)}
.platform-dl{display:inline-block;margin-top:16px;padding:8px 20px;background:var(--red);color:#fff;border-radius:6px;font-size:.85rem;font-weight:600;transition:background .2s}
.platform-dl:hover{background:var(--red-dark)}

/* === FAQ === */
.faq-list{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.faq-q{width:100%;background:none;border:none;color:#fff;text-align:left;padding:20px 24px;font-size:.98rem;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-q:hover{color:var(--red)}
.faq-arrow{font-size:1.1rem;transition:transform .25s;flex-shrink:0}
.faq-item.open .faq-arrow{transform:rotate(180deg)}
.faq-a{display:none;padding:0 24px 20px;font-size:.93rem;color:var(--muted);line-height:1.8}
.faq-item.open .faq-a{display:block}

/* === Reviews === */
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.review-card{background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:28px}
.review-stars{color:#ffd700;font-size:1rem;margin-bottom:14px;letter-spacing:2px}
.review-text{font-size:.93rem;color:#ccc;line-height:1.8;margin-bottom:20px}
.review-author{display:flex;align-items:center;gap:12px}
.review-avatar{width:40px;height:40px;border-radius:50%;background:rgba(255,43,43,.15);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--red);font-size:.9rem}
.review-name{font-weight:600;font-size:.9rem}
.review-info{font-size:.8rem;color:var(--muted)}

/* === CTA Banner === */
.cta-banner{background:linear-gradient(135deg,rgba(255,43,43,.15),rgba(139,0,0,.1));border:1px solid rgba(255,43,43,.2);border-radius:20px;padding:64px 40px;text-align:center;margin:0 0 80px}
.cta-title{font-size:clamp(1.6rem,3.5vw,2.2rem);font-weight:800;margin-bottom:16px}
.cta-sub{color:var(--muted);margin-bottom:36px}

/* === Footer === */
footer{background:var(--bg2);border-top:1px solid var(--border);padding:56px 0 32px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:48px}
.footer-brand .logo{margin-bottom:14px}
.footer-brand p{font-size:.88rem;color:var(--muted);max-width:260px;line-height:1.7}
.footer-col h4{font-size:.9rem;font-weight:700;margin-bottom:16px;color:#fff}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.footer-col ul li a{font-size:.86rem;color:var(--muted);transition:color .2s}
.footer-col ul li a:hover{color:var(--red)}
.footer-bottom{border-top:1px solid var(--border);padding-top:28px;display:flex;justify-content:space-between;align-items:center;flex-wrap:gap;gap:16px}
.footer-bottom p{font-size:.82rem;color:var(--muted)}
.footer-icp a{color:var(--muted);font-size:.82rem;transition:color .2s}
.footer-icp a:hover{color:#fff}

/* === Page Hero (inner pages) === */
.page-hero{padding:80px 0 56px;text-align:center;border-bottom:1px solid var(--border)}
.page-hero h1{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800;margin-bottom:12px}
.page-hero p{color:var(--muted);font-size:1.05rem}
.breadcrumb{display:flex;align-items:center;gap:8px;justify-content:center;font-size:.85rem;color:var(--muted);margin-bottom:20px}
.breadcrumb a:hover{color:var(--red)}

/* === Download page === */
.dl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px;margin-bottom:64px}
.dl-card{background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:36px 28px;text-align:center}
.dl-icon{font-size:3rem;margin-bottom:16px}
.dl-name{font-size:1.2rem;font-weight:700;margin-bottom:6px}
.dl-ver{font-size:.85rem;color:var(--muted);margin-bottom:24px}
.dl-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px;background:var(--red);color:#fff;border-radius:8px;font-weight:600;transition:background .2s}
.dl-btn:hover{background:var(--red-dark)}
.dl-btn-alt{background:var(--bg);border:1px solid var(--border);margin-top:10px}
.dl-btn-alt:hover{border-color:var(--red);color:var(--red);background:var(--bg)}

/* === Tutorial page === */
.tutorial-content{max-width:820px;margin:0 auto}
.tut-section{margin-bottom:56px}
.tut-section h2{font-size:1.4rem;font-weight:700;margin-bottom:20px;padding-left:16px;border-left:3px solid var(--red)}
.tut-section h3{font-size:1.1rem;font-weight:600;margin:24px 0 10px;color:#fff}
.tut-section p{font-size:.95rem;color:#ccc;line-height:1.8;margin-bottom:14px}
.tut-section ol,.tut-section ul{padding-left:20px;color:#ccc;font-size:.95rem;line-height:2}
.tip-box{background:rgba(255,43,43,.06);border:1px solid rgba(255,43,43,.2);border-radius:8px;padding:16px 20px;margin:20px 0;font-size:.9rem;color:#e0b3b3}
.tip-box strong{color:var(--red)}

/* === Responsive === */
@media(max-width:900px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .step-item:not(:last-child)::after{display:none}
}
@media(max-width:640px){
  .nav-links{display:none;position:fixed;inset:64px 0 0;background:var(--bg2);flex-direction:column;justify-content:start;padding:32px 24px;gap:24px;font-size:1rem}
  .nav-links.open{display:flex}
  .menu-toggle{display:block}
  .hero{padding:72px 0 56px}
  .hero-stats{gap:24px}
  .section{padding:56px 0}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .cta-banner{padding:40px 20px}
  .step-item:not(:last-child)::after{display:none}
}
