/* Font Face */
@font-face {
    font-family: 'Messina Modern';
    src: url('./fonts/Messina-Modern-Regular.woff2') format('woff2'),
         url('./fonts/Messina-Modern-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT America';
    src: url('./fonts/GT-America-Standard-Regular.woff2') format('woff2'),
         url('./fonts/GT-America-Standard-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT America';
    src: url('./fonts/GT-America-Standard-Bold.woff2') format('woff2'),
         url('./fonts/GT-America-Standard-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Messina Modern', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2d2d2d;
    line-height: 1.6;
    min-height: 100vh;
    background: url(./images/sign-up.png) #97a8ff no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.container {
    min-height: 100vh;
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    overflow: hidden;
}

.card-content {
    padding: 4rem 3rem 80px 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    position: relative;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.message {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #2d2d2d;
    margin: 0;
}

.footer-links {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    color: #2d2d2d;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.6;
}

/* Legal Page Styles */
body.legal-page-body {
    background: #ffffff;
    background-image: none;
    padding: 0;
    min-height: 100vh;
}

.legal-page {
    font-family: 'GT America Regular', 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.legal-page-body .container {
    padding: 32px 48px;
    min-height: 100vh;
    align-items: flex-start;
}

body.legal-page-body .card {
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
}

.legal-content {
    padding: 0;
    text-align: left;
    max-height: none;
    overflow-y: visible;
}

.legal-page {
    margin-bottom: 60px;
}

.legal-page h2 {
    font-family: 'Messina Modern', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 3.5rem;
    letter-spacing: -0.25px;
    margin: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.legal-page p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-page strong,
.legal-page b,
.legal-page b i,
.legal-page i b {
    font-family: 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: bold;
    color: #1a1a1a;
}

.legal-page a {
    color: #97a8ff;
    text-decoration: underline;
}

.legal-page a:hover {
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .card {
        flex-direction: column;
    }

    .card-content {
        padding: 2.5rem 1.5rem 80px 1.5rem;
    }

    .brand-logo {
        width: 150px;
        margin-bottom: 1.5rem;
    }

    .message {
        font-size: 1rem;
        line-height: 1.6;
    }

    body.legal-page-body .container {
        padding: 24px 32px;
    }

    .legal-content {
        padding: 0;
        max-height: none;
    }

    .legal-page h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .legal-page p {
        font-size: 0.8rem;
    }
}
