:root {
    --bg-dark: #0a0b0e;
    --card-bg: #13161c;
    --text-main: #e2e8f0;
    --text-muted: #8b96a5;
    --primary-color: #22d3ee; 
    --accent-color: #fbbf24;
}

body, html {
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.navbar {
    background-color: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
}
.navbar .brand { 
    display: flex; 
    align-items: center; 
    gap: 12px;
    font-size: 1.4rem; 
    font-weight: bold; 
    color: #fff; 
    text-decoration: none; 
    letter-spacing: 0.5px; 
}
.navbar .brand img {
    height: 28px;
    width: 28px;
    display: block;
}
.navbar .nav-links a { color: var(--text-muted); margin-left: 2rem; text-decoration: none; transition: color 0.3s; }
.navbar .nav-links a:hover { color: var(--primary-color); }

.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }

.hero { text-align: center; padding: 1.25rem 1rem 2rem; position: relative; }

.hero-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 { font-size: 3rem; margin: 0.4rem 0 1rem; letter-spacing: -1px; }
.hero h1 span.highlight { color: var(--accent-color); }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 650px; margin: 0 auto; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; position: relative; z-index: 10; }
.product-card {
    background: var(--card-bg); 
    border: 1px solid rgba(255,255,255,0.08); 
    border-radius: 12px;
    padding: 2.5rem; 
    text-align: left; 
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.product-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--primary-color); 
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.1);
}
.product-card h3 { font-size: 1.5rem; margin-top: 0; color: #fff; }
.product-card p { color: var(--text-muted); margin-bottom: 2rem; }

.btn {
    display: inline-block; background: var(--primary-color); color: #000;
    padding: 0.75rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: bold;
    transition: all 0.2s;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
    cursor: pointer;
}
.btn:hover {
    background: #06b6d4;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}
.btn-outline { 
    background: transparent; 
    border: 1px solid var(--text-muted); 
    color: var(--text-main);
    box-shadow: none;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
    box-shadow: none;
}

.badge {
    display: inline-block;
    background: rgba(34, 211, 238, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}
.feature-box {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.8rem;
}
.feature-box h4 {
    margin-top: 0;
    color: #fff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.download-box {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.04) 0%, rgba(10, 11, 14, 0.6) 100%);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 680px;
    margin: 3rem auto;
}

.lang-switcher { margin-left: 1.5rem; display: inline-block; }
.lang-switcher select {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}
.lang-switcher select:focus, .lang-switcher select:hover { border-color: var(--accent-color); }
.lang-switcher select option {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.footer {
    margin-top: 4rem;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background-color: rgba(10, 11, 14, 0.9);
    text-align: center;
}
.footer p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-color); }

.manual {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    text-align: left;
}
.manual h1 { font-size: 2.2rem; color: #fff; margin-bottom: 0.5rem; }
.manual .lead { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.manual h2 {
    color: #fff;
    font-size: 1.35rem;
    margin: 2.4rem 0 0.8rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.manual h3 { color: var(--primary-color); font-size: 1.05rem; margin: 1.4rem 0 0.5rem; }
.manual p, .manual li { color: var(--text-muted); font-size: 0.98rem; }
.manual ul, .manual ol { padding-left: 1.3rem; }
.manual li { margin-bottom: 0.35rem; }
.manual .toc {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    margin: 1.5rem 0 2rem;
}
.manual .toc a { color: var(--primary-color); text-decoration: none; }
.manual .toc a:hover { text-decoration: underline; }
.manual code {
    font-family: Consolas, monospace;
    font-size: 0.88em;
    background: rgba(255,255,255,0.06);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}
.manual .note {
    border-left: 3px solid var(--accent-color);
    padding: 0.6rem 1rem;
    background: rgba(251,191,36,0.06);
    color: var(--text-muted);
    margin: 1rem 0;
}