:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-muted: #888888;
    --text-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Hide scroll initially for clean entry */
    -webkit-font-smoothing: antialiased;
}

/* Ambient Lighting (Natural Green glow) */
.ambient-light {
    position: fixed;
    bottom: -10vh;
    right: -10vw;
    width: 70vw;
    height: 70vh;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0;
}

.delay-glow {
    animation: fadeRevealGlow 3s ease-out forwards 3s;
}

/* Play State Control for Click-To-Enter */
body.paused-animations * {
    animation-play-state: paused !important;
}

/* Page load blackout overlay to ensure smooth reveal */
.screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 1.5s ease-in-out;
}

.screen-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.enter-text {
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    animation: pulseText 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulseText {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.minimal-logo {
    width: 200px;
    height: auto;
    opacity: 0;
    animation: fadeReveal 2.5s ease-out forwards 1.5s;
    margin-bottom: 3rem;
}

/* Reveal Wrapper for Text Masking */
.reveal-wrapper {
    overflow: hidden;
    line-height: 1.2;
    padding: 0.2rem 0;
}

/* Main Content Typography */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-text {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: -0.04em;
    transform: translateY(110%);
    animation: slideUpReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 2s;
}

.text-muted {
    color: var(--text-muted);
}

.products-list {
    margin-top: 3rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.products-list p {
    transform: translateY(110%);
    animation: slideUpReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Footer Section */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 400;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.4rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform: translateY(110%);
    animation: slideUpReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.linkedin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(16, 185, 129, 0.5);
}

.linkedin-btn i {
    font-size: 1.1rem;
    color: #ffffff;
}

.copyright {
    color: var(--text-muted);
    transform: translateY(110%);
    animation: slideUpReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animation Delays */
.delay-1 .hero-text { animation-delay: 2.3s; }
.delay-2 p { animation-delay: 3s; }
.delay-3 .linkedin-btn { animation-delay: 3.5s; }
.delay-4 .copyright { animation-delay: 3.8s; }

/* Keyframes */
@keyframes slideUpReveal {
    0% { transform: translateY(110%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeReveal {
    0% { opacity: 0; filter: blur(5px); }
    100% { opacity: 1; filter: blur(0); }
}

@keyframes fadeOutOverlay {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes fadeRevealGlow {
    0% { opacity: 0; filter: blur(50px); }
    100% { opacity: 1; filter: blur(80px); }
}

/* Responsive Scaling */
@media (max-width: 1024px) {
    .container { padding: 3rem 2rem; }
    .hero-text { font-size: 3rem; }
}

@media (max-width: 768px) {
    .container { padding: 2rem 1.5rem; }
    .hero-text { font-size: 2.2rem; }
    .footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
