

/* --- THE VAULT ARCHITECTURE --- */
:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-subtle: rgba(255, 255, 255, 0.15);
    --card-bg: rgba(255, 255, 255, 0.02);
}

body {
    /* 100% Air-gapped, zero-dependency native system typography */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background: radial-gradient(circle at top, #1e293b 0%, #020617 100%);
    background-attachment: fixed;
    color: var(--text-main);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAPHY --- */
h1 {
    font-size: 3.5rem; /* Increased for a much stronger presence */
    font-weight: 500;
    margin: 0 0 16px 0;
    text-align: center;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* KILLS THE PLUM LINKS */
a, a:visited, a:active {
    color: var(--text-main);
    text-decoration: none;
}

/* --- NAVIGATION & HEADER --- */
header {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-main);
}


.nav-link.active {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 6px; 
    text-decoration-thickness: 3px; 
    text-decoration-color: var(--border-subtle); 
}

/* --- FOOTER LOCK --- */
footer {
    text-align: center;
    padding: 20px 20px 30px 20px; 
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}
/* --- STRUCTURAL GRID (RESTORED) --- */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px; 
    width: 100%;
    max-width: 1000px; 
    margin: 0 auto;
    padding-bottom: 10px; 
    box-sizing: border-box;
}

.hero {
    width: 100%;
    max-width: 700px; 
    
   
   
    margin: 5vh auto 40px auto;
}

.hero-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    
   
    max-width: 550px; 
    margin: 1.5rem auto 0 auto; 
    text-align: justify; 
    text-align-last: center; 
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    background: var(--card-bg);
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.btn-ghost:hover {
    color: var(--text-main);
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    max-width: 700px;
    text-align: left;
    margin: 0 auto 1.5rem auto;
    box-sizing: border-box;
}

.card p {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.data-block {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.code-block {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 6px;
    font-family: monospace;
    color: var(--text-muted);
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    margin-top: 15px;
}


.waitlist-banner {
    width: 100%;
    max-width: 400px; 
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

/* =========================================
   WAITLIST FORM STYLING
   ========================================= */



.waitlist-form {
    display: flex;
    flex-direction: column; 
    gap: 16px; 
    align-items: center; 
    margin: 2rem auto 0 auto;
    width: 100%;
}

.email-input {
    padding: 12px 14px; 
    font-size: 1rem;
    
    background-color: rgba(0, 0, 0, 0.2); 
    color: #eaeaea; 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: 4px;
    width: 100%;
    max-width: 260px; 
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-family: inherit;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.4); 
}


.email-input::placeholder {
    color: #888; 
}

.email-input:focus {
    border-color: rgba(255, 255, 255, 0.4); 
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.05); 
}

/* --- ENTERPRISE PORTAL STYLES --- */
.portal-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.portal-input {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.portal-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

.portal-main {
    text-align: center;
    margin-top: 5vh;
    margin-bottom: 5vh; 
}

/* --- LIGHTBOX MODAL SYSTEM --- */
.zoomable-image {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zoomable-image:hover {
    transform: scale(1.02); 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.lightbox-modal {
    display: none; 
    position: fixed;
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    
    
    overflow: auto; 
    text-align: center; 
}

.lightbox-content {
    
    margin: 50px auto; 
    display: inline-block; 
    
    /* Make it massive enough to read */
    width: 1800px; 
    
    /* KILL all browser restrictions so it doesn't get trapped */
    max-width: none !important; 
    max-height: none !important; 
    height: auto !important; 
    
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

/* The Close Button (X) - Bulletproof Floating UI */
.lightbox-close {
    position: fixed; /* Locks it to the screen, not the container */
    top: 20px;
    right: 25px;
    color: #E2E8F0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    /* Adds a sleek dark circle behind the X so it ALWAYS shows up, even over white diagrams */
    background: rgba(10, 10, 12, 0.7); 
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(138, 150, 168, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: #4A90E2; /* Glows Syntheticon blue on hover */
    color: #FFFFFF;
    transform: scale(1.1);
}


.diagram-img {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo a {
    text-decoration: none;
    color: inherit; /* This tells it to use the exact same color as the logo div */
}


/* --- LAYOUT UTILITIES --- */
.diagram-section {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin-bottom: 30px;
}

.diagram-container {
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    flex-wrap: wrap; 
    margin-bottom: 15px;
}

.diagram-caption {
    font-size: 0.85rem; 
    color: #64748b;
}

.action-buttons {
    display: flex; 
    gap: 32px; 
    align-items: center;
}

/* Styling to keep proof area "Understated" and "Muted" */
.status-tag {
    font-family: monospace;
    font-size: 0.75rem;
    color: #4A90E2; /* The professional blue we chose */
    border: 1px solid rgba(74, 144, 226, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.graph-preview-box {
    margin-top: 1.5rem;
    height: 120px;
    background: rgba(138, 150, 168, 0.05); /* Very subtle grey tint */
    border: 1px dashed rgba(138, 150, 168, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.graph-preview-box p {
    font-size: 0.8rem;
    color: #8A96A8;
    font-style: italic;
}

/* =========================================
   PROOF PAGE ARCHITECTURE
   ========================================= */

.status-terminal {
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(74, 144, 226, 0.2);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 3rem;
}

.status-header {
    font-family: monospace;
    color: #4A90E2;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.terminal-text {
    color: #E2E8F0;
    line-height: 1.6;
    margin: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.ghost-rendering {
    opacity: 0.5; /* Gives the "rendering" fade effect */
}

.ghost-card {
    border: 1px dashed rgba(138, 150, 168, 0.4);
    background: rgba(138, 150, 168, 0.02);
    padding: 1.5rem;
    border-radius: 4px;
}

.ghost-card h2 {
    font-size: 1.1rem;
    color: #8A96A8;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.pending-text {
    font-family: monospace;
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* =========================================
   LIGHTBOX MODAL SYSTEM
   ========================================= */

.zoomable-image {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zoomable-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* The dark background overlay */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: auto;
}

/* The actual enlarged image */
.lightbox-content {
    margin: 5vh auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.15);
    animation: zoomIn 0.3s ease;
}

/* The Close Button (X) */
.lightbox-close {
    position: fixed; 
    top: 20px;
    right: 30px;
    color: #FFFFFF;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 999999;
    background-color: rgba(10, 10, 12, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(138, 150, 168, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: background-color 0.2s;
}

.lightbox-close:hover {
    background-color: #4A90E2;
}

@keyframes zoomIn {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}


.status-terminal {
    background: rgba(10, 10, 12, 0.6); 
    border: 1px dashed rgba(74, 144, 226, 0.3); 
    padding: 1rem; 
    border-radius: 4px; 
    margin-top: 1.5rem;
}

.status-terminal p {
    margin: 0; 
    font-family: monospace; 
    font-size: 0.85rem; 
    color: #4A90E2; 
    line-height: 1.6;
}



