/* Login Page - Simple Centered Card Design */
/* Matches homepage hero CTA and navbar logo styling */

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

body {
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 24px;
}

.login-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 64px 56px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

/* Logo - matches navbar styling exactly */
.login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    margin-bottom: 48px;
}

.login-logo-text {
    font-family: 'neusanstrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.3px;
}

.login-logo-sparkle {
    fill: #d1fe17;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Title */
.login-title {
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 800;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Subtitle */
.login-subtitle {
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button - matches .cf-home-hero__cta-primary exactly */
.login-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    background: #d1fe17;
    color: #000000;
    border-radius: 12px;
    padding: 0 2.25rem;
    height: 48px;
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    box-shadow: inset 0px -3px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    outline: none;
    margin-bottom: 32px;
    box-sizing: border-box;
    line-height: 1;
    white-space: nowrap;
}

.login-cta-btn:hover {
    background: #000000;
    color: #ffffff;
    box-shadow: inset 0px -3px rgba(255, 255, 255, 0.2);
}

.login-cta-btn:active {
    transform: translateY(1px);
}

.login-cta-btn:focus-visible {
    outline: 2px solid #d1fe17;
    outline-offset: 2px;
}

.login-cta-btn:focus:not(:focus-visible) {
    outline: none;
}

.login-google-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Terms */
.login-terms {
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #9ca3af;
    line-height: 1.6;
}

.login-terms a {
    color: #374151;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-terms a:hover {
    color: #000000;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */
@media (max-width: 640px) {
    .login-page {
        padding: 20px;
    }

    .login-card {
        padding: 48px 36px;
        border-radius: 20px;
    }

    .login-logo {
        margin-bottom: 40px;
    }

    .login-logo-text {
        font-size: 1.25rem;
    }

    .login-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .login-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .login-cta-btn {
        width: 100%;
        padding: 0 1.75rem;
        height: 46px;
        font-size: 1.0625rem;
        border-radius: 12px;
        margin-bottom: 28px;
    }

    .login-terms {
        font-size: 0.6875rem;
    }
}

/* ===================================
   RESPONSIVE - SMALL MOBILE
   =================================== */
@media (max-width: 420px) {
    .login-page {
        padding: 16px;
    }

    .login-card {
        padding: 40px 28px;
        border-radius: 18px;
    }

    .login-logo {
        margin-bottom: 36px;
    }

    .login-logo-text {
        font-size: 1.125rem;
    }

    .login-logo-sparkle {
        width: 14px;
        height: 14px;
    }

    .login-title {
        font-size: 1.75rem;
        margin-bottom: 14px;
    }

    .login-subtitle {
        font-size: 0.9375rem;
        line-height: 1.55;
        margin-bottom: 28px;
    }

    .login-cta-btn {
        padding: 0 1.5rem;
        height: 44px;
        font-size: 1rem;
        border-radius: 10px;
        gap: 10px;
        margin-bottom: 24px;
    }

    .login-google-icon {
        width: 20px;
        height: 20px;
    }

    .login-terms {
        font-size: 0.625rem;
        line-height: 1.55;
    }
}

/* ===================================
   RESPONSIVE - VERY SMALL MOBILE
   =================================== */
@media (max-width: 360px) {
    .login-card {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .login-logo {
        margin-bottom: 32px;
    }

    .login-logo-text {
        font-size: 1rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-subtitle {
        font-size: 0.875rem;
    }

    .login-cta-btn {
        padding: 0 1.25rem;
        height: 42px;
        font-size: 0.9375rem;
        border-radius: 10px;
    }

    .login-terms {
        font-size: 0.625rem;
    }
}
