/* -------------------------------------------------------------------------
 * CORE VARIABLES & RESET
 * ----------------------------------------------------------------------- */
:root {
    --bg-color: #0A0A0A;
    --text-primary: #F5F5F5;
    --text-muted: #7A7A7A;
    --accent: #00FFD1;
    --accent-dim: rgba(0, 255, 209, 0.15);
    --border-color: #1F1F1F;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-weight: 300;
    line-height: 1.6;
    font-size: 13px;
    overflow-x: hidden;
    position: relative;
}

/* -------------------------------------------------------------------------
 * BACKGROUND EFFECTS (Pixel Grid & Scanlines)
 * ----------------------------------------------------------------------- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.007) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.007) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 3px, 6px 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.4;
}

/* -------------------------------------------------------------------------
 * LAYOUT CONTAINER
 * ----------------------------------------------------------------------- */
.wrapper {
    max-width: 640px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    z-index: 3;
}

header, section {
    margin-bottom: 56px;
}

.section-title {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* -------------------------------------------------------------------------
 * GEOMETRIC LOGO MATRIX
 * ----------------------------------------------------------------------- */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    cursor: pointer;
}

.pizen-logo {
    width: 96px;   /* Calibrated crisp width */
    height: 110px; /* Calibrated crisp height */
    pointer-events: none; /* Allows hover state execution via parent container */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(0, 255, 209, 0.2));
}

/* Hover system animation */
.logo-container:hover .pizen-logo {
    transform: scale(1.03);
    filter: drop-shadow(0 0 16px var(--accent-dim)) saturate(1.2);
}

/* -------------------------------------------------------------------------
 * TYPOGRAPHY & HERO
 * ----------------------------------------------------------------------- */
.hero {
    text-align: center;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 48px;
}

h1 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.subtitle {
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 16px;
}

.description {
    color: var(--text-muted);
    max-width: 460px;
    margin: 0 auto 28px auto;
    font-size: 12px;
}

.about-text {
    color: var(--text-primary); 
    max-width: 580px;
}

/* Minimal Outlined Buttons */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.15s ease;
    background: transparent;
}

.btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 8px var(--accent-dim);
    transform: translateY(-1px);
}

/* -------------------------------------------------------------------------
 * SYSTEMS GRID MODULE
 * ----------------------------------------------------------------------- */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.system-card {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    transition: all 0.2s ease;
    cursor: default;
}

.system-card:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* -------------------------------------------------------------------------
 * PHILOSOPHY CONTENT TEXT
 * ----------------------------------------------------------------------- */
.philosophy-text {
    font-size: 13px;
    color: var(--text-primary);
    border-left: 2px solid var(--accent);
    padding-left: 16px;
    font-style: italic;
}

/* -------------------------------------------------------------------------
 * FOOTER UTILITIES
 * ----------------------------------------------------------------------- */
footer {
    margin-top: 80px;
    border-top: 1px dashed var(--border-color);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
}

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.pulse-dot {
    width: 4px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 4px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}
