/* CSS Variables for consistent theming */
:root {
    --primary-color: #6200EE; /* purple_500 */
    --primary-variant: #3700B3; /* purple_700 */
    --secondary-color: #03DAC5; /* teal_200 */
    --background-color: #F5F5F5;
    --surface-color: #FFFFFF;
    --on-surface: #000000;
    --on-surface-variant: #5F6368;
    --text-primary: #212121;
    --spacing-unit: 8px;
    --border-radius: 12px;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 12px rgba(0, 0, 0, 0.1);
    --font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-variant));
    color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    animation: fadeInDown 0.8s ease-out;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* Main Content Styles */
main {
    flex: 1;
}

section {
    background-color: var(--surface-color);
    margin-bottom: 24px;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Hidden initially for animation */
    animation: fadeInUp 0.5s ease-out forwards;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Stagger animation delays for sections */
section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }
section:nth-child(6) { animation-delay: 0.6s; }

h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

h2::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background-color: var(--secondary-color);
    margin-right: 12px;
    border-radius: 4px;
}

p {
    color: var(--on-surface-variant);
    font-size: 1rem;
    margin-bottom: 16px;
}

/* Contact Info Box */
.contact-info {
    background-color: rgba(98, 0, 238, 0.05); /* slightly tinted background */
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 16px;
}

.contact-item {
    margin-bottom: 8px;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.email-link:hover {
    color: var(--primary-variant);
    text-decoration: underline;
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    color: var(--on-surface-variant);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .container {
        padding: 20px 16px;
    }
    
    header {
        padding: 30px 16px;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 2rem;
    }

    section {
        padding: 24px;
    }
}
