/* 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;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.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);
}

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

.platform-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.platform-card:hover {
    transform: translateY(-5px);
}

.platform-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.platform-icon.twitch { background: rgba(145, 70, 255, 0.1); color: var(--twitch-color); border: 1px solid rgba(145, 70, 255, 0.3); }
.platform-icon.youtube { background: rgba(255, 0, 0, 0.1); color: var(--youtube-color); border: 1px solid rgba(255, 0, 0, 0.3); }
.platform-icon.kick { background: rgba(83, 252, 24, 0.1); color: var(--kick-color); border: 1px solid rgba(83, 252, 24, 0.3); }
.platform-icon.tiktok { background: rgba(0, 242, 254, 0.1); color: var(--tiktok-color); border: 1px solid rgba(0, 242, 254, 0.3); }

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

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

/* 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-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.download-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 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;
}