/* ============================================
   CYBERPUNK LEGAL PAGES - STYLES
   ============================================ */
:root {
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff006e;
    --neon-purple: #9d4edd;
    --neon-green: #39ff14;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --grid-color: rgba(0, 240, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
}

/* ============================================
   BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ============================================
   GRID BACKGROUND & SCANLINES
   ============================================ */
#gridCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: relative;
    z-index: 10;
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 2px solid var(--grid-color);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.logo {
    width: 50px;
    height: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    letter-spacing: 2px;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-bracket {
    color: var(--neon-magenta);
}

.nav-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-link:hover .nav-bracket {
    color: var(--neon-cyan);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 200px);
    padding: 3rem 2rem;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(10, 10, 15, 0.8);
    border: 2px solid var(--grid-color);
    border-radius: 10px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--grid-color);
}

.terminal-line {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-green);
    border-left: 3px solid var(--neon-green);
    padding: 1rem;
    margin-bottom: 2rem;
    font-family: 'Courier New', monospace;
}

.prompt {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

.command {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

.page-title {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.date {
    color: var(--neon-magenta);
    text-shadow: 0 0 5px var(--neon-magenta);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--neon-magenta);
    border-radius: 5px;
    position: relative;
}

.section.intro {
    background: rgba(0, 240, 255, 0.05);
    border-left-color: var(--neon-cyan);
}

.section-number {
    display: inline-block;
    color: var(--neon-magenta);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px var(--neon-magenta);
}

.section h2 {
    font-size: 1.3rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.section p:last-child {
    margin-bottom: 0;
}

/* ============================================
   LISTS
   ============================================ */
.data-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.data-list li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.bullet {
    color: var(--neon-magenta);
    margin-right: 0.5rem;
    position: absolute;
    left: 0;
}

/* ============================================
   LINKS
   ============================================ */
.email-link {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px var(--neon-cyan);
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    color: var(--neon-magenta);
    text-shadow: 0 0 10px var(--neon-magenta);
    border-bottom-color: var(--neon-magenta);
}

/* ============================================
   TERMINAL END
   ============================================ */
.terminal-end {
    margin-top: 3rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-green);
    border-left: 3px solid var(--neon-green);
    font-family: 'Courier New', monospace;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid var(--grid-color);
    background: rgba(10, 10, 15, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.link-bracket {
    color: var(--neon-magenta);
}

.footer-link:hover {
    color: var(--neon-magenta);
    text-shadow: 0 0 10px var(--neon-magenta);
}

.footer-link:hover .link-bracket {
    color: var(--neon-cyan);
}

.footer-separator {
    color: var(--text-secondary);
}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.status-online {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .legal-container {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .section {
        padding: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .section h2 {
        font-size: 1.1rem;
    }

    .section p {
        font-size: 0.9rem;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
