/* ── index.php — Landing & Login Page Styles ── */

:root { --glow-color: var(--clr-primary); }

body {
    margin: 0; padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #05070a;
    font-family: var(--font-main);
    color: var(--studio-text);
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 1000px;
}

@media (max-width: 768px) {
    body { align-items: flex-start; padding: 40px 0; }
}

.cursor-glow {
    position: fixed;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(60, 209, 170, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    will-change: transform;
    transform: translate(-50%, -50%);
    top: 0; left: 0;
}

.ambient-glow {
    position: fixed;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(60, 209, 170, 0.03) 0%, transparent 70%);
    z-index: 0;
    filter: blur(100px);
    pointer-events: none;
}

.glow-1 { top: -10%; left: -10%; }
.glow-2 {
    bottom: -10%; right: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.02) 0%, transparent 70%);
}

.beta-container {
    position: relative; z-index: 10;
    width: 100%; max-width: 720px;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
    animation: containerEntrance 1s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1rem;
}

@keyframes containerEntrance {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.logo-section {
    margin-bottom: 1.5rem;
    display: flex; flex-direction: column; align-items: center;
}

.logo-section img {
    height: 48px; margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 15px rgba(60, 209, 170, 0.3));
}

.logo-section h1 {
    font-size: 1.2rem; letter-spacing: 3px; font-weight: 300;
    margin: 0; color: rgba(255, 255, 255, 0.3); text-transform: uppercase;
}

.main-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    border-radius: 32px; padding: 3rem 2.5rem;
    text-align: center; width: 100%; box-sizing: border-box;
}

h2 {
    font-size: 2.2rem; margin-bottom: 1rem; font-weight: 900;
    color: #0f172a; line-height: 1.2; letter-spacing: -1px;
}

.lead-text {
    font-size: 1.15rem; color: #475569; line-height: 1.7;
    margin-bottom: 2rem; font-weight: 500;
}

.feature-list {
    text-align: right; margin: 1.5rem auto; padding: 0;
    list-style: none; display: inline-block;
    width: 100%; max-width: 450px;
}

.feature-list li {
    display: flex; align-items: center; gap: 1rem;
    font-size: 1.1rem; color: #1e293b; font-weight: 600; margin-bottom: 1rem;
}

.feature-list li i { color: var(--clr-primary-hover); font-size: 1.4rem; }

hr { border: 0; height: 1px; background: rgba(0, 0, 0, 0.06); margin: 2rem 0; }

.alert-box {
    background: rgba(60, 209, 170, 0.06);
    border: 1px solid rgba(60, 209, 170, 0.12);
    padding: 1.4rem; border-radius: 20px; margin: 1.5rem 0;
    font-size: 1rem; color: #334155; text-align: right; line-height: 1.5;
}

.alert-box strong {
    display: block; margin-bottom: 0.4rem;
    color: var(--clr-primary-hover); font-weight: 800; font-size: 1.05rem;
}

.btn-beta-primary {
    display: inline-flex; align-items: center; gap: 0.8rem;
    background: var(--clr-primary); color: #000;
    text-decoration: none; padding: 1.1rem 4rem;
    border-radius: 100px; font-weight: 800; font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 30px -5px rgba(60, 209, 170, 0.4);
    border: none; cursor: pointer;
}

.btn-beta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px -10px rgba(60, 209, 170, 0.5);
    background: var(--clr-primary-hover);
}

.feedback-section {
    margin-top: 2.5rem; padding-top: 1.5rem;
    font-size: 0.95rem; color: #64748b;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.quote {
    margin-top: 3rem; font-style: italic;
    color: rgba(255, 255, 255, 0.25); font-size: 1.1rem; font-weight: 400;
}

/* ── Login Modal ── */
.login-modal-card {
    background: #ffffff; border-radius: 28px; padding: 2.5rem;
    width: 100%; max-width: 420px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
    position: relative; box-sizing: border-box; text-align: right;
}

.login-modal-close {
    position: absolute; top: 1.2rem; left: 1.2rem;
    background: none; border: none; font-size: 1.5rem;
    color: #94a3b8; cursor: pointer; line-height: 1; padding: 0;
}
.login-modal-close:hover { color: #1e293b; }

.login-modal-title { font-size: 1.5rem; font-weight: 900; color: #0f172a; margin: 0 0 0.4rem 0; }
.login-modal-sub   { font-size: 0.95rem; color: #64748b; margin: 0 0 1.8rem 0; }
.login-field       { margin-bottom: 1.2rem; }

.login-field label {
    display: block; font-size: 0.9rem; font-weight: 700;
    color: #334155; margin-bottom: 0.5rem;
}

.login-field .form-input-alt {
    width: 100%; box-sizing: border-box;
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 0.85rem 1rem;
    font-size: 1rem; color: #0f172a;
    font-family: var(--font-main); outline: none; transition: border-color 0.2s;
}
.login-field .form-input-alt:focus { border-color: var(--clr-primary); }

.login-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626; border-radius: 12px;
    padding: 0.8rem 1rem; font-size: 0.9rem; margin-bottom: 1rem; text-align: right;
}

@media (max-width: 640px) {
    .main-card { padding: 2rem 1.5rem; }
    h2 { font-size: 1.7rem; }
    .btn-beta-primary { width: 100%; justify-content: center; box-sizing: border-box; }
}
