:root {
    --bg-main: #0a0d14;
    --bg-card: #121824;
    --bg-card-hover: #1a2334;
    --accent-green: #00ff87;
    --accent-cyan: #60efff;
    --accent-red: #dc2626;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-glow: rgba(0, 255, 135, 0.2);
    --font-main: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 13, 20, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.brand-logo i { 
    color: var(--accent-green); 
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover { 
    color: var(--accent-green); 
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--accent-green);
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid var(--border-glow);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), #00b359);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 255, 135, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 135, 0.45);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-media img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Download Section */
.section { 
    padding: 70px 0; 
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

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

.download-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 36px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.download-card:hover {
    border-color: var(--accent-green);
}

.download-card-icon {
    font-size: 2.8rem;
    color: var(--accent-green);
    margin-bottom: 18px;
}

.download-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.download-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* External Versions Link Styling */
.external-btn-wrapper {
    text-align: center;
    margin-top: 25px;
}

.external-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(96, 239, 255, 0.05);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(96, 239, 255, 0.1);
}

.external-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 25px rgba(96, 239, 255, 0.4);
    transform: translateY(-2px);
}

/* SEO Article Content Section */
.seo-content-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
}

.seo-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.seo-text h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.seo-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.seo-media img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 28px;
    border-radius: 10px;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* SEO Tables */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

.specs-table th, .specs-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table th {
    background: rgba(0,0,0,0.3);
    color: var(--accent-green);
    font-family: var(--font-code);
    font-size: 0.88rem;
}

.specs-table td {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.text-success {
    color: var(--accent-green);
}

.text-danger {
    color: var(--accent-red);
}

/* Screenshots Section */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-card);
    height: 180px;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.08);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-top: 60px;
    background: rgba(0, 0, 0, 0.3);
}

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

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

@media (max-width: 900px) {
    .hero-grid, .download-grid, .seo-content-grid { 
        grid-template-columns: 1fr; 
    }
    .hero-title { 
        font-size: 2.5rem; 
    }
    .screenshot-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .nav-menu { 
        display: none; 
    }
}