:root {
    --deep-blue: #292578;
    --cerise: #EA1E8C;
    --white: #FEFEFE;
    --turquoise: #22A7DB;
    --shadow: rgba(41, 37, 120, 0.15);
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--deep-blue);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text {
    max-width: 600px;
    margin: 2rem auto 3rem;
    text-align: center;
}

.hero-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(254, 254, 254, 0.85);
    margin-bottom: 0.75rem;
}

.hero-text .tagline {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--white);
    margin-top: 1.5rem;
}

/* Divider lines */
.divider {
    width: 100%;
    max-width: 600px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(254, 254, 254, 0.15) 50%, 
        transparent 100%);
    margin: 2.5rem auto;
}

.logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 12px var(--shadow));
    animation: fadeIn 1s ease-out;
}

h1 {
    font-family: 'Jost', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--white) 0%, var(--turquoise) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Team Section */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 5rem;
    width: 100%;
    max-width: 700px;
}

.team-member {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.portrait {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--turquoise);
    box-shadow: 0 8px 24px var(--shadow);
    transition: all 0.3s ease;
}

.portrait:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow);
    border-color: var(--cerise);
}

.placeholder {
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--cerise) 100%);
    opacity: 0.3;
}

h2 {
    font-family: 'Jost', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cerise);
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.role {
    font-size: 0.9rem;
    color: rgba(254, 254, 254, 0.7);
    margin-bottom: 1rem;
}

.linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--turquoise);
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(34, 167, 219, 0.1);
}

.linkedin:hover {
    color: var(--cerise);
    background: rgba(234, 30, 140, 0.15);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.email {
    font-size: 1.1rem;
    color: var(--white);
    text-decoration: none;
    border-bottom: 2px solid var(--turquoise);
    padding-bottom: 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.email:hover {
    color: var(--cerise);
    border-color: var(--cerise);
}

/* Footer */
footer {
    padding: 2rem 1.5rem;
    text-align: center;
    width: 100%;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

footer p {
    font-size: 0.85rem;
    color: rgba(254, 254, 254, 0.5);
    letter-spacing: 0.05em;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team {
        gap: 3rem;
    }
    
    .hero {
        margin-bottom: 4rem;
    }
    
    .logo {
        width: 160px;
    }
}
