/* =========================================
   July Life Coach — Platform Frame CSS
   Auth gate + nav + footer + next experience
   ========================================= */

/* ─── Auth Gate (the front door) ─── */
.auth-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07090d;
    transition: opacity 0.4s ease;
}

.auth-gate-inner {
    max-width: 400px;
    width: 90vw;
    text-align: center;
    padding: 2rem;
}

.auth-gate-brand {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.85rem;
    color: #565d68;
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
}

.auth-gate-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: #e6e8ec;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.auth-gate-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #8b919a;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.auth-gate-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.auth-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e6e8ec;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input:focus {
    outline: none;
    border-color: rgba(194, 124, 90, 0.5);
    box-shadow: 0 0 0 3px rgba(194, 124, 90, 0.1);
}
.auth-input::placeholder { color: #565d68; }

.auth-btn {
    width: 100%;
    padding: 0.9rem;
    background: #C27C5A;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.3rem;
}
.auth-btn:hover {
    background: #d4906e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(194, 124, 90, 0.3);
}
.auth-btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.8rem 0;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}
.auth-divider span {
    font-size: 0.75rem;
    color: #565d68;
}

.auth-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #e6e8ec;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.auth-google:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.auth-login-link {
    font-size: 0.82rem;
    color: #565d68;
    margin-top: 1rem;
}
.auth-login-link a {
    color: #C27C5A;
    text-decoration: none;
    font-weight: 500;
}
.auth-login-link a:hover { color: #d4906e; }

.auth-gate-note {
    font-size: 0.72rem;
    color: #565d68;
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* ─── Platform Nav ─── */
.platform-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem clamp(1rem, 3vw, 2rem);
    background: rgba(7, 9, 13, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Inter', -apple-system, sans-serif;
}

.pn-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #8b919a;
    transition: all 0.2s;
}
.pn-back:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #e6e8ec;
}

.pn-brand {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.95rem;
    color: #e6e8ec;
    text-decoration: none;
}

.pn-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.pn-link {
    font-size: 0.8rem;
    color: #565d68;
    text-decoration: none;
    transition: color 0.2s;
}
.pn-link:hover { color: #e6e8ec; }

.pn-signin {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e6e8ec;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.pn-signin:hover {
    background: rgba(255, 255, 255, 0.14);
}

body { padding-top: 50px !important; }

/* ─── Platform Footer ─── */
.platform-footer {
    text-align: center;
    padding: 0 1.5rem 2.5rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    color: #565d68;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-links { margin-bottom: 0.5rem; }
.pf-links a { color: #565d68; text-decoration: none; transition: color 0.2s; }
.pf-links a:hover { color: #e6e8ec; }
.pf-copy { font-size: 0.72rem; opacity: 0.5; }

/* ─── Next Experience Card ─── */
.pf-next {
    padding: 2.5rem 0;
    max-width: 500px;
    margin: 0 auto;
}

.pf-next-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #C27C5A;
    margin-bottom: 0.75rem;
}

.pf-next-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: #131820;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    color: #e6e8ec;
    transition: all 0.3s ease;
}
.pf-next-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: #1a2230;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.pf-next-icon { font-size: 2rem; flex-shrink: 0; }
.pf-next-info { flex: 1; }
.pf-next-info h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.pf-next-info p { font-size: 0.78rem; color: #8b919a; line-height: 1.5; }
.pf-next-arrow { font-size: 1.2rem; color: #C27C5A; flex-shrink: 0; transition: transform 0.2s; }
.pf-next-card:hover .pf-next-arrow { transform: translateX(3px); }

/* ─── Mobile ─── */
@media (max-width: 480px) {
    .pn-link { display: none; }
    .platform-nav { padding: 0.65rem 0.8rem; }
    .auth-gate-title { font-size: 2rem; }
    .auth-gate-inner { padding: 1.5rem; }
}
