/* Template 81 - Neon Noir / Dark Cinematic */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --noir-black: #0a0a0c;
    --noir-dark: #121218;
    --noir-gray: #1c1c24;
    --neon-pink: #ff2d6a;
    --neon-blue: #00d4ff;
    --neon-purple: #9d4edd;
    --text-white: #f0f0f5;
    --text-gray: #8888a0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-white);
    background: var(--noir-black);
    font-weight: 400;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(255, 45, 106, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header - Cinematic Bar */
.site-header {
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(20px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--noir-gray);
}

.site-header::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-blue), transparent);
    animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.site-logo a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.site-logo a::before {
    content: '//';
    color: var(--neon-pink);
    margin-right: 0.25rem;
}

.site-logo a:hover {
    text-shadow: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.site-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.site-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--neon-blue);
}

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

.site-nav a:hover::before {
    width: 80%;
}

/* Hero Section */
.section.head {
    padding: 8rem 0;
    text-align: left;
    position: relative;
}

.section.head::before {
    content: 'NOIR';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20rem;
    color: var(--noir-dark);
    line-height: 1;
    letter-spacing: 20px;
    z-index: -1;
}

.section.head h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    line-height: 1.1;
}

.section.head h1 span {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section.head p {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 600px;
    padding: 1.5rem;
    background: var(--noir-dark);
    border-left: 3px solid var(--neon-pink);
    font-family: 'JetBrains Mono', monospace;
    position: relative;
}

.section.head p::before {
    content: '>';
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    color: var(--neon-pink);
    font-weight: bold;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section header {
    text-align: left;
    margin-bottom: 4rem;
}

.section header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--text-white);
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
}

.section header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
}

.section header p {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    background: var(--noir-dark);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--noir-gray);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-pink), transparent);
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-about {
    flex: 1;
    max-width: 400px;
}

.footer-tagline {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

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

.footer-bottom::before {
    content: '// END TRANSMISSION';
    display: block;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-gray);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.copyright a {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Animations */
@keyframes noirFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.fade-in {
    opacity: 0;
    animation: noirFadeIn 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: var(--text-white);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 2px;
    text-transform: uppercase;
}
