/* Template 56 - Space Station / Sci-Fi Interface */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Electrolize&family=Share+Tech+Mono&display=swap');

:root {
    --space-void: #050510;
    --space-dark: #0a0a1a;
    --space-panel: #101025;
    --space-border: #1a1a3a;
    --holo-blue: #00d4ff;
    --holo-cyan: #00ffff;
    --holo-green: #00ff88;
    --holo-purple: #8855ff;
    --warning-orange: #ff8800;
    --alert-red: #ff3366;
    --text-white: #e0e8ff;
    --text-dim: #8888aa;
}

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

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

body {
    font-family: 'Electrolize', sans-serif;
    line-height: 1.7;
    color: var(--text-white);
    background: var(--space-void);
    font-weight: 400;
    font-size: 1rem;
    overflow-x: hidden;
}

/* Star field background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 20% 30%, white 50%, transparent 51%),
        radial-gradient(1px 1px at 40% 70%, white 50%, transparent 51%),
        radial-gradient(1px 1px at 60% 40%, white 50%, transparent 51%),
        radial-gradient(1px 1px at 80% 60%, white 50%, transparent 51%),
        radial-gradient(2px 2px at 10% 50%, rgba(0, 212, 255, 0.5) 50%, transparent 51%),
        radial-gradient(2px 2px at 90% 20%, rgba(136, 85, 255, 0.5) 50%, transparent 51%);
    background-size: 200px 200px;
    animation: twinkle 10s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.7; }
}

/* Grid overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Station Header */
.site-header {
    background: linear-gradient(180deg, var(--space-panel) 0%, transparent 100%);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--holo-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

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

@keyframes scanLine {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

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

.site-logo a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--holo-cyan);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px var(--holo-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.site-logo a::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--holo-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--holo-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.site-logo a:hover {
    color: var(--holo-blue);
    text-shadow: 0 0 30px var(--holo-cyan);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

.site-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.site-nav a::before {
    content: '>';
    margin-right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-nav a:hover {
    color: var(--holo-cyan);
    border-color: var(--holo-blue);
    background: rgba(0, 212, 255, 0.1);
}

.site-nav a:hover::before {
    opacity: 1;
}

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

.section.head::before {
    content: 'SYS.INIT';
    position: absolute;
    top: 3rem;
    left: 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: var(--holo-green);
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.section.head h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.section.head h1 span {
    display: block;
    color: var(--holo-cyan);
    text-shadow: 0 0 30px var(--holo-blue);
}

.section.head p {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 700px;
    padding: 1.5rem;
    background: var(--space-panel);
    border: 1px solid var(--space-border);
    border-left: 3px solid var(--holo-blue);
    font-family: 'Share Tech Mono', monospace;
}

.section.head p::before {
    content: '// ';
    color: var(--holo-green);
}

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

.section header {
    text-align: left;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--space-border);
}

.section header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.section header h2::before {
    content: '';
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--holo-blue), var(--holo-purple));
}

.section header p {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-top: 1rem;
    font-family: 'Share Tech Mono', monospace;
}

/* Footer */
.footer {
    background: var(--space-panel);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--holo-blue);
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--holo-blue), var(--holo-cyan), var(--holo-blue), 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-dim);
    line-height: 1.8;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-links a::before {
    content: '[ ]';
    margin-right: 0.5rem;
    color: var(--space-border);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--holo-cyan);
}

.footer-links a:hover::before {
    content: '[x]';
    color: var(--holo-green);
}

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

.copyright a {
    color: var(--text-dim);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: dataLoad 0.6s ease forwards;
}

@keyframes dataLoad {
    0% {
        opacity: 0;
        transform: translateX(-20px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

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.25rem;
    color: var(--holo-cyan);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
