/* Template 90 - Neon Tokyo / Cyberpunk City */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700;800&display=swap');

:root {
    --cyber-black: #0a0a0f;
    --dark-purple: #1a0a2e;
    --neon-pink: #ff2a6d;
    --neon-blue: #05d9e8;
    --neon-purple: #d300c5;
    --neon-yellow: #fffc31;
    --neon-green: #39ff14;
    --chrome: #c0c0c0;
    --smoke: #2a2a3e;
    --glow-pink: rgba(255, 42, 109, 0.5);
    --glow-blue: rgba(5, 217, 232, 0.5);
}

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

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

body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.7;
    color: var(--chrome);
    background: var(--cyber-black);
    font-weight: 400;
    overflow-x: hidden;
}

/* Scanline overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

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

/* Header */
.site-header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--neon-pink);
    box-shadow: 0 0 30px var(--glow-pink);
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink), var(--neon-purple), var(--neon-blue));
    animation: neonPulse 3s ease-in-out infinite;
}

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

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

.site-logo a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neon-blue);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px var(--glow-blue), 0 0 20px var(--glow-blue);
    transition: all 0.3s ease;
    animation: textFlicker 4s ease-in-out infinite;
}

@keyframes textFlicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    96% { opacity: 0.9; }
    97% { opacity: 1; }
}

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

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

.site-nav a {
    color: var(--chrome);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    background: var(--smoke);
}

.site-nav a:hover {
    color: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px var(--glow-pink), inset 0 0 15px rgba(255, 42, 109, 0.1);
}

/* Hero Section */
.section.head {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--dark-purple) 0%, var(--cyber-black) 100%);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.section.head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, var(--glow-pink) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, var(--glow-blue) 0%, transparent 50%);
    opacity: 0.3;
    animation: ambientGlow 8s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.section.head h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--neon-pink);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 0 20px var(--glow-pink), 0 0 40px var(--glow-pink);
    position: relative;
    z-index: 1;
}

.section.head h1::before {
    content: '// SYSTEM_';
    display: block;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--glow-blue);
}

.section.head p {
    font-size: 1.1rem;
    color: var(--chrome);
    max-width: 800px;
    margin: 0 auto;
    background: rgba(42, 42, 62, 0.8);
    padding: 2rem;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(5, 217, 232, 0.2), inset 0 0 20px rgba(5, 217, 232, 0.05);
    position: relative;
    z-index: 1;
}

.section.head p::before {
    content: '>';
    color: var(--neon-green);
    margin-right: 0.5rem;
    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: center;
    margin-bottom: 3rem;
}

.section header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 15px var(--glow-blue);
}

.section header h2::before {
    content: '[';
    color: var(--neon-pink);
    margin-right: 0.5rem;
}

.section header h2::after {
    content: ']';
    color: var(--neon-pink);
    margin-left: 0.5rem;
}

.section header p {
    font-size: 1.1rem;
    color: var(--chrome);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.98);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 2px solid var(--neon-purple);
    box-shadow: 0 -10px 30px rgba(211, 0, 197, 0.2);
}

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

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

.footer-tagline {
    color: var(--chrome);
    line-height: 1.8;
}

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

.footer-links a {
    color: var(--chrome);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid var(--smoke);
}

.footer-links a:hover {
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    box-shadow: 0 0 15px rgba(255, 252, 49, 0.3);
}

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

.footer-bottom::before {
    content: '// END_TRANSMISSION';
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--neon-green);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.copyright a {
    color: var(--chrome);
    font-size: 0.85rem;
}

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

.fade-in {
    opacity: 0;
    animation: floatIn 0.6s ease forwards;
}

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: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--neon-blue);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
}
