/* ==========================================================================
   Current Spot - Landing Page Styles
   Color Scheme: Purple primary, Tibber green accent
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --accent: #00D88E;
    --accent-dark: #00B876;

    /* Neutrals */
    --bg: #0F0F0F;
    --bg-elevated: #1A1A1A;
    --bg-card: #262626;
    --text: #FFFFFF;
    --text-muted: #A3A3A3;
    --border: #404040;

    /* Semantic */
    --success: #00D88E;
    --error: #EF4444;
    --warning: #F59E0B;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;

    /* Nav height */
    --nav-height: 3.5rem;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   Typography
   ========================================================================== */

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

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

/* ==========================================================================
   Sticky Navigation
   ========================================================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--spacing-sm);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.25rem 0.375rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.lang-switch a.active {
    color: var(--text);
    background: var(--bg-card);
}

.lang-switch a:hover:not(.active) {
    color: var(--text);
}

.lang-switch span {
    color: var(--border);
}

.btn-compact {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

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

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--primary);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(0, 216, 142, 0.1);
    border: 1px solid rgba(0, 216, 142, 0.3);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

.hero-image {
    margin: var(--spacing-2xl) auto;
    max-width: 400px;
}

.watch-mockup {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1A1A1A, #262626);
    border-radius: 50%;
    padding: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 8px rgba(255, 255, 255, 0.05);
}

.watch-screen {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-elevated);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-lead {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 700px;
    margin: -1.5rem auto var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    color: var(--text);
    margin-bottom: var(--spacing-xs);
}

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

/* ==========================================================================
   Why Section (USP)
   ========================================================================== */

.why {
    padding: var(--spacing-2xl) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 216, 142, 0.15);
}

.why-card h3 {
    color: var(--text);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

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

/* ==========================================================================
   Screenshots Section
   ========================================================================== */

.screenshots {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-elevated);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.screenshot-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   Getting Started Section
   ========================================================================== */

.getting-started {
    padding: var(--spacing-2xl) 0;
}

.steps {
    list-style: none;
    max-width: 720px;
    margin: 0 auto;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding: var(--spacing-lg);
    padding-left: var(--spacing-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
}

.steps li:hover {
    border-color: var(--primary);
}

.steps li h3 {
    color: var(--primary-light);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.steps li p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

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

.steps li a:hover {
    text-decoration: underline;
}

.steps-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-top: var(--spacing-lg);
}

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

.steps-note a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-elevated);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.faq-item h3 {
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

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

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    margin-bottom: var(--spacing-sm);
}

.cta p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

/* ==========================================================================
   Legal Pages (Privacy, Imprint)
   ========================================================================== */

.legal {
    padding: var(--spacing-2xl) 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal h1 {
    margin-bottom: var(--spacing-sm);
}

.legal-lead {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
}

.legal h2 {
    font-size: 1.5rem;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.legal h3 {
    font-size: 1.125rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--primary-light);
}

.legal p,
.legal li {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.legal ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

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

.legal a:hover {
    text-decoration: underline;
}

.legal code {
    background: var(--bg-card);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--text);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.footer-section p,
.footer-section ul {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-disclaimer {
    border-top: 1px solid var(--border);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-disclaimer p {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .features-grid,
    .faq-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .watch-mockup {
        width: 220px;
        height: 220px;
    }

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

@media (max-width: 480px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-subtitle,
.hero-cta,
.section-title {
    animation: fadeInUp 0.6s ease-out;
}
