/* index.css — homepage styles */
:root {
    --bg-base: #030712;
    --bg-surface: #111827;
    --bg-surface-hover: #1f2937;
    --bg-surface-light: rgba(31, 41, 55, 0.5);
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --brand-primary: #3b82f6;
    --brand-secondary: #8b5cf6;
    --brand-accent: #06b6d4;
    --brand-glow: rgba(59, 130, 246, 0.15);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(59, 130, 246, 0.3);
    --font-main: 'Noto Sans SC', system-ui, sans-serif;
    --font-tech: 'Space Grotesk', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-lg: 16px;
    --radius-xl: 24px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background-color: var(--bg-base); color: var(--text-primary); line-height: 1.7; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.text-gradient { background: linear-gradient(135deg, #fff 0%, #93c5fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-highlight { color: var(--brand-primary); }
/* Ambient */
.ambient-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 0; pointer-events: none; overflow: hidden; }
.glow-sphere { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; animation: float 20s infinite alternate ease-in-out; }
.glow-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: rgba(59, 130, 246, 0.2); }
.glow-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: rgba(139, 92, 246, 0.15); animation-delay: -5s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(5%, 5%) scale(1.1); } }
/* Header */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: rgba(3, 7, 18, 0.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-color); transition: background 0.3s ease, box-shadow 0.3s ease; }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.logo { font-family: var(--font-tech); font-size: 26px; font-weight: 700; display: flex; align-items: center; gap: 10px; letter-spacing: -0.5px; }
.logo-icon { width: 36px; height: 36px; object-fit: contain; display: block; flex-shrink: 0; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-secondary); transition: var(--transition-smooth); }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--brand-primary); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { position: relative; }
.lang-switch__btn { cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); background: transparent; border: 1px solid var(--border-color); border-radius: 8px; padding: 5px 10px; transition: var(--transition-smooth); white-space: nowrap; font-family: var(--font-main); }
.lang-switch__btn:hover { color: var(--text-primary); border-color: var(--border-hover); }
.lang-switch__arrow { font-size: 10px; transition: transform .2s ease; margin-left: 2px; flex-shrink: 0; }
.lang-switch.open .lang-switch__arrow { transform: rotate(180deg); }
.lang-switch__dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 164px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 10px; padding: 6px; box-shadow: 0 8px 28px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; z-index: 200; }
.lang-switch.open .lang-switch__dropdown { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .2s ease, transform .2s ease, visibility 0s; }
.lang-switch__option { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; font-size: 13px; color: var(--text-secondary); text-decoration: none; }
.lang-switch__option:hover { background: rgba(255,255,255,.05); color: var(--text-primary); }
.lang-switch__option--active { color: var(--brand-primary); }
.lang-switch__option--active:hover { background: var(--brand-glow); }
.lang-switch__option--disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.lang-switch__check { width: 14px; flex-shrink: 0; font-size: 11px; color: var(--brand-primary); }
.lang-switch__tag { margin-left: auto; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; border: 1px solid transparent; }
.lang-switch__tag--current { background: var(--brand-glow); border-color: rgba(59,130,246,.3); color: var(--brand-primary); }
.lang-switch__tag--soon { background: rgba(107,114,128,.1); border-color: rgba(107,114,128,.2); color: var(--text-muted); }
.lang-switch--footer { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; color: var(--text-secondary); }
.lang-switch--footer__sep { opacity: .35; }
.lang-switch--footer__alt { color: var(--text-secondary); text-decoration: none; transition: color .2s; }
.lang-switch--footer__alt:hover { color: var(--brand-primary); }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; }
/* Hero */
.hero { padding-top: 140px; padding-bottom: 60px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-content { animation: fadeUp 1s ease-out; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 100px; background: var(--brand-glow); border: 1px solid rgba(59, 130, 246, 0.3); color: var(--brand-primary); font-size: 14px; font-weight: 600; margin-bottom: 24px; font-family: var(--font-tech); }
.hero h1 { font-size: 56px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.hero-desc { font-size: 17px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.8; max-width: 95%; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: var(--transition-smooth); cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%); color: #fff; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4); }
.btn-secondary { background: var(--bg-surface-light); color: var(--text-primary); border: 1px solid var(--border-color); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: var(--bg-surface); border-color: var(--border-hover); transform: translateY(-2px); }
/* Hero visual / console */
.hero-visual { position: relative; animation: fadeLeft 1s ease-out 0.2s backwards; }
.console-panel { background: linear-gradient(180deg, #111827 0%, #0b0f19 100%); border-radius: var(--radius-xl); border: 1px solid var(--border-color); box-shadow: 0 24px 48px rgba(0,0,0,0.5); padding: 32px; backdrop-filter: blur(12px); }
.console-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 16px; }
.console-title { font-size: 16px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 8px; }
.console-title i { color: var(--brand-primary); }
.console-status { font-size: 12px; color: #10b981; background: rgba(16, 185, 129, 0.1); padding: 4px 10px; border-radius: 20px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.quick-platforms { display: flex; flex-direction: column; gap: 12px; }
.quick-platform-row { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 14px 20px; transition: var(--transition-smooth); }
.quick-platform-row:hover { background: var(--bg-surface-hover); border-color: var(--brand-primary); transform: translateX(4px); }
.platform-meta { display: flex; align-items: center; gap: 14px; }
.platform-meta i { font-size: 22px; width: 24px; text-align: center; }
.platform-title-group { display: flex; flex-direction: column; }
.platform-tag-name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.platform-tag-sub { font-size: 12px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.quick-dl-btn { background: var(--brand-primary); color: #fff; border: none; padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; transition: var(--transition-smooth); display: flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0; }
.quick-platform-row:hover .quick-dl-btn { background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
/* Stats */
.trust-section { padding-top: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--border-color); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; background: linear-gradient(180deg, rgba(17, 24, 39, 0) 0%, rgba(17, 24, 39, 0.4) 100%); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 32px 40px; backdrop-filter: blur(12px); }
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--font-tech); font-size: 32px; font-weight: 700; color: var(--text-primary); }
.stat-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
/* Intro */
.intro-section { padding-top: 80px; padding-bottom: 80px; text-align: center; max-width: 900px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.intro-section h2 { font-size: 32px; margin-bottom: 24px; font-weight: 700; }
.intro-section p { color: var(--text-secondary); font-size: 16px; line-height: 1.9; margin-bottom: 16px; text-align: left; word-break: break-word; overflow-wrap: break-word; }
/* Features */
.section-header { text-align: center; margin: 100px auto 50px; max-width: 700px; padding: 0 24px; }
.section-header h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-header p { color: var(--text-secondary); font-size: 17px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 36px 28px; transition: var(--transition-smooth); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 40%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(59, 130, 246, 0.1); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; box-shadow: inset 0 0 0 1px rgba(59,130,246,0.2); }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 700; color: var(--text-primary); }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
/* Downloads */
.downloads-container { margin-bottom: 100px; }
.downloads-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.platform-card { background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(17,24,39,0.8) 100%); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px 16px; text-align: center; transition: var(--transition-smooth); display: flex; flex-direction: column; align-items: center; }
.platform-card:hover { border-color: var(--brand-primary); transform: translateY(-4px); background: linear-gradient(180deg, var(--bg-surface-hover) 0%, var(--bg-surface) 100%); }
.platform-icon { font-size: 48px; margin-bottom: 18px; background: linear-gradient(135deg, #fff, #9ca3af); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.platform-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.platform-client-name { font-family: var(--font-tech); font-size: 12px; color: var(--brand-primary); margin-bottom: 12px; font-weight: 600; padding: 2px 10px; background: rgba(59,130,246,0.1); border-radius: 20px; }
.platform-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; flex-grow: 1; line-height: 1.6; }
.dl-btn { width: 100%; padding: 10px 0; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-primary); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition-smooth); cursor: pointer; text-align: center; display: block; }
.platform-card:hover .dl-btn { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
/* Footer */
footer { background: #020408; border-top: 1px solid var(--border-color); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-secondary); font-size: 15px; margin: 20px 0 30px; max-width: 360px; line-height: 1.8; }
.footer-title { font-size: 16px; font-weight: 600; margin-bottom: 24px; color: var(--text-primary); }
.footer-links li { margin-bottom: 14px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--brand-primary); }
.footer-bottom { padding-top: 30px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; color: var(--text-muted); font-size: 14px; }
.footer-bottom > p { flex: 1 1 260px; line-height: 1.6; }
/* Animations */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
/* Responsive */
@media (max-width: 1200px) { .downloads-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .console-panel { max-width: 600px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 32px; gap: 32px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .nav-links { display: none; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; font-size: 20px; }
    .navbar { height: 60px; }
    .logo { font-size: 20px; gap: 8px; }
    .logo-icon { width: 28px; height: 28px; }
    .nav-actions { display: flex; align-items: center; gap: 10px; }
    .lang-switch__btn .lang-label { display: none; }
    .lang-switch__btn { padding: 5px 8px; gap: 4px; }
    .nav-links.mobile-active { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100%; background: var(--bg-surface); padding: 20px 16px; border-bottom: 1px solid var(--border-color); box-shadow: 0 20px 40px rgba(0,0,0,0.5); z-index: 100; }
    /* Hero */
    .hero { padding-top: 84px; padding-bottom: 32px; }
    .hero h1 { font-size: 30px; letter-spacing: -0.5px; }
    .hero-badge { font-size: 12px; padding: 5px 12px; }
    .hero-desc { font-size: 15px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    /* Console panel */
    .console-panel { padding: 18px 14px; }
    .quick-platform-row { padding: 11px 12px; }
    .platform-meta { gap: 10px; }
    .platform-meta i { font-size: 18px; width: 20px; }
    .platform-tag-name { font-size: 13px; }
    .platform-tag-sub { max-width: 130px; font-size: 11px; }
    .quick-dl-btn { padding: 5px 11px; font-size: 11px; }
    /* Stats */
    .stats-grid { padding: 18px 14px; gap: 14px; }
    /* Intro */
    .intro-section { padding: 40px 16px; text-align: left; }
    .intro-section h2 { font-size: 20px; text-align: left; }
    .intro-section p { font-size: 14px; }
    /* Section header */
    .section-header { margin: 48px auto 24px; padding: 0 8px; }
    .section-header h2 { font-size: 22px; }
    .section-header p { font-size: 14px; }
    /* Feature cards - compact on mobile */
    .features-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 20px 18px; }
    .feature-icon { width: 40px; height: 40px; font-size: 17px; margin-bottom: 14px; border-radius: 10px; }
    .feature-card h3 { font-size: 16px; margin-bottom: 8px; }
    .feature-card p { font-size: 13px; }
    /* Download platform cards */
    .downloads-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .platform-card { padding: 18px 12px; }
    .platform-icon { font-size: 32px; margin-bottom: 12px; }
    .platform-name { font-size: 14px; margin-bottom: 4px; }
    .platform-client-name { font-size: 10px; margin-bottom: 8px; }
    .platform-desc { display: none; }
    .dl-btn { font-size: 12px; padding: 8px 0; }
    /* Footer */
    footer { padding: 36px 0 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
    .footer-brand p { font-size: 13px; margin: 12px 0 0; }
    .footer-title { font-size: 14px; margin-bottom: 14px; }
    .footer-links li { margin-bottom: 9px; }
    .footer-bottom { flex-direction: column; justify-content: flex-start; align-items: center; gap: 22px; text-align: center; padding-top: 20px; }
    .footer-bottom > p { flex: none; }
    .footer-bottom-right { flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .hero-desc { font-size: 14px; }
    .stats-grid { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; }
    .stat-num { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .intro-section h2 { font-size: 18px; }
    .section-header h2 { font-size: 20px; }
    .feature-card { padding: 18px 14px; }
}
.footer-bottom-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px;}
.footer-bottom-links{display:flex;gap:20px;flex-wrap:wrap;justify-content:flex-end;}
.footer-bottom-links a{color:var(--c3,#6b7280);font-size:13px;transition:all .3s ease;text-decoration:none;}
.footer-bottom-links a:hover{color:var(--c2,#9ca3af);}
