/* Fed Up Citizen - SpaceX-inspired Design */

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-subtle: rgba(255, 255, 255, 0.4);
    --text-muted: rgba(255, 255, 255, 0.25);
    --border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* Hero Section - Full viewport, centered */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.tagline {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 400;
    color: var(--text-subtle);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

/* Trojan Horse Section */
.trojan-horse {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
}

#horse-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .trojan-horse {
        height: 50vh;
        min-height: 350px;
    }
}

/* Vision Section */
.vision {
    padding: 15vh 0 20vh;
}

.vision-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.vision-text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.vision-text:nth-child(1) { animation-delay: 0.5s; }
.vision-text:nth-child(2) { animation-delay: 0.7s; }
.vision-text:nth-child(3) { animation-delay: 0.9s; }

.vision-text.subtle {
    color: var(--text-subtle);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    padding: 10vh 0 15vh;
    text-align: center;
}

.cta-text {
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}

/* Footer - Minimal, sleek */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.separator {
    display: none;
}

.copyright {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Animations - Smooth, subtle */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.hero::after {
    content: '';
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards, pulse 2s ease-in-out 2.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.15; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero::after {
        display: none;
    }

    footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-nav {
        gap: 1.5rem;
    }
}

/* Legal pages styling */
.legal-page {
    padding: 15vh 0 8vh;
}

.legal-page .container {
    max-width: 720px;
}

.legal-page h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.legal-page .last-updated {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6rem;
}

.legal-content {
    padding-bottom: 8vh;
}

.legal-content .container {
    max-width: 720px;
}

.legal-content h2 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.legal-content ul {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
    list-style: none;
}

.legal-content li {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-content li::before {
    content: '—';
    position: absolute;
    left: -1.25rem;
    color: var(--text-muted);
}

.back-link {
    display: inline-block;
    margin-top: 4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-secondary);
}
