/* inThrall.TV Global Design System - "Criterion Calm" Theme */
/* Goal: Clean, low-eye-strain, premium, readable over cinematic background */

:root {
    /* Base Palette - Deep Cosmos */
    --bg-cosmic: #050a14;
    /* Darker, calmer than slate */
    --bg-overlay: rgba(5, 10, 20, 0.85);
    /* Heavy overlay for readability */
    --bg-glass: rgba(255, 255, 255, 0.03);
    /* Subtle glass */

    /* Typography Palette - Apple-esque */
    --text-primary: #F5F5F7;
    /* Apple White */
    --text-secondary: #86868b;
    /* Apple Grey */
    --text-tertiary: #424245;

    /* Brand Accents */
    --brand-primary: #2997ff;
    /* Hero Blue */
    --brand-glow: rgba(41, 151, 255, 0.4);
    --status-success: #30d158;

    /* Borders & Depth */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);

    /* Spacing */
    --section-spacing: 6rem;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: url('../images/earth_spinning.gif') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Global Typography */
h1,
h2,
h3,
h4 {
    margin: 0 0 1rem 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 65ch;
    margin-bottom: 1.5rem;
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
    z-index: 1;
}

/* Glass Panels */
.panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 99px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-primary);
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-accent {
    background: var(--brand-primary);
    color: white;
}

.btn-accent:hover {
    box-shadow: 0 0 20px var(--brand-glow);
}

/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .trust-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}