/*
BRS-XSS | EasyProTech LLC
*/

:root {
    --bg: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --border: #2a2a3a;
    --text: #e8e8ed;
    --text-dim: #8888a0;
    --text-muted: #5a5a70;
    --accent: #4ecdc4;
    --accent-dim: #3dbdb5;
    --accent-alt: #00d4aa;
    --font: 'Outfit', system-ui, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.gradient-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(78, 205, 196, 0.08), transparent);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
}

.logo svg, .logo-icon-svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.version-badge {
    font-size: 0.65rem;
    font-family: var(--mono);
    color: var(--accent);
    background: rgba(78, 205, 196, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--text); }
.nav-link svg { width: 16px; height: 16px; }

.nav-company { color: var(--accent-alt); }
.nav-company:hover { color: #00a885; }

/* Hero */
.hero {
    padding: 140px 0 60px;
    text-align: center;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.badge:hover {
    background: rgba(78, 205, 196, 0.15);
}

.badge svg { width: 14px; height: 14px; }

.badge-kb {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.2);
    color: var(--accent-alt);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--mono);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--accent-dim);
}

.btn-secondary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-primary svg, .btn-secondary svg {
    width: 18px;
    height: 18px;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.features-section h2,
.install-section h2,
.usage-section h2,
.kb-section h2,
.legal-section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.features-section h2 svg,
.install-section h2 svg,
.usage-section h2 svg,
.kb-section h2 svg,
.legal-section h2 svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Install Section */
.install-section {
    padding: 60px 0;
}

.install-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.install-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.install-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dim);
}

.install-card h3 svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.code-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
}

.code-block code {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--accent);
}

.code-block pre {
    margin: 0;
}

.code-block pre code {
    color: var(--text);
    line-height: 1.6;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: var(--accent);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

/* Usage Section */
.usage-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.usage-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.usage-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.usage-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dim);
}

.usage-card .code-block {
    display: block;
    padding: 16px;
}

/* KB Section */
.kb-section {
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 30px;
}

.kb-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.kb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.kb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
}

.kb-logo svg {
    width: 28px;
    height: 28px;
    color: var(--accent-alt);
}

.kb-version {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 4px 10px;
    border-radius: 4px;
}

.kb-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.kb-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.kb-feature svg {
    width: 16px;
    height: 16px;
    color: var(--accent-alt);
}

.kb-links {
    display: flex;
    gap: 12px;
}

.kb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-dim);
}

.kb-btn:hover {
    border-color: var(--accent-alt);
    color: var(--accent-alt);
}

.kb-btn.primary {
    background: var(--accent-alt);
    border-color: var(--accent-alt);
    color: var(--bg);
}

.kb-btn.primary:hover {
    background: #00a885;
    border-color: #00a885;
}

.kb-btn svg {
    width: 16px;
    height: 16px;
}

/* Legal Section */
.legal-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.legal-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.legal-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 180, 0, 0.1);
    border-radius: 12px;
}

.legal-icon svg {
    width: 24px;
    height: 24px;
    color: #ffb400;
}

.legal-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.legal-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.legal-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.2);
    border-radius: 8px;
    padding: 16px 24px;
    color: #ff6464;
    font-size: 0.9rem;
    text-align: center;
}

.legal-notice svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Footer */
footer {
    padding: 32px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-logo svg { width: 16px; height: 16px; color: var(--accent); }

.separator { color: var(--text-muted); }

.footer-company {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-company:hover { color: var(--accent); }

.footer-right {
    display: flex;
    gap: 16px;
}

.footer-right a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-right a:hover { color: var(--accent); }
.footer-right svg { width: 18px; height: 18px; }

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .stats { flex-direction: column; gap: 20px; }
    .hero-actions { flex-direction: column; }
    nav { gap: 16px; }
    .nav-link span { display: none; }
    .footer-content { flex-direction: column; gap: 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .install-options { grid-template-columns: 1fr; }
    .usage-examples { grid-template-columns: 1fr; }
    .legal-grid { grid-template-columns: 1fr; }
    .kb-features { grid-template-columns: 1fr; }
    .kb-links { flex-direction: column; }
    .badges { flex-wrap: wrap; }
}

