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

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f3 100%);
    color: #1a1a2e;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Home page specific */
.home-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.logo {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #1a1a2e, #293583);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.home-logo {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out 0.5s forwards;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #5255a5;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out 0.8s forwards;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #293583, #5255a5);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(82, 85, 165, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.home-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out 1.1s forwards;
}

.cta-button:hover {
    box-shadow: 0 6px 20px rgba(82, 85, 165, 0.3);
    transform: translateY(-2px);
}

/* Secondary links */
.secondary-links {
    margin-top: 2rem;
}

.home-secondary-links {
    opacity: 0;
    animation: fadeUp 0.8s ease-out 1.4s forwards;
}

.text-link {
    color: #6c63ff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: #9096b9;
}

.link-divider {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #c4c7e0;
    margin: 0 0.5rem;
    position: relative;
    vertical-align: middle;
}

/* Sub page specific */
header {
    text-align: center;
    padding: 2rem 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-logo {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #5255a5;
    max-width: 600px;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    align-items: center;
}

.nav-link {
    color: #5255a5;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #8f95c9;
}

.content-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #293583;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(82, 85, 165, 0.2);
}

/* Styles for sub pages */
.content-list {
    list-style-position: outside;
    padding-left: 28px;
}

.content-item {
    margin-bottom: 1.5rem;
    padding-left: 8px;
}

.item-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.item-description {
    font-size: 1rem;
    font-weight: 400;
    color: #444466;
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #5255a5;
}

.footer-link {
    color: #6c63ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #9096b9;
}

.back-to-top {
    display: inline-block;
    background: linear-gradient(90deg, #293583, #5255a5);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(82, 85, 165, 0.2);
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.back-to-top:hover {
    box-shadow: 0 6px 20px rgba(82, 85, 165, 0.3);
    transform: translateY(-2px);
}

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

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .logo {
        font-size: 3.5rem;
    }
    
    .page-logo {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 1.6rem;
        letter-spacing: -0.02em;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .question {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .page-title {
        font-size: 1.4rem;
        letter-spacing: -0.02em;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.7rem 1.7rem;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    .page-title {
        font-size: 1.2rem;
        letter-spacing: -0.02em;
    }
}
