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

:root {
    /* Stremio Purple Theme Colors */
    --primary-purple: #7B2CBF;
    --secondary-purple: #9D4EDD;
    --accent-purple: #C77DFF;
    --dark-purple: #5A189A;
    --light-purple: #E0AAFF;
    
    --background-dark: #0F0F23;
    --background-darker: #0A0A1A;
    --surface-dark: #1A1A2E;
    --surface-light: #252541;
    
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3CC;
    --text-muted: #8080A0;
    
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    --border-color: #2A2A45;
    --shadow-color: rgba(123, 44, 191, 0.3);
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

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

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

.nav-links::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-purple));
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(0);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--accent-purple);
    background: rgba(199, 125, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--accent-purple);
    background: rgba(199, 125, 255, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, var(--surface-dark) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(123, 44, 191, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, rgba(199, 125, 255, 0.05) 0%, transparent 30%);
    pointer-events: none;
}


@keyframes drift {
    0% { transform: translateX(-50px) translateY(-50px); }
    100% { transform: translateX(50px) translateY(50px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--text-primary);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--shadow-color);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
}

.btn-secondary:hover {
    background: var(--accent-purple);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Device Showcase */
.device-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
}

.device {
    text-align: center;
    position: relative;
}

.device-img {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.smartphone-icon {
    color: #664181; /* Stremio signature purple */
    background: linear-gradient(135deg, rgba(102, 65, 129, 0.15), rgba(102, 65, 129, 0.05));
    border: 2px solid rgba(102, 65, 129, 0.3);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.tv-icon {
    color: #6c3c97; /* Roku signature purple */
    background: linear-gradient(135deg, rgba(108, 60, 151, 0.15), rgba(108, 60, 151, 0.05));
    border: 2px solid rgba(108, 60, 151, 0.3);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.device:hover .device-img {
    transform: scale(1.05);
}

.device-label {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-purple);
}

.streaming-animation {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 60px;
}

.stream-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-purple));
    position: relative;
    border-radius: 1px;
}

.stream-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--light-purple), transparent);
    animation: stream 2s infinite;
}

.stream-icon {
    position: relative;
    color: var(--accent-purple);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes stream {
    0% { transform: translateX(0px); }
    100% { transform: translateX(65px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(123, 44, 191, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(157, 78, 221, 0.08) 0%, transparent 50%),
        var(--surface-dark);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, transparent 0%, var(--surface-dark) 100%);
    pointer-events: none;
    z-index: 2;
}


.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--background-dark) 100%);
    pointer-events: none;
    z-index: 2;
}


.features .container {
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background: var(--surface-dark);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-purple));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(123, 44, 191, 0.2);
}

.feature-card:hover::before {
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-purple), var(--light-purple));
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: 
        repeating-linear-gradient(
            45deg,
            var(--background-dark) 0px,
            var(--background-dark) 100px,
            rgba(123, 44, 191, 0.02) 100px,
            rgba(123, 44, 191, 0.02) 102px
        ),
        var(--background-dark);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, transparent 0%, var(--background-dark) 100%);
    pointer-events: none;
    z-index: 2;
}


.how-it-works::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--background-darker) 100%);
    pointer-events: none;
    z-index: 2;
}



.how-it-works .container {
    position: relative;
    z-index: 1;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 32px var(--shadow-color);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            var(--background-darker) 0deg, 
            rgba(123, 44, 191, 0.05) 90deg, 
            var(--background-darker) 180deg, 
            rgba(157, 78, 221, 0.05) 270deg, 
            var(--background-darker) 360deg
        );
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, transparent 0%, var(--background-darker) 100%);
    pointer-events: none;
    z-index: 2;
}


.download::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--background-darker) 100%);
    pointer-events: none;
    z-index: 2;
}


.download .container {
    position: relative;
    z-index: 1;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: var(--background-dark);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-purple));
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(123, 44, 191, 0.2);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-primary);
}

.roku-icon {
    background: linear-gradient(135deg, var(--secondary-purple), var(--accent-purple));
}

.download-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.download-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.feature-tag {
    background: var(--surface-light);
    color: var(--accent-purple);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--text-primary);
    padding: 16px 32px;
    font-size: 1.125rem;
    box-shadow: 0 8px 32px var(--shadow-color);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--shadow-color);
}

/* Support Section */
.support {
    padding: 6rem 0;
    background: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, transparent 0%, var(--background-darker) 100%);
    pointer-events: none;
    z-index: 2;
}


.support::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--background-darker) 100%);
    pointer-events: none;
    z-index: 2;
}

.support::before {
    display: none;
}

.support .container {
    position: relative;
    z-index: 1;
}

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

.support-card {
    background: var(--surface-dark);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(123, 44, 191, 0.15);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.support-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.support-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--accent-purple);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.support-link:hover {
    color: var(--light-purple);
    background: rgba(123, 44, 191, 0.1);
    border-color: var(--light-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 44, 191, 0.3);
}

.support-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(123, 44, 191, 0.2);
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: 
        repeating-linear-gradient(
            135deg,
            var(--background-dark) 0px,
            var(--background-dark) 50px,
            var(--background-darker) 50px,
            var(--background-darker) 100px
        );
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(123, 44, 191, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(199, 125, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.download .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.download-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download-features {
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature i {
    color: var(--success);
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.receiver-info {
    padding: 1.5rem;
    background: var(--surface-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 0;
}

.receiver-text {
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.receiver-text i {
    color: var(--accent-purple);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.receiver-text strong {
    color: var(--text-primary);
}

.download-actions {
    text-align: center;
    padding: 2rem;
    background: var(--surface-dark);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-download {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.download-note {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

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

.download .section-title {
    text-align: center;
}

.download .section-subtitle {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--background-darker);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

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

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* FAQ Pages */
.faq-content {
    padding: 120px 0 6rem;
    background: var(--background-dark);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.faq-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--background-darker) 100%);
    pointer-events: none;
    z-index: 2;
}

.faq-grid {
    display: grid;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-category {
    background: var(--surface-dark);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-purple);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--text-secondary);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-purple);
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul, .faq-answer ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition);
}

.faq-answer a:hover {
    color: var(--light-purple);
    text-decoration: underline;
}

.faq-contact {
    margin-top: 4rem;
    text-align: center;
}

.contact-card {
    background: var(--surface-dark);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Documentation Pages */
.docs-content {
    padding: 120px 0 6rem;
    background: var(--background-dark);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.docs-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--background-darker) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Mobile-first docs layout */
.docs-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.docs-sidebar {
    order: 2;
    background: var(--surface-dark);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-top: 2rem;
}

.docs-main {
    order: 1;
    width: 100%;
    min-width: 0;
}

.docs-nav h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin: 1.5rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.docs-nav h3:first-child {
    margin-top: 0;
}

.docs-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-nav li {
    margin-bottom: 0.5rem;
}

.docs-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: var(--transition);
    border-radius: 6px;
    padding-left: 12px;
}

.docs-nav-link:hover {
    color: var(--accent-purple);
    background: rgba(199, 125, 255, 0.1);
}

.docs-header {
    margin-bottom: 2rem;
    text-align: center;
}

.docs-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.docs-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.docs-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.docs-section:last-child {
    border-bottom: none;
}

.docs-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-purple);
    position: relative;
    line-height: 1.3;
}

.docs-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    line-height: 1.3;
}

.docs-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem;
    color: var(--accent-purple);
    line-height: 1.3;
}

.docs-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.docs-section ul, .docs-section ol {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 1rem 0;
    padding-left: 2rem;
}

.docs-section li {
    margin-bottom: 0.5rem;
}

.docs-section a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition);
}

.docs-section a:hover {
    color: var(--light-purple);
    text-decoration: underline;
}

.component-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.component-card {
    background: var(--surface-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.component-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.requirements-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.requirement-item {
    background: var(--surface-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.requirement-item h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

.install-steps {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.install-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface-light);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.install-step:hover {
    background: var(--surface-dark);
    border-color: var(--primary-purple);
}

.install-step .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 16px rgba(123, 44, 191, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.step-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.code-block {
    background: var(--background-darker);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.code-block h4 {
    margin: 0 0 1rem;
    color: var(--accent-purple);
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin: 1rem 0;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.warning-box, .info-box, .success-box {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}

.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3B82F6;
}

.success-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.code-snippet {
    background: var(--background-darker);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin: 1rem 0;
}

.code-snippet pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* Features Detailed Grid - Mobile First */
.features-detailed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-detail {
    background: var(--surface-dark);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.feature-detail h3 {
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.feature-detail ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.feature-detail li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.troubleshoot-item {
    background: var(--surface-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.troubleshoot-item h4 {
    color: var(--error);
    margin: 0 0 1rem;
}

.solution p {
    margin-bottom: 0.5rem;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 6rem;
    background: var(--background-dark);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 1rem;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--accent-purple);
}

.legal-body p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-body ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-body li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.legal-body a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition);
}

.legal-body a:hover {
    color: var(--light-purple);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .device-showcase {
        flex-direction: column;
        gap: 2rem;
    }
    
    .streaming-animation {
        flex-direction: row;
        gap: 12px;
        min-height: auto;
    }
    
    .streaming-animation .stream-line {
        transform: rotate(90deg);
        width: 60px;
    }
    
    .features-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Mobile optimizations */
    .docs-content {
        padding: 80px 0 2rem;
    }
    
    .docs-layout {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .docs-sidebar {
        padding: 1rem;
    }
    
    .docs-header h1 {
        font-size: 1.75rem;
    }
    
    .docs-section h2 {
        font-size: 1.375rem;
    }
    
    .docs-section h3 {
        font-size: 1.125rem;
    }
    
    .component-card,
    .requirement-item,
    .feature-detail {
        padding: 1.25rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .support-card,
    .download-card {
        padding: 2rem 1.5rem;
    }
    
    .download-title {
        font-size: 1.5rem;
    }
    
    .download-description {
        font-size: 1rem;
    }
    
    .btn-download {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        min-width: 180px;
    }
    
    /* Docs Mobile Small Screens */
    .docs-main {
        padding: 1rem;
    }
    
    .docs-header h1 {
        font-size: 1.75rem;
    }
    
    .docs-section h2 {
        font-size: 1.25rem;
    }
    
    .docs-section h3 {
        font-size: 1.125rem;
    }
    
    .docs-section h4 {
        font-size: 1rem;
    }
    
    .docs-sidebar {
        padding: 1rem;
    }
    
    .code-block,
    .code-snippet {
        overflow-x: auto;
        margin: 1rem 0;
    }
    
    .code-block pre,
    .code-snippet pre {
        font-size: 0.875rem;
        padding: 1rem;
        overflow-x: auto;
    }
    
    .install-steps {
        gap: 1rem;
    }
    
    .install-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .troubleshoot-item,
    .config-item {
        margin-bottom: 1.5rem;
    }
}

/* Desktop Styles - Override mobile-first design */
@media (min-width: 769px) {
    .docs-layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .docs-sidebar {
        order: 1;
        position: sticky;
        top: 140px;
        height: fit-content;
        padding: 2rem 1.5rem;
        margin-top: 0;
    }
    
    .docs-main {
        order: 2;
    }
    
    .docs-header {
        text-align: left;
    }
    
    .docs-header h1 {
        font-size: 2.5rem;
    }
    
    .docs-header p {
        font-size: 1.125rem;
    }
    
    .docs-section h2 {
        font-size: 2rem;
    }
    
    .docs-section h3 {
        font-size: 1.5rem;
    }
    
    .docs-section h4 {
        font-size: 1.25rem;
    }
    
    .component-grid,
    .requirements-grid,
    .features-detailed {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .install-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 2rem;
        padding: 2rem;
    }
    
    .install-step .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
}
