/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main layout */
.landing-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

/* Logo section */
.logo-section {
    text-align: center;
    max-width: 600px;
    width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:focus {
    outline: 3px solid #265CFF;
    outline-offset: 4px;
    border-radius: 8px;
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: #265CFF;
    letter-spacing: 0.02em;
    margin: 0;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s both;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: rgba(38, 92, 255, 0.05);
    border-top: 1px solid rgba(38, 92, 255, 0.1);
    padding: 1.5rem 2rem;
    flex-shrink: 0;
    height: 80px;
    display: flex;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.contact-info {
    display: flex;
    align-items: center;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #265CFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
}

.email-link:hover {
    color: #1e4acc;
    background-color: rgba(38, 92, 255, 0.1);
    transform: translateY(-1px);
}

.email-link:focus {
    outline: 2px solid #265CFF;
    outline-offset: 2px;
}

.email-icon {
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #265CFF;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: transparent;
}

.social-link:hover {
    color: #1e4acc;
    background-color: rgba(38, 92, 255, 0.1);
    transform: translateY(-2px);
}

.social-link:focus {
    outline: 2px solid #265CFF;
    outline-offset: 2px;
}

.social-icon {
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        max-width: 150px;
        max-height: 120px;
        margin-bottom: 1rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .footer {
        padding: 0.75rem 1rem;
        height: auto;
        min-height: 80px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.4rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }
    
    .logo {
        max-width: 120px;
        max-height: 100px;
        margin-bottom: 0.75rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 0.5rem 0.75rem;
        height: auto;
        min-height: 70px;
    }
    
    .footer-content {
        gap: 0.4rem;
    }
    
    .email-link {
        font-size: 0.75rem;
        padding: 0.25rem;
    }
    
    .social-links {
        gap: 0.3rem;
    }
    
    .social-link {
        width: 26px;
        height: 26px;
    }
    
    .social-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 360px) {
    .footer {
        padding: 0.4rem 0.5rem;
        min-height: 60px;
    }
    
    .footer-content {
        gap: 0.3rem;
    }
    
    .email-link {
        font-size: 0.7rem;
        padding: 0.2rem;
    }
    
    .social-links {
        gap: 0.25rem;
    }
    
    .social-link {
        width: 22px;
        height: 22px;
    }
    
    .social-icon {
        width: 12px;
        height: 12px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .logo {
        filter: contrast(1.2);
    }
    
    .tagline {
        color: #1e4acc;
        font-weight: 500;
    }
    
    .email-link,
    .social-link {
        color: #1e4acc;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logo:hover {
        transform: none;
    }
    
    .social-link:hover {
        transform: none;
    }
    
    .social-link:hover .social-icon {
        transform: none;
    }
}

/* Print styles */
@media print {
    .footer {
        display: none;
    }
    
    .landing-page {
        min-height: auto;
    }
    
    .container {
        min-height: auto;
    }
}

/* Focus visible for better keyboard navigation */
.email-link:focus-visible,
.social-link:focus-visible,
.logo:focus-visible {
    outline: 2px solid #265CFF;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #265CFF;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}
