/* Ratenova sign-in page — dark "deal intelligence" theme */

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

.lg-page {
    --bg-0: #05060f;
    --bg-1: #0a0b1c;
    --panel: rgba(255, 255, 255, 0.035);
    --panel-solid: #0e1022;
    --line: rgba(148, 155, 220, 0.14);
    --violet: #7c3aed;
    --violet-2: #a78bfa;
    --blue: #3b82f6;
    --cyan: #38bdf8;
    --text: #f1f2fb;
    --muted: #9aa0c3;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(900px 600px at 70% 30%, rgba(124, 58, 237, 0.16) 0%, transparent 55%),
        radial-gradient(700px 500px at 45% 75%, rgba(59, 130, 246, 0.10) 0%, transparent 55%),
        linear-gradient(150deg, var(--bg-0) 0%, var(--bg-1) 60%, #0b0716 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Arial, sans-serif;
    padding: 34px 44px;
}

/* faint starfield */
.lg-stars {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(rgba(255,255,255,0.35) 0.8px, transparent 0.8px),
        radial-gradient(rgba(255,255,255,0.18) 0.8px, transparent 0.8px);
    background-size: 190px 170px, 110px 130px;
    background-position: 0 0, 45px 60px;
    opacity: 0.35;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.25));
}
.lg-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px); }
.lg-glow-1 { width: 480px; height: 480px; left: 38%; top: 32%; background: rgba(124, 58, 237, 0.16); }
.lg-glow-2 { width: 380px; height: 380px; left: 52%; top: 60%; background: rgba(56, 189, 248, 0.08); }

/* layout */
.lg-grid {
    position: relative; z-index: 2;
    max-width: 1560px;
    margin: 0 auto;
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) 460px;
    gap: 40px;
    align-items: center;
}
@media (max-width: 1360px) {
    .lg-grid { grid-template-columns: 1fr 440px; }
    .lg-middle { display: none; }
}
@media (max-width: 900px) {
    .lg-page { overflow: auto; }
    .lg-grid { grid-template-columns: 1fr; gap: 28px; }
    .lg-intro { text-align: center; }
    .lg-brand { justify-content: center; }
    .lg-features { max-width: 520px; margin-inline: auto; }
}

/* ---- brand ---- */
.lg-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.lg-logo-mark {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: #fff; font-size: 26px; font-weight: 800;
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.35);
}
.lg-logo-text { font-size: 27px; font-weight: 700; letter-spacing: 0.01em; color: #fff; }

/* ---- left intro ---- */
.lg-badge-pill {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid rgba(167, 139, 250, 0.45);
    border-radius: 999px;
    font-size: 11.5px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: #cdd2f5;
    margin-bottom: 22px;
}
.lg-intro h1 {
    font-size: 54px; line-height: 1.04; font-weight: 800;
    margin: 0 0 18px; color: #fff; letter-spacing: -0.01em;
}
.lg-intro h1 span {
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lg-tag { font-size: 16.5px; color: #b9bede; max-width: 460px; margin: 0 0 30px; line-height: 1.55; }
@media (max-width: 900px) { .lg-tag { margin-inline: auto; } }

.lg-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.lg-feat {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
}
.lg-feat--wide { grid-column: 1 / -1; }
.lg-feat-icon {
    width: 38px; height: 38px; flex: 0 0 auto;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
}
.lg-feat-icon svg { width: 19px; height: 19px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-feat-icon--magenta { background: rgba(217, 70, 239, 0.16); }
.lg-feat-icon--magenta svg { stroke: #e879f9; }
.lg-feat-icon--blue { background: rgba(59, 130, 246, 0.16); }
.lg-feat-icon--blue svg { stroke: #60a5fa; }
.lg-feat-icon--green { background: rgba(16, 185, 129, 0.14); }
.lg-feat-icon--green svg { stroke: #34d399; }
.lg-feat-icon--violet { background: rgba(139, 92, 246, 0.16); }
.lg-feat-icon--violet svg { stroke: #a78bfa; }
.lg-feat-icon--indigo { background: rgba(99, 102, 241, 0.16); }
.lg-feat-icon--indigo svg { stroke: #818cf8; }
.lg-feat strong { display: block; font-size: 14.5px; color: #fff; margin-bottom: 2px; }
.lg-feat div span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---- middle: floating product mockups ---- */
.lg-middle { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.lg-mock {
    background: rgba(13, 15, 33, 0.82);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 44px rgba(3, 4, 12, 0.55);
    max-width: 340px;
}
.lg-mock p { margin: 6px 0 8px; font-size: 12.5px; line-height: 1.5; color: #c6cbe8; }
.lg-mock-head {
    font-size: 13px; font-weight: 700; color: #e6e8fa;
    padding-bottom: 8px; margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
}
.lg-mock-title { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #e6e8fa; }
.lg-mock-title svg { width: 15px; height: 15px; stroke: #a78bfa; fill: none; stroke-width: 2; }
.lg-mini-icon {
    width: 24px; height: 24px; border-radius: 7px;
    display: inline-flex; align-items: center; justify-content: center;
}
.lg-mini-icon svg { width: 13px; height: 13px; }
.lg-mini-icon--green { background: rgba(16, 185, 129, 0.15); }
.lg-mini-icon--green svg { stroke: #34d399; }
.lg-mini-icon--violet { background: rgba(139, 92, 246, 0.16); }
.lg-mini-icon--violet svg { stroke: #a78bfa; }

/* competitor comparison table */
.lg-mock-compare { align-self: flex-end; transform: translateX(6px); }
.lg-cmp-table { border-collapse: collapse; font-size: 10.5px; color: #9aa0c3; }
.lg-cmp-table th { font-weight: 600; padding: 3px 7px; text-align: center; color: #b9bede; font-size: 10px; }
.lg-cmp-table th.lg-cmp-us { color: #c4b5fd; }
.lg-cmp-table th:first-child { text-align: left; }
.lg-cmp-table td { padding: 4px 7px; text-align: center; white-space: nowrap; }
.lg-cmp-table td:first-child { text-align: left; }
.d { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.d-v { background: #8b5cf6; }
.d-b { background: #3b82f6; }
.d-g { background: #4b5063; }

/* insight / priority / snippet cards */
.lg-mock-insight { align-self: flex-end; max-width: 250px; transform: translateX(24px); margin-top: -30px; }
.lg-mock-priority { align-self: flex-start; max-width: 270px; transform: translateX(-14px); margin-top: -34px; }
.lg-mock-snippet { align-self: flex-start; max-width: 300px; }
.lg-chip {
    display: inline-block; padding: 3px 9px; border-radius: 999px;
    font-size: 10px; font-weight: 700;
    background: rgba(148, 155, 220, 0.12); color: #b9bede;
}
.lg-chip-row { display: flex; gap: 6px; }
.lg-chip--impact { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.lg-chip--diff { background: rgba(56, 189, 248, 0.16); color: #7dd3fc; }

/* pricing benchmark */
.lg-mock-pricing { align-self: flex-end; max-width: 290px; transform: translateX(12px); margin-top: -14px; }
.lg-price-label { font-size: 10.5px; color: var(--muted); margin: 6px 0 4px; text-align: center; }
.lg-price-pill {
    width: fit-content; margin: 0 auto 10px;
    padding: 4px 12px; border-radius: 8px;
    background: rgba(139, 92, 246, 0.22); color: #d6c9fd;
    font-size: 12.5px; font-weight: 700;
}
.lg-price-track {
    position: relative; height: 5px; border-radius: 999px; margin: 0 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3f4460);
}
.lg-price-marker {
    position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%);
    width: 13px; height: 13px; border-radius: 50%;
    background: #fff; border: 3px solid #8b5cf6;
}
.lg-price-scale { display: flex; justify-content: space-between; margin-top: 7px; font-size: 9.5px; color: var(--muted); text-align: center; line-height: 1.35; }

/* chat */
.lg-mock-chat { align-self: flex-end; max-width: 280px; transform: translateX(28px); margin-top: -34px; display: flex; flex-direction: column; gap: 10px; }
.lg-chat-msg { display: flex; gap: 9px; align-items: flex-start; }
.lg-chat-msg p { margin: 2px 0 0; }
.lg-avatar {
    width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff;
}
.lg-avatar--m { background: linear-gradient(135deg, #d946ef, #8b5cf6); }
.lg-avatar--j { background: linear-gradient(135deg, #3b82f6, #38bdf8); }
.lg-chat-meta { display: flex; align-items: baseline; gap: 7px; font-size: 11px; }
.lg-chat-meta strong { color: #e6e8fa; }
.lg-chat-meta span { color: var(--muted); font-size: 10px; }

/* ---- right: login card ---- */
.lg-side { display: flex; flex-direction: column; gap: 18px; align-self: center; }
.lg-login {
    background: rgba(13, 15, 33, 0.72);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 36px 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 70px rgba(2, 3, 10, 0.6);
}
.lg-login h2 { font-size: 30px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.lg-login-sub { font-size: 14.5px; color: var(--muted); margin: 0 0 26px; }

.lg-flashes {
    list-style: none; margin: 0 0 18px; padding: 11px 14px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 10px; color: #fca5a5; font-size: 13px;
}

.lg-label { display: block; font-size: 13.5px; font-weight: 600; color: #d5d8f0; margin: 0 0 7px; }
.lg-field { position: relative; margin-bottom: 18px; }
.lg-field-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: inline-flex; }
.lg-field-icon svg { width: 17px; height: 17px; stroke: #6a7093; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-field input {
    width: 100%;
    padding: 13px 44px 13px 42px;
    border: 1px solid rgba(148, 155, 220, 0.18);
    border-radius: 11px;
    font-size: 14.5px; color: var(--text);
    background: rgba(8, 9, 20, 0.65);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.lg-field input::placeholder { color: #5c6283; }
.lg-field input:focus {
    outline: none; border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.22);
}
.lg-eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 6px; display: inline-flex; }
.lg-eye svg { width: 18px; height: 18px; stroke: #6a7093; fill: none; stroke-width: 2; }
.lg-eye.on svg { stroke: var(--violet-2); }

.lg-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.lg-remember { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #b9bede; cursor: pointer; }
.lg-remember input { width: 16px; height: 16px; accent-color: var(--violet); }
.lg-forgot { font-size: 13.5px; color: var(--violet-2); text-decoration: none; font-weight: 600; }
.lg-forgot:hover { text-decoration: underline; }

.lg-submit {
    width: 100%;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px;
    border: none; border-radius: 12px;
    background: linear-gradient(90deg, #7c3aed, #2563eb, #38bdf8);
    color: #fff; font-size: 15.5px; font-weight: 700; cursor: pointer;
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.35);
    transition: filter 0.15s, transform 0.05s;
}
.lg-submit:hover { filter: brightness(1.08); }
.lg-submit:active { transform: translateY(1px); }
.lg-submit svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* secure footnote under the card */
.lg-secure { display: flex; gap: 13px; align-items: center; padding: 0 8px; }
.lg-secure-shield {
    width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%;
    background: rgba(148, 155, 220, 0.1);
    border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center;
}
.lg-secure-shield svg { width: 18px; height: 18px; stroke: #b9bede; fill: none; stroke-width: 2; }
.lg-secure strong { display: block; font-size: 13px; color: #e6e8fa; font-weight: 600; }
.lg-secure span { font-size: 12px; color: var(--muted); }

/* server name bottom-right */
.lg-server {
    position: absolute; right: 26px; bottom: 20px; z-index: 2;
    color: #fff; opacity: 0.55;
    font-size: 12px; letter-spacing: 0.05em;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
@media (max-width: 900px) { .lg-server { position: static; text-align: center; margin-top: 14px; } }
