/* Lock Screen */
.rp-lock {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.body-unlocked .rp-lock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.rp-lock-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.rp-lock-icon {
    width: 64px;
    height: 64px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.rp-lock-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rp-lock-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.rp-lock-field {
    display: flex;
    gap: 0.5rem;
}

.rp-lock-field input {
    flex: 1;
}

.rp-lock-field button {
    background: var(--accent-purple);
    color: white;
    padding: 0 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.rp-lock-error {
    color: var(--accent-red);
    font-size: 0.875rem;
    margin-top: 1rem;
    min-height: 1.25rem;
}

/* Landing Page / Shell */
.shell {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.shell-left {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60%;
}

.shell-right {
    flex: 1;
    background: rgba(30, 41, 59, 0.3);
    border-left: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .shell {
        flex-direction: column;
    }
    .shell-left {
        max-width: 100%;
        padding: 2rem;
    }
    .shell-right {
        display: none;
    }
}

/* Background Orbit Animation */
.bg-orbit {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orbit span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg-orbit span:nth-child(1) { width: 40vw; height: 40vw; animation: spin 20s linear infinite; }
.bg-orbit span:nth-child(2) { width: 60vw; height: 60vw; animation: spin 30s linear infinite reverse; }
.bg-orbit span:nth-child(3) { width: 80vw; height: 80vw; animation: spin 40s linear infinite; }

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hero Section */
.logo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 2rem;
    color: var(--accent-purple);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.chip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.chip i {
    color: var(--accent-blue);
    margin-top: 0.25rem;
}

.chip div {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.chip span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.cta-row {
    display: flex;
    gap: 1rem;
}

/* Dashboard Preview (Right Side) */
.dashboard {
    width: 80%;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 0.75rem;
}

.stat-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.timeline {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 0.75rem;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.timeline-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.timeline-tag {
    font-size: 0.7rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

.timeline-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.timeline-progress span {
    display: block;
    height: 100%;
    width: 65%;
    background: var(--accent-purple);
}

.floating-tag {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 500;
}

.floating-tag i {
    color: var(--accent-purple);
}
