:root {
    /* The n20k Brand Green */
    --n20k-green: #009B77; 
    --dark-bg: #2d2d2d;
    --text-color: #ffffff;
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100vh;
    overflow: hidden; /* Prevents scrolling for that "app" feel */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --- The Volumetric Grid (Background) --- */
.grid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: grid;
    /* 6x6 grid representing modular units */
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 20px;
    opacity: 0.1; /* Subtle background */
    transform: perspective(1000px); /* Adds 3D depth */
}

/* Individual blocks in the grid */
.module {
    background: var(--n20k-green);
    border-radius: 4px;
    transition: transform 0.1s ease-out; /* Smooth movement */
}

/* --- Main Content --- */
.content {
    z-index: 10;
    text-align: center;
    position: relative;
}

h1 {
    font-size: 8rem;
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1;
    margin-bottom: 30px;
    /* Gradient text effect */
    background: linear-gradient(45deg, #fff, #b3b3b3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Animation: slide up and fade in */
    opacity: 0;
    animation: buildUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.5s;
}

.contact-link {
    font-size: 1.5rem;
    color: var(--n20k-green);
    text-decoration: none;
    border: 1px solid var(--n20k-green);
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    
    /* Animation: appears after the logo */
    opacity: 0;
    animation: buildUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.8s;
}

/* Hover effect for the email button */
.contact-link:hover {
    background-color: var(--n20k-green);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 155, 119, 0.2);
    cursor: pointer;
}

/* --- Footer --- */
footer {
    position: absolute;
    bottom: 30px;
    font-size: 0.7rem;
    color: #666;
    z-index: 10;
    letter-spacing: 2px;
    text-transform: uppercase;
    
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
}

/* --- Animations --- */
@keyframes buildUp {
    from {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 5rem; }
    .grid-container { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px;
    }
    .contact-link {
        font-size: 1.2rem;
        padding: 12px 30px;
    }
}