/* ==================== CSS Variables ==================== */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-elevated: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --text-dimmed: #707070;
    --brand: #8a2be2;
    --brand-dark: #6a1b9a;
    --brand-light: #9d4eea;
    --brand-glow: rgba(138, 43, 226, 0.5);
    --accent: #00e676;
    --accent-dark: #00c853;
    --warning: #ff9800;
    --border: #2a2a2a;
    --shadow: rgba(0, 0, 0, 0.5);
}

/* ==================== Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #000000 100%);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Header (Centered Navigation) ==================== */
header {
    background: rgba(10, 10, 10, 0.98);
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: block;
    line-height: 0;
}

.site-logo {
    height: 45px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.site-logo:hover {
    opacity: 0.8;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--brand);
}

nav a:hover::after {
    width: 100%;
}

/* ==================== Main Content (Centered) ==================== */
main {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Breadcrumbs (Centered) */
.breadcrumbs {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: center;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--brand);
}

.separator {
    margin: 0 8px;
    color: var(--text-dimmed);
}

/* ==================== HERO SECTION (Perfect Symmetry) ==================== */
.hero-section {
    background: linear-gradient(145deg, #1a0a2e 0%, #16041a 100%);
    border: 2px solid var(--brand);
    border-radius: 24px;
    padding: 60px 50px;
    margin: 30px 0 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-section h1 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 auto 25px;
    max-width: 800px;
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 auto 35px;
    max-width: 700px;
}

/* Status Badges (Centered) */
.status-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
    backdrop-filter: blur(10px);
}

.badge-safe {
    background: rgba(0, 230, 118, 0.15);
    color: var(--accent);
    border-color: var(--accent-dark);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
}

.badge-version {
    background: rgba(138, 43, 226, 0.15);
    color: var(--brand-light);
    border-color: var(--brand);
}

.badge-updated {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-color: var(--border);
}

/* Hero Download Button (Perfectly Centered) */
.hero-download-btn {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: white;
    border: none;
    padding: 0;
    font-size: 18px;
    font-weight: 800;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px var(--brand-glow), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    max-width: 550px;
    width: 100%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.hero-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-download-btn:hover::before {
    left: 100%;
}

.hero-download-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px var(--brand-glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-download-btn:active {
    transform: translateY(-2px) scale(1);
}

.btn-icon {
    background: rgba(0, 0, 0, 0.3);
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px 0 0 14px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 30px;
    flex: 1;
}

.btn-main {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.btn-sub {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 5px;
}

/* Download Details (Perfectly Aligned in Single Column) */
.download-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto 35px;
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    max-width: 500px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: var(--text-main);
    font-size: 14px;
    text-align: left;
}

.detail-item svg {
    flex-shrink: 0;
}

.detail-item span {
    flex: 1;
}

/* Hero Social Share (Centered) */
.hero-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== Typography (Centered Headers) ==================== */
h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-align: center;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--brand);
    display: inline-block;
    text-align: center;
}

h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand);
    margin: 35px 0 15px;
    text-align: center;
}

p {
    margin-bottom: 20px;
    color: var(--text-main);
}

.intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-main);
    margin: 0 auto 30px;
    max-width: 800px;
}

.section-intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 auto 35px;
    max-width: 750px;
}

strong {
    color: #fff;
    font-weight: 700;
}

code {
    background: var(--bg-card);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--accent);
    border: 1px solid var(--border);
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent);
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Section Headers (Centered) */
.section-header {
    text-align: center;
    margin: 60px 0 30px;
}

.section-header h2 {
    display: inline-block;
}

.section-header h3 {
    margin-top: 20px;
}

/* Section Divider */
.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    margin: 60px auto;
    border-radius: 2px;
}

/* ==================== Images (Centered) ==================== */
figure {
    margin: 50px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

figure img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(138, 43, 226, 0.3);
}

figcaption {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 15px;
    font-style: italic;
}

.content-image-small img {
    max-width: 600px;
}

/* ==================== Social Share (Centered Circles) ==================== */
.social-share {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 30px 0;
}

.share-label {
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 5px;
    display: none;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
}

.btn-social:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.fb { background: #1877f2; }
.tw { background: #1da1f2; }
.rd { background: #ff4500; }
.li { background: #0a66c2; }
.pin { background: #e60023; }

.bottom-share {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* ==================== Features Grid (Perfect Symmetry) ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.feature-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand);
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.2);
}

.feature-icon {
    font-size: 52px;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.15rem;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ==================== Info Boxes (Centered) ==================== */
.info-box {
    padding: 20px 30px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 750px;
    border-left: 4px solid;
    background: var(--bg-card);
    text-align: center;
}

.info-box.warning {
    border-color: var(--warning);
    background: rgba(255, 152, 0, 0.05);
}

.info-box.tip {
    border-color: var(--accent);
    background: rgba(0, 230, 118, 0.05);
}

/* ==================== Lists (Centered & Symmetric) ==================== */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 700px;
}

.steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: left;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

ul.centered-list {
    list-style: none;
    padding: 0;
    margin: 25px auto;
    max-width: 650px;
}

ul.centered-list li {
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.7;
    position: relative;
}

ul.centered-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-size: 18px;
}

/* ==================== FAQ Section (Centered) ==================== */
.faq-section {
    max-width: 750px;
    margin: 40px auto;
}

.faq-item {
    background: var(--bg-card);
    padding: 25px 30px;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    text-align: left;
}

.faq-item h3 {
    text-align: left;
    margin-top: 0;
}

/* ==================== Tables (Centered) ==================== */
.table-container {
    overflow-x: auto;
    margin: 40px auto;
    border-radius: 10px;
    border: 1px solid var(--border);
    max-width: 850px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

th, td {
    padding: 18px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--bg-elevated);
    color: var(--brand);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(138, 43, 226, 0.05);
}

/* ==================== Footer (Centered) ==================== */
footer {
    background: #000;
    padding: 50px 0;
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid var(--border);
}

footer p {
    color: var(--text-dimmed);
    font-size: 14px;
    margin-bottom: 10px;
}

footer .disclaimer {
    font-size: 12px;
    font-style: italic;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 30px;
    }

    .hero-section h1 {
        font-size: 30px;
    }

    .hero-description {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 28px;
    }

    nav {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        height: 38px;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .btn-icon {
        padding: 18px;
    }

    .btn-text {
        padding: 18px 20px;
    }

    .btn-main {
        font-size: 16px;
    }

    .btn-sub {
        font-size: 11px;
    }

    .status-badges {
        gap: 8px;
    }

    .badge {
        font-size: 11px;
        padding: 8px 14px;
    }

    .download-details {
        padding: 20px;
    }
}