/* eyes.cash - Dark Mode Neon Crypto */
/* Palette: #0a0a0a, #141414, #222222, #e0e0e0, #00ff88, #ffbe0b, #ff3366 */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* ===== SECTION 1: HERO / SURVEILLANCE ===== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 2;
}

/* Scan line animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    opacity: 0.6;
    z-index: 1;
    animation: scanSweep 4s ease-in-out infinite;
}

@keyframes scanSweep {
    0% { top: -2px; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* CSS Eye Icon */
.eye-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: eyeMaterialize 1.5s ease-out 0.3s forwards;
}

@keyframes eyeMaterialize {
    0% { opacity: 0; transform: scale(0.5); }
    60% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.eye-shape {
    width: 80px;
    height: 50px;
    border: 2px solid #00ff88;
    border-radius: 50% / 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3), inset 0 0 15px rgba(0, 255, 136, 0.1);
}

.eye-iris {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #00ff88;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.eye-pupil {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff88;
    position: absolute;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
    animation: pupilPulse 3s ease-in-out infinite;
}

@keyframes pupilPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(0, 255, 136, 0.5); }
    50% { transform: scale(1.15); box-shadow: 0 0 20px rgba(0, 255, 136, 0.7); }
}

.eye-icon-small .eye-shape {
    width: 60px;
    height: 40px;
}

.eye-icon-small .eye-iris {
    width: 22px;
    height: 22px;
}

.eye-icon-small .eye-pupil {
    width: 10px;
    height: 10px;
}

.brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: #00ff88;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
    opacity: 0;
    animation: brandAppear 1s ease-out 1s forwards;
}

@keyframes brandAppear {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.tagline {
    font-size: 1rem;
    color: #666;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: brandAppear 1s ease-out 1.5s forwards;
}

.monitoring-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: brandAppear 1s ease-out 2s forwards;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(0, 255, 136, 0.5); }
    50% { opacity: 0.4; box-shadow: 0 0 8px rgba(0, 255, 136, 0.8); }
}

.status-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #00ff88;
    letter-spacing: 0.2em;
    animation: statusPulse 2s ease-in-out infinite;
}

/* ===== SECTION 2: TRACKING ===== */

.tracking {
    padding: 6rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
    border-left: 3px solid #00ff88;
}

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

.panel {
    background: #141414;
    border: 1px solid #00ff88;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.15);
    transition: box-shadow 0.3s ease;
}

.panel:hover {
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.25);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #222222;
    background: rgba(0, 255, 136, 0.03);
}

.panel-lock {
    font-size: 0.7rem;
    opacity: 0.5;
}

.panel-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.panel-body {
    padding: 0.75rem 1rem;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #222222;
}

.data-row:last-child {
    border-bottom: none;
}

.data-key {
    font-size: 0.8rem;
    color: #888;
}

.data-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #e0e0e0;
}

.data-val.green { color: #00ff88; }
.data-val.red { color: #ff3366; }
.data-val.amber { color: #ffbe0b; }

/* ===== FLOW VISUALIZATION ===== */

.flow-section {
    margin-top: 4rem;
}

.flow-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.flow-diagram {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 300px;
}

.flow-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1rem;
}

.flow-lines {
    flex: 0.8;
    position: relative;
}

.flow-svg {
    width: 100%;
    height: 100%;
}

.flow-path {
    fill: none;
    stroke: #00ff88;
    stroke-width: 1.5;
    opacity: 0.3;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: opacity 0.3s;
}

.flow-path.animated {
    animation: flowDraw 2s ease-out forwards;
}

@keyframes flowDraw {
    to { stroke-dashoffset: 0; }
}

.flow-node {
    background: #141414;
    border: 1px solid #00ff88;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.1);
}

.flow-node-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flow-node-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #00ff88;
}

/* ===== SECTION 3: ALERTS ===== */

.alerts {
    padding: 6rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.alert-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.alert-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #222222;
    background: #141414;
    transition: background 0.2s ease;
}

.alert-item:first-child {
    border-radius: 6px 6px 0 0;
}

.alert-item:last-child {
    border-radius: 0 0 6px 6px;
    border-bottom: none;
}

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

.alert-item[data-severity="red"] {
    border-left: 2px solid #ff3366;
}

.alert-item[data-severity="amber"] {
    border-left: 2px solid #ffbe0b;
}

.alert-item[data-severity="green"] {
    border-left: 2px solid #00ff88;
}

.alert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.alert-dot.green { background: #00ff88; box-shadow: 0 0 6px rgba(0, 255, 136, 0.4); }
.alert-dot.amber { background: #ffbe0b; box-shadow: 0 0 6px rgba(255, 190, 11, 0.4); }
.alert-dot.red { background: #ff3366; box-shadow: 0 0 6px rgba(255, 51, 102, 0.4); }

.alert-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #666;
    flex-shrink: 0;
    width: 65px;
}

.alert-msg {
    font-size: 0.8rem;
    color: #e0e0e0;
    line-height: 1.5;
}

/* ===== SECTION 4: SUMMARY ===== */

.summary {
    padding: 6rem 1.5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
}

.summary-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #e0e0e0;
}

.findings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.finding-card {
    background: #141414;
    border: 1px solid #222222;
    border-radius: 6px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.finding-card:hover {
    border-color: #00ff88;
}

.finding-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: #e0e0e0;
}

.finding-number.green { color: #00ff88; }
.finding-number.red { color: #ff3366; }
.finding-number.amber { color: #ffbe0b; }

.finding-desc {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.5;
}

.summary-closing {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #00ff88;
    letter-spacing: 0.1em;
    margin-top: 1rem;
    opacity: 0.8;
}

/* ===== FOOTER ===== */

.footer {
    text-align: center;
    padding: 3rem 1.5rem;
    border-top: 1px solid #222222;
}

.footer-text {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 0.05em;
}

/* ===== FADE-IN ANIMATIONS ===== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

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

    .findings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .flow-lines {
        height: 100px;
        flex: none;
    }

    .flow-svg {
        display: none;
    }
}

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

    .alert-msg {
        font-size: 0.75rem;
    }
}
