/* Core Variables & Design System */
:root {
    --bg-dark: #0f1115;
    --bg-darker: #0a0b0e;
    --primary-purple: #9d4edd;
    --primary-blue: #3a86ff;
    --accent-teal: #38b000;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Platform Colors */
    --twitch-color: #9146FF;
    --youtube-color: #FF0000;
    --kick-color: #53FC18;
    --tiktok-color: #00f2fe;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.headline {
    font-size: 4.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Reusable Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.os-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), #7b2cbf);
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, rgba(15, 17, 21, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    padding: 0.5rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Platforms Section */
.platforms {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.platforms-card {
    padding: 3rem;
}

.platforms-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.75rem;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.platform-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.platform-logo-item:hover {
    transform: translateY(-3px);
}

.platform-logo-icon {
    width: 40px;
    height: 40px;
}

.platform-logo-item span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
}

.platforms-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.platform-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.platform-highlight-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.platform-highlight h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.platform-highlight p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Features Section */
.features {
    padding: 8rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-darker);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.02);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Screenshots Section */
.screenshots {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.screenshot-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.screenshot-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.screenshot-item.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.screenshot-item.reverse .screenshot-text {
    order: 2;
}

.screenshot-item.reverse .screenshot-img {
    order: 1;
}

.screenshot-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.screenshot-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.screenshot-img {
    padding: 0.5rem;
    border-radius: 16px;
}

.screenshot-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Download Section */
.download {
    padding: 8rem 0;
}

.download-box {
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.download-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-box p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.download-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.platform-support-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.download-reassure {
    font-size: 1.02rem;
    font-weight: 600;
    margin: 1.75rem 0 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--glass-border);
}

.reassure-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.reassure-badges .os-badge {
    background: rgba(56, 176, 0, 0.08);
    border-color: rgba(56, 176, 0, 0.25);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-purple);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    padding: 2.5rem;
    text-align: center;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-link {
    color: var(--primary-blue);
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #050608;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: middle;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-column h4 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.link-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.link-column a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Legal Pages (Privacy/Terms) */
.legal-page {
    background: var(--bg-dark);
}

.legal-content {
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.text-document {
    padding: 4rem;
}

.text-document h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.text-document > p:first-of-type {
    color: var(--text-muted);
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.text-document section {
    margin-bottom: 2.5rem;
}

.text-document h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.text-document p {
    margin-bottom: 1rem;
    color: #d1d5db;
}

.text-document ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
}

.text-document li {
    margin-bottom: 0.5rem;
}

.text-document a {
    color: var(--primary-purple);
    text-decoration: underline;
}
/* ==========================================================================
   New sections for v2: About, Comparison, Donate, Credits, Stats highlight
   ========================================================================== */

/* Stats highlight strip */
.stats-highlight {
    padding: 2rem 0;
}
.stats-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem;
    flex-wrap: wrap;
}
.stats-box-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.stats-box-text p {
    color: var(--text-muted);
    max-width: 480px;
}
.stats-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.stats-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    min-width: 110px;
}
.stats-pill strong {
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stats-pill span {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-align: center;
}

/* Donate section */
.donate {
    padding: 4rem 0;
}
.donate-box {
    text-align: center;
    padding: 3rem 2rem;
}
.donate-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.donate-box h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}
.donate-box p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
}
.donate-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.btn-donate {
    background: linear-gradient(135deg, #ff5f9e, var(--primary-purple));
    color: white;
}
.btn-donate:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Comparison section */
.comparison {
    padding: 6rem 0;
}
.comparison-intro {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-muted);
}
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.comparison-card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.comparison-card.is-pixelychat {
    border: 1px solid rgba(157, 78, 221, 0.5);
    background: rgba(157, 78, 221, 0.06);
}
.comparison-card h3 {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.comparison-card .tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-purple);
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid rgba(157, 78, 221, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    width: fit-content;
}
.comparison-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    flex-grow: 1;
}
.comparison-card a {
    font-size: 0.85rem;
    color: var(--primary-blue);
}

.comparison-table-wrap {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    min-width: 640px;
}
.comparison-table th,
.comparison-table td {
    padding: 0.9rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.88rem;
}
.comparison-table th {
    color: var(--text-light);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
}
.comparison-table td:first-child,
.comparison-table th:first-child {
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table .col-pixelychat {
    background: rgba(157, 78, 221, 0.07);
}
.comparison-table .yes {
    color: #6fdc4f;
}
.comparison-table .neutral {
    color: var(--text-muted);
}

.comparison-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 640px;
    margin: 0 auto;
}

/* About page */
.about-hero {
    padding: 7rem 0 4rem;
    position: relative;
}
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: center;
}
.about-hero-photo {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.about-hero-photo img {
    width: 100%;
    height: auto;
    display: block;
}
.about-eyebrow {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}
.about-content {
    padding: 1rem 0 5rem;
}
.about-content .text-document {
    max-width: 780px;
    margin: 0 auto;
}
.about-content .text-document p {
    font-size: 1.05rem;
    line-height: 1.75;
}
.about-content .text-document h2 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-top: 2.5rem;
}
.about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.about-quote {
    border-left: 3px solid var(--primary-purple);
    padding-left: 1.25rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.15rem;
}

/* About teaser card on homepage */
.about-teaser {
    padding: 5rem 0;
}
.about-teaser-box {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem;
}
.about-teaser-photo {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
.about-teaser-photo img {
    width: 100%;
    height: auto;
    display: block;
}
.about-teaser-text h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}
.about-teaser-text p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* Credits / props section */
.credits {
    padding: 5rem 0;
}
.credits-box {
    padding: 2.5rem;
    text-align: center;
}
.credits-box h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.credits-box > p {
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2rem;
}
.credits-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.credits-links a {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
}
.credits-links a:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

/* OS badges in hero */
.os-badges {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.os-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
}

/* Free-forever ribbon on hero */
.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 176, 0, 0.1);
    border: 1px solid rgba(56, 176, 0, 0.35);
    color: #6fdc4f;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* How It Works — 3-step visual */
.how-it-works {
    padding: 5rem 0 2rem;
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
    gap: 0.5rem;
    align-items: center;
    position: relative;
}
.step-card {
    padding: 2rem 1.75rem;
    text-align: center;
    position: relative;
}
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}
.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}
.step-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 1.5rem;
    opacity: 0.6;
}
