:root {
    --bg-color: #111111;
    --text-color: #f0f0f0;
    --accent-color: #ccff00;
    /* Neon lime for contrast */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
}

.cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: var(--text-color);
    opacity: 0.5;
}

/* Grain Overlay */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 120%;
    /* For parallax */
    object-fit: cover;
    filter: grayscale(100%) contrast(120%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    mix-blend-mode: difference;
}

.hero-title {
    font-size: 8vw;
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-subtitle {
    margin-top: 2rem;
    font-family: var(--font-mono);
    letter-spacing: 4px;
    font-size: 1rem;
}

/* Manifesto Section */
.manifesto {
    padding: 10vh 5vw;
    border-top: 1px solid #333;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.manifesto-item h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-family: var(--font-mono);
}

.manifesto-item p {
    font-size: 1.5rem;
    line-height: 1.4;
    text-transform: uppercase;
}

.manifesto-item.large {
    grid-column: 1 / -1;
}

.manifesto-item.large p {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
}

.manifesto-image img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

/* Specs Section */
.specs {
    padding: 10vh 0;
    background: #0a0a0a;
}

.spec-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.spec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.spec-list {
    display: flex;
    flex-direction: column;
}

.spec-item {
    padding: 2rem;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item:hover {
    background: #1a1a1a;
}

.spec-number {
    font-family: var(--font-mono);
    color: var(--accent-color);
    margin-right: 2rem;
    font-size: 1.2rem;
}

.spec-name {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Data Log Section */
.datalog {
    padding: 10vh 5vw;
    font-family: var(--font-mono);
}

.data-header {
    margin-bottom: 4rem;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 1rem;
}

.data-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.data-block {
    border: 1px solid #333;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.data-block h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.data-block ul {
    list-style: none;
}

.data-block li {
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.9rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #333;
    padding-bottom: 0.5rem;
}

.stat-value {
    font-weight: 700;
    color: #fff;
}

@media (max-width: 768px) {

    .manifesto-grid,
    .spec-container,
    .data-grid {
        grid-template-columns: 1fr;
    }

    .manifesto-item.large p {
        font-size: 2rem;
    }
}

/* Contact Section */
.contact {
    padding: 15vh 5vw;
    text-align: center;
    background: #000;
}

.contact h2 {
    font-size: 6vw;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: transform 0.3s, background 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    background: var(--accent-color);
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border-top: 1px solid #333;
}

/* Animations */
.reveal-image {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.manifesto-item p {
    font-size: 1.5rem;
    line-height: 1.4;
    text-transform: uppercase;
}

.manifesto-item.large {
    grid-column: 1 / -1;
}

.manifesto-item.large p {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
}

.manifesto-image img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

/* Specs Section */
.specs {
    padding: 10vh 0;
    background: #0a0a0a;
}

.spec-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.spec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.spec-list {
    display: flex;
    flex-direction: column;
}

.spec-item {
    padding: 2rem;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item:hover {
    background: #1a1a1a;
}

.spec-number {
    font-family: var(--font-mono);
    color: var(--accent-color);
    margin-right: 2rem;
    font-size: 1.2rem;
}

.spec-name {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Data Log Section */
.datalog {
    padding: 10vh 5vw;
    font-family: var(--font-mono);
}

.data-header {
    margin-bottom: 4rem;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 1rem;
}

.data-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.data-block {
    border: 1px solid #333;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.data-block h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.data-block ul {
    list-style: none;
}

.data-block li {
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.9rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #333;
    padding-bottom: 0.5rem;
}

.stat-value {
    font-weight: 700;
    color: #fff;
}

@media (max-width: 768px) {

    .manifesto-grid,
    .spec-container,
    .data-grid {
        grid-template-columns: 1fr;
    }

    .manifesto-item.large p {
        font-size: 2rem;
    }
}

/* Contact Section */
.contact {
    padding: 15vh 5vw;
    text-align: center;
    background: #000;
}

.contact h2 {
    font-size: 6vw;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: transform 0.3s, background 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    background: var(--accent-color);
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border-top: 1px solid #333;
}

/* Animations */
.reveal-image {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal-image.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        border-right: none;
    }

    .hero-title {
        font-size: 15vw;
    }
}

/* Access Gate */
.access-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
}

.terminal-container {
    width: 90%;
    max-width: 500px;
    border: 1px solid #333;
    padding: 2rem;
    background: #050505;
}

.terminal-header {
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.terminal-body p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.input-line {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    border-bottom: 1px solid var(--accent-color);
}

.prompt {
    color: var(--accent-color);
    margin-right: 1rem;
}

#access-code {
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 1.5rem;
    width: 100%;
    outline: none;
    text-transform: uppercase;
}

#access-btn {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

#access-btn:hover {
    background: #fff;
}

.error-msg {
    color: #ff0000;
    margin-top: 1rem;
    min-height: 1.5rem;
    font-size: 0.9rem;
}

.access-gate.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-out;
}