::selection {
    background-color: rgba(252, 139, 0, 0.5);
    color: white;
}
::-moz-selection {
    background-color: rgba(252, 139, 0, 0.5);
    color: white;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
    background: #0d0d0d;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo:hover {
    color: #faa316;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.btn-github {
    background: #1a1a1a;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
    color: #fff !important;
    font-size: 13px !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-github:hover {
    background: #2a2a2a;
    border-color: #3a3a3a;
}

/* ===== HERO ===== */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #1a0f00 0%, #0d0d0d 100%);
    border-bottom: 1px solid #1a1a1a;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #faa316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: #a0a0a0;
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-principles {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.principle {
    background: rgba(250, 163, 22, 0.15);
    color: #fbbf24;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(250, 163, 22, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #faa316;
    color: #0a0a0a;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #e8960f;
    color: #0a0a0a;
}

.btn-secondary {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #2a2a2a;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #2a2a2a;
    color: #fff;
}

/* ===== SECURITY ===== */
.security {
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
}

.security h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.security p {
    color: #a0a0a0;
    font-size: 17px;
    margin-bottom: 16px;
    max-width: 750px;
}

.security a {
    color: #faa316;
    text-decoration: none;
}

.security a:hover {
    text-decoration: underline;
}

.security-features {
    list-style: none;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.security-features li {
    color: #c0c0c0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check {
    color: #faa316;
    font-weight: 700;
}

/* ===== FEATURES ===== */
.features {
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
    background: #0d0d0d;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #888;
    font-size: 18px;
    margin-bottom: 48px;
}

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

.feature-item {
    background: #141414;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    transition: border-color 0.2s;
}

.feature-item:hover {
    border-color: #faa316;
}

.feature-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
}

.feature-item h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 6px;
}

.feature-item p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

/* ===== USAGE ===== */
.usage {
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
}

.usage-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px 0;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    background: #faa316;
    color: #0a0a0a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 4px;
}

.step p {
    color: #888;
    margin: 0;
}

.usage-alternative {
    background: #141414;
    padding: 24px 32px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    margin: 24px 0;
}

.usage-alternative h4 {
    color: #fff;
    margin-bottom: 8px;
}

.usage-alternative ul {
    color: #a0a0a0;
    list-style: none;
    padding: 0;
}

.usage-alternative ul li {
    padding: 4px 0;
}

.platforms {
    margin-top: 32px;
}

.platforms h4 {
    color: #fff;
    margin-bottom: 12px;
}

.platform-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.platform-tag {
    background: #1a1a1a;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #a0a0a0;
    border: 1px solid #2a2a2a;
}

.platform-note {
    color: #666;
    font-size: 14px;
    margin-top: 12px;
}

/* ===== PVVA ===== */
.pvva {
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
    background: #0d0d0d;
}

.pvva-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.pvva-card {
    background: #141414;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
}

.pvva-card h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}

.pvva-card p {
    color: #a0a0a0;
    line-height: 1.7;
    margin-bottom: 16px;
}

.link-arrow {
    color: #faa316;
    text-decoration: none;
    font-weight: 500;
}

.link-arrow:hover {
    color: #fbbf24;
}

.badge-safe {
    display: inline-block;
    background: rgba(250, 163, 22, 0.15);
    color: #fbbf24;
    padding: 4px 14px;
    border-radius: 16px;
    font-size: 13px;
    border: 1px solid rgba(250, 163, 22, 0.2);
}

/* ===== LEGACY ===== */
.legacy {
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
}

.legacy-content {
    max-width: 750px;
}

.legacy-content p {
    color: #a0a0a0;
    font-size: 17px;
    margin-bottom: 16px;
}

.legacy-content code {
    background: #1a1a1a;
    padding: 2px 10px;
    border-radius: 4px;
    color: #faa316;
    font-size: 14px;
}

.legacy-status {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-badge {
    background: #faa316;
    color: #0a0a0a;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.status-text {
    color: #888;
}

/* ===== LIBRARIES ===== */
.libraries {
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
    background: #0d0d0d;
}

.libraries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.library-card {
    background: #141414;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
}

.library-card h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.library-card p {
    color: #888;
    font-size: 14px;
    margin-bottom: 12px;
}

.libraries-note {
    color: #666;
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
}

.libraries-note strong {
    color: #a0a0a0;
}

/* ===== LICENSE ===== */
.license {
    padding: 80px 0;
    border-bottom: 1px solid #1a1a1a;
}

.license-content {
    max-width: 750px;
}

.license-content h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.license-content p {
    color: #a0a0a0;
    font-size: 17px;
    margin-bottom: 16px;
}

.license-content strong {
    color: #c0c0c0;
}

.license-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0 32px;
}

.license-features span {
    color: #a0a0a0;
    font-size: 15px;
}

.license-contribute h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}

.license-contribute ul {
    color: #a0a0a0;
    list-style: none;
    padding: 0;
}

.license-contribute ul li {
    padding: 4px 0;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.footer-slogan p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .libraries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pvva-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
    .nav-links {
        display: none;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .usage-steps {
        grid-template-columns: 1fr;
    }
    .security-features {
        grid-template-columns: 1fr;
    }
    .libraries-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .license-features {
        flex-direction: column;
        align-items: flex-start;
    }
}