/* Color Palette */
:root {
    --primary-dark-green: #ffffff; /* Page Background: White */
    --accent-bright-green: #5cc752;
    --text-white: #333333; /* Main Text: Dark Gray */
    --text-muted: #6B7280; /* Gray-500 for muted text */
    --dark-elements: #19503F; 
    
    /* New: Light colors for animated background */
    --light-bg-start: #f7fcf7; /* Very slight off-white green tint */
    --light-bg-end: #ffffff;   /* Pure white */
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Sets the modern 'Inter' font for all text */
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    background-color: var(--primary-dark-green);
    min-height: 100vh;
    display: flex;
    /* Center all content in the middle of the viewport */
    align-items: center;
    justify-content: center;
    text-align: center;
    user-select: none;
    
    /* --- ANIMATED BACKGROUND STYLES START --- */
    background: var(--primary-dark-green); /* Fallback */
    background: radial-gradient(circle at 100% 100%, var(--light-bg-start), var(--light-bg-end));
    background-size: 400% 400%; /* Make the gradient very large */
    animation: gradient-shift 15s ease infinite; /* Slow, smooth animation */
    /* --- ANIMATED BACKGROUND STYLES END --- */
}

body::selection {
    background: var(--accent-bright-green);
    color: #ffffff;
}

.landing-page {
    width: 100%;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 42rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
}

/* Logo Area */
.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-out;
}

/* Image Logo Style */
.app-logo {
    /* Increased logo size from 16rem to 20rem */
    width: 20rem; 
    height: auto; 
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.logo-text {
    display: none; 
}

/* Content Area */
.content-area {
    max-width: 100%;
}

.text-group {
    margin-bottom: 0;
    animation: slideUp 0.8s ease-out;
    padding-top: 1rem;
}

.main-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-white);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

/* Typing Effect Styling for Main Title */
#typed-title::after {
    content: '|';
    animation: blink 0.7s infinite;
    font-weight: 700;
}

@keyframes blink {
    50% { opacity: 0; }
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin: 0 auto;
    line-height: 1.625;
}

/* Launch Year Emphasis */
#launch-year {
    display: block; 
    margin-top: 1rem; 
    font-size: 1.6rem; 
    font-weight: 800; 
    color: var(--accent-bright-green); 
    letter-spacing: 0.1em; 
}


/* Media query for larger titles and paragraph break */
@media (min-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    .subtitle br {
        display: none; 
    }
}

/* --- ANIMATIONS --- */

/* Keyframes for the Subtle Gradient Background Animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}