@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #6750A4;
    --primary-light: #EADDFF;
    --primary-dark: #21005D;
    --background-color: #FDF7FF;
    --surface-color: #ffffff;
    --text-color: #1D1B20;
    --text-secondary: #49454F;
    --border-radius: 16px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #D0BCFF;
        --primary-light: #4F378B;
        --primary-dark: #FFFFFF; /* High contrast for text on dark */
        --background-color: #141218;
        --surface-color: #2b2930; /* Surface Container High */
        --text-color: #E6E1E5;
        --text-secondary: #CAC4D0;
    }
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.logo {
    height: 120px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

p, li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white; /* Always white on primary */
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    text-align: center;
    margin: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (prefers-color-scheme: dark) {
    .btn {
        background-color: var(--primary-color);
        color: #381E72; /* Dark text on light primary for dark mode */
    }
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 80, 164, 0.3);
    opacity: 1; /* Reset hover opacity for buttons */
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.footer {
    text-align: center;
    padding: 2rem;
    margin-top: auto;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

.lang-switch {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 0.9rem;
}

.email-box {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

.divider {
    height: 1px;
    background-color: var(--text-secondary);
    opacity: 0.1;
    margin: 3rem 0;
}
