@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Layout ── */
.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.landing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ── Hero (two-column on desktop, stacked on mobile) ── */
.landing-hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    animation: fadeUp 0.6s ease-out both;
}

.landing-branding {
    flex: 1;
    text-align: left;
}

.landing-auth {
    flex: 0 0 380px;
    animation: fadeUp 0.6s ease-out 0.15s both;
}

.landing-logo-main {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
}

.landing-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 400;
}

.landing-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Landing-specific button overrides (pill shape, larger) ── */
.landing-container .btn {
    padding: 1.125rem 2.75rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.0625rem;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    min-width: 140px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-container .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.45), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.landing-container .btn-primary:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.3);
}

.landing-container .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.landing-container .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.landing-container .btn-secondary:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ── Footer ── */
.landing-footer {
    text-align: center;
    padding: 2.5rem 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: auto;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.landing-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer a:hover {
    color: var(--accent);
}

/* ── Contact Page Header ── */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: fadeIn 0.6s ease-out both;
}

.landing-logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
    letter-spacing: -0.5px;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.landing-logo a {
    text-decoration: none;
}

.landing-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ── Landing-specific nav-link-primary override ── */
.landing-header .nav-link-primary {
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.25);
    transition: all 0.2s ease;
}

.landing-header .nav-link-primary:hover {
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35);
}

/* ── Inline Login Form ── */
.landing-login-form {
    background: rgba(24, 24, 24, 0.95);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.landing-login-form .form-group {
    margin-bottom: 0.75rem;
}

.landing-login-form .form-group input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.landing-login-form .btn-submit {
    margin-top: 0.25rem;
}

.landing-login-links {
    margin-top: 0.75rem;
    text-align: center;
}

.landing-login-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.landing-login-links a:hover {
    color: var(--accent);
}

.landing-signup-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.landing-signup-cta span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ── Preview Launch Page (Waitlist Form) ── */
.email-signup-form {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .landing-hero {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .landing-branding {
        text-align: center;
    }

    .landing-auth {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    .landing-logo-main {
        font-size: 3.5rem;
    }

    .landing-tagline {
        font-size: 1.1rem;
    }

    .landing-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .landing-container .btn {
        width: 100%;
        max-width: 300px;
    }

    .landing-header {
        padding: 1rem;
    }

    .landing-nav {
        gap: 0.5rem;
    }

    .email-signup-form {
        margin: 1.5rem auto;
        padding: 1.5rem;
    }

    .landing-login-form {
        padding: 1.5rem;
    }

    .landing-signup-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .landing-logo-main {
        font-size: 2.75rem;
    }

    .landing-tagline {
        font-size: 1rem;
    }
}
