/* CSS Reset & Variables */
:root {
    --bg-dark: #030303;
    /* Deepest black */
    --bg-card: rgba(255, 255, 255, 0.03);
    /* Glassy card bg */
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --accent: #0070f3;
    /* WinMPX Blue */
    --accent-glow: rgba(0, 112, 243, 0.5);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    /* Neutral-400 equivalent */
    --text-tertiary: #52525b;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-speed: 0.2s ease-out;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    background: linear-gradient(to right, #0070f3, #00c6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px 0 rgba(0, 112, 243, 0.3);
}

.btn-primary:hover {
    background-color: #0060df;
    box-shadow: 0 6px 20px rgba(0, 112, 243, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-highlight);
}

.btn-sub {
    font-size: 0.7em;
    opacity: 0.8;
    margin-left: 4px;
    font-weight: 400;
}


/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow for hero */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 112, 243, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.version-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 112, 243, 0.1);
    border: 1px solid rgba(0, 112, 243, 0.2);
    border-radius: 99px;
    color: #4da0ff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(to right, #0070f3, #00c6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.os-support {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    margin-top: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Hero Visual - Abstract CSS Application Interface */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.app-window {
    background: #0F0F0F;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    /* Slightly sharper for Windows */
    overflow: hidden;
    /* Removed 3D Transform */
}

.app-header {
    background: #1a1a1a;
    padding: 0 0 0 16px;
    /* Padding for text only */
    height: 40px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-bar {
    font-size: 0.8rem;
    color: #999;
}

.window-controls {
    display: flex;
    height: 100%;
}

.win-btn {
    width: 46px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: default;
    transition: background 0.1s;
}


.win-btn svg {
    opacity: 0.8;
}

.app-body {
    padding: 24px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.progress-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
}

.pi-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.pi-bar {
    height: 6px;
    background: #222;
    border-radius: 3px;
    overflow: hidden;
}

.pi-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.pi-fill.done {
    width: 100%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Active Glass Element */
.glass-active {
    background: rgba(0, 112, 243, 0.1);
    border: 1px solid rgba(0, 112, 243, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pi-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.pi-details {
    display: flex;
    flex-direction: column;
}

.pi-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.pi-sub {
    font-size: 0.8rem;
    color: #4da0ff;
}

/* Stats Bar */
.stats-bar {
    background: #080808;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.stats-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Platforms Section */
.platforms {
    padding: 80px 0;
    text-align: center;
}

.section-center {
    max-width: 600px;
    margin: 0 auto 50px;
}

.platform-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.platform-item {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    background: transparent;
    border-radius: 99px;
    /* Pill shape */
    position: relative;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.platform-item span {
    color: #fff;
    /* Brand text is usually white/light in dark mode */
}

.platform-item svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    fill: currentColor;
}

.platform-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.platform-item:hover svg {
    /* No scale */
}

/* Specific Platform Colors (Static) */
.platform-item[title="YouTube"] {
    color: #FF0000;
}

.platform-item[title="Facebook"] {
    color: #1877F2;
}

.platform-item[title="Twitter"] {
    color: #1DA1F2;
}

.platform-item[title="Instagram"] {
    color: #E4405F;
}

.platform-item[title="TikTok"] {
    color: #00F2EA;
    text-shadow: 2px 2px 0 #FF0050;
}

.platform-item[title="Vimeo"] {
    color: #1AB7EA;
}

.platform-item[title="SoundCloud"] {
    color: #FF5500;
}

.platform-item[title="Reddit"] {
    color: #FF4500;
}

.platform-item[title="Twitch"] {
    color: #9146FF;
}

.platform-item.text-only {
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
}

.platform-item.text-only:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Features Grid */
.features {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    background: var(--bg-card-hover);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(0, 112, 243, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Spec Table */
.specs {
    background: #080808;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    width: 25%;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:nth-child(odd) {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.specs-table td:nth-child(even) {
    color: var(--text-primary);
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

/* Bottom CTA */
.bottom-cta {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 112, 243, 0.08) 0%, transparent 60%);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
    font-size: 0.9rem;
}

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

.footer-brand h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #0070f3, #00c6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.footer-copy {
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .os-support {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
        transform: scale(0.9);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-bar .container {
        flex-direction: column;
        gap: 32px;
    }

    .specs-table td {
        display: block;
        width: 100%;
        padding: 8px 16px;
        border: none;
    }

    .specs-table td:nth-child(odd) {
        padding-bottom: 0;
        color: var(--accent);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .specs-table td:nth-child(even) {
        padding-top: 4px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-color);
    }
}