/* ThingTuber Landing Page Styles */
/* Simple, clean, streamer-friendly */

:root {
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --primary-light: #a78bfa;
    --bg: #0f0f0f;
    --bg-card: #1a1a1a;
    --bg-elevated: #252525;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --border: #333;
    --success: #10b981;
    --radius: 12px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary-light);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    background: var(--bg-elevated);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 0.9em;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

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

.nav-brand a {
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    font-size: 1.6rem;
}

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

.nav-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.btn-nav {
    background: var(--primary);
    color: var(--text) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.btn-nav:hover {
    background: var(--primary-hover);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--text);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    color: var(--text-muted);
    padding: 14px 28px;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-secondary:hover {
    color: var(--text);
    text-decoration: none;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--border);
    color: var(--text);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary);
    text-decoration: none;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-light);
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-pill {
    background: var(--bg-elevated);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA Box */
.cta-box {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.cta-box h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.signup-form {
    display: flex;
    gap: 10px;
}

.signup-form input {
    flex: 1;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.signup-form button {
    white-space: nowrap;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar-showcase {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.avatar-item {
    width: 100px;
    height: 100px;
    background: var(--bg-card);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 2px solid var(--border);
    transition: all 0.3s;
    opacity: 0.5;
    transform: scale(0.9);
}

.avatar-item.active {
    opacity: 1;
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

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

/* Sections */
section {
    padding: 80px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -40px;
    margin-bottom: 40px;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

.how-it-works {
    text-align: center;
}

/* Platforms */
.platforms {
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.platform-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.platform {
    font-size: 1rem;
    color: var(--text-muted);
    padding: 8px 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

/* Why Free */
.why-free {
    text-align: center;
}

.why-content {
    max-width: 600px;
    margin: 0 auto;
}

.why-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Final CTA */
.final-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: var(--radius);
    margin: 0 auto;
    max-width: calc(1200px - 120px);
}

.final-cta h2 {
    margin-bottom: 10px;
}

.final-cta p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

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

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

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 40px;
}

/* ======================= */
/* Demo Page */
/* ======================= */

.demo-page .demo-hero {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 40px;
}

.demo-page .demo-hero h1 {
    font-size: 3rem;
}

.demo-page .demo-hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.demo-preview {
    padding: 40px 60px;
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
}

.demo-frame {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-placeholder {
    text-align: center;
    padding: 40px;
}

.demo-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.demo-placeholder h3 {
    margin-bottom: 10px;
}

.demo-placeholder p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--primary);
}

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

.feature-card h3 {
    margin-bottom: 10px;
}

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

/* Model Grid */
.model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.model-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.model-preview {
    font-size: 4rem;
    margin-bottom: 15px;
}

.model-card h4 {
    margin-bottom: 5px;
}

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

/* Tech Specs */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.spec {
    text-align: center;
}

.spec h4 {
    color: var(--primary-light);
    margin-bottom: 5px;
}

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

/* ======================= */
/* Setup Page */
/* ======================= */

.setup-page .setup-hero {
    text-align: center;
    padding-bottom: 40px;
}

.setup-page .setup-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.setup-page .setup-hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Quick Start */
.quick-start {
    background: var(--bg-card);
    border-radius: var(--radius);
    margin: 0 auto 60px;
    max-width: calc(1200px - 120px);
    padding: 50px;
    text-align: center;
}

.quick-start h2 {
    margin-bottom: 30px;
}

.quick-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.quick-step {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Guide Cards */
.platform-guides {
    padding-top: 0;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 30px;
    overflow: hidden;
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.guide-header h3 {
    font-size: 1.3rem;
}

.badge {
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.guide-content {
    padding: 30px;
}

.guide-content ol {
    list-style: none;
    counter-reset: guide-counter;
}

.guide-content li {
    counter-increment: guide-counter;
    margin-bottom: 25px;
    padding-left: 50px;
    position: relative;
}

.guide-content li:before {
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--bg-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.guide-content li strong {
    display: block;
    margin-bottom: 5px;
}

.guide-content li p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.config-box {
    background: var(--bg);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-top: 10px;
}

.config-box p {
    margin-bottom: 5px;
}

.config-box p:last-child {
    margin-bottom: 0;
}

/* Tips */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tip {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.tip h4 {
    margin-bottom: 10px;
}

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

/* FAQ / Troubleshooting */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

summary {
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: '+';
    margin-right: 15px;
    font-weight: 700;
    color: var(--primary-light);
}

details[open] summary::before {
    content: '−';
}

details p {
    padding: 0 25px 20px 45px;
    color: var(--text-muted);
}

/* ======================= */
/* Thanks Page */
/* ======================= */

.thanks-page .thanks-hero {
    text-align: center;
    padding: 80px 60px;
}

.thanks-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.thanks-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.thanks-email {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.thanks-message {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Next Steps */
.next-steps h2 {
    margin-bottom: 30px;
}

.next-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.next-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.2s;
    color: var(--text);
}

.next-card:hover {
    border-color: var(--primary);
    text-decoration: none;
    transform: translateY(-3px);
}

.next-card.primary {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, var(--bg-card) 100%);
}

.next-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.next-card h3 {
    margin-bottom: 10px;
}

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

/* Share Section */
.share-section {
    text-align: center;
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.share-section h2 {
    margin-bottom: 10px;
}

.share-section > p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.reddit {
    background: #ff4500;
}

.share-btn.copy {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.copy-feedback {
    margin-top: 15px;
    color: var(--success);
    min-height: 24px;
}

/* Feedback Section */
.feedback-section {
    text-align: center;
}

.feedback-section h2 {
    margin-bottom: 15px;
}

.feedback-section > p {
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================= */
/* Responsive */
/* ======================= */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 30px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .next-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 30px;
    }

    .final-cta, .quick-start {
        margin: 0 30px;
    }
    
    .platforms {
        margin: 0 auto;
        padding: 40px 30px;
    }
    
    .share-section {
        margin: 0 auto;
        padding: 40px 30px;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .signup-form {
        flex-direction: column;
    }

    .quick-steps {
        flex-direction: column;
        gap: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .model-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .share-buttons {
        flex-direction: column;
    }
}
